github.com/navikt/knorten@v0.0.0-20240419132333-1333f46ed8b6/pkg/database/gensql/querier.go (about) 1 // Code generated by sqlc. DO NOT EDIT. 2 3 package gensql 4 5 import ( 6 "context" 7 8 "github.com/google/uuid" 9 ) 10 11 type Querier interface { 12 ChartDelete(ctx context.Context, arg ChartDeleteParams) error 13 ChartsForTeamGet(ctx context.Context, teamID string) ([]ChartType, error) 14 ComputeInstanceCreate(ctx context.Context, arg ComputeInstanceCreateParams) error 15 ComputeInstanceDelete(ctx context.Context, owner string) error 16 ComputeInstanceGet(ctx context.Context, owner string) (ComputeInstance, error) 17 ComputeInstanceUpdate(ctx context.Context, arg ComputeInstanceUpdateParams) error 18 ComputeInstancesGet(ctx context.Context) ([]ComputeInstance, error) 19 EventCreate(ctx context.Context, arg EventCreateParams) error 20 EventGet(ctx context.Context, id uuid.UUID) (Event, error) 21 EventIncrementRetryCount(ctx context.Context, id uuid.UUID) error 22 EventLogCreate(ctx context.Context, arg EventLogCreateParams) error 23 EventLogsForEventGet(ctx context.Context, id uuid.UUID) ([]EventLog, error) 24 EventSetStatus(ctx context.Context, arg EventSetStatusParams) error 25 EventsByOwnerGet(ctx context.Context, arg EventsByOwnerGetParams) ([]Event, error) 26 EventsGetType(ctx context.Context, eventType string) ([]Event, error) 27 EventsProcessingGet(ctx context.Context) ([]Event, error) 28 EventsReset(ctx context.Context) error 29 EventsUpcomingGet(ctx context.Context) ([]Event, error) 30 GlobalValueDelete(ctx context.Context, arg GlobalValueDeleteParams) error 31 GlobalValueGet(ctx context.Context, arg GlobalValueGetParams) (ChartGlobalValue, error) 32 GlobalValueInsert(ctx context.Context, arg GlobalValueInsertParams) error 33 GlobalValuesGet(ctx context.Context, chartType ChartType) ([]ChartGlobalValue, error) 34 SessionCreate(ctx context.Context, arg SessionCreateParams) error 35 SessionDelete(ctx context.Context, token string) error 36 SessionGet(ctx context.Context, token string) (Session, error) 37 TeamBySlugGet(ctx context.Context, slug string) (TeamBySlugGetRow, error) 38 TeamCreate(ctx context.Context, arg TeamCreateParams) error 39 TeamDelete(ctx context.Context, id string) error 40 TeamGet(ctx context.Context, id string) (TeamGetRow, error) 41 TeamUpdate(ctx context.Context, arg TeamUpdateParams) error 42 TeamValueDelete(ctx context.Context, arg TeamValueDeleteParams) error 43 TeamValueGet(ctx context.Context, arg TeamValueGetParams) (ChartTeamValue, error) 44 TeamValueInsert(ctx context.Context, arg TeamValueInsertParams) error 45 TeamValuesGet(ctx context.Context, arg TeamValuesGetParams) ([]ChartTeamValue, error) 46 TeamsForChartGet(ctx context.Context, chartType ChartType) ([]string, error) 47 TeamsForUserGet(ctx context.Context, email string) ([]TeamsForUserGetRow, error) 48 TeamsGet(ctx context.Context) ([]Team, error) 49 UserGoogleSecretManagerCreate(ctx context.Context, arg UserGoogleSecretManagerCreateParams) error 50 UserGoogleSecretManagerDelete(ctx context.Context, owner string) error 51 UserGoogleSecretManagerGet(ctx context.Context, owner string) (UserGoogleSecretManager, error) 52 } 53 54 var _ Querier = (*Queries)(nil)