builder

package
Version: v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2021 License: Apache-2.0 Imports: 20 Imported by: 1

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL