v1

package
v0.1.113 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 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 AomClientBuilder

func AomClientBuilder() *httpclient.HcHttpClientBuilder

func GenReqDefForCreateFastExecuteScript

func GenReqDefForCreateFastExecuteScript() *def.HttpRequestDef

func GenReqDefForCreateWorkflow

func GenReqDefForCreateWorkflow() *def.HttpRequestDef

func GenReqDefForExecuteWorkflow

func GenReqDefForExecuteWorkflow() *def.HttpRequestDef

func GenReqDefForListAllJobByName

func GenReqDefForListAllJobByName() *def.HttpRequestDef

func GenReqDefForListAllScriptByName

func GenReqDefForListAllScriptByName() *def.HttpRequestDef

func GenReqDefForListAllVersionByVersionId

func GenReqDefForListAllVersionByVersionId() *def.HttpRequestDef

func GenReqDefForListTemplateByJobId

func GenReqDefForListTemplateByJobId() *def.HttpRequestDef

func GenReqDefForListWorkflow

func GenReqDefForListWorkflow() *def.HttpRequestDef

func GenReqDefForListWorkflowExecutions

func GenReqDefForListWorkflowExecutions() *def.HttpRequestDef

func GenReqDefForSearchTemplateById

func GenReqDefForSearchTemplateById() *def.HttpRequestDef

func GenReqDefForSearchWorkflowExecutionDetail

func GenReqDefForSearchWorkflowExecutionDetail() *def.HttpRequestDef

func GenReqDefForStartPausingWorkflowExecutions

func GenReqDefForStartPausingWorkflowExecutions() *def.HttpRequestDef

func GenReqDefForStopExecution

func GenReqDefForStopExecution() *def.HttpRequestDef

func GenReqDefForUpdateWorkflowTriggerStatus

func GenReqDefForUpdateWorkflowTriggerStatus() *def.HttpRequestDef

Types

type AomClient

type AomClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewAomClient

func NewAomClient(hcClient *httpclient.HcHttpClient) *AomClient

func (*AomClient) CreateFastExecuteScript

CreateFastExecuteScript 快速创建并执行脚本

该接口用于创建快速执行脚本的任务,可以指定脚本类型,执行用户,脚本参数,执行机器,脚本内容,在用户指定的机器上执行脚本。(注:接口目前开放的region为:华东-苏州二零一)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) CreateFastExecuteScriptInvoker

func (c *AomClient) CreateFastExecuteScriptInvoker(request *model.CreateFastExecuteScriptRequest) *CreateFastExecuteScriptInvoker

CreateFastExecuteScriptInvoker 快速创建并执行脚本

func (*AomClient) CreateWorkflow

func (c *AomClient) CreateWorkflow(request *model.CreateWorkflowRequest) (*model.CreateWorkflowResponse, error)

CreateWorkflow 创建任务

该接口用于创建工作流(任务),返回工作流详情。任务类型取决于模板名称和'input'参数。(注:接口目前开放的region为:华北-北京四,华东-上海一,华东-上海二,华南-广州)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) CreateWorkflowInvoker

func (c *AomClient) CreateWorkflowInvoker(request *model.CreateWorkflowRequest) *CreateWorkflowInvoker

CreateWorkflowInvoker 创建任务

func (*AomClient) ExecuteWorkflow

func (c *AomClient) ExecuteWorkflow(request *model.ExecuteWorkflowRequest) (*model.ExecuteWorkflowResponse, error)

ExecuteWorkflow 执行工作流

该接口可下发执行指定的任务。(注:接口目前开放的region为:华北-北京四,华东-上海一,华东-上海二,华南-广州)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ExecuteWorkflowInvoker

func (c *AomClient) ExecuteWorkflowInvoker(request *model.ExecuteWorkflowRequest) *ExecuteWorkflowInvoker

ExecuteWorkflowInvoker 执行工作流

func (*AomClient) ListAllJobByName

func (c *AomClient) ListAllJobByName(request *model.ListAllJobByNameRequest) (*model.ListAllJobByNameResponse, error)

ListAllJobByName 作业管理主页模糊查询

该接口可查询已创建的作业,可指定作业名称和作业创建人去精确查询,返回作业列表信息。(注:接口目前开放的region为:华北-北京四,华东-上海一,华东-上海二,华南-广州)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListAllJobByNameInvoker

