garm/database/sql
Gabriel Adrian Samfira 36288c65e6 Slightly simplify code
Change instance DB functions from querying by ID to querying by name. Names
are unique in GARM, so we might as well use the name instead of the ID and
spare ourselves the extra query to get the ID when a qorkflow comes in.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2024-03-30 18:22:06 +00:00
..
common_test.go fix: remove unused cobra args 2024-02-22 17:20:05 +01:00
controller.go fix: unused-parameter linter findings 2024-02-22 16:54:38 +01:00
controller_test.go fix: unused-parameter linter findings 2024-02-22 16:54:38 +01:00
enterprise.go Remove duplicate code 2024-03-29 18:50:04 +00:00
enterprise_test.go Remove duplicate code 2024-03-29 18:50:04 +00:00
instances.go Slightly simplify code 2024-03-30 18:22:06 +00:00
instances_test.go Slightly simplify code 2024-03-30 18:22:06 +00:00
jobs.go Rename PoolType to GithubEntityType 2024-03-17 06:58:03 +00:00
models.go Add pool balancing strategy 2024-03-14 20:04:34 +00:00
organizations.go Remove duplicate code 2024-03-29 18:50:04 +00:00
organizations_test.go Remove duplicate code 2024-03-29 18:50:04 +00:00
pools.go Remove duplicate code 2024-03-29 18:50:04 +00:00
pools_test.go Remove duplicate code 2024-03-29 18:50:04 +00:00
repositories.go Remove duplicate code 2024-03-29 18:50:04 +00:00
repositories_test.go Remove duplicate code 2024-03-29 18:50:04 +00:00
sql.go Switch to log/slog 2024-01-05 23:46:40 +00:00
users.go fix: unused-parameter linter findings 2024-02-22 16:54:38 +01:00
users_test.go fix: remove unused cobra args 2024-02-22 17:20:05 +01:00
util.go Remove duplicate code 2024-03-29 18:50:04 +00:00