Documentation ¶
Index ¶
- Constants
- type OVirtApiConfig
- type OVirtCloud
- func (v *OVirtCloud) AddSSHKeyToAllInstances(user string, keyData []byte) error
- func (aws *OVirtCloud) Clusters() (cloudprovider.Clusters, bool)
- func (v *OVirtCloud) CurrentNodeName(hostname string) (string, error)
- func (v *OVirtCloud) ExternalID(name string) (string, error)
- func (v *OVirtCloud) GetNodeResources(name string) (*api.NodeResources, error)
- func (v *OVirtCloud) InstanceID(name string) (string, error)
- func (v *OVirtCloud) Instances() (cloudprovider.Instances, bool)
- func (v *OVirtCloud) List(filter string) ([]string, error)
- func (v *OVirtCloud) NodeAddresses(name string) ([]api.NodeAddress, error)
- func (v *OVirtCloud) ProviderName() string
- func (v *OVirtCloud) Routes() (cloudprovider.Routes, bool)
- func (v *OVirtCloud) TCPLoadBalancer() (cloudprovider.TCPLoadBalancer, bool)
- func (v *OVirtCloud) Zones() (cloudprovider.Zones, bool)
- type OVirtInstance
- type OVirtInstanceMap
- type XmlVmAddress
- type XmlVmInfo
- type XmlVmsList
Constants ¶
View Source
const ProviderName = "ovirt"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OVirtApiConfig ¶
type OVirtCloud ¶
func (*OVirtCloud) AddSSHKeyToAllInstances ¶ added in v0.20.1
func (v *OVirtCloud) AddSSHKeyToAllInstances(user string, keyData []byte) error
func (*OVirtCloud) Clusters ¶ added in v0.5.2
func (aws *OVirtCloud) Clusters() (cloudprovider.Clusters, bool)
func (*OVirtCloud) CurrentNodeName ¶ added in v0.20.1
func (v *OVirtCloud) CurrentNodeName(hostname string) (string, error)
Implementation of Instances.CurrentNodeName
func (*OVirtCloud) ExternalID ¶ added in v0.13.1
func (v *OVirtCloud) ExternalID(name string) (string, error)
ExternalID returns the cloud provider ID of the specified instance (deprecated).
func (*OVirtCloud) GetNodeResources ¶
func (v *OVirtCloud) GetNodeResources(name string) (*api.NodeResources, error)
func (*OVirtCloud) InstanceID ¶ added in v0.18.2
func (v *OVirtCloud) InstanceID(name string) (string, error)
InstanceID returns the cloud provider ID of the specified instance.
func (*OVirtCloud) Instances ¶
func (v *OVirtCloud) Instances() (cloudprovider.Instances, bool)
Instances returns an implementation of Instances for oVirt cloud
func (*OVirtCloud) List ¶
func (v *OVirtCloud) List(filter string) ([]string, error)
List enumerates the set of minions instances known by the cloud provider
func (*OVirtCloud) NodeAddresses ¶ added in v0.13.1
func (v *OVirtCloud) NodeAddresses(name string) ([]api.NodeAddress, error)
NodeAddresses returns the NodeAddresses of a particular machine instance
func (*OVirtCloud) ProviderName ¶ added in v0.18.2
func (v *OVirtCloud) ProviderName() string
ProviderName returns the cloud provider ID.
func (*OVirtCloud) Routes ¶ added in v0.18.2
func (v *OVirtCloud) Routes() (cloudprovider.Routes, bool)
Routes returns an implementation of Routes for oVirt cloud
func (*OVirtCloud) TCPLoadBalancer ¶
func (v *OVirtCloud) TCPLoadBalancer() (cloudprovider.TCPLoadBalancer, bool)
TCPLoadBalancer returns an implementation of TCPLoadBalancer for oVirt cloud
func (*OVirtCloud) Zones ¶
func (v *OVirtCloud) Zones() (cloudprovider.Zones, bool)
Zones returns an implementation of Zones for oVirt cloud
type OVirtInstance ¶ added in v0.13.1
type OVirtInstanceMap ¶ added in v0.13.1
type OVirtInstanceMap map[string]OVirtInstance
func (*OVirtInstanceMap) ListSortedNames ¶ added in v0.13.1
func (m *OVirtInstanceMap) ListSortedNames() []string
type XmlVmAddress ¶ added in v0.13.1
type XmlVmAddress struct {
Address string `xml:"address,attr"`
}
type XmlVmInfo ¶
type XmlVmInfo struct { UUID string `xml:"id,attr"` Name string `xml:"name"` Hostname string `xml:"guest_info>fqdn"` Addresses []XmlVmAddress `xml:"guest_info>ips>ip"` State string `xml:"status>state"` }
type XmlVmsList ¶
Click to show internal directories.
Click to hide internal directories.