stacks

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Overview

Stacks enable you to organize and execute multiple related workflows in a defined sequence. These workflows are designed to work together, where the output of one workflow is automatically passed as the input for the next.

For more details, please visit our [Documentation](https://docs.stackguardian.io/docs/deploy/stack/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) CreateStack

func (c *Client) CreateStack(
	ctx context.Context,
	org string,
	wfGrp string,
	request *sgsdkgo.Stack,
	opts ...option.RequestOption,
) (*sgsdkgo.GeneratedStackCreateResponse, error)

Creates a new Stack.

func (*Client) DeleteStack

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

Deletes an existing stack.

func (*Client) ListAllStacks

func (c *Client) ListAllStacks(
	ctx context.Context,
	org string,
	wfGrp string,
	request *sgsdkgo.ListAllStacksRequest,
	opts ...option.RequestOption,
) (*sgsdkgo.GeneratedStackListAllResponse, error)

Lists all the Stacks inside a Workflow Group. Supports Pagination and Filtering using query parameters.

func (*Client) ReadStack

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

Retrieves details of an existing stack.

func (*Client) ReadStackOutputs

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

Read outputs of an existing Stack.

func (*Client) UpdateStack

func (c *Client) UpdateStack(
	ctx context.Context,
	org string,
	stack string,
	wfGrp string,
	request *sgsdkgo.PatchedStack,
	opts ...option.RequestOption,
) (*sgsdkgo.GeneratedStackCreateResponse, error)

Updates an existing stack.

Jump to

Keyboard shortcuts

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