Versions in this module Expand all Collapse all v1 v1.24.10 Oct 24, 2017 v1.24.9 Oct 24, 2017 Changes in this version + const CleanUpDummyVMRoutineInterval + const DatastoreInfoProperty + const DatastoreProperty + const DummyDiskName + const DummyVMPrefixName + const Folder + const MacOuiEsx + const MacOuiVC + const ProviderName + const RoundTripperDefaultCount + const UUIDPath + const UUIDPrefix + const VSANDatastoreType + const VirtualMachine + const VolDir + func GetgovmomiClient(conn *vclib.VSphereConnection) (*govmomi.Client, error) + type VSphere struct + func GetVSphere() (*VSphere, error) + func (vs *VSphere) AddSSHKeyToAllInstances(user string, keyData []byte) error + func (vs *VSphere) AttachDisk(vmDiskPath string, storagePolicyID string, nodeName k8stypes.NodeName) (diskUUID string, err error) + func (vs *VSphere) Clusters() (cloudprovider.Clusters, bool) + func (vs *VSphere) CreateVolume(volumeOptions *vclib.VolumeOptions) (canonicalVolumePath string, err error) + func (vs *VSphere) CurrentNodeName(hostname string) (k8stypes.NodeName, error) + func (vs *VSphere) DeleteVolume(vmDiskPath string) error + func (vs *VSphere) DetachDisk(volPath string, nodeName k8stypes.NodeName) error + func (vs *VSphere) DiskIsAttached(volPath string, nodeName k8stypes.NodeName) (bool, error) + func (vs *VSphere) DisksAreAttached(nodeVolumes map[k8stypes.NodeName][]string) (map[k8stypes.NodeName]map[string]bool, error) + func (vs *VSphere) ExternalID(nodeName k8stypes.NodeName) (string, error) + func (vs *VSphere) HasClusterID() bool + func (vs *VSphere) Initialize(clientBuilder controller.ControllerClientBuilder) + func (vs *VSphere) InstanceExistsByProviderID(providerID string) (bool, error) + func (vs *VSphere) InstanceID(nodeName k8stypes.NodeName) (string, error) + func (vs *VSphere) InstanceType(name k8stypes.NodeName) (string, error) + func (vs *VSphere) InstanceTypeByProviderID(providerID string) (string, error) + func (vs *VSphere) Instances() (cloudprovider.Instances, bool) + func (vs *VSphere) LoadBalancer() (cloudprovider.LoadBalancer, bool) + func (vs *VSphere) NodeAddresses(nodeName k8stypes.NodeName) ([]v1.NodeAddress, error) + func (vs *VSphere) NodeAddressesByProviderID(providerID string) ([]v1.NodeAddress, error) + func (vs *VSphere) ProviderName() string + func (vs *VSphere) Routes() (cloudprovider.Routes, bool) + func (vs *VSphere) ScrubDNS(nameservers, searches []string) (nsOut, srchOut []string) + func (vs *VSphere) Zones() (cloudprovider.Zones, bool) + type VSphereConfig struct + Disk struct{ ... } + Global struct{ ... } + Network struct{ ... } + type Volumes interface + AttachDisk func(vmDiskPath string, storagePolicyID string, nodeName k8stypes.NodeName) (diskUUID string, err error) + CreateVolume func(volumeOptions *vclib.VolumeOptions) (volumePath string, err error) + DeleteVolume func(vmDiskPath string) error + DetachDisk func(volPath string, nodeName k8stypes.NodeName) error + DiskIsAttached func(volPath string, nodeName k8stypes.NodeName) (bool, error) + DisksAreAttached func(nodeVolumes map[k8stypes.NodeName][]string) (map[k8stypes.NodeName]map[string]bool, error)