Documentation ¶
Index ¶
- func Client(kube *model.Kube) (*gophercloud.ProviderClient, error)
- type Provider
- func (p *Provider) CreateKube(m *model.Kube, action *core.Action) error
- func (p *Provider) CreateLoadBalancer(m *model.LoadBalancer, action *core.Action) error
- func (p *Provider) CreateNode(m *model.Node, action *core.Action) error
- func (p *Provider) DeleteKube(m *model.Kube, action *core.Action) error
- func (p *Provider) DeleteLoadBalancer(m *model.LoadBalancer, action *core.Action) error
- func (p *Provider) DeleteNode(m *model.Node, action *core.Action) error
- func (p *Provider) UpdateLoadBalancer(m *model.LoadBalancer, action *core.Action) error
- func (p *Provider) ValidateAccount(m *model.CloudAccount) 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) CreateKube ¶
CreateKube creates a new kubernetes cluster.
func (*Provider) CreateLoadBalancer ¶ added in v0.14.0
func (*Provider) CreateNode ¶
CreateNode creates a new node for a kubernetes cluster.
func (*Provider) DeleteKube ¶
DeleteKube deletes a kubernetes cluster.
func (*Provider) DeleteLoadBalancer ¶ added in v0.14.0
func (*Provider) DeleteNode ¶
DeleteNode deletes a node on a kubernetes cluster.
func (*Provider) UpdateLoadBalancer ¶ added in v0.14.0
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.