Documentation ¶
Index ¶
- type ChartDeleteParams
- type ChartGlobalValue
- type ChartTeamValue
- type ChartType
- type ComputeInstance
- type ComputeInstanceCreateParams
- type ComputeInstanceUpdateParams
- type DBTX
- type Event
- type EventCreateParams
- type EventLog
- type EventLogCreateParams
- type EventSetStatusParams
- type EventsByOwnerGetParams
- type GlobalValueDeleteParams
- type GlobalValueGetParams
- type GlobalValueInsertParams
- type NullChartType
- type Querier
- type Queries
- func (q *Queries) ChartDelete(ctx context.Context, arg ChartDeleteParams) error
- func (q *Queries) ChartsForTeamGet(ctx context.Context, teamID string) ([]ChartType, error)
- func (q *Queries) ComputeInstanceCreate(ctx context.Context, arg ComputeInstanceCreateParams) error
- func (q *Queries) ComputeInstanceDelete(ctx context.Context, owner string) error
- func (q *Queries) ComputeInstanceGet(ctx context.Context, owner string) (ComputeInstance, error)
- func (q *Queries) ComputeInstanceUpdate(ctx context.Context, arg ComputeInstanceUpdateParams) error
- func (q *Queries) ComputeInstancesGet(ctx context.Context) ([]ComputeInstance, error)
- func (q *Queries) EventCreate(ctx context.Context, arg EventCreateParams) error
- func (q *Queries) EventGet(ctx context.Context, id uuid.UUID) (Event, error)
- func (q *Queries) EventIncrementRetryCount(ctx context.Context, id uuid.UUID) error
- func (q *Queries) EventLogCreate(ctx context.Context, arg EventLogCreateParams) error
- func (q *Queries) EventLogsForEventGet(ctx context.Context, id uuid.UUID) ([]EventLog, error)
- func (q *Queries) EventSetStatus(ctx context.Context, arg EventSetStatusParams) error
- func (q *Queries) EventsByOwnerGet(ctx context.Context, arg EventsByOwnerGetParams) ([]Event, error)
- func (q *Queries) EventsGetType(ctx context.Context, eventType string) ([]Event, error)
- func (q *Queries) EventsProcessingGet(ctx context.Context) ([]Event, error)
- func (q *Queries) EventsReset(ctx context.Context) error
- func (q *Queries) EventsUpcomingGet(ctx context.Context) ([]Event, error)
- func (q *Queries) GlobalValueDelete(ctx context.Context, arg GlobalValueDeleteParams) error
- func (q *Queries) GlobalValueGet(ctx context.Context, arg GlobalValueGetParams) (ChartGlobalValue, error)
- func (q *Queries) GlobalValueInsert(ctx context.Context, arg GlobalValueInsertParams) error
- func (q *Queries) GlobalValuesGet(ctx context.Context, chartType ChartType) ([]ChartGlobalValue, error)
- func (q *Queries) SessionCreate(ctx context.Context, arg SessionCreateParams) error
- func (q *Queries) SessionDelete(ctx context.Context, token string) error
- func (q *Queries) SessionGet(ctx context.Context, token string) (Session, error)
- func (q *Queries) TeamBySlugGet(ctx context.Context, slug string) (TeamBySlugGetRow, error)
- func (q *Queries) TeamCreate(ctx context.Context, arg TeamCreateParams) error
- func (q *Queries) TeamDelete(ctx context.Context, id string) error
- func (q *Queries) TeamGet(ctx context.Context, id string) (TeamGetRow, error)
- func (q *Queries) TeamUpdate(ctx context.Context, arg TeamUpdateParams) error
- func (q *Queries) TeamValueDelete(ctx context.Context, arg TeamValueDeleteParams) error
- func (q *Queries) TeamValueGet(ctx context.Context, arg TeamValueGetParams) (ChartTeamValue, error)
- func (q *Queries) TeamValueInsert(ctx context.Context, arg TeamValueInsertParams) error
- func (q *Queries) TeamValuesGet(ctx context.Context, arg TeamValuesGetParams) ([]ChartTeamValue, error)
- func (q *Queries) TeamsForChartGet(ctx context.Context, chartType ChartType) ([]string, error)
- func (q *Queries) TeamsForUserGet(ctx context.Context, email string) ([]TeamsForUserGetRow, error)
- func (q *Queries) TeamsGet(ctx context.Context) ([]Team, error)
- func (q *Queries) UserGoogleSecretManagerCreate(ctx context.Context, arg UserGoogleSecretManagerCreateParams) error
- func (q *Queries) UserGoogleSecretManagerDelete(ctx context.Context, owner string) error
- func (q *Queries) UserGoogleSecretManagerGet(ctx context.Context, owner string) (UserGoogleSecretManager, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Session
- type SessionCreateParams
- type Team
- type TeamBySlugGetRow
- type TeamCreateParams
- type TeamGetRow
- type TeamUpdateParams
- type TeamValueDeleteParams
- type TeamValueGetParams
- type TeamValueInsertParams
- type TeamValuesGetParams
- type TeamsForUserGetRow
- type UserGoogleSecretManager
- type UserGoogleSecretManagerCreateParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChartDeleteParams ¶
type ChartGlobalValue ¶
type ChartTeamValue ¶
type ComputeInstance ¶
type EventCreateParams ¶
type EventCreateParams struct { Owner string Type string Payload json.RawMessage Deadline string }
type EventLogCreateParams ¶
type EventSetStatusParams ¶
type EventsByOwnerGetParams ¶
type GlobalValueDeleteParams ¶
type GlobalValueGetParams ¶
type GlobalValueInsertParams ¶
type NullChartType ¶
type NullChartType struct { ChartType ChartType Valid bool // Valid is true if ChartType is not NULL }
func (*NullChartType) Scan ¶
func (ns *NullChartType) Scan(value interface{}) error
Scan implements the Scanner interface.
type Querier ¶
type Querier interface { ChartDelete(ctx context.Context, arg ChartDeleteParams) error ChartsForTeamGet(ctx context.Context, teamID string) ([]ChartType, error) ComputeInstanceCreate(ctx context.Context, arg ComputeInstanceCreateParams) error ComputeInstanceDelete(ctx context.Context, owner string) error ComputeInstanceGet(ctx context.Context, owner string) (ComputeInstance, error) ComputeInstanceUpdate(ctx context.Context, arg ComputeInstanceUpdateParams) error ComputeInstancesGet(ctx context.Context) ([]ComputeInstance, error) EventCreate(ctx context.Context, arg EventCreateParams) error EventGet(ctx context.Context, id uuid.UUID) (Event, error) EventIncrementRetryCount(ctx context.Context, id uuid.UUID) error EventLogCreate(ctx context.Context, arg EventLogCreateParams) error EventLogsForEventGet(ctx context.Context, id uuid.UUID) ([]EventLog, error) EventSetStatus(ctx context.Context, arg EventSetStatusParams) error EventsByOwnerGet(ctx context.Context, arg EventsByOwnerGetParams) ([]Event, error) EventsGetType(ctx context.Context, eventType string) ([]Event, error) EventsProcessingGet(ctx context.Context) ([]Event, error) EventsReset(ctx context.Context) error EventsUpcomingGet(ctx context.Context) ([]Event, error) GlobalValueDelete(ctx context.Context, arg GlobalValueDeleteParams) error GlobalValueGet(ctx context.Context, arg GlobalValueGetParams) (ChartGlobalValue, error) GlobalValueInsert(ctx context.Context, arg GlobalValueInsertParams) error GlobalValuesGet(ctx context.Context, chartType ChartType) ([]ChartGlobalValue, error) SessionCreate(ctx context.Context, arg SessionCreateParams) error SessionDelete(ctx context.Context, token string) error SessionGet(ctx context.Context, token string) (Session, error) TeamBySlugGet(ctx context.Context, slug string) (TeamBySlugGetRow, error) TeamCreate(ctx context.Context, arg TeamCreateParams) error TeamDelete(ctx context.Context, id string) error TeamGet(ctx context.Context, id string) (TeamGetRow, error) TeamUpdate(ctx context.Context, arg TeamUpdateParams) error TeamValueDelete(ctx context.Context, arg TeamValueDeleteParams) error TeamValueGet(ctx context.Context, arg TeamValueGetParams) (ChartTeamValue, error) TeamValueInsert(ctx context.Context, arg TeamValueInsertParams) error TeamValuesGet(ctx context.Context, arg TeamValuesGetParams) ([]ChartTeamValue, error) TeamsForChartGet(ctx context.Context, chartType ChartType) ([]string, error) TeamsForUserGet(ctx context.Context, email string) ([]TeamsForUserGetRow, error) TeamsGet(ctx context.Context) ([]Team, error) UserGoogleSecretManagerCreate(ctx context.Context, arg UserGoogleSecretManagerCreateParams) error UserGoogleSecretManagerDelete(ctx context.Context, owner string) error UserGoogleSecretManagerGet(ctx context.Context, owner string) (UserGoogleSecretManager, error) }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) ChartDelete ¶
func (q *Queries) ChartDelete(ctx context.Context, arg ChartDeleteParams) error
func (*Queries) ChartsForTeamGet ¶
func (*Queries) ComputeInstanceCreate ¶
func (q *Queries) ComputeInstanceCreate(ctx context.Context, arg ComputeInstanceCreateParams) error
func (*Queries) ComputeInstanceDelete ¶
func (*Queries) ComputeInstanceGet ¶
func (*Queries) ComputeInstanceUpdate ¶
func (q *Queries) ComputeInstanceUpdate(ctx context.Context, arg ComputeInstanceUpdateParams) error
func (*Queries) ComputeInstancesGet ¶
func (q *Queries) ComputeInstancesGet(ctx context.Context) ([]ComputeInstance, error)
func (*Queries) EventCreate ¶
func (q *Queries) EventCreate(ctx context.Context, arg EventCreateParams) error
func (*Queries) EventIncrementRetryCount ¶
func (*Queries) EventLogCreate ¶
func (q *Queries) EventLogCreate(ctx context.Context, arg EventLogCreateParams) error
func (*Queries) EventLogsForEventGet ¶
func (*Queries) EventSetStatus ¶
func (q *Queries) EventSetStatus(ctx context.Context, arg EventSetStatusParams) error
func (*Queries) EventsByOwnerGet ¶
func (*Queries) EventsGetType ¶
func (*Queries) EventsProcessingGet ¶
func (*Queries) EventsUpcomingGet ¶
func (*Queries) GlobalValueDelete ¶
func (q *Queries) GlobalValueDelete(ctx context.Context, arg GlobalValueDeleteParams) error
func (*Queries) GlobalValueGet ¶
func (q *Queries) GlobalValueGet(ctx context.Context, arg GlobalValueGetParams) (ChartGlobalValue, error)
func (*Queries) GlobalValueInsert ¶
func (q *Queries) GlobalValueInsert(ctx context.Context, arg GlobalValueInsertParams) error
func (*Queries) GlobalValuesGet ¶
func (*Queries) SessionCreate ¶
func (q *Queries) SessionCreate(ctx context.Context, arg SessionCreateParams) error
func (*Queries) SessionDelete ¶
func (*Queries) SessionGet ¶
func (*Queries) TeamBySlugGet ¶
func (*Queries) TeamCreate ¶
func (q *Queries) TeamCreate(ctx context.Context, arg TeamCreateParams) error
func (*Queries) TeamUpdate ¶
func (q *Queries) TeamUpdate(ctx context.Context, arg TeamUpdateParams) error
func (*Queries) TeamValueDelete ¶
func (q *Queries) TeamValueDelete(ctx context.Context, arg TeamValueDeleteParams) error
func (*Queries) TeamValueGet ¶
func (q *Queries) TeamValueGet(ctx context.Context, arg TeamValueGetParams) (ChartTeamValue, error)
func (*Queries) TeamValueInsert ¶
func (q *Queries) TeamValueInsert(ctx context.Context, arg TeamValueInsertParams) error
func (*Queries) TeamValuesGet ¶
func (q *Queries) TeamValuesGet(ctx context.Context, arg TeamValuesGetParams) ([]ChartTeamValue, error)
func (*Queries) TeamsForChartGet ¶
func (*Queries) TeamsForUserGet ¶
func (*Queries) UserGoogleSecretManagerCreate ¶
func (q *Queries) UserGoogleSecretManagerCreate(ctx context.Context, arg UserGoogleSecretManagerCreateParams) error
func (*Queries) UserGoogleSecretManagerDelete ¶
func (*Queries) UserGoogleSecretManagerGet ¶
type SessionCreateParams ¶
type TeamBySlugGetRow ¶
type TeamCreateParams ¶
type TeamGetRow ¶
type TeamUpdateParams ¶
type TeamValueDeleteParams ¶
type TeamValueGetParams ¶
type TeamValueInsertParams ¶
type TeamValuesGetParams ¶
type TeamsForUserGetRow ¶
type UserGoogleSecretManager ¶
Click to show internal directories.
Click to hide internal directories.