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

package ovirt_cloud

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


Package Files


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) GetNodeResources Uses

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

func (*OVirtCloud) IPAddress Uses

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

IPAddress returns the address of a particular machine instance

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) 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 XmlVmInfo Uses

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

type XmlVmsList Uses

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

Package ovirt_cloud imports 12 packages (graph). Updated 2018-04-10. Refresh now. Tools for package owners.