Versions in this module Expand all Collapse all v0 v0.1.1 Dec 18, 2018 v0.1.0 Dec 9, 2018 Changes in this version + const DatacenterNotFoundErrMsg + const FindVMByName + const FindVMByUUID + const NodeNotFoundErrMsg + const ProviderName + const ProviderPrefix + const VCenterNotFoundErrMsg + const VMNotFoundErrMsg + var ErrDatacenterNotFound = errors.New(DatacenterNotFoundErrMsg) + var ErrNodeNotFound = errors.New(NodeNotFoundErrMsg) + var ErrVCenterNotFound = errors.New(VCenterNotFoundErrMsg) + var ErrVMNotFound = errors.New(VMNotFoundErrMsg) + type DatacenterInfo struct + type FindVM int + func (f FindVM) String() string + type GRPCServer interface + Start func() + type NodeInfo struct + NodeAddresses []v1.NodeAddress + NodeName string + UUID string + type NodeManager struct + func (nm *NodeManager) AddNodeInfoToVCList(vcenter string, datacenter string, node *NodeInfo) + func (nm *NodeManager) DiscoverNode(nodeID string, searchBy FindVM) error + func (nm *NodeManager) ExportNodes(vcenter string, datacenter string, nodeList *[]*pb.Node) error + func (nm *NodeManager) FindDatacenterInfoInVCList(vcenter string, datacenter string) (*DatacenterInfo, error) + func (nm *NodeManager) FindNodeInfoInVCList(vcenter string, datacenter string, UUID string) (*NodeInfo, error) + func (nm *NodeManager) RegisterNode(node *v1.Node) + func (nm *NodeManager) UnregisterNode(node *v1.Node) + type VCenterInfo struct + type VSphere struct + func (vs *VSphere) Clusters() (cloudprovider.Clusters, bool) + func (vs *VSphere) HasClusterID() bool + func (vs *VSphere) Initialize(clientBuilder controller.ControllerClientBuilder) + func (vs *VSphere) Instances() (cloudprovider.Instances, bool) + func (vs *VSphere) LoadBalancer() (cloudprovider.LoadBalancer, bool) + 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)