v2

package
v0.0.78 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CssClientBuilder

func CssClientBuilder() *http_client.HcHttpClientBuilder

func GenReqDefForCreateCluster

func GenReqDefForCreateCluster() *def.HttpRequestDef

func GenReqDefForRestartCluster

func GenReqDefForRestartCluster() *def.HttpRequestDef

func GenReqDefForRollingRestart

func GenReqDefForRollingRestart() *def.HttpRequestDef

func GenReqDefForStartAutoCreateSnapshots

func GenReqDefForStartAutoCreateSnapshots() *def.HttpRequestDef

func GenReqDefForStopAutoCreateSnapshots

func GenReqDefForStopAutoCreateSnapshots() *def.HttpRequestDef

Types

type CssClient

type CssClient struct {
	HcClient *http_client.HcHttpClient
}

func NewCssClient

func NewCssClient(hcClient *http_client.HcHttpClient) *CssClient

func (*CssClient) CreateCluster

func (c *CssClient) CreateCluster(request *model.CreateClusterRequest) (*model.CreateClusterResponse, error)

该接口用于创建集群V2。

func (*CssClient) RestartCluster

func (c *CssClient) RestartCluster(request *model.RestartClusterRequest) (*model.RestartClusterResponse, error)

该接口用于重启集群。

func (*CssClient) RollingRestart

func (c *CssClient) RollingRestart(request *model.RollingRestartRequest) (*model.RollingRestartResponse, error)

该接口用于滚动重启。

func (*CssClient) StartAutoCreateSnapshots

该接口用于打开自动创建快照功能。

func (*CssClient) StopAutoCreateSnapshots

该接口用于关闭自动创建快照功能。

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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