options

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Default = Options{
	Log: &logrus.Logger{
		Out: os.Stderr,
		Formatter: &nested.Formatter{
			ShowFullLevel: true,
		},
		Hooks: make(logrus.LevelHooks),
		Level: logrus.InfoLevel,
	},
}

Functions

This section is empty.

Types

type Options

type Options struct {
	UseDockerMediaTypes bool
	WantSBOM            bool
	UseProot            bool
	WithVCS             bool
	WorkDir             string
	TarballPath         string
	Tags                []string
	SourceDateEpoch     time.Time
	SBOMPath            string
	SBOMFormats         []string
	ExtraKeyFiles       []string
	ExtraRepos          []string
	Arch                types.Architecture
	Log                 *logrus.Logger
	TempDirPath         string
}

func (*Options) Logger added in v0.5.0

func (o *Options) Logger() *logrus.Entry

func (*Options) Summarize

func (o *Options) Summarize(logger *logrus.Entry)

func (Options) TarballFileName added in v0.5.0

func (o Options) TarballFileName() string

TarballFileName returns a deterministic filename for the layer taball

func (*Options) TempDir added in v0.5.0

func (o *Options) TempDir() string

Tempdir returns the temporary directory where apko will create the layer blobs

Jump to

Keyboard shortcuts

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