workflowruns

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Workflow Runs

Index

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

Jump to

Keyboard shortcuts

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