cluster

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 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
y or Y : Canonical URL