package vsphere
import "k8s.io/kubernetes/pkg/cloudprovider/providers/vsphere"
Index ¶
- Constants
- type Instances
- func (i *Instances) AddSSHKeyToAllInstances(user string, keyData []byte) error
- func (i *Instances) CurrentNodeName(hostname string) (string, error)
- func (i *Instances) ExternalID(name string) (string, error)
- func (i *Instances) InstanceID(name string) (string, error)
- func (i *Instances) InstanceType(name string) (string, error)
- func (i *Instances) List(filter string) ([]string, error)
- func (i *Instances) NodeAddresses(name string) ([]api.NodeAddress, error)
- type VSphere
- func (vs *VSphere) Clusters() (cloudprovider.Clusters, bool)
- func (vs *VSphere) GetZone() (cloudprovider.Zone, error)
- 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)
- type VSphereConfig
Constants ¶
const ActivePowerState = "poweredOn"
const ProviderName = "vsphere"
Types ¶
type Instances ¶
type Instances struct {
// contains filtered or unexported fields
}
func (*Instances) AddSSHKeyToAllInstances ¶
func (*Instances) CurrentNodeName ¶
func (*Instances) ExternalID ¶
ExternalID returns the cloud provider ID of the specified instance (deprecated).
func (*Instances) InstanceID ¶
InstanceID returns the cloud provider ID of the specified instance.
func (*Instances) InstanceType ¶
func (*Instances) List ¶
List is an implementation of Instances.List.
func (*Instances) NodeAddresses ¶
func (i *Instances) NodeAddresses(name string) ([]api.NodeAddress, error)
NodeAddresses is an implementation of Instances.NodeAddresses.
type VSphere ¶
type VSphere struct {
// contains filtered or unexported fields
}
VSphere is an implementation of cloud provider Interface for VSphere.
func (*VSphere) Clusters ¶
func (vs *VSphere) Clusters() (cloudprovider.Clusters, bool)
func (*VSphere) GetZone ¶
func (vs *VSphere) GetZone() (cloudprovider.Zone, error)
func (*VSphere) Instances ¶
func (vs *VSphere) Instances() (cloudprovider.Instances, bool)
Instances returns an implementation of Instances for vSphere.
func (*VSphere) LoadBalancer ¶
func (vs *VSphere) LoadBalancer() (cloudprovider.LoadBalancer, bool)
LoadBalancer returns an implementation of LoadBalancer for vSphere.
func (*VSphere) ProviderName ¶
ProviderName returns the cloud provider ID.
func (*VSphere) Routes ¶
func (vs *VSphere) Routes() (cloudprovider.Routes, bool)
Routes returns an implementation of Routes for vSphere.
func (*VSphere) ScrubDNS ¶
ScrubDNS filters DNS settings for pods.
func (*VSphere) Zones ¶
func (vs *VSphere) Zones() (cloudprovider.Zones, bool)
Zones returns an implementation of Zones for Google vSphere.
type VSphereConfig ¶
type VSphereConfig struct { Global struct { User string `gcfg:"user"` Password string `gcfg:"password"` VCenterIP string `gcfg:"server"` VCenterPort string `gcfg:"port"` InsecureFlag bool `gcfg:"insecure-flag"` Datacenter string `gcfg:"datacenter"` Datastore string `gcfg:"datastore"` } Network struct { PublicNetwork string `gcfg:"public-network"` } }
Source Files ¶
vsphere.go
- Version
- v1.3.0-alpha.4
- Published
- May 17, 2016
- Platform
- js/wasm
- Imports
- 18 packages
- Last checked
- 11 minutes ago –
Tools for package owners.