func (c *AomClient) ListAllJobByNameInvoker(request *model.ListAllJobByNameRequest) *ListAllJobByNameInvoker

ListAllJobByNameInvoker 作业管理主页模糊查询

func (*AomClient) ListAllScriptByName

ListAllScriptByName 脚本查询

该接口是脚本主页查询,可指定脚本名称和脚本创建人进行精确查询,返回包含脚本基本信息的列表数据。(注:接口目前开放的region为:华北-北京四,华东-上海一,华东-上海二,华南-广州)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListAllScriptByNameInvoker

func (c *AomClient) ListAllScriptByNameInvoker(request *model.ListAllScriptByNameRequest) *ListAllScriptByNameInvoker

ListAllScriptByNameInvoker 脚本查询

func (*AomClient) ListAllVersionByVersionId

ListAllVersionByVersionId 脚本版本查询

该接口可查询指定脚本ID下的所有版本,返回该名称的脚本版本列表信息。(注:接口目前开放的region为:华北-北京四,华东-上海一,华东-上海二,华南-广州)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListAllVersionByVersionIdInvoker

func (c *AomClient) ListAllVersionByVersionIdInvoker(request *model.ListAllVersionByVersionIdRequest) *ListAllVersionByVersionIdInvoker

ListAllVersionByVersionIdInvoker 脚本版本查询

func (*AomClient) ListTemplateByJobId

ListTemplateByJobId 根据作业id查询方案(自定义模板)列表

该接口可根据作业ID查询执行方案,分页返回执行方案列表。(注:接口目前开放的region为:华北-北京四,华东-上海一,华东-上海二,华南-广州)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListTemplateByJobIdInvoker

func (c *AomClient) ListTemplateByJobIdInvoker(request *model.ListTemplateByJobIdRequest) *ListTemplateByJobIdInvoker

ListTemplateByJobIdInvoker 根据作业id查询方案(自定义模板)列表

func (*AomClient) ListWorkflow

func (c *AomClient) ListWorkflow(request *model.ListWorkflowRequest) (*model.ListWorkflowResponse, error)

ListWorkflow 查询任务列表

该接口可返回已经创建的任务列表,可按任务名称,任务状态,任务类型,执行人,更新时间为查询条件分页查询任务。(注:接口目前开放的region为:华北-北京四,华东-上海一,华东-上海二,华南-广州)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListWorkflowExecutions

ListWorkflowExecutions 获取任务执行历史

该接口可获取执行任务的执行历史。(注:接口目前开放的region为:华北-北京四,华东-上海一,华东-上海二,华南-广州)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) ListWorkflowExecutionsInvoker

func (c *AomClient) ListWorkflowExecutionsInvoker(request *model.ListWorkflowExecutionsRequest) *ListWorkflowExecutionsInvoker

ListWorkflowExecutionsInvoker 获取任务执行历史

func (*AomClient) ListWorkflowInvoker

func (c *AomClient) ListWorkflowInvoker(request *model.ListWorkflowRequest) *ListWorkflowInvoker

ListWorkflowInvoker 查询任务列表

func (*AomClient) SearchTemplateById

func (c *AomClient) SearchTemplateById(request *model.SearchTemplateByIdRequest) (*model.SearchTemplateByIdResponse, error)

SearchTemplateById 获取方案信息

该接口可根据执行方案id查询执行方案详情。(注:接口目前开放的region为:华北-北京四,华东-上海一,华东-上海二,华南-广州)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) SearchTemplateByIdInvoker

func (c *AomClient) SearchTemplateByIdInvoker(request *model.SearchTemplateByIdRequest) *SearchTemplateByIdInvoker

SearchTemplateByIdInvoker 获取方案信息

func (*AomClient) SearchWorkflowExecutionDetail

SearchWorkflowExecutionDetail 获取工作流执行中的执行详情

该接口可获取任务的执行详情,可指定工作流ID和执行ID去查询对应的任务,返回任务执行详情。(注:接口目前开放的region为:华北-北京四,华东-上海一,华东-上海二,华南-广州)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) SearchWorkflowExecutionDetailInvoker

func (c *AomClient) SearchWorkflowExecutionDetailInvoker(request *model.SearchWorkflowExecutionDetailRequest) *SearchWorkflowExecutionDetailInvoker

