Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultLogLevel is the default global verbosity DefaultLogLevel = logrus.WarnLevel // DefaultDockerfilePath is the dockerfile path is given relative to the // context directory DefaultDockerfilePath = "Dockerfile" DefaultDevTagStrategy = TagStrategySha256 DefaultRunTagStrategy = TagStrategyGitCommit // TagStrategySha256 uses the checksum of the built artifact as the tag TagStrategySha256 = "sha256" TagStrategyGitCommit = "gitCommit" DefaultMinikubeContext = "minikube" DefaultDockerForDesktopContext = "docker-for-desktop" DefaultDockerDesktopContext = "docker-desktop" GCSBucketSuffix = "_cloudbuild" HelmOverridesFilename = "skaffold-overrides.yaml" DefaultKustomizationPath = "." DefaultKanikoImage = "gcr.io/kaniko-project/executor:v0.7.0@sha256:0b4e0812aa17c54a9b8d8c8d7cb35559a892a341650acf7cb428c3e8cb4a3919" DefaultKanikoSecretName = "kaniko-secret" DefaultKanikoTimeout = "20m" DefaultKanikoContainerName = "kaniko" DefaultKanikoEmptyDirName = "kaniko-emptydir" DefaultKanikoEmptyDirMountPath = "/kaniko/buildcontext" DefaultKanikoDockerConfigSecretName = "docker-cfg" DefaultKanikoDockerConfigPath = "/kaniko/.docker" DefaultBusyboxImage = "busybox" UpdateCheckEnvironmentVariable = "SKAFFOLD_UPDATE_CHECK" DefaultCloudBuildDockerImage = "gcr.io/cloud-builders/docker" DefaultCloudBuildMavenImage = "gcr.io/cloud-builders/mvn" DefaultCloudBuildGradleImage = "gcr.io/cloud-builders/gradle" // A regex matching valid repository names (https://github.com/docker/distribution/blob/master/reference/reference.go) RepositoryComponentRegex string = `^[a-z\d]+(?:(?:[_.]|__|-+)[a-z\d]+)*$` )
Variables ¶
View Source
var DefaultKubectlManifests = []string{"k8s/*.yaml"}
View Source
var Labels = struct { TagPolicy string Deployer string Builder string DockerAPIVersion string DefaultLabels map[string]string }{ DefaultLabels: map[string]string{ "deployed-with": "skaffold", }, TagPolicy: "skaffold-tag-policy", Deployer: "skaffold-deployer", Builder: "skaffold-builder", DockerAPIVersion: "docker-api-version", }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.