Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface {
EnsureCommitLock(ctx context.Context, tx postgres.DBTX, orgSlug, projectSlug, environmentSlug slug.Slug, lookup pipelinerun.IncrementalCheckpointLookup) error
LockCommit(ctx context.Context, tx postgres.DBTX, orgSlug, projectSlug, environmentSlug slug.Slug, lookup pipelinerun.IncrementalCheckpointLookup) error
BootstrapInitial(ctx context.Context, tx postgres.DBTX, orgSlug, projectSlug, environmentSlug slug.Slug, transition pipelinerun.IncrementalCheckpointTransition) error
GetCurrentCommitted(
ctx context.Context,
tx postgres.DBTX,
orgSlug, projectSlug, environmentSlug slug.Slug,
lookup pipelinerun.IncrementalCheckpointLookup,
) (*pipelinerun.IncrementalCheckpoint, error)
CommitObservation(
ctx context.Context,
tx postgres.DBTX,
orgSlug, projectSlug, environmentSlug slug.Slug,
transition pipelinerun.IncrementalCheckpointTransition,
) error
RecordBlockedObservation(
ctx context.Context,
tx postgres.DBTX,
orgSlug, projectSlug, environmentSlug slug.Slug,
transition pipelinerun.IncrementalCheckpointTransition,
) error
}
func New ¶
func New() Repository
Click to show internal directories.
Click to hide internal directories.