client

package
v0.0.0-...-329a110 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(addr string) (*Client, error)

func (*Client) Cluster

func (c *Client) Cluster(ctx context.Context, id string) (*provider.Cluster, error)

Cluster implements provider.Provider

func (*Client) Clusters

func (c *Client) Clusters(ctx context.Context) ([]provider.Cluster, error)

Clusters implements provider.Provider

func (*Client) Create

func (c *Client) Create(ctx context.Context, name string, options *provider.CreateClusterOptions) (*provider.Cluster, error)

func (*Client) Delete

func (c *Client) Delete(ctx context.Context, id string, options *provider.DeleteClusterOptions) error

func (*Client) Export

func (c *Client) Export(ctx context.Context, id string) ([]byte, error)

Export implements provider.Provider

Jump to

Keyboard shortcuts

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