noopbuilder

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoBuild = errors.New("no building supported")

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func NewBuilder

func NewBuilder(id seqtypes.BuilderID, registry work.Jobs) *Builder

func (*Builder) Close

func (n *Builder) Close() error

func (*Builder) ID

func (n *Builder) ID() seqtypes.BuilderID

func (*Builder) NewJob

func (n *Builder) NewJob(ctx context.Context, opts *seqtypes.BuildOpts) (work.BuildJob, error)

func (*Builder) String

func (n *Builder) String() string

type Config

type Config struct {
}

func (*Config) Start

func (c *Config) Start(ctx context.Context, id seqtypes.BuilderID, opts *work.ServiceOpts) (work.Builder, error)

type Job

type Job struct {
	// contains filtered or unexported fields
}

func (*Job) Cancel

func (job *Job) Cancel(ctx context.Context) error

func (*Job) Close

func (job *Job) Close()

func (*Job) ID

func (job *Job) ID() seqtypes.BuildJobID

func (*Job) Seal

func (job *Job) Seal(ctx context.Context) (work.Block, error)

func (*Job) String

func (job *Job) String() string

Jump to

Keyboard shortcuts

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