incrementalcheckpoints

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL