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" DefaultMinikubeContext = "minikube" DefaultDockerForDesktopContext = "docker-for-desktop" DefaultDockerDesktopContext = "docker-desktop" GCSBucketSuffix = "_cloudbuild" HelmOverridesFilename = "skaffold-overrides.yaml" DefaultKustomizationPath = "." DefaultKanikoImage = "gcr.io/kaniko-project/executor:v0.9.0@sha256:d9fe474f80b73808dc12b54f45f5fc90f7856d9fc699d4a5e79d968a1aef1a72" DefaultKanikoSecretName = "kaniko-secret" DefaultKanikoTimeout = "20m" DefaultKanikoContainerName = "kaniko" DefaultKanikoEmptyDirName = "kaniko-emptydir" DefaultKanikoEmptyDirMountPath = "/kaniko/buildcontext" DefaultKanikoCacheDirName = "kaniko-cache" DefaultKanikoCacheDirMountPath = "/cache" DefaultKanikoDockerConfigSecretName = "docker-cfg" DefaultKanikoDockerConfigPath = "/kaniko/.docker" DefaultBusyboxImage = "busybox" UpdateCheckEnvironmentVariable = "SKAFFOLD_UPDATE_CHECK" DefaultCloudBuildDockerImage = "gcr.io/cloud-builders/docker" DefaultCloudBuildMavenImage = "gcr.io/cloud-builders/mvn@sha256:0ec283f2ee1ab1d2ac779dcbb24bddaa46275aec7088cc10f2926b4ea0fcac9b" DefaultCloudBuildGradleImage = "gcr.io/cloud-builders/gradle" DefaultSkaffoldDir = ".skaffold" DefaultCacheFile = "cache" DefaultRPCPort = 50051 DefaultRPCHTTPPort = 50052 )
Variables ¶
View Source
var ( // Images is an environment variable key, whose value is an array of fully qualified image names passed in to a custom build script. Images = "IMAGES" // PushImage lets the custom build script know if the image is expected to be pushed to a remote registry PushImage = "PUSH_IMAGE" // BuildContext is the absolute path to a directory this artifact is meant to be built from for custom artifacts BuildContext = "BUILD_CONTEXT" // KubeContext is the expected kubecontext to build an artifact with a custom build script on cluster KubeContext = "KUBE_CONTEXT" // Namespace is the expected namsepace to build an artifact with a custom build script on cluster. Namespace = "NAMESPACE" // PullSecretName is the secret with authentication required to pull a base image/push the final image built on cluster. PullSecretName = "PULL_SECRET_NAME" // DockerConfigSecretName is the secret containing any required docker authentication for custom builds on cluster. DockerConfigSecretName = "DOCKER_CONFIG_SECRET_NAME" // Timeout is the amount of time an on cluster build is allowed to run. Timeout = "TIMEOUT" )
View Source
var DefaultKubectlManifests = []string{"k8s/*.yaml"}
View Source
var Labels = struct { TagPolicy string Deployer string Builder string DockerAPIVersion string }{ TagPolicy: "skaffold.dev/tag-policy", Deployer: "skaffold.dev/deployer", Builder: "skaffold.dev/builder", DockerAPIVersion: "skaffold.dev/docker-api-version", }
Functions ¶
This section is empty.
Types ¶
type ResourceType ¶ added in v0.32.0
type ResourceType string
ResourceType describes the Kubernetes resource types used for port forwarding
var (
Pod ResourceType = "pod"
)
Click to show internal directories.
Click to hide internal directories.