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
CacheOptions are base image cache options that are set by command line arguments
type KanikoGitOptions ¶ added in v1.0.0
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 RegistryOptions DockerfilePath string SrcContext string SnapshotMode string CustomPlatform string Bucket string TarPath string Target string CacheRepo string DigestFile string ImageNameDigestFile string ImageNameTagDigestFile string OCILayoutPath string Destinations multiArg BuildArgs multiArg Labels multiArg SingleSnapshot bool Reproducible bool NoPush bool Cache bool Cleanup bool IgnoreVarRun bool SkipUnusedStages bool RunV2 bool CacheCopyLayers 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 RegistryOptions ¶ added in v1.4.0
type RegistryOptions struct { RegistryMirrors multiArg InsecureRegistries multiArg SkipTLSVerifyRegistries multiArg RegistriesCertificates keyValueArg Insecure bool SkipTLSVerify bool InsecurePull bool SkipTLSVerifyPull bool }
RegistryOptions are all the options related to the registries, set by command line arguments.
type WarmerOptions ¶ added in v0.5.0
type WarmerOptions struct { CacheOptions RegistryOptions CustomPlatform string Images multiArg Force bool }
WarmerOptions are options that are set by command line arguments to the cache warmer.
Click to show internal directories.
Click to hide internal directories.