Documentation ¶
Index ¶
Constants ¶
View Source
const ( FlagEngineImage = "engine-image" FlagManagerImage = "manager-image" FlagServiceAccount = "service-account" FlagKubeConfig = "kube-config" )
View Source
const ( FlagFlexvolumeDir = "flexvolume-dir" EnvFlexvolumeDir = "FLEXVOLUME_DIR" DefaultFlexvolumeDir = "/usr/libexec/kubernetes/kubelet-plugins/volume/exec/" LonghornFlexvolumeDriver = "longhorn-flexvolume-driver" FlagManagerURL = "manager-url" FlagDriver = "driver" FlagDriverCSI = "csi" FlagDriverFlexvolume = "flexvolume" FlagCSIAttacherImage = "csi-attacher-image" FlagCSIProvisionerImage = "csi-provisioner-image" FlagCSIDriverRegistrarImage = "csi-driver-registrar-image" FlagCSIProvisionerName = "csi-provisioner-name" EnvCSIAttacherImage = "CSI_ATTACHER_IMAGE" EnvCSIProvisionerImage = "CSI_PROVISIONER_IMAGE" EnvCSIDriverRegistrarImage = "CSI_DRIVER_REGISTRAR_IMAGE" EnvCSIProvisionerName = "CSI_PROVISIONER_NAME" )
View Source
const ( DetectFlexVolumeName = "discover-flexvolume-dir" DetectFlexVolumeScript = `` /* 790-byte string literal not displayed */ DetectFlexVolumeMaxPolls = 120 )
View Source
const ( FlagSnapshotName = "snapshot-name" FlagLabels = "labels" FlagRetain = "retain" FlagBackupTarget = "backuptarget" )
Variables ¶
This section is empty.
Functions ¶
func CSICommand ¶
func DeployDriverCmd ¶
func SnapshotCmd ¶
Types ¶
type DaemonSetOps ¶
type DaemonSetOps struct {
// contains filtered or unexported fields
}
func (*DaemonSetOps) Create ¶
func (ops *DaemonSetOps) Create(name string, d *appsv1beta2.DaemonSet) (*appsv1beta2.DaemonSet, error)
func (*DaemonSetOps) Delete ¶
func (ops *DaemonSetOps) Delete(name string) error
func (*DaemonSetOps) Get ¶
func (ops *DaemonSetOps) Get(name string) (*appsv1beta2.DaemonSet, error)
type NameWithTimestamp ¶
Click to show internal directories.
Click to hide internal directories.