SearchWorkflowExecutionDetailInvoker 获取工作流执行中的执行详情

func (*AomClient) StartPausingWorkflowExecutions

StartPausingWorkflowExecutions 对暂停中的任务进行操作

该接口可对任务进行失败重试、失败跳过、暂停继续操作,返回操作结果。(注:接口目前开放的region为:华北-北京四,华东-上海一,华东-上海二,华南-广州)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) StartPausingWorkflowExecutionsInvoker

func (c *AomClient) StartPausingWorkflowExecutionsInvoker(request *model.StartPausingWorkflowExecutionsRequest) *StartPausingWorkflowExecutionsInvoker

StartPausingWorkflowExecutionsInvoker 对暂停中的任务进行操作

func (*AomClient) StopExecution

func (c *AomClient) StopExecution(request *model.StopExecutionRequest) (*model.StopExecutionResponse, error)

StopExecution 终止任务执行

该接口可终止正在执行的任务,指定工作流ID和执行ID去终止对应的任务,返回终止操作状态。(注:接口目前开放的region为:华北-北京四,华东-上海一,华东-上海二,华南-广州)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) StopExecutionInvoker

func (c *AomClient) StopExecutionInvoker(request *model.StopExecutionRequest) *StopExecutionInvoker

StopExecutionInvoker 终止任务执行

func (*AomClient) UpdateWorkflowTriggerStatus

UpdateWorkflowTriggerStatus 更新任务

更新定时任务的启停状态,可启动定时任务或停止定时任务,返回操作任务结果。(注:接口目前开放的region为:华北-北京四,华东-上海一,华东-上海二,华南-广州)。

Please refer to HUAWEI cloud API Explorer for details.

func (*AomClient) UpdateWorkflowTriggerStatusInvoker

func (c *AomClient) UpdateWorkflowTriggerStatusInvoker(request *model.UpdateWorkflowTriggerStatusRequest) *UpdateWorkflowTriggerStatusInvoker

UpdateWorkflowTriggerStatusInvoker 更新任务

type CreateFastExecuteScriptInvoker

type CreateFastExecuteScriptInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateFastExecuteScriptInvoker) Invoke

type CreateWorkflowInvoker

type CreateWorkflowInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateWorkflowInvoker) Invoke

type ExecuteWorkflowInvoker

type ExecuteWorkflowInvoker struct {
	*invoker.BaseInvoker
}

func (*ExecuteWorkflowInvoker) Invoke

type ListAllJobByNameInvoker

type ListAllJobByNameInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAllJobByNameInvoker) Invoke

type ListAllScriptByNameInvoker

type ListAllScriptByNameInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAllScriptByNameInvoker) Invoke

type ListAllVersionByVersionIdInvoker

type ListAllVersionByVersionIdInvoker struct {
	*invoker.BaseInvoker
}

func (*ListAllVersionByVersionIdInvoker) Invoke

type ListTemplateByJobIdInvoker

type ListTemplateByJobIdInvoker struct {
	*invoker.BaseInvoker
}

func (*ListTemplateByJobIdInvoker) Invoke

type ListWorkflowExecutionsInvoker

type ListWorkflowExecutionsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListWorkflowExecutionsInvoker) Invoke

type ListWorkflowInvoker

type ListWorkflowInvoker struct {
	*invoker.BaseInvoker
}

func (*ListWorkflowInvoker) Invoke

type SearchTemplateByIdInvoker

type SearchTemplateByIdInvoker struct {
	*invoker.BaseInvoker
}

func (*SearchTemplateByIdInvoker) Invoke

type SearchWorkflowExecutionDetailInvoker

type SearchWorkflowExecutionDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*SearchWorkflowExecutionDetailInvoker) Invoke

type StartPausingWorkflowExecutionsInvoker

type StartPausingWorkflowExecutionsInvoker struct {
	*invoker.BaseInvoker
}

func (*StartPausingWorkflowExecutionsInvoker) Invoke

type StopExecutionInvoker

type StopExecutionInvoker struct {
	*invoker.BaseInvoker
}

func (*StopExecutionInvoker) Invoke

type UpdateWorkflowTriggerStatusInvoker

type UpdateWorkflowTriggerStatusInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateWorkflowTriggerStatusInvoker) Invoke

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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