pipelinecreations

package
v0.3.0-rc.5-linux-arm64 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2026 License: Apache-2.0 Imports: 7 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package pipelinecreations persists proposals for pipelines not yet imported from Git.

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = xerror.NotFound(xerror.Pipeline).Detail("pipeline creation proposal was not found")

Functions

This section is empty.

Types

type Repository

type Repository struct{}

func New

func New() *Repository

func (*Repository) Create

func (*Repository) Create(ctx context.Context, db postgres.DBTX, org, project slug.Slug, row *Row) (bool, error)

func (*Repository) Find

func (*Repository) Find(ctx context.Context, db postgres.DBTX, org, project, pipeline slug.Slug) (*Row, error)

func (*Repository) Get

func (*Repository) Get(ctx context.Context, db postgres.DBTX, org, project, creation slug.Slug) (*Row, error)

func (*Repository) List

func (*Repository) List(ctx context.Context, db postgres.DBTX, org, project, after slug.Slug, limit int) ([]*Row, error)

func (*Repository) Update

func (*Repository) Update(ctx context.Context, db postgres.DBTX, org, project slug.Slug, row *Row) (bool, error)

type Row

type Row struct {
	Slug             slug.Slug
	PipelineSlug     slug.Slug
	MemberSlug       slug.Slug
	Request          json.RawMessage
	Result           json.RawMessage
	Status           string
	FailureCode      string
	PublishAttemptID string
}

Jump to

Keyboard shortcuts

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