Documentation ¶
Index ¶
Constants ¶
View Source
const ( FlagEngineImage = "engine-image" FlagInstanceManagerImage = "instance-manager-image" FlagManagerImage = "manager-image" FlagServiceAccount = "service-account" FlagKubeConfig = "kube-config" )
View Source
const ( EnvKubeletRootDir = "KUBELET_ROOT_DIR" FlagManagerURL = "manager-url" FlagKubeletRootDir = "kubelet-root-dir" FlagCSIAttacherImage = "csi-attacher-image" FlagCSIProvisionerImage = "csi-provisioner-image" FlagCSIResizerImage = "csi-resizer-image" FlagCSINodeDriverRegistrarImage = "csi-node-driver-registrar-image" EnvCSIAttacherImage = "CSI_ATTACHER_IMAGE" EnvCSIProvisionerImage = "CSI_PROVISIONER_IMAGE" EnvCSIResizerImage = "CSI_RESIZER_IMAGE" EnvCSINodeDriverRegistrarImage = "CSI_NODE_DRIVER_REGISTRAR_IMAGE" FlagCSIAttacherReplicaCount = "csi-attacher-replica-count" FlagCSIProvisionerReplicaCount = "csi-provisioner-replica-count" FlagCSIResizerReplicaCount = "csi-resizer-replica-count" EnvCSIAttacherReplicaCount = "CSI_ATTACHER_REPLICA_COUNT" EnvCSIProvisionerReplicaCount = "CSI_PROVISIONER_REPLICA_COUNT" EnvCSIResizerReplicaCount = "CSI_RESIZER_REPLICA_COUNT" )
View Source
const ( DetectPodMaxPolls = 120 ArgKubeletRootDir = "root-dir" ArgNameKubeletRootDir = "--root-dir" DefaultKubeletRootDir = "/var/lib/kubelet" KubeletDetectionPodName = "discover-proc-kubelet-cmdline" K3SDetectionPodName = "discover-proc-k3s-cmdline" GetKubeletCmdlineScript = `` /* 453-byte string literal not displayed */ GetK3SCmdlineScript = `` /* 602-byte string literal not displayed */ )
View Source
const ( RetryCounts = 360 RetryInterval = 5 * time.Second )
View Source
const ( FlagForce = "force" FlagNamespace = "namespace" EnvLonghornNamespace = "LONGHORN_NAMESPACE" )
View Source
const ( PVCAnnotationCSIProvisioner = "volume.beta.kubernetes.io/storage-provisioner" PVAnnotationCSIProvisioner = "pv.kubernetes.io/provisioned-by" )
View Source
const ( FlagSnapshotName = "snapshot-name" FlagLabels = "labels" FlagRetain = "retain" FlagBackupTarget = "backuptarget" SnapshotPurgeStatusInterval = 5 * time.Second WaitInterval = 5 * time.Second )
Variables ¶
View Source
var VERSION = "VERSION_PLACEHOLDER"
Functions ¶
func CSICommand ¶
func DeployDriverCmd ¶
func PostUpgradeCmd ¶ added in v0.3.3
func SnapshotCmd ¶
func UninstallCmd ¶ added in v0.3.2
Types ¶
type DaemonSetOps ¶
type DaemonSetOps struct {
// contains filtered or unexported fields
}
func (*DaemonSetOps) Delete ¶
func (ops *DaemonSetOps) Delete(name string) error
type Job ¶
type Job struct {
// contains filtered or unexported fields
}
type NameWithTimestamp ¶
Click to show internal directories.
Click to hide internal directories.