Documentation ¶
Index ¶
- Constants
- type FlexVolumeAttachRequest
- type FlexVolumeDetachRequest
- type FlexVolumeGetVolumeNameRequest
- type FlexVolumeIsAttachedRequest
- type FlexVolumeMountDeviceRequest
- type FlexVolumeMountRequest
- type FlexVolumeResponse
- type FlexVolumeUnmountDeviceRequest
- type FlexVolumeUnmountRequest
- type FlexVolumeWaitForAttachRequest
Constants ¶
View Source
const FlexConfPath = FlexDir + "/" + UbiquityK8sFlexVolumeDriverName + ".conf"
View Source
const FlexDir = "/usr/libexec/kubernetes/kubelet-plugins/volume/exec/" + UbiquityK8sFlexVolumeDriverVendor + "~" + UbiquityK8sFlexVolumeDriverName
View Source
const FlexLogFilePath = FlexDir + "/" + UbiquityFlexLogFileName
View Source
const KubernetesVersion_1_5 = "1.5"
View Source
const KubernetesVersion_1_6OrLater = "atLeast1.6"
View Source
const ProvisionerName = "ubiquity/flex"
View Source
const UbiquityFlexLogFileName = UbiquityK8sFlexVolumeDriverName + ".log"
View Source
const UbiquityK8sFlexVolumeDriverFullName = UbiquityK8sFlexVolumeDriverVendor + "/" + UbiquityK8sFlexVolumeDriverName
View Source
const UbiquityK8sFlexVolumeDriverName = "ubiquity-k8s-flex"
This ubiquity flexvolume name must be part of the flexvol CLI directory and CLI name in the minions. Here is template of the path: /usr/libexec/kubernetes/kubelet-plugins/volume/exec/${UbiquityK8sFlexVolumeDriverVendor}~${UbiquityK8sFlexVolumeDriverName}/${UbiquityK8sFlexVolumeDriverName}
View Source
const UbiquityK8sFlexVolumeDriverVendor = "ibm"
View Source
const UbiquityProvisionerLogFileName = UbiquityProvisionerName + ".log"
View Source
const UbiquityProvisionerName = "ubiquity-k8s-provisioner"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlexVolumeAttachRequest ¶
type FlexVolumeDetachRequest ¶
type FlexVolumeDetachRequest struct { Name string `json:"name"` Host string `json:"host"` Version string `json:"version"` Context resources.RequestContext }
type FlexVolumeMountRequest ¶
type FlexVolumeResponse ¶
type FlexVolumeUnmountDeviceRequest ¶
type FlexVolumeUnmountDeviceRequest struct { Name string `json:"name"` Context resources.RequestContext }
type FlexVolumeUnmountRequest ¶
type FlexVolumeUnmountRequest struct { MountPath string `json:"mountPath"` Context resources.RequestContext }
type FlexVolumeWaitForAttachRequest ¶
type FlexVolumeWaitForAttachRequest struct { Name string `json:"name"` Opts map[string]string `json:"opts"` Context resources.RequestContext }
Click to show internal directories.
Click to hide internal directories.