resources

package
v2.1.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2019 License: Apache-2.0 Imports: 1 Imported by: 6

Documentation

Index

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 FlexVolumeAttachRequest struct {
	Name    string            `json:"name"`
	Host    string            `json:"host"`
	Opts    map[string]string `json:"opts"`
	Version string            `json:"version"`
	Context resources.RequestContext
}

type FlexVolumeDetachRequest

type FlexVolumeDetachRequest struct {
	Name    string `json:"name"`
	Host    string `json:"host"`
	Version string `json:"version"`
	Context resources.RequestContext
}

type FlexVolumeGetVolumeNameRequest

type FlexVolumeGetVolumeNameRequest struct {
	Opts map[string]string `json:"opts"`
}

type FlexVolumeIsAttachedRequest

type FlexVolumeIsAttachedRequest struct {
	Name    string            `json:"name"`
	Host    string            `json:"host"`
	Opts    map[string]string `json:"opts"`
	Context resources.RequestContext
}

type FlexVolumeMountDeviceRequest

type FlexVolumeMountDeviceRequest struct {
	Name    string            `json:"name"`
	Path    string            `json:"path"`
	Opts    map[string]string `json:"opts"`
	Context resources.RequestContext
}

type FlexVolumeMountRequest

type FlexVolumeMountRequest struct {
	MountPath   string            `json:"mountPath"`
	MountDevice string            `json:"name"`
	Opts        map[string]string `json:"opts"`
	Version     string            `json:"version"`
	Context     resources.RequestContext
}

type FlexVolumeResponse

type FlexVolumeResponse struct {
	Status     string `json:"status"`
	Message    string `json:"message"`
	Device     string `json:"device"`
	VolumeName string `json:"volumeName"`
	Attached   bool   `json:"attached"`
}

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL