garm/database/sql
Gabriel Adrian Samfira 1256473089 Fetch credentials from DB
Do not rely on the entity object to hold updated or detailed credentials,
fetch them from the DB every time.

This change also ensures that we pass in the user context instead of the
runner context to the DB methods.

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2024-04-24 13:59:15 +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 List credentials from db 2024-04-22 14:08:37 +00:00
enterprise_test.go Fix tests post-rebase 2024-04-22 14:10:51 +00:00
github.go Deny deleting the default github.com endpoint 2024-04-22 14:08:37 +00:00
instances.go Slightly simplify code 2024-03-30 18:22:06 +00:00
instances_test.go Fix tests 2024-04-22 14:03:25 +00:00
jobs.go Rename PoolType to GithubEntityType 2024-03-17 06:58:03 +00:00
models.go Use database for github creds 2024-04-22 14:03:25 +00:00
organizations.go List credentials from db 2024-04-22 14:08:37 +00:00
organizations_test.go Fix tests post-rebase 2024-04-22 14:10:51 +00:00
pools.go Remove duplicate code 2024-03-29 18:50:04 +00:00
pools_test.go Fix tests 2024-04-22 14:03:25 +00:00
repositories.go List credentials from db 2024-04-22 14:08:37 +00:00
repositories_test.go Fix tests post-rebase 2024-04-22 14:10:51 +00:00
sql.go Ensure github endpoint 2024-04-22 14:08:37 +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 Fetch credentials from DB 2024-04-24 13:59:15 +00:00