Documentation ¶
Index ¶
- type APITarget
- type Cloud
- func (c *Cloud) DNS() (dnsprovider.Interface, error)
- func (c *Cloud) DeleteGroup(group *cloudinstances.CloudInstanceGroup) error
- func (c *Cloud) DeleteInstance(instance *cloudinstances.CloudInstance) error
- func (c *Cloud) DeregisterInstance(instance *cloudinstances.CloudInstance) error
- func (c *Cloud) DetachInstance(instance *cloudinstances.CloudInstance) error
- func (c *Cloud) FindClusterStatus(cluster *kops.Cluster) (*kops.ClusterStatus, error)
- func (c *Cloud) FindVPCInfo(id string) (*fi.VPCInfo, error)
- func (c *Cloud) GetApiIngressStatus(cluster *kops.Cluster) ([]fi.ApiIngressStatus, error)
- func (c *Cloud) GetCloudGroups(cluster *kops.Cluster, instancegroups []*kops.InstanceGroup, ...) (map[string]*cloudinstances.CloudInstanceGroup, error)
- func (c *Cloud) ProviderID() kops.CloudProviderID
- func (c *Cloud) Region() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cloud ¶
type Cloud struct { }
Cloud holds the fi.Cloud implementation for metal resources.
func (*Cloud) DeleteGroup ¶
func (c *Cloud) DeleteGroup(group *cloudinstances.CloudInstanceGroup) error
DeleteGroup deletes the cloud resources that make up a CloudInstanceGroup, including the instances.
func (*Cloud) DeleteInstance ¶
func (c *Cloud) DeleteInstance(instance *cloudinstances.CloudInstance) error
DeleteInstance deletes a cloud instance.
func (*Cloud) DeregisterInstance ¶
func (c *Cloud) DeregisterInstance(instance *cloudinstances.CloudInstance) error
// DeregisterInstance drains a cloud instance and loadbalancers.
func (*Cloud) DetachInstance ¶
func (c *Cloud) DetachInstance(instance *cloudinstances.CloudInstance) error
DetachInstance causes a cloud instance to no longer be counted against the group's size limits.
func (*Cloud) FindClusterStatus ¶
FindClusterStatus discovers the status of the cluster, by inspecting the cloud objects
func (*Cloud) FindVPCInfo ¶
FindVPCInfo looks up the specified VPC by id, returning info if found, otherwise (nil, nil).
func (*Cloud) GetApiIngressStatus ¶
func (*Cloud) GetCloudGroups ¶
func (c *Cloud) GetCloudGroups(cluster *kops.Cluster, instancegroups []*kops.InstanceGroup, warnUnmatched bool, nodes []v1.Node) (map[string]*cloudinstances.CloudInstanceGroup, error)
GetCloudGroups returns a map of cloud instances that back a kops cluster. Detached instances must be returned in the NeedUpdate slice.
func (*Cloud) ProviderID ¶
func (c *Cloud) ProviderID() kops.CloudProviderID