openstack

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2017 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client

func Client(kube *model.Kube) (*gophercloud.ProviderClient, error)

Client creates the client for the provider.

Types

type Provider

type Provider struct {
	Core   *core.Core
	Client func(*model.Kube) (*gophercloud.ProviderClient, error)
}

Provider Holds DO account info.

func (*Provider) CreateKube

func (p *Provider) CreateKube(m *model.Kube, action *core.Action) error

CreateKube creates a new kubernetes cluster.

func (*Provider) CreateLoadBalancer added in v0.14.0

func (p *Provider) CreateLoadBalancer(m *model.LoadBalancer, action *core.Action) error

func (*Provider) CreateNode

func (p *Provider) CreateNode(m *model.Node, action *core.Action) error

CreateNode creates a new node for a kubernetes cluster.

func (*Provider) DeleteKube

func (p *Provider) DeleteKube(m *model.Kube, action *core.Action) error

DeleteKube deletes a kubernetes cluster.

func (*Provider) DeleteLoadBalancer added in v0.14.0

func (p *Provider) DeleteLoadBalancer(m *model.LoadBalancer, action *core.Action) error

func (*Provider) DeleteNode

func (p *Provider) DeleteNode(m *model.Node, action *core.Action) error

DeleteNode deletes a node on a kubernetes cluster.

func (*Provider) UpdateLoadBalancer added in v0.14.0

func (p *Provider) UpdateLoadBalancer(m *model.LoadBalancer, action *core.Action) error

func (*Provider) ValidateAccount

func (p *Provider) ValidateAccount(m *model.CloudAccount) error

ValidateAccount Valitades Open Stack account info.

Jump to

Keyboard shortcuts

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