garm/database/sql
Gabriel Adrian Samfira daaca0bd8f Use watcher and get rid of RefreshState()
This change uses the database watcher to watch for changes to the
github entities, credentials and controller info.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2024-06-21 13:47:48 +00:00
..
common_test.go fix: remove unused cobra args 2024-02-22 17:20:05 +01:00
controller.go Send notify on update controller 2024-06-14 20:24:45 +00:00
controller_test.go fix: unused-parameter linter findings 2024-02-22 16:54:38 +01:00
enterprise.go Use watcher and get rid of RefreshState() 2024-06-21 13:47:48 +00:00
enterprise_test.go feat: garm pools do not force default labels 2024-05-21 11:55:12 +02:00
github.go Add watcher for github creds and endpoints 2024-06-14 20:35:02 +00:00
github_test.go Add DB migration test 2024-05-07 11:52:26 +00:00
instances.go Check if producer was registered 2024-06-19 12:40:56 +00:00
instances_test.go feat: garm pools do not force default labels 2024-05-21 11:55:12 +02:00
jobs.go Add notifications for jobs 2024-06-19 13:44:24 +00:00
models.go Move URLs from default section of config to DB 2024-06-07 09:27:24 +00:00
organizations.go Use watcher and get rid of RefreshState() 2024-06-21 13:47:48 +00:00
organizations_test.go feat: garm pools do not force default labels 2024-05-21 11:55:12 +02:00
pools.go Add more tests 2024-06-19 12:27:48 +00:00
pools_test.go feat: garm pools do not force default labels 2024-05-21 11:55:12 +02:00
repositories.go Use watcher and get rid of RefreshState() 2024-06-21 13:47:48 +00:00
repositories_test.go Remove duplicate of watcher.SetWatcher 2024-06-20 17:37:11 +03:00
sql.go Add some tests 2024-06-17 19:42:50 +00:00
users.go Use database for github creds 2024-04-22 14:03:25 +00:00
users_test.go Update dependencies and tests 2024-04-22 13:39:04 +00:00
util.go Check if producer was registered 2024-06-19 12:40:56 +00:00