Documentation ¶
Index ¶
- func CssClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForCreateCluster() *def.HttpRequestDef
- func GenReqDefForRestartCluster() *def.HttpRequestDef
- func GenReqDefForRollingRestart() *def.HttpRequestDef
- func GenReqDefForStartAutoCreateSnapshots() *def.HttpRequestDef
- func GenReqDefForStopAutoCreateSnapshots() *def.HttpRequestDef
- type CssClient
- func (c *CssClient) CreateCluster(request *model.CreateClusterRequest) (*model.CreateClusterResponse, error)
- func (c *CssClient) RestartCluster(request *model.RestartClusterRequest) (*model.RestartClusterResponse, error)
- func (c *CssClient) RollingRestart(request *model.RollingRestartRequest) (*model.RollingRestartResponse, error)
- func (c *CssClient) StartAutoCreateSnapshots(request *model.StartAutoCreateSnapshotsRequest) (*model.StartAutoCreateSnapshotsResponse, error)
- func (c *CssClient) StopAutoCreateSnapshots(request *model.StopAutoCreateSnapshotsRequest) (*model.StopAutoCreateSnapshotsResponse, error)
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 (c *CssClient) StartAutoCreateSnapshots(request *model.StartAutoCreateSnapshotsRequest) (*model.StartAutoCreateSnapshotsResponse, error)
该接口用于打开自动创建快照功能。
func (*CssClient) StopAutoCreateSnapshots ¶
func (c *CssClient) StopAutoCreateSnapshots(request *model.StopAutoCreateSnapshotsRequest) (*model.StopAutoCreateSnapshotsResponse, error)
该接口用于关闭自动创建快照功能。
Click to show internal directories.
Click to hide internal directories.