client

package
v0.0.0-...-cdc24ad Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 9 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) (*kubernetes.Cluster, error)

func (*Client) ClusterApplications

func (c *Client) ClusterApplications(ctx context.Context, clusterID string, options *kubernetes.ApplicationListOptions) ([]resource.Application, error)

func (*Client) ClusterConfig

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

Export implements provider.Provider

func (*Client) Clusters

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

func (*Client) CreateCluster

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

func (*Client) DeleteCluster

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

Jump to

Keyboard shortcuts

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