v2

package
v0.1.19 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenReqDefForCreateTasks

func GenReqDefForCreateTasks() *def.HttpRequestDef

func GenReqDefForDeleteTask

func GenReqDefForDeleteTask() *def.HttpRequestDef

func GenReqDefForListTasksDetails

func GenReqDefForListTasksDetails() *def.HttpRequestDef

func GenReqDefForShowTask

func GenReqDefForShowTask() *def.HttpRequestDef

func GenReqDefForStartTask

func GenReqDefForStartTask() *def.HttpRequestDef

func GenReqDefForStopTask

func GenReqDefForStopTask() *def.HttpRequestDef

func GenReqDefForUpdateTask

func GenReqDefForUpdateTask() *def.HttpRequestDef

func VasClientBuilder

func VasClientBuilder() *http_client.HcHttpClientBuilder

Types

type CreateTasksInvoker added in v0.0.90

type CreateTasksInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateTasksInvoker) Invoke added in v0.0.90

type DeleteTaskInvoker added in v0.0.90

type DeleteTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteTaskInvoker) Invoke added in v0.0.90

type ListTasksDetailsInvoker added in v0.0.90

type ListTasksDetailsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTasksDetailsInvoker) Invoke added in v0.0.90

type ShowTaskInvoker added in v0.0.90

type ShowTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowTaskInvoker) Invoke added in v0.0.90

func (i *ShowTaskInvoker) Invoke() (*model.ShowTaskResponse, error)

type StartTaskInvoker added in v0.0.90

type StartTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*StartTaskInvoker) Invoke added in v0.0.90

type StopTaskInvoker added in v0.0.90

type StopTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*StopTaskInvoker) Invoke added in v0.0.90

func (i *StopTaskInvoker) Invoke() (*model.StopTaskResponse, error)

type UpdateTaskInvoker added in v0.0.90

type UpdateTaskInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateTaskInvoker) Invoke added in v0.0.90

type VasClient

type VasClient struct {
	HcClient *http_client.HcHttpClient
}

func NewVasClient

func NewVasClient(hcClient *http_client.HcHttpClient) *VasClient

func (*VasClient) CreateTasks

func (c *VasClient) CreateTasks(request *model.CreateTasksRequest) (*model.CreateTasksResponse, error)

CreateTasks 创建服务作业

该接口用于创建服务作业

Please refer to HUAWEI cloud API Explorer for details.

func (*VasClient) CreateTasksInvoker added in v0.0.90

func (c *VasClient) CreateTasksInvoker(request *model.CreateTasksRequest) *CreateTasksInvoker

CreateTasksInvoker 创建服务作业

func (*VasClient) DeleteTask

func (c *VasClient) DeleteTask(request *model.DeleteTaskRequest) (*model.DeleteTaskResponse, error)

DeleteTask 删除服务作业

该接口用于删除服务作业

Please refer to HUAWEI cloud API Explorer for details.

func (*VasClient) DeleteTaskInvoker added in v0.0.90

func (c *VasClient) DeleteTaskInvoker(request *model.DeleteTaskRequest) *DeleteTaskInvoker

DeleteTaskInvoker 删除服务作业

func (*VasClient) ListTasksDetails

func (c *VasClient) ListTasksDetails(request *model.ListTasksDetailsRequest) (*model.ListTasksDetailsResponse, error)

ListTasksDetails 获取服务作业列表

该接口用于获取服务作业列表

Please refer to HUAWEI cloud API Explorer for details.

func (*VasClient) ListTasksDetailsInvoker added in v0.0.90

func (c *VasClient) ListTasksDetailsInvoker(request *model.ListTasksDetailsRequest) *ListTasksDetailsInvoker

ListTasksDetailsInvoker 获取服务作业列表

func (*VasClient) ShowTask

func (c *VasClient) ShowTask(request *model.ShowTaskRequest) (*model.ShowTaskResponse, error)

ShowTask 查询服务作业

该接口用于查询服务作业

Please refer to HUAWEI cloud API Explorer for details.

func (*VasClient) ShowTaskInvoker added in v0.0.90

func (c *VasClient) ShowTaskInvoker(request *model.ShowTaskRequest) *ShowTaskInvoker

ShowTaskInvoker 查询服务作业

func (*VasClient) StartTask

func (c *VasClient) StartTask(request *model.StartTaskRequest) (*model.StartTaskResponse, error)

StartTask 启动服务作业

该接口用于启动服务作业

Please refer to HUAWEI cloud API Explorer for details.

func (*VasClient) StartTaskInvoker added in v0.0.90

func (c *VasClient) StartTaskInvoker(request *model.StartTaskRequest) *StartTaskInvoker

StartTaskInvoker 启动服务作业

func (*VasClient) StopTask

func (c *VasClient) StopTask(request *model.StopTaskRequest) (*model.StopTaskResponse, error)

StopTask 停止服务作业

该接口用于停止服务作业

Please refer to HUAWEI cloud API Explorer for details.

func (*VasClient) StopTaskInvoker added in v0.0.90

func (c *VasClient) StopTaskInvoker(request *model.StopTaskRequest) *StopTaskInvoker

StopTaskInvoker 停止服务作业

func (*VasClient) UpdateTask

func (c *VasClient) UpdateTask(request *model.UpdateTaskRequest) (*model.UpdateTaskResponse, error)

UpdateTask 更新服务作业

该接口用于更新服务作业

Please refer to HUAWEI cloud API Explorer for details.

func (*VasClient) UpdateTaskInvoker added in v0.0.90

func (c *VasClient) UpdateTaskInvoker(request *model.UpdateTaskRequest) *UpdateTaskInvoker

UpdateTaskInvoker 更新服务作业

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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