clusters

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type V1Client

type V1Client struct {
	Client *httpclient.HttpTransportClient
	// contains filtered or unexported fields
}

func NewV1Client

func NewV1Client(client *httpclient.HttpTransportClient) *V1Client

func (*V1Client) Create added in v0.1.5

func (c *V1Client) Create(clusterInput apicontracts.Cluster) (string, error)

func (*V1Client) Get

func (c *V1Client) Get(limit int, offset int) (*[]apicontracts.Cluster, error)

func (*V1Client) GetAll

func (c *V1Client) GetAll() (*[]apicontracts.Cluster, error)

func (*V1Client) GetByFilter

func (c *V1Client) GetByFilter(filter apicontracts.Filter) (*[]apicontracts.Cluster, error)

func (*V1Client) GetById

func (c *V1Client) GetById(id string) (*apicontracts.Cluster, error)

func (*V1Client) GetKubeconfig

func (c *V1Client) GetKubeconfig(clusterid, username, password string) (*apicontracts.ClusterKubeconfig, error)

func (*V1Client) GetSelf

func (c *V1Client) GetSelf() (apicontracts.ClusterSelf, error)

func (*V1Client) Register added in v0.1.8

func (c *V1Client) Register(data apicontracts.AgentApiKeyModel) (string, error)

func (*V1Client) UpdateById

func (c *V1Client) UpdateById(id string, cluster *apicontracts.Cluster) error

Jump to

Keyboard shortcuts

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