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

stacks

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 7 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,
	request *sgsdkgo.DeleteStackRequest,
	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,
	request *sgsdkgo.ReadStackQueryParams,
	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.GeneratedStackUpdateResponse, error)

Updates an existing stack.

Jump to

Keyboard shortcuts

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