openstack

package
v0.13.5 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 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) CreateEntrypoint

func (p *Provider) CreateEntrypoint(m *model.Entrypoint, action *core.Action) error

CreateEntrypoint creates a new Load Balancer for Kubernetes in DO

func (*Provider) CreateEntrypointListener

func (p *Provider) CreateEntrypointListener(m *model.EntrypointListener, action *core.Action) error

func (*Provider) CreateKube

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

CreateKube creates a new DO kubernetes cluster.

func (*Provider) CreateNode

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

CreateNode creates a new minion on DO kubernetes cluster.

func (*Provider) CreateVolume

func (p *Provider) CreateVolume(m *model.Volume, action *core.Action) error

CreateVolume createss a Volume on DO for Kubernetes

func (*Provider) DeleteEntrypoint

func (p *Provider) DeleteEntrypoint(m *model.Entrypoint, action *core.Action) error

DeleteEntrypoint deletes load balancer from DO.

func (*Provider) DeleteEntrypointListener

func (p *Provider) DeleteEntrypointListener(m *model.EntrypointListener, action *core.Action) error

func (*Provider) DeleteKube

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

DeleteKube deletes a DO kubernetes cluster.

func (*Provider) DeleteNode

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

DeleteNode deletes a minsion on a DO kubernetes cluster.

func (*Provider) DeleteVolume

func (p *Provider) DeleteVolume(m *model.Volume, action *core.Action) error

DeleteVolume deletes a DO volume.

func (*Provider) KubernetesVolumeDefinition

func (p *Provider) KubernetesVolumeDefinition(m *model.Volume) *kubernetes.Volume

func (*Provider) ResizeVolume

func (p *Provider) ResizeVolume(m *model.Volume, action *core.Action) error

ResizeVolume re-sizes volume on DO kubernetes cluster.

func (*Provider) ValidateAccount

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

ValidateAccount Valitades Open Stack account info.

func (*Provider) WaitForVolumeAvailable

func (p *Provider) WaitForVolumeAvailable(m *model.Volume, action *core.Action) error

WaitForVolumeAvailable waits for DO volume to become available.

Jump to

Keyboard shortcuts

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