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

workflows

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

Workflows

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) CreateWorkflow

func (c *Client) CreateWorkflow(
	ctx context.Context,
	org string,
	wfGrp string,
	request *sgsdkgo.Workflow,
	opts ...option.RequestOption,
) (*sgsdkgo.GeneratedWorkflowCreateResponse, error)

Create Workflow

func (*Client) DeleteWorkflow

func (c *Client) DeleteWorkflow(
	ctx context.Context,
	org string,
	wf string,
	wfGrp string,
	opts ...option.RequestOption,
) (*sgsdkgo.GeneratedWorkflowDeleteResponse, error)

Delete Workflow

func (*Client) ListAllWorkflowArtifacts

func (c *Client) ListAllWorkflowArtifacts(
	ctx context.Context,
	org string,
	wf string,
	wfGrp string,
	opts ...option.RequestOption,
) (*sgsdkgo.GeneratedWorkflowListAllArtifactsResponse, error)

List all workflow artifacts

func (*Client) ListAllWorkflows

func (c *Client) ListAllWorkflows(
	ctx context.Context,
	org string,
	wfGrp string,
	opts ...option.RequestOption,
) (*sgsdkgo.WorkflowsListAll, error)

List all Workflows

func (*Client) Outputs

Workflow Outputs

func (*Client) ReadWorkflow

func (c *Client) ReadWorkflow(
	ctx context.Context,
	org string,
	wf string,
	wfGrp string,
	opts ...option.RequestOption,
) (*sgsdkgo.WorkflowGetResponse, error)

Read Workflow

func (*Client) UpdateWorkflow

func (c *Client) UpdateWorkflow(
	ctx context.Context,
	org string,
	wf string,
	wfGrp string,
	request *sgsdkgo.PatchedWorkflow,
	opts ...option.RequestOption,
) (*sgsdkgo.GeneratedWorkflowUpdateResponse, error)

Update Workflow

Jump to

Keyboard shortcuts

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