kubernetes.v0: gopkg.in/kubernetes/kubernetes.v0/pkg/cloudprovider/vagrant Index | Files

package vagrant_cloud

import "gopkg.in/kubernetes/kubernetes.v0/pkg/cloudprovider/vagrant"

Package vagrant_cloud is an implementation of Interface, TCPLoadBalancer and Instances for developer managed Vagrant cluster.

Index

Package Files

doc.go vagrant.go

Constants

const ProviderName = "vagrant"

type SaltLoginResponse Uses

type SaltLoginResponse struct {
    Data []SaltToken `json:"return"`
}

SaltLoginResponse is the response object for a /login operation against Salt REST API.

type SaltMinion Uses

type SaltMinion struct {
    Roles []string `json:"roles"`
    IP    string   `json:"node_ip"`
    Host  string   `json:"host"`
}

SaltMinion is a machine managed by the Salt service.

type SaltMinions Uses

type SaltMinions map[string]SaltMinion

SaltMinions is a map of minion name to machine information.

type SaltMinionsResponse Uses

type SaltMinionsResponse struct {
    Minions []SaltMinions `json:"return"`
}

SaltMinionsResponse is the response object for a /minions operation against Salt REST API

type SaltToken Uses

type SaltToken struct {
    Token string `json:"token"`
    User  string `json:"user"`
    EAuth string `json:"eauth"`
}

SaltToken is an authorization token required by Salt REST API.

type VagrantCloud Uses

type VagrantCloud struct {
    // contains filtered or unexported fields
}

VagrantCloud is an implementation of Interface, TCPLoadBalancer and Instances for developer managed Vagrant cluster.

func (*VagrantCloud) AddSSHKeyToAllInstances Uses

func (v *VagrantCloud) AddSSHKeyToAllInstances(user string, keyData []byte) error

func (*VagrantCloud) Clusters Uses

func (v *VagrantCloud) Clusters() (cloudprovider.Clusters, bool)

func (*VagrantCloud) CurrentNodeName Uses

func (v *VagrantCloud) CurrentNodeName(hostname string) (string, error)

Implementation of Instances.CurrentNodeName

func (*VagrantCloud) ExternalID Uses

func (v *VagrantCloud) ExternalID(instance string) (string, error)

ExternalID returns the cloud provider ID of the specified instance (deprecated).

func (*VagrantCloud) GetNodeResources Uses

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

func (*VagrantCloud) InstanceID Uses

func (v *VagrantCloud) InstanceID(instance string) (string, error)

InstanceID returns the cloud provider ID of the specified instance.

func (*VagrantCloud) Instances Uses

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

Instances returns an implementation of Instances for Vagrant cloud.

func (*VagrantCloud) List Uses

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

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

func (*VagrantCloud) NodeAddresses Uses

func (v *VagrantCloud) NodeAddresses(instance string) ([]api.NodeAddress, error)

NodeAddresses returns the NodeAddresses of a particular machine instance.

func (*VagrantCloud) ProviderName Uses

func (v *VagrantCloud) ProviderName() string

ProviderName returns the cloud provider ID.

func (*VagrantCloud) Routes Uses

func (v *VagrantCloud) Routes() (cloudprovider.Routes, bool)

Routes returns an implementation of Routes for Vagrant cloud.

func (*VagrantCloud) TCPLoadBalancer Uses

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

TCPLoadBalancer returns an implementation of TCPLoadBalancer for Vagrant cloud.

func (*VagrantCloud) Zones Uses

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

Zones returns an implementation of Zones for Vagrant cloud.

Package vagrant_cloud imports 11 packages (graph). Updated 2018-03-04. Refresh now. Tools for package owners.