builder

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 14 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 Options added in v0.1.2

type Options struct {
	WorkingDir string
	Username   string
	Entrypoint []string
	Command    []string
}

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