cluster

package
Version: v0.10.13 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterClient

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

func NewClusterClient

func NewClusterClient(cloudFQDN string, authorizer auth.Authorizer) (*ClusterClient, error)

func (*ClusterClient) Get

func (c *ClusterClient) Get(ctx context.Context, location, name string) (*[]cloud.Cluster, error)

Get methods invokes the client Get method

func (*ClusterClient) GetNodes

func (c *ClusterClient) GetNodes(ctx context.Context, location, name string) (*[]cloud.Node, error)

GetNodes methods invokes the client GetNodes method

func (*ClusterClient) Load

func (c *ClusterClient) Load(ctx context.Context, location, name string, cloud *cloud.Cluster) (*cloud.Cluster, error)

Load methods invokes create or update on the client

func (*ClusterClient) Unload

func (c *ClusterClient) Unload(ctx context.Context, location, name string) error

Unload methods invokes delete of the cloud resource

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL