garm/database/sql
Mihaela Balutoiu 723c9c3d60 Add instances.go database unit tests
Add more test cases regarding the SQL database interactions.
Moreover, add `go-sqlmock` dependency used to mock SQL DB instructions.

Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
2022-09-28 17:29:40 +03:00
..
controller.go Add license headers 2022-05-05 13:25:50 +00:00
controller_test.go Create a testing package for common utilities 2022-09-15 17:48:09 +03:00
instances.go Fix typo 2022-09-15 19:18:28 +03:00
instances_test.go Add instances.go database unit tests 2022-09-28 17:29:40 +03:00
models.go Add timeout functionality for pool runner bootstrap 2022-06-29 23:44:03 +00:00
organizations.go Properly set timeout on pool create 2022-06-30 06:55:13 +00:00
pools.go Add license headers 2022-05-05 13:25:50 +00:00
repositories.go Properly set timeout on pool create 2022-06-30 06:55:13 +00:00
sql.go Silence gorm default logger 2022-09-06 21:35:01 +03:00
users.go Add license headers 2022-05-05 13:25:50 +00:00
util.go Make runner-bootstrap-timeout optional 2022-07-06 17:37:18 +00:00