Versions in this module Expand all Collapse all v0 v0.1.0 Feb 3, 2016 Changes in this version + var InstanceNotFound = errors.New("instance not found") + func GetInstanceProviderID(cloud Interface, nodeName string) (string, error) + func GetLoadBalancerName(service *api.Service) string + func RegisterCloudProvider(name string, cloud Factory) + type Clusters interface + ListClusters func() ([]string, error) + Master func(clusterName string) (string, error) + type Factory func(config io.Reader) (Interface, error) + type Instances interface + AddSSHKeyToAllInstances func(user string, keyData []byte) error + CurrentNodeName func(hostname string) (string, error) + ExternalID func(name string) (string, error) + InstanceID func(name string) (string, error) + List func(filter string) ([]string, error) + NodeAddresses func(name string) ([]api.NodeAddress, error) + type Interface interface + Clusters func() (Clusters, bool) + Instances func() (Instances, bool) + ProviderName func() string + Routes func() (Routes, bool) + ScrubDNS func(nameservers, searches []string) (nsOut, srchOut []string) + TCPLoadBalancer func() (TCPLoadBalancer, bool) + Zones func() (Zones, bool) + func GetCloudProvider(name string, config io.Reader) (Interface, error) + func InitCloudProvider(name string, configFilePath string) (Interface, error) + type Route struct + DestinationCIDR string + Name string + TargetInstance string + type Routes interface + CreateRoute func(clusterName string, nameHint string, route *Route) error + DeleteRoute func(clusterName string, route *Route) error + ListRoutes func(clusterName string) ([]*Route, error) + type TCPLoadBalancer interface + EnsureTCPLoadBalancer func(name, region string, loadBalancerIP net.IP, ports []*api.ServicePort, ...) (*api.LoadBalancerStatus, error) + EnsureTCPLoadBalancerDeleted func(name, region string) error + GetTCPLoadBalancer func(name, region string) (status *api.LoadBalancerStatus, exists bool, err error) + UpdateTCPLoadBalancer func(name, region string, hosts []string) error + type Zone struct + FailureDomain string + Region string + type Zones interface + GetZone func() (Zone, error)