baremetal

package
v1.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cloud

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

func NewCloud

func NewCloud(dns dnsprovider.Interface) (*Cloud, error)

func (*Cloud) DNS

func (c *Cloud) DNS() (dnsprovider.Interface, error)

func (*Cloud) DeleteGroup

func (c *Cloud) DeleteGroup(g *cloudinstances.CloudInstanceGroup) error

DeleteGroup is not implemented yet, is a func that needs to delete a DO instance group. Baremetal may not support this.

func (*Cloud) DeleteInstance

func (c *Cloud) DeleteInstance(instance *cloudinstances.CloudInstanceGroupMember) error

DeleteInstance is not implemented yet, is func needs to delete a DO instance. Baremetal may not support this.

func (*Cloud) FindVPCInfo

func (c *Cloud) FindVPCInfo(id string) (*fi.VPCInfo, error)

func (*Cloud) GetCloudGroups

func (c *Cloud) GetCloudGroups(cluster *kops.Cluster, instancegroups []*kops.InstanceGroup, warnUnmatched bool, nodes []v1.Node) (map[string]*cloudinstances.CloudInstanceGroup, error)

GetCloudGroups is not implemented yet, that needs to return the instances and groups that back a kops cluster. Baremetal may not support this.

func (*Cloud) ProviderID

func (c *Cloud) ProviderID() kops.CloudProviderID

type Target

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

func NewTarget

func NewTarget(cloud *Cloud) *Target

func (*Target) Finish

func (t *Target) Finish(taskMap map[string]fi.Task) error

func (*Target) ProcessDeletions

func (t *Target) ProcessDeletions() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL