Documentation
¶
Overview ¶
Package stepflow include resources of ucloud stepflow product
See also
- API: https://docs.ucloud.cn/api/stepflow-api/index
- Product: https://www.ucloud.cn/site/product/stepflow.html
for detail.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateSFWorkflowFromTemplateRequest ¶
type CreateSFWorkflowFromTemplateRequest struct { request.CommonBase // 需要创建的工作流namespace Namespace *string // 描述工作流定义的base64字符串 Workflow *string // 需要创建的工作流名称 WorkflowName *string }
CreateSFWorkflowFromTemplateRequest is request schema for CreateSFWorkflowFromTemplate action
type CreateSFWorkflowFromTemplateResponse ¶
type CreateSFWorkflowFromTemplateResponse struct { response.CommonBase // 返回消息 Message string // 创建的工作流版本号 Version int }
CreateSFWorkflowFromTemplateResponse is request schema for CreateSFWorkflowFromTemplate action
type StepFlowClient ¶
StepFlowClient is the client of StepFlow
func NewClient ¶
func NewClient(config *ucloud.Config, credential *auth.Credential) *StepFlowClient
NewClient will return a instance of StepFlowClient
func (*StepFlowClient) CreateSFWorkflowFromTemplate ¶
func (c *StepFlowClient) CreateSFWorkflowFromTemplate(req *CreateSFWorkflowFromTemplateRequest) (*CreateSFWorkflowFromTemplateResponse, error)
CreateSFWorkflowFromTemplate - 导入工作流定义
func (*StepFlowClient) NewCreateSFWorkflowFromTemplateRequest ¶
func (c *StepFlowClient) NewCreateSFWorkflowFromTemplateRequest() *CreateSFWorkflowFromTemplateRequest
NewCreateSFWorkflowFromTemplateRequest will create request of CreateSFWorkflowFromTemplate action.
Click to show internal directories.
Click to hide internal directories.