package
0.0.0-20241110042726-8cac22a9eff7
Repository: https://github.com/portainer/k2d.git
Documentation: pkg.go.dev
# Constants
DeploymentWorkloadType is the label value used to identify a Deployment workload It is stored on a container as a label and used to filter containers when listing deployments.
JobLastAppliedConfigLabelKey is the key used to store the job specific last applied configuration in the container labels.
JobWorkloadType is the label value used to identify a Job workload It is stored on a container as a label and used to filter containers when listing deployments.
K2DNamespaceName is the name of the namespace where k2d resources are stored.
K2dServiceAccountSecretName is the name of the secret used to store the system service account token and CA certificate.
LastAppliedConfigLabelKey is the key used to store the last applied configuration of a resource in the container labels It can be used to retrieve the original workload definition (deployment, pod) from a container or the resource definition of resource kinds (namespace, persistent volume claim).
NamespaceNameLabelKey is the key used to store the namespace name associated to a Docker resource in its labels.
NetworkNameLabelKey is the key used to store the network name in the container labels.
PersistentVolumeClaimNameLabelKey is the key used to store the persistent volume claim name in the labels of a system configmap.
PersistentVolumeClaimTargetNamespaceLabelKey is the key used to store the target namespace of a persistent volume claim in the labels of a system configmap This is used to identify the namespace where the persistent volume claim is used (e.g.
PersistentVolumeNameLabelKey is the key used to store the persistent volume name in the labels of a system configmap or a Docker volume.
PersistentVolumeStorageType is the label value used to identify a persistent volume storage It is stored inside metadata as a label and used to filter persistent volumes when listing persistent volumes.
PodLastAppliedConfigLabelKey is the key used to store the pod definition in the container labels It can be used to retrieve the pod definition from a container created via a deployment.
ServiceLastAppliedConfigLabelKey is the key used to store the service definition associated to a workload in the container labels.
ServiceNameLabelKey is the key used to store the service name associated to the workload in the container labels.
StorageTypeLabelKey is the key used to store the storage type in the labels of a system configmap or a Docker volume It is used to differentiate between persistent volumes and config maps when listing volumes.
WorkloadNameLabelKey is the key used to store the workload name in the container labels.
WorkloadTypeLabelKey is the key used to store the workload type in the container labels.