Documentation ¶
Index ¶
- type ClearErrorsForTeamParams
- type DBTX
- type DeleteConfigParams
- type DeleteStateForTeamParams
- type GetConfigParams
- type GetConfigRow
- type GetStateForTeamParams
- type ListParams
- type Querier
- type Queries
- func (q *Queries) ClearErrorsForTeam(ctx context.Context, arg ClearErrorsForTeamParams) error
- func (q *Queries) Count(ctx context.Context) (int64, error)
- func (q *Queries) DeleteConfig(ctx context.Context, arg DeleteConfigParams) error
- func (q *Queries) DeleteStateForTeam(ctx context.Context, arg DeleteStateForTeamParams) error
- func (q *Queries) Get(ctx context.Context, name string) (*Reconciler, error)
- func (q *Queries) GetConfig(ctx context.Context, arg GetConfigParams) ([]*GetConfigRow, error)
- func (q *Queries) GetStateForTeam(ctx context.Context, arg GetStateForTeamParams) (*ReconcilerState, error)
- func (q *Queries) List(ctx context.Context, arg ListParams) ([]*Reconciler, error)
- func (q *Queries) SetErrorForTeam(ctx context.Context, arg SetErrorForTeamParams) error
- func (q *Queries) SetLastSuccessfulSyncForTeam(ctx context.Context, argSlug slug.Slug) error
- func (q *Queries) Upsert(ctx context.Context, arg UpsertParams) (*Reconciler, error)
- func (q *Queries) UpsertConfig(ctx context.Context, arg UpsertConfigParams) error
- func (q *Queries) UpsertState(ctx context.Context, arg UpsertStateParams) (*ReconcilerState, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type Reconciler
- type ReconcilerState
- type SetErrorForTeamParams
- type UpsertConfigParams
- type UpsertParams
- type UpsertStateParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteConfigParams ¶
type GetConfigParams ¶
type GetConfigRow ¶
type GetStateForTeamParams ¶
type ListParams ¶
type Querier ¶
type Querier interface { ClearErrorsForTeam(ctx context.Context, arg ClearErrorsForTeamParams) error Count(ctx context.Context) (int64, error) DeleteConfig(ctx context.Context, arg DeleteConfigParams) error DeleteStateForTeam(ctx context.Context, arg DeleteStateForTeamParams) error Get(ctx context.Context, name string) (*Reconciler, error) GetConfig(ctx context.Context, arg GetConfigParams) ([]*GetConfigRow, error) GetStateForTeam(ctx context.Context, arg GetStateForTeamParams) (*ReconcilerState, error) List(ctx context.Context, arg ListParams) ([]*Reconciler, error) SetErrorForTeam(ctx context.Context, arg SetErrorForTeamParams) error SetLastSuccessfulSyncForTeam(ctx context.Context, argSlug slug.Slug) error Upsert(ctx context.Context, arg UpsertParams) (*Reconciler, error) UpsertConfig(ctx context.Context, arg UpsertConfigParams) error UpsertState(ctx context.Context, arg UpsertStateParams) (*ReconcilerState, error) }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) ClearErrorsForTeam ¶
func (q *Queries) ClearErrorsForTeam(ctx context.Context, arg ClearErrorsForTeamParams) error
func (*Queries) DeleteConfig ¶
func (q *Queries) DeleteConfig(ctx context.Context, arg DeleteConfigParams) error
func (*Queries) DeleteStateForTeam ¶
func (q *Queries) DeleteStateForTeam(ctx context.Context, arg DeleteStateForTeamParams) error
func (*Queries) GetConfig ¶
func (q *Queries) GetConfig(ctx context.Context, arg GetConfigParams) ([]*GetConfigRow, error)
func (*Queries) GetStateForTeam ¶
func (q *Queries) GetStateForTeam(ctx context.Context, arg GetStateForTeamParams) (*ReconcilerState, error)
func (*Queries) List ¶
func (q *Queries) List(ctx context.Context, arg ListParams) ([]*Reconciler, error)
func (*Queries) SetErrorForTeam ¶
func (q *Queries) SetErrorForTeam(ctx context.Context, arg SetErrorForTeamParams) error
func (*Queries) SetLastSuccessfulSyncForTeam ¶
func (*Queries) Upsert ¶
func (q *Queries) Upsert(ctx context.Context, arg UpsertParams) (*Reconciler, error)
func (*Queries) UpsertConfig ¶
func (q *Queries) UpsertConfig(ctx context.Context, arg UpsertConfigParams) error
func (*Queries) UpsertState ¶
func (q *Queries) UpsertState(ctx context.Context, arg UpsertStateParams) (*ReconcilerState, error)
type Reconciler ¶
type ReconcilerState ¶
type ReconcilerState struct { ID uuid.UUID ReconcilerName string TeamSlug slug.Slug Value []byte CreatedAt pgtype.Timestamptz UpdatedAt pgtype.Timestamptz }
type SetErrorForTeamParams ¶
type UpsertConfigParams ¶
type UpsertParams ¶
Click to show internal directories.
Click to hide internal directories.