stackworkflows

package
v1.1.0-beta-2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

A Stack Workflow refers to a Workflow that is part of a Stack. A Stack Workflow is the same as an individual Workflow but is contained within a Stack.

For more details, please visit our workflow [Documentaion](https://docs.stackguardian.io/docs/deploy/workflows/overview/).

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

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

Delete an existing workflow in a stack.

func (*Client) ListAllStackWorkflows

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

Retrieve a list of all workflows in a Stack.

func (*Client) ListAllStackWorkflowsArtifacts

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

Retrieve a list of all artifacts for a workflow in a stack.

func (*Client) ReadStackWorkflow

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

Retrieve the details of an existing Workflow in a Stack.

func (*Client) StackWorkflowOutputs

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

Retrieve the outputs for a workflow in a stack.

func (*Client) UpdateStackWorkflow

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

Update an existing workflow in a stack.

Jump to

Keyboard shortcuts

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