kaniko

package
v1.35.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// BuildArgsFlag additional flag
	BuildArgsFlag = "--build-arg"
	// CacheFlag additional flag
	CacheFlag = "--cache"
	// CacheCopyLayersFlag additional flag
	CacheCopyLayersFlag = "--cache-copy-layers"
	// CacheDirFlag additional flag
	CacheDirFlag = "--cache-dir"
	// CacheRepoFlag additional flag
	CacheRepoFlag = "--cache-repo"
	// CacheTTLFlag additional flag
	CacheTTLFlag = "--cache-ttl"
	// TargetFlag additional flag
	TargetFlag = "--target"
	// CleanupFlag additional flag
	CleanupFlag = "--cleanup"
	// DigestFileFlag additional flag
	DigestFileFlag = "--digest-file"
	// ForceFlag additional flag
	ForceFlag = "--force"
	// ImageFSExtractRetry additional flag
	ImageFSExtractRetryFlag = "--image-fs-extract-retry"
	// ImageNameWithDigestFileFlag  additional flag
	ImageNameWithDigestFileFlag = "--image-name-with-digest-file"
	// InsecureFlag additional flag
	InsecureFlag = "--insecure"
	// InsecurePullFlag additional flag
	InsecurePullFlag = "--insecure-pull"
	// InsecureRegistryFlag additional flag
	InsecureRegistryFlag = "--insecure-registry"
	// LabelFlag additional flag
	LabelFlag = "--label"
	// LogFormatFlag additional flag
	LogFormatFlag = "--log-format"
	// LogTimestampFlag additional flag
	LogTimestampFlag = "--log-timestamp"
	// NoPushFlag additional flag
	NoPushFlag = "--no-push"
	// OCILayoutFlag additional flag
	OCILayoutFlag = "--oci-layout-path"
	// RegistryCertificateFlag additional flag
	RegistryCertificateFlag = "--registry-certificate"
	// RegistryMirrorFlag additional flag
	RegistryMirrorFlag = "--registry-mirror"
	// ReproducibleFlag additional flag
	ReproducibleFlag = "--reproducible"
	// SingleSnapshotFlag additional flag
	SingleSnapshotFlag = "--single-snapshot"
	// SkipTLSFlag additional flag
	SkipTLSFlag = "--skip-tls-verify"
	// SkipTLSVerifyPullFlag additional flag
	SkipTLSVerifyPullFlag = "--skip-tls-verify-pull"
	// SkipTLSVerifyRegistryFlag additional flag
	SkipTLSVerifyRegistryFlag = "--skip-tls-verify-registry"
	// SkipUnusedStagesFlag additional flag
	SkipUnusedStagesFlag = "--skip-unused-stages"
	// SnapshotModeFlag additional flag
	SnapshotModeFlag = "--snapshotMode"
	// PushRetryFlag additional flag
	PushRetryFlag = "--push-retry"
	// TarPathFlag additional flag
	TarPathFlag = "--tarPath"
	// UseNewRunFlag additional flag
	UseNewRunFlag = "--use-new-run"
	// VerbosityFlag additional flag
	VerbosityFlag = "--verbosity"
	// WhitelistVarRunFlag additional flag
	WhitelistVarRunFlag = "--whitelist-var-run"
	// DefaultImage is image used by the Kaniko pod by default
	DefaultImage = "gcr.io/kaniko-project/executor:latest"
	// DefaultSecretName for kaniko pod
	DefaultSecretName = "kaniko-secret"
	// DefaultTimeout for kaniko pod
	DefaultTimeout = "20m"
	// DefaultContainerName for kaniko pod
	DefaultContainerName = "kaniko"
	// DefaultEmptyDirName for kaniko pod
	DefaultEmptyDirName = "kaniko-emptydir"
	// DefaultEmptyDirMountPath for kaniko pod
	DefaultEmptyDirMountPath = "/kaniko/buildcontext"
	// DefaultCacheDirName for kaniko pod
	DefaultCacheDirName = "kaniko-cache"
	// DefaultCacheDirMountPath for kaniko pod
	DefaultCacheDirMountPath = "/cache"
	// DefaultDockerConfigSecretName for kaniko pod
	DefaultDockerConfigSecretName = "docker-cfg"
	// DefaultDockerConfigPath for kaniko pod
	DefaultDockerConfigPath = "/kaniko/.docker"
	// DefaultSecretMountPath for kaniko pod
	DefaultSecretMountPath = "/secret"
)

Variables

This section is empty.

Functions

func Args added in v1.7.1

func Args(artifact *latestV1.KanikoArtifact, tag, context string) ([]string, error)

Args returns kaniko command arguments

Types

This section is empty.

Jump to

Keyboard shortcuts

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