Version: v0.2.1 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2015 License: Apache-2.0 Imports: 12 Imported by: 0




This section is empty.


This section is empty.


This section is empty.


type OVirtApiConfig

type OVirtApiConfig struct {
	Connection struct {
		ApiEntry string `gcfg:"uri"`
		Username string `gcfg:"username"`
		Password string `gcfg:"password"`
	Filters struct {
		VmsQuery string `gcfg:"vms"`

type OVirtCloud

type OVirtCloud struct {
	VmsRequest   *url.URL
	HostsRequest *url.URL

func (*OVirtCloud) Clusters added in v0.2.1

func (aws *OVirtCloud) Clusters() (cloudprovider.Clusters, bool)

func (*OVirtCloud) GetNodeResources

func (v *OVirtCloud) GetNodeResources(name string) (*api.NodeResources, error)

func (*OVirtCloud) IPAddress

func (v *OVirtCloud) IPAddress(instance string) (net.IP, error)

IPAddress returns the address of a particular machine 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) 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 XmlVmInfo

type XmlVmInfo struct {
	Hostname string `xml:"guest_info>fqdn"`
	State    string `xml:"status>state"`

type XmlVmsList

type XmlVmsList struct {
	XMLName xml.Name    `xml:"vms"`
	Vm      []XmlVmInfo `xml:"vm"`

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL