Documentation ¶
Index ¶
- func Client(kube *model.Kube) (*gophercloud.ProviderClient, error)
- type Provider
- func (p *Provider) CreateEntrypoint(m *model.Entrypoint, action *core.Action) error
- func (p *Provider) CreateEntrypointListener(m *model.EntrypointListener, action *core.Action) error
- func (p *Provider) CreateKube(m *model.Kube, action *core.Action) error
- func (p *Provider) CreateNode(m *model.Node, action *core.Action) error
- func (p *Provider) CreateVolume(m *model.Volume, action *core.Action) error
- func (p *Provider) DeleteEntrypoint(m *model.Entrypoint, action *core.Action) error
- func (p *Provider) DeleteEntrypointListener(m *model.EntrypointListener, action *core.Action) error
- func (p *Provider) DeleteKube(m *model.Kube, action *core.Action) error
- func (p *Provider) DeleteNode(m *model.Node, action *core.Action) error
- func (p *Provider) DeleteVolume(m *model.Volume, action *core.Action) error
- func (p *Provider) KubernetesVolumeDefinition(m *model.Volume) *kubernetes.Volume
- func (p *Provider) ResizeVolume(m *model.Volume, action *core.Action) error
- func (p *Provider) ValidateAccount(m *model.CloudAccount) error
- func (p *Provider) WaitForVolumeAvailable(m *model.Volume, action *core.Action) error
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 ¶
CreateEntrypoint creates a new Load Balancer for Kubernetes in DO
func (*Provider) CreateEntrypointListener ¶
func (*Provider) CreateKube ¶
CreateKube creates a new DO kubernetes cluster.
func (*Provider) CreateNode ¶
CreateNode creates a new minion on DO kubernetes cluster.
func (*Provider) CreateVolume ¶
CreateVolume createss a Volume on DO for Kubernetes
func (*Provider) DeleteEntrypoint ¶
DeleteEntrypoint deletes load balancer from DO.
func (*Provider) DeleteEntrypointListener ¶
func (*Provider) DeleteKube ¶
DeleteKube deletes a DO kubernetes cluster.
func (*Provider) DeleteNode ¶
DeleteNode deletes a minsion on a DO kubernetes cluster.
func (*Provider) DeleteVolume ¶
DeleteVolume deletes a DO volume.
func (*Provider) KubernetesVolumeDefinition ¶
func (p *Provider) KubernetesVolumeDefinition(m *model.Volume) *kubernetes.Volume
func (*Provider) ResizeVolume ¶
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.
Click to show internal directories.
Click to hide internal directories.