builder

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	SpecURL string
	VCSURL  string
	// contains filtered or unexported fields
}

func New

func New(spec string) (bldr Builder, err error)

New returns a new builder loaded with the driver derived from the spec URL

func (*Builder) ArtifactStores

func (b *Builder) ArtifactStores() []store.Store

func (*Builder) BuildPredicate

func (b *Builder) BuildPredicate(r *run.Run, draft *attestation.SLSAPredicate) (*attestation.SLSAPredicate, error)

func (*Builder) GetRun

func (b *Builder) GetRun(identifier string) (*run.Run, error)

func (*Builder) RefreshRun

func (b *Builder) RefreshRun(r *run.Run) error

RefreshRun refreshes a run with the latest data from the build system

func (*Builder) Snap

func (b *Builder) Snap() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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