v3

package
v0.1.106 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 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 DwrClientBuilder

func DwrClientBuilder() *httpclient.HcHttpClientBuilder

func GenReqDefForAcceptServiceContract

func GenReqDefForAcceptServiceContract() *def.HttpRequestDef

func GenReqDefForAsyncInvokeApiStartWorkflow

func GenReqDefForAsyncInvokeApiStartWorkflow() *def.HttpRequestDef

func GenReqDefForCheckWorkflowAuthentication

func GenReqDefForCheckWorkflowAuthentication() *def.HttpRequestDef

func GenReqDefForCreateMyActionTemplate

func GenReqDefForCreateMyActionTemplate() *def.HttpRequestDef

func GenReqDefForCreateWorkflow

func GenReqDefForCreateWorkflow() *def.HttpRequestDef

func GenReqDefForCreateWorkflowAuthentication

func GenReqDefForCreateWorkflowAuthentication() *def.HttpRequestDef

func GenReqDefForDeleteMyActionTemplate

func GenReqDefForDeleteMyActionTemplate() *def.HttpRequestDef

func GenReqDefForDeleteWorkflow

func GenReqDefForDeleteWorkflow() *def.HttpRequestDef

func GenReqDefForListMyActionTemplate

func GenReqDefForListMyActionTemplate() *def.HttpRequestDef

func GenReqDefForListSystemTemplates

func GenReqDefForListSystemTemplates() *def.HttpRequestDef

func GenReqDefForListWorkflowInstance

func GenReqDefForListWorkflowInstance() *def.HttpRequestDef

func GenReqDefForListWorkflows

func GenReqDefForListWorkflows() *def.HttpRequestDef

func GenReqDefForRestoreWorkflowExecution

func GenReqDefForRestoreWorkflowExecution() *def.HttpRequestDef

func GenReqDefForShowPublicActionList

func GenReqDefForShowPublicActionList() *def.HttpRequestDef

func GenReqDefForShowPublicTemplateInfo

func GenReqDefForShowPublicTemplateInfo() *def.HttpRequestDef

func GenReqDefForShowServiceContract

func GenReqDefForShowServiceContract() *def.HttpRequestDef

func GenReqDefForShowSystemTemplateDetail

func GenReqDefForShowSystemTemplateDetail() *def.HttpRequestDef

func GenReqDefForShowThirdTemplateInfo

func GenReqDefForShowThirdTemplateInfo() *def.HttpRequestDef

func GenReqDefForShowWorkflowInfo

func GenReqDefForShowWorkflowInfo() *def.HttpRequestDef

func GenReqDefForShowWorkflowInstance

func GenReqDefForShowWorkflowInstance() *def.HttpRequestDef

func GenReqDefForUpdateMyActionTemplate

func GenReqDefForUpdateMyActionTemplate() *def.HttpRequestDef

func GenReqDefForUpdateMyActionTemplateToDeprecated

func GenReqDefForUpdateMyActionTemplateToDeprecated() *def.HttpRequestDef

func GenReqDefForUpdateWorkflow

func GenReqDefForUpdateWorkflow() *def.HttpRequestDef

Types

type AcceptServiceContractInvoker

type AcceptServiceContractInvoker struct {
	*invoker.BaseInvoker
}

func (*AcceptServiceContractInvoker) Invoke

type AsyncInvokeApiStartWorkflowInvoker

type AsyncInvokeApiStartWorkflowInvoker struct {
	*invoker.BaseInvoker
}

func (*AsyncInvokeApiStartWorkflowInvoker) Invoke

type CheckWorkflowAuthenticationInvoker

type CheckWorkflowAuthenticationInvoker struct {
	*invoker.BaseInvoker
}

func (*CheckWorkflowAuthenticationInvoker) Invoke

type CreateMyActionTemplateInvoker

type CreateMyActionTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateMyActionTemplateInvoker) Invoke

type CreateWorkflowAuthenticationInvoker

type CreateWorkflowAuthenticationInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateWorkflowAuthenticationInvoker) Invoke

type CreateWorkflowInvoker

type CreateWorkflowInvoker struct {
	*invoker.BaseInvoker
}

func (*CreateWorkflowInvoker) Invoke

type DeleteMyActionTemplateInvoker

type DeleteMyActionTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteMyActionTemplateInvoker) Invoke

type DeleteWorkflowInvoker

type DeleteWorkflowInvoker struct {
	*invoker.BaseInvoker
}

func (*DeleteWorkflowInvoker) Invoke

type DwrClient

type DwrClient struct {
	HcClient *httpclient.HcHttpClient
}

func NewDwrClient

func NewDwrClient(hcClient *httpclient.HcHttpClient) *DwrClient

func (*DwrClient) AcceptServiceContract

AcceptServiceContract 同意服务协议

