Help us shape the future of Go! Take the 2026 Go Developer Survey

stackworkflowruns

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

Stack 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) ApproveStackWorkflowRun

func (c *Client) ApproveStackWorkflowRun(
	ctx context.Context,
	org string,
	stack string,
	wf string,
	wfGrp string,
	wfRun string,
	request *sgsdkgo.WorkflowRunApproval,
	opts ...option.RequestOption,
) error

Provide approval for a workflow run inside a stack's workflow

func (*Client) CreateStackRun

func (c *Client) CreateStackRun(
	ctx context.Context,
	org string,
	stack string,
	wfGrp string,
	request *sgsdkgo.StackAction,
	opts ...option.RequestOption,
) (*sgsdkgo.GeneratedStackRunsResponse, error)

Run Stack

func (*Client) ListAllStackRuns

func (c *Client) ListAllStackRuns(
	ctx context.Context,
	org string,
	stack string,
	wfGrp string,
	opts ...option.RequestOption,
) (*sgsdkgo.GeneratedStackRunsListAllResponse, error)

List all stack runs of a stack

func (*Client) ReadStackRun

func (c *Client) ReadStackRun(
	ctx context.Context,
	org string,
	stack string,
	stackRun string,
	wfGrp string,
	opts ...option.RequestOption,
) (*sgsdkgo.GeneratedStackRunsGetResponse, error)

Read all workflow runs of a stack run

func (*Client) ReadStackWorkflowRun

func (c *Client) ReadStackWorkflowRun(
	ctx context.Context,
	org string,
	stack string,
	wf string,
	wfGrp string,
	wfRun string,
	opts ...option.RequestOption,
) (*sgsdkgo.GeneratedWorkflowRunStackGet, error)

Read a single workflow run inside a stack's workflow

func (*Client) ReadStackWorkflowRunLogs

func (c *Client) ReadStackWorkflowRunLogs(
	ctx context.Context,
	org string,
	stack string,
	wf string,
	wfGrp string,
	wfRun string,
	opts ...option.RequestOption,
) (*sgsdkgo.GeneratedWorkflowRunLogs, error)

Read execution logs for a single workflow run inside a stack's workflow

Jump to

Keyboard shortcuts

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