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" GCSBucketSuffix = "_cloudbuild" HelmOverridesFilename = "skaffold-overrides.yaml" DefaultKustomizationPath = "." DefaultKanikoImage = "gcr.io/kaniko-project/executor:v0.4.0@sha256:0bbaa4859eec9796d32ab45e6c1627562dbc7796e40450295b9604cd3f4197af" DefaultKanikoSecretName = "kaniko-secret" DefaultKanikoTimeout = "20m" DefaultKanikoContainerName = "kaniko" DefaultKanikoEmptyDirName = "kaniko-emptydir" DefaultKanikoEmptyDirMountPath = "/kaniko/buildcontext" DefaultAlpineImage = "alpine" UpdateCheckEnvironmentVariable = "SKAFFOLD_UPDATE_CHECK" DefaultCloudBuildDockerImage = "gcr.io/cloud-builders/docker" // 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.