Documentation
¶
Index ¶
- Variables
- type Binding
- type Key
- type Repository
- func (Repository) Delete(ctx context.Context, db postgres.DBTX, key Key) error
- func (Repository) Due(ctx context.Context, db postgres.DBTX) ([]Key, error)
- func (Repository) Get(ctx context.Context, db postgres.DBTX, key Key) (Binding, error)
- func (Repository) LockConnection(ctx context.Context, db postgres.DBTX, org, ds slug.Slug) error
- func (Repository) OnboardingState(ctx context.Context, db postgres.DBTX, org, ds slug.Slug, ...) (string, error)
- func (Repository) Ready(ctx context.Context, db postgres.DBTX, org, ds slug.Slug, ...) (bool, error)
- func (Repository) RevokeOther(ctx context.Context, db postgres.DBTX, org, ds slug.Slug, ...) error
- func (Repository) SetState(ctx context.Context, db postgres.DBTX, binding Binding, state string) error
- func (Repository) Upsert(ctx context.Context, db postgres.DBTX, org, ds slug.Slug, ...) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = xerror.NotFound(xerror.DataSource).Detail("workload identity binding not found")
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct{}
func (Repository) Due ¶
Due is a privileged control-plane enumeration; runtime access uses Ready only.
func (Repository) LockConnection ¶
func (Repository) OnboardingState ¶
func (Repository) OnboardingState(ctx context.Context, db postgres.DBTX, org, ds slug.Slug, issuer, account string) (string, error)
OnboardingState exposes only the exact connection's public lifecycle state.
func (Repository) RevokeOther ¶
Click to show internal directories.
Click to hide internal directories.