本接口用于使用工作流时需要同意服务使用协议。该函数具有幂等性。

Please refer to HUAWEI cloud API Explorer for details.

func (*DwrClient) AcceptServiceContractInvoker

func (c *DwrClient) AcceptServiceContractInvoker(request *model.AcceptServiceContractRequest) *AcceptServiceContractInvoker

AcceptServiceContractInvoker 同意服务协议

func (*DwrClient) AsyncInvokeApiStartWorkflow

AsyncInvokeApiStartWorkflow API异步启动工作流

本接口用于API方式异步启动已有工作流,产生工作流实例

Please refer to HUAWEI cloud API Explorer for details.

func (*DwrClient) AsyncInvokeApiStartWorkflowInvoker

func (c *DwrClient) AsyncInvokeApiStartWorkflowInvoker(request *model.AsyncInvokeApiStartWorkflowRequest) *AsyncInvokeApiStartWorkflowInvoker

AsyncInvokeApiStartWorkflowInvoker API异步启动工作流

func (*DwrClient) CheckWorkflowAuthentication

CheckWorkflowAuthentication 查询授权

本接口用于查询授权,查询由DWR服务自动帮助用户创建工作流运行时需要的函数服务权限,以及函数服务运行时的权限。该函数具有幂等性。

Please refer to HUAWEI cloud API Explorer for details.

func (*DwrClient) CheckWorkflowAuthenticationInvoker

func (c *DwrClient) CheckWorkflowAuthenticationInvoker(request *model.CheckWorkflowAuthenticationRequest) *CheckWorkflowAuthenticationInvoker

CheckWorkflowAuthenticationInvoker 查询授权

func (*DwrClient) CreateMyActionTemplate

CreateMyActionTemplate 创建第三方算子模板

创建第三方算子模板

Please refer to HUAWEI cloud API Explorer for details.

func (*DwrClient) CreateMyActionTemplateInvoker

func (c *DwrClient) CreateMyActionTemplateInvoker(request *model.CreateMyActionTemplateRequest) *CreateMyActionTemplateInvoker

CreateMyActionTemplateInvoker 创建第三方算子模板

func (*DwrClient) CreateWorkflow

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

CreateWorkflow 创建工作流

本接口用于通过Body体直接创建工作流

Please refer to HUAWEI cloud API Explorer for details.

func (*DwrClient) CreateWorkflowAuthentication

CreateWorkflowAuthentication 开通授权

本接口用于开通授权,由DWR服务自动帮助用户创建工作流运行时需要的函数服务权限,以及函数服务运行时的权限。该函数具有幂等性。

Please refer to HUAWEI cloud API Explorer for details.

func (*DwrClient) CreateWorkflowAuthenticationInvoker

func (c *DwrClient) CreateWorkflowAuthenticationInvoker(request *model.CreateWorkflowAuthenticationRequest) *CreateWorkflowAuthenticationInvoker

CreateWorkflowAuthenticationInvoker 开通授权

func (*DwrClient) CreateWorkflowInvoker

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

CreateWorkflowInvoker 创建工作流

func (*DwrClient) DeleteMyActionTemplate

DeleteMyActionTemplate 删除第三方算子模板

本接口用于标记删除提交的第三方算子模板。

Please refer to HUAWEI cloud API Explorer for details.

func (*DwrClient) DeleteMyActionTemplateInvoker

func (c *DwrClient) DeleteMyActionTemplateInvoker(request *model.DeleteMyActionTemplateRequest) *DeleteMyActionTemplateInvoker

DeleteMyActionTemplateInvoker 删除第三方算子模板

func (*DwrClient) DeleteWorkflow

func (c *DwrClient) DeleteWorkflow(request *model.DeleteWorkflowRequest) (*model.DeleteWorkflowResponse, error)

DeleteWorkflow 删除工作流

本接口用于删除工作流。

Please refer to HUAWEI cloud API Explorer for details.

func (*DwrClient) DeleteWorkflowInvoker

func (c *DwrClient) DeleteWorkflowInvoker(request *model.DeleteWorkflowRequest) *DeleteWorkflowInvoker

DeleteWorkflowInvoker 删除工作流

func (*DwrClient) ListMyActionTemplate

ListMyActionTemplate 查询第三方算子列表

本接口用于查询提交注册过的三方算子列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*DwrClient) ListMyActionTemplateInvoker

func (c *DwrClient) ListMyActionTemplateInvoker(request *model.ListMyActionTemplateRequest) *ListMyActionTemplateInvoker

ListMyActionTemplateInvoker 查询第三方算子列表

func (*DwrClient) ListSystemTemplates

ListSystemTemplates 查询华为云内置算子列表

本接口用于按名称查询系统内置算子列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*DwrClient) ListSystemTemplatesInvoker

