garm/database/sql
Gabriel Adrian Samfira cc6e985629 Fix: Scope entities to endpoint
This change scopes all github entities to a github endpoint, allowing
users to have the same repo/org/enterprise created for each endpoint.

This way, if your username is the same on github.com and on your GHES
server, and you have the same repository name or org in both places,
GARM can now handle that situation.

This change also fixes a leaky watcher in the pool manager.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2024-07-29 17:35:57 +00:00
..
common_test.go fix: remove unused cobra args 2024-02-22 17:20:05 +01:00
controller.go Add version to controller info response 2024-07-05 12:49:16 +00:00
controller_test.go fix: unused-parameter linter findings 2024-02-22 16:54:38 +01:00
enterprise.go Fix: Scope entities to endpoint 2024-07-29 17:35:57 +00:00
enterprise_test.go Fix: Scope entities to endpoint 2024-07-29 17:35:57 +00:00
github.go Add watcher for github creds and endpoints 2024-06-14 20:35:02 +00:00
github_test.go Refactor the websocket client and add fixes 2024-07-05 12:55:35 +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 Simplify logic 2024-07-05 12:55:35 +00:00
models.go Fix: Scope entities to endpoint 2024-07-29 17:35:57 +00:00
organizations.go Fix: Scope entities to endpoint 2024-07-29 17:35:57 +00:00
organizations_test.go Fix: Scope entities to endpoint 2024-07-29 17:35:57 +00: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 Fix: Scope entities to endpoint 2024-07-29 17:35:57 +00:00
repositories_test.go Fix: Scope entities to endpoint 2024-07-29 17:35:57 +00:00
sql.go Refactor the websocket client and add fixes 2024-07-05 12:55:35 +00:00
users.go Refactor the websocket client and add fixes 2024-07-05 12:55:35 +00:00
users_test.go Refactor the websocket client and add fixes 2024-07-05 12:55:35 +00:00
util.go Refactor the websocket client and add fixes 2024-07-05 12:55:35 +00:00