kubernetes: github.com/erimatnor/kubernetes/pkg/cloudprovider/ovirt Index | Files

package ovirt_cloud

import "github.com/erimatnor/kubernetes/pkg/cloudprovider/ovirt"

Index

Package Files

ovirt.go

type OVirtApiConfig Uses

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 Uses

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

func (*OVirtCloud) Clusters Uses

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

func (*OVirtCloud) Configure Uses

func (v *OVirtCloud) Configure(name string, spec *api.NodeSpec) error

func (*OVirtCloud) ExternalID Uses

func (v *OVirtCloud) ExternalID(name string) (string, error)

ExternalID returns the cloud provider ID of the specified instance.

func (*OVirtCloud) GetNodeResources Uses

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

func (*OVirtCloud) Instances Uses

func (v *OVirtCloud) Instances() (cloudprovider.Instances, bool)

Instances returns an implementation of Instances for oVirt cloud

func (*OVirtCloud) List Uses

func (v *OVirtCloud) List(filter string) ([]string, error)

List enumerates the set of minions instances known by the cloud provider

func (*OVirtCloud) NodeAddresses Uses

func (v *OVirtCloud) NodeAddresses(name string) ([]api.NodeAddress, error)

NodeAddresses returns the NodeAddresses of a particular machine instance

func (*OVirtCloud) Release Uses

func (v *OVirtCloud) Release(name string) error

func (*OVirtCloud) TCPLoadBalancer Uses

func (v *OVirtCloud) TCPLoadBalancer() (cloudprovider.TCPLoadBalancer, bool)

TCPLoadBalancer returns an implementation of TCPLoadBalancer for oVirt cloud

func (*OVirtCloud) Zones Uses

func (v *OVirtCloud) Zones() (cloudprovider.Zones, bool)

Zones returns an implementation of Zones for oVirt cloud

type OVirtInstance Uses

type OVirtInstance struct {
    UUID      string
    Name      string
    IPAddress string
}

type OVirtInstanceMap Uses

type OVirtInstanceMap map[string]OVirtInstance

func (*OVirtInstanceMap) ListSortedNames Uses

func (m *OVirtInstanceMap) ListSortedNames() []string

type XmlVmAddress Uses

type XmlVmAddress struct {
    Address string `xml:"address,attr"`
}

type XmlVmInfo Uses

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 Uses

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

Package ovirt_cloud imports 13 packages (graph). Updated 2017-05-11. Refresh now. Tools for package owners.