v2

package
v0.0.88 Latest Latest
Warning

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

Go to latest
Published: May 13, 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

该接口用于创建集群V2。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CssClient) RestartCluster

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

重启集群V2

该接口用于重启集群。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CssClient) RollingRestart

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

滚动重启

该接口用于滚动重启。

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CssClient) StartAutoCreateSnapshots

开启自动创建快照功能

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

func (*CssClient) StopAutoCreateSnapshots

关闭自动创建快照功能

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

详细说明请参考华为云API Explorer。 Please refer to Huawei cloud API Explorer for details.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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