builder

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: Apache-2.0 Imports: 15 Imported by: 3

Documentation

Index

Constants

View Source
const DefaultUsername = "somebody"

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

func NewBuilder

func NewBuilder(ctx context.Context, baseRef string, statements []pipelines.OrderedPipelineStatement, options Options) (*Builder, error)

func (*Builder) Build

func (b *Builder) Build(ctx context.Context, platform *v1.Platform) (v1.Image, error)

type MetadataOptions added in v0.1.3

type MetadataOptions struct {
	Author    string
	CreatedBy string
}

func (*MetadataOptions) GetCreatedBy added in v0.1.3

func (o *MetadataOptions) GetCreatedBy() string

type Options added in v0.1.2

type Options struct {
	WorkingDir      string
	Username        string
	Entrypoint      []string
	Command         []string
	ForceEntrypoint bool
	Metadata        MetadataOptions
	DirFS           bool
}

func (*Options) GetUsername added in v0.1.2

func (o *Options) GetUsername() string

Jump to

Keyboard shortcuts

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