cluster

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2020 License: Apache-2.0 Imports: 10 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	pb.ClusterManagerClient
}

func NewClient

func NewClient() (*Client, error)

func (*Client) DeleteAndCeaseClusters added in v0.4.2

func (c *Client) DeleteAndCeaseClusters(ctx context.Context, clusterIds []string, force bool) error

func (*Client) DescribeClustersWithFrontgateId

func (c *Client) DescribeClustersWithFrontgateId(ctx context.Context, frontgateId string, status []string, debug bool) ([]*pb.Cluster, error)

func (*Client) GetClusterNodes

func (c *Client) GetClusterNodes(ctx context.Context, nodeIds []string) ([]*pb.ClusterNode, error)

func (*Client) GetClusterWrappers

func (c *Client) GetClusterWrappers(ctx context.Context, clusterIds []string) ([]*models.ClusterWrapper, error)

func (*Client) GetClusters

func (c *Client) GetClusters(ctx context.Context, clusterIds []string) ([]*pb.Cluster, error)

func (*Client) ModifyClusterNodeStatus

func (c *Client) ModifyClusterNodeStatus(ctx context.Context, nodeId string, status string) error

func (*Client) ModifyClusterNodeTransitionStatus

func (c *Client) ModifyClusterNodeTransitionStatus(ctx context.Context, nodeId string, transitionStatus string) error

func (*Client) ModifyClusterStatus

func (c *Client) ModifyClusterStatus(ctx context.Context, clusterId string, status string) error

func (*Client) ModifyClusterTransitionStatus

func (c *Client) ModifyClusterTransitionStatus(ctx context.Context, clusterId string, transitionStatus string) error

Jump to

Keyboard shortcuts

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