builder

package
v0.6.42 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: Apache-2.0 Imports: 24 Imported by: 8

Documentation

Index

Constants

View Source
const LogPrefix = "spectrum - "

Variables

Functions

func Build

func Build(options Options, dirs ...string) (string, error)

Build executes the full build cycle and returns the image digest

func NewDirKeyChain

func NewDirKeyChain(dir string) authn.Keychain

func Pull

func Pull(options Options) (v1.Image, error)

func Push

func Push(img v1.Image, options Options) error

Types

type Options

type Options struct {
	PullInsecure    bool
	PushInsecure    bool
	PullConfigDir   string
	PushConfigDir   string
	Base            string
	Target          string
	Annotations     map[string]string
	Stdout          io.Writer
	Stderr          io.Writer
	Recursive       bool
	Jobs            int
	ClearEntrypoint bool
	RunAs           string
}

Jump to

Keyboard shortcuts

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