config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: Apache-2.0 Imports: 8 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidGitFlag = errors.New("invalid git flag, must be in the key=value format")
View Source
var IgnoreListPath string
View Source
var KanikoDir string
View Source
var RootDir string

Functions

This section is empty.

Types

type CacheOptions added in v0.11.0

type CacheOptions struct {
	CacheDir string
	CacheTTL time.Duration
}

CacheOptions are base image cache options that are set by command line arguments

type KanikoGitOptions added in v1.0.0

type KanikoGitOptions struct {
	Branch            string
	SingleBranch      bool
	RecurseSubmodules bool
}

func (*KanikoGitOptions) Set added in v1.0.0

func (k *KanikoGitOptions) Set(s string) error

func (*KanikoGitOptions) String added in v1.0.0

func (k *KanikoGitOptions) String() string

func (*KanikoGitOptions) Type added in v1.0.0

func (k *KanikoGitOptions) Type() string

type KanikoOptions

type KanikoOptions struct {
	CacheOptions
	DockerfilePath          string
	SrcContext              string
	SnapshotMode            string
	Bucket                  string
	TarPath                 string
	Target                  string
	CacheRepo               string
	DigestFile              string
	ImageNameDigestFile     string
	OCILayoutPath           string
	RegistryMirror          string
	Destinations            multiArg
	BuildArgs               multiArg
	InsecureRegistries      multiArg
	Labels                  multiArg
	SkipTLSVerifyRegistries multiArg
	RegistriesCertificates  keyValueArg
	Insecure                bool
	SkipTLSVerify           bool
	InsecurePull            bool
	SkipTLSVerifyPull       bool
	SingleSnapshot          bool
	Reproducible            bool
	NoPush                  bool
	Cache                   bool
	Cleanup                 bool
	IgnoreVarRun            bool
	SkipUnusedStages        bool
	RunV2                   bool
	Git                     KanikoGitOptions
}

KanikoOptions are options that are set by command line arguments

type KanikoStage

type KanikoStage struct {
	instructions.Stage
	BaseImageIndex         int
	Final                  bool
	BaseImageStoredLocally bool
	SaveStage              bool
	MetaArgs               []instructions.ArgCommand
	Index                  int
}

KanikoStage wraps a stage of the Dockerfile and provides extra information

type WarmerOptions added in v0.5.0

type WarmerOptions struct {
	CacheOptions
	Images multiArg
	Force  bool
}

WarmerOptions are options that are set by command line arguments to the cache warmer.

Jump to

Keyboard shortcuts

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