func (c *DwrClient) ListSystemTemplatesInvoker(request *model.ListSystemTemplatesRequest) *ListSystemTemplatesInvoker

ListSystemTemplatesInvoker 查询华为云内置算子列表

func (*DwrClient) ListWorkflowInstance

ListWorkflowInstance 本接口用于查询用户工作流的实例列表

本接口用于查询用户工作流的实例列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*DwrClient) ListWorkflowInstanceInvoker

func (c *DwrClient) ListWorkflowInstanceInvoker(request *model.ListWorkflowInstanceRequest) *ListWorkflowInstanceInvoker

ListWorkflowInstanceInvoker 本接口用于查询用户工作流的实例列表

func (*DwrClient) ListWorkflows

func (c *DwrClient) ListWorkflows(request *model.ListWorkflowsRequest) (*model.ListWorkflowsResponse, error)

ListWorkflows 查询工作流列表

本接口用于查询工作流列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*DwrClient) ListWorkflowsInvoker

func (c *DwrClient) ListWorkflowsInvoker(request *model.ListWorkflowsRequest) *ListWorkflowsInvoker

ListWorkflowsInvoker 查询工作流列表

func (*DwrClient) RestoreWorkflowExecution

RestoreWorkflowExecution 恢复一个执行失败状态的工作流实例

本接口用于恢复一个执行失败状态的工作流实例。恢复后,工作流实例将从上次失败的状态处继续执行,而工作流步骤中已经执行成功的状态不会再执行。

Please refer to HUAWEI cloud API Explorer for details.

func (*DwrClient) RestoreWorkflowExecutionInvoker

func (c *DwrClient) RestoreWorkflowExecutionInvoker(request *model.RestoreWorkflowExecutionRequest) *RestoreWorkflowExecutionInvoker

RestoreWorkflowExecutionInvoker 恢复一个执行失败状态的工作流实例

func (*DwrClient) ShowPublicActionList

ShowPublicActionList 查询已发布算子列表

本接口用于查询开放的算子列表。

Please refer to HUAWEI cloud API Explorer for details.

func (*DwrClient) ShowPublicActionListInvoker

func (c *DwrClient) ShowPublicActionListInvoker(request *model.ShowPublicActionListRequest) *ShowPublicActionListInvoker

ShowPublicActionListInvoker 查询已发布算子列表

func (*DwrClient) ShowPublicTemplateInfo

ShowPublicTemplateInfo 查询已发布算子模板详情

本接口用于按名称查询开放的算子详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*DwrClient) ShowPublicTemplateInfoInvoker

func (c *DwrClient) ShowPublicTemplateInfoInvoker(request *model.ShowPublicTemplateInfoRequest) *ShowPublicTemplateInfoInvoker

ShowPublicTemplateInfoInvoker 查询已发布算子模板详情

func (*DwrClient) ShowServiceContract

ShowServiceContract 查询服务协议

本接口用于查询使用工作流时同意的服务协议。该函数具有幂等性。

Please refer to HUAWEI cloud API Explorer for details.

func (*DwrClient) ShowServiceContractInvoker

func (c *DwrClient) ShowServiceContractInvoker(request *model.ShowServiceContractRequest) *ShowServiceContractInvoker

ShowServiceContractInvoker 查询服务协议

func (*DwrClient) ShowSystemTemplateDetail

ShowSystemTemplateDetail 查询华为云内置算子模板信息

本接口用于按名称查询系统内置算子详情。

Please refer to HUAWEI cloud API Explorer for details.

func (*DwrClient) ShowSystemTemplateDetailInvoker

func (c *DwrClient) ShowSystemTemplateDetailInvoker(request *model.ShowSystemTemplateDetailRequest) *ShowSystemTemplateDetailInvoker

ShowSystemTemplateDetailInvoker 查询华为云内置算子模板信息

func (*DwrClient) ShowThirdTemplateInfo

ShowThirdTemplateInfo 查询公共Action模板详情

本接口用于按名称查询第三方模板详情

Please refer to HUAWEI cloud API Explorer for details.

func (*DwrClient) ShowThirdTemplateInfoInvoker

func (c *DwrClient) ShowThirdTemplateInfoInvoker(request *model.ShowThirdTemplateInfoRequest) *ShowThirdTemplateInfoInvoker

ShowThirdTemplateInfoInvoker 查询公共Action模板详情

func (*DwrClient) ShowWorkflowInfo

func (c *DwrClient) ShowWorkflowInfo(request *model.ShowWorkflowInfoRequest) (*model.ShowWorkflowInfoResponse, error)

ShowWorkflowInfo 查询工作流信息

本接口用于根据工作流名称查询工作流详细信息。

Please refer to HUAWEI cloud API Explorer for details.

func (*DwrClient) ShowWorkflowInfoInvoker

