Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = xerror.NotFound(xerror.Pipeline).Detail("compiled pipeline plan was not found")
Functions ¶
This section is empty.
Types ¶
type CreateParams ¶
type Repository ¶
type Repository struct{}
func NewRepository ¶
func NewRepository() *Repository
func (*Repository) Create ¶
func (*Repository) Create(ctx context.Context, db postgres.DBTX, org, project slug.Slug, params CreateParams) (*Snapshot, error)
Create returns ErrNotFound when the scope is unavailable or the digest already exists. A following Find reads that exact identity without aborting the transaction.
Click to show internal directories.
Click to hide internal directories.