package
1.11.0-alpha.1
Repository: https://github.com/ceshihao/kubernetes.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

CheckControllerSupported checks if the given controller type is valid.
CheckDiskFormatSupported checks if the diskFormat is valid.
DiskformatValidOptions generates Valid Options for Diskformat.
GetAllDatacenter returns all the DataCenter Objects.
GetDatacenter returns the DataCenter Object for the given datacenterPath If datacenter is located in a folder, include full path to datacenter else just provide the datacenter name.
GetDatastorePathObjFromVMDiskPath gets the datastorePathObj from VM disk path.
GetPathFromVMDiskPath retrieves the path from VM Disk Path.
IsManagedObjectNotFoundError returns true if error is of type ManagedObjectNotFound.
IsNotFound return true if err is NotFoundError or DefaultNotFoundError.
IsValidUUID checks if the string is a valid UUID.
NewPbmClient returns a new PBM Client object.
RecordCreateVolumeMetric records the Create Volume metric.
RecordvSphereMetric records the vSphere API and Operation metrics.
RegisterMetrics registers all the API and Operation metrics.
RemoveStorageClusterORFolderNameFromVDiskPath removes the cluster or folder path from the vDiskPath for vDiskPath [DatastoreCluster/sharedVmfs-0] kubevols/e2e-vmdk-1234.vmdk, return value is [sharedVmfs-0] kubevols/e2e-vmdk-1234.vmdk for vDiskPath [sharedVmfs-0] kubevols/e2e-vmdk-1234.vmdk, return value remains same [sharedVmfs-0] kubevols/e2e-vmdk-1234.vmdk.
SCSIControllerTypeValidOptions generates valid options for SCSIControllerType.
VerifyVolumePathsForVM verifies if the volume paths (volPaths) are attached to VM.
VerifyVolumePathsForVMDevices verifies if the volume paths (volPaths) are attached to VM.

# Constants

Other Constants.
Cloud Provider API constants.
Cloud Provider API constants.
Cloud Provider API constants.
Cloud Provider API constants.
Controller Constants.
Other Constants.
Other Constants.
Error Messages.
Other Constants.
Volume Constnts.
Error Messages.
Error Messages.
Other Constants.
Controller Constants.
Controller Constants.
Error Messages.
Error Messages.
Error Messages.
Cloud Provider Operation constants.
Cloud Provider Operation constants.
Cloud Provider Operation constants.
Cloud Provider Operation constants.
Cloud Provider Operation constants.
Cloud Provider Operation constants.
Cloud Provider Operation constants.
Cloud Provider Operation constants.
Volume Constnts.
Controller Constants.
Other Constants.
Other Constants.
Controller Constants.
Controller Constants.
Controller Constants.
Controller Constants.
Controller Constants.
Volume Constnts.
Other Constants.
Other Constants.
Volume Constnts.

# Variables

DiskFormatValidType specifies the valid disk formats.
Error constants.
Error constants.
Error constants.
Error constants.
Error constants.
Error constants.
SCSIControllerValidType specifies the supported SCSI controllers.

# Structs

Datacenter extends the govmomi Datacenter object.
Datastore extends the govmomi Datastore object.
DatastoreInfo is a structure to store the Datastore and it's Info.
Folder extends the govmomi Folder object.
PbmClient is extending govmomi pbm, and provides functions to get compatible list of datastore for given policy.
VirtualMachine extends the govmomi VirtualMachine object.
VMOptions provides helper objects for provisioning volume with SPBM Policy.
VolumeOptions specifies various options for a volume.
VSphereConnection contains information for connecting to vCenter.