func (c *DwrClient) ShowWorkflowInfoInvoker(request *model.ShowWorkflowInfoRequest) *ShowWorkflowInfoInvoker

ShowWorkflowInfoInvoker 查询工作流信息

func (*DwrClient) ShowWorkflowInstance

ShowWorkflowInstance 本接口用于查询指定工作流实例详细

本接口用于查询指定工作流实例详细。

Please refer to HUAWEI cloud API Explorer for details.

func (*DwrClient) ShowWorkflowInstanceInvoker

func (c *DwrClient) ShowWorkflowInstanceInvoker(request *model.ShowWorkflowInstanceRequest) *ShowWorkflowInstanceInvoker

ShowWorkflowInstanceInvoker 本接口用于查询指定工作流实例详细

func (*DwrClient) UpdateMyActionTemplate

UpdateMyActionTemplate 更新第三方算子模板

本接口用于修改第三方算子和将三方算子提交审核

Please refer to HUAWEI cloud API Explorer for details.

func (*DwrClient) UpdateMyActionTemplateInvoker

func (c *DwrClient) UpdateMyActionTemplateInvoker(request *model.UpdateMyActionTemplateRequest) *UpdateMyActionTemplateInvoker

UpdateMyActionTemplateInvoker 更新第三方算子模板

func (*DwrClient) UpdateMyActionTemplateToDeprecated

UpdateMyActionTemplateToDeprecated 禁用第三方算子模板

本接口用于申请禁用第三方算子。

Please refer to HUAWEI cloud API Explorer for details.

func (*DwrClient) UpdateMyActionTemplateToDeprecatedInvoker

func (c *DwrClient) UpdateMyActionTemplateToDeprecatedInvoker(request *model.UpdateMyActionTemplateToDeprecatedRequest) *UpdateMyActionTemplateToDeprecatedInvoker

UpdateMyActionTemplateToDeprecatedInvoker 禁用第三方算子模板

func (*DwrClient) UpdateWorkflow

func (c *DwrClient) UpdateWorkflow(request *model.UpdateWorkflowRequest) (*model.UpdateWorkflowResponse, error)

UpdateWorkflow 更新工作流

Update Workflow

Please refer to HUAWEI cloud API Explorer for details.

func (*DwrClient) UpdateWorkflowInvoker

func (c *DwrClient) UpdateWorkflowInvoker(request *model.UpdateWorkflowRequest) *UpdateWorkflowInvoker

UpdateWorkflowInvoker 更新工作流

type ListMyActionTemplateInvoker

type ListMyActionTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*ListMyActionTemplateInvoker) Invoke

type ListSystemTemplatesInvoker

type ListSystemTemplatesInvoker struct {
	*invoker.BaseInvoker
}

func (*ListSystemTemplatesInvoker) Invoke

type ListWorkflowInstanceInvoker

type ListWorkflowInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*ListWorkflowInstanceInvoker) Invoke

type ListWorkflowsInvoker

type ListWorkflowsInvoker struct {
	*invoker.BaseInvoker
}

func (*ListWorkflowsInvoker) Invoke

type RestoreWorkflowExecutionInvoker

type RestoreWorkflowExecutionInvoker struct {
	*invoker.BaseInvoker
}

func (*RestoreWorkflowExecutionInvoker) Invoke

type ShowPublicActionListInvoker

type ShowPublicActionListInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowPublicActionListInvoker) Invoke

type ShowPublicTemplateInfoInvoker

type ShowPublicTemplateInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowPublicTemplateInfoInvoker) Invoke

type ShowServiceContractInvoker

type ShowServiceContractInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowServiceContractInvoker) Invoke

type ShowSystemTemplateDetailInvoker

type ShowSystemTemplateDetailInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowSystemTemplateDetailInvoker) Invoke

type ShowThirdTemplateInfoInvoker

type ShowThirdTemplateInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowThirdTemplateInfoInvoker) Invoke

type ShowWorkflowInfoInvoker

type ShowWorkflowInfoInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowWorkflowInfoInvoker) Invoke

type ShowWorkflowInstanceInvoker

type ShowWorkflowInstanceInvoker struct {
	*invoker.BaseInvoker
}

func (*ShowWorkflowInstanceInvoker) Invoke

type UpdateMyActionTemplateInvoker

type UpdateMyActionTemplateInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateMyActionTemplateInvoker) Invoke

type UpdateMyActionTemplateToDeprecatedInvoker

type UpdateMyActionTemplateToDeprecatedInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateMyActionTemplateToDeprecatedInvoker) Invoke

type UpdateWorkflowInvoker

type UpdateWorkflowInvoker struct {
	*invoker.BaseInvoker
}

func (*UpdateWorkflowInvoker) Invoke

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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