Documentation
¶
Overview ¶
Workflow Runs
Index ¶
- type Client
- func (c *Client) ApproveWorkflowRun(ctx context.Context, org string, wf string, wfGrp string, wfRun string, ...) (*sgsdkgo.WorkflowRunApprovalResponse, error)
- func (c *Client) CancelWorkflowRun(ctx context.Context, org string, wf string, wfGrp string, wfRun string, ...) (*sgsdkgo.WorkflowRunsCancelResponse, error)
- func (c *Client) CreateWorkflowRun(ctx context.Context, org string, wf string, wfGrp string, ...) (*sgsdkgo.WorkflowRunCreatePatchResponse, error)
- func (c *Client) ListAllWorkflowRuns(ctx context.Context, org string, wf string, wfGrp string, ...) (*sgsdkgo.GeneratedWorkflowRunListAll, error)
- func (c *Client) ReadWorkflowRun(ctx context.Context, org string, wf string, wfGrp string, wfRun string, ...) (*sgsdkgo.GeneratedWorkflowRunsGet, error)
- func (c *Client) ReadWorkflowRunLogs(ctx context.Context, org string, wf string, wfGrp string, wfRun string, ...) (*sgsdkgo.GeneratedWorkflowRunLogs, error)
- func (c *Client) UpdateWorkflowRun(ctx context.Context, org string, wf string, wfGrp string, wfRun string, ...) (*sgsdkgo.GeneratedWorkfkowRunsUpdateResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(opts ...option.RequestOption) *Client
func (*Client) ApproveWorkflowRun ¶
func (c *Client) ApproveWorkflowRun( ctx context.Context, org string, wf string, wfGrp string, wfRun string, request *sgsdkgo.WorkflowRunApproval, opts ...option.RequestOption, ) (*sgsdkgo.WorkflowRunApprovalResponse, error)
Provide approval for a Workflow Run
func (*Client) CancelWorkflowRun ¶
func (c *Client) CancelWorkflowRun( ctx context.Context, org string, wf string, wfGrp string, wfRun string, opts ...option.RequestOption, ) (*sgsdkgo.WorkflowRunsCancelResponse, error)
Patch Workflow Run inside a workflow
func (*Client) CreateWorkflowRun ¶
func (c *Client) CreateWorkflowRun( ctx context.Context, org string, wf string, wfGrp string, request *sgsdkgo.WorkflowRun, opts ...option.RequestOption, ) (*sgsdkgo.WorkflowRunCreatePatchResponse, error)
Run workflow
func (*Client) ListAllWorkflowRuns ¶
func (c *Client) ListAllWorkflowRuns( ctx context.Context, org string, wf string, wfGrp string, opts ...option.RequestOption, ) (*sgsdkgo.GeneratedWorkflowRunListAll, error)
List all Workflow Runs in a Workflow
func (*Client) ReadWorkflowRun ¶
func (c *Client) ReadWorkflowRun( ctx context.Context, org string, wf string, wfGrp string, wfRun string, opts ...option.RequestOption, ) (*sgsdkgo.GeneratedWorkflowRunsGet, error)
Read workflow run details
func (*Client) ReadWorkflowRunLogs ¶
func (c *Client) ReadWorkflowRunLogs( ctx context.Context, org string, wf string, wfGrp string, wfRun string, opts ...option.RequestOption, ) (*sgsdkgo.GeneratedWorkflowRunLogs, error)
Read execution logs for a Workflow Run inside a workflow
func (*Client) UpdateWorkflowRun ¶
func (c *Client) UpdateWorkflowRun( ctx context.Context, org string, wf string, wfGrp string, wfRun string, request *sgsdkgo.PatchedWorkflowRun, opts ...option.RequestOption, ) (*sgsdkgo.GeneratedWorkfkowRunsUpdateResponse, error)
Patch Workflow Run inside a workflow
Click to show internal directories.
Click to hide internal directories.