workflowgroups

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: 7 Imported by: 0

Documentation

Overview

Workflow Groups in StackGuardian allow you to organize workflows by teams, divisions, or environments. They provide structured management and fine-grained access control over workflows.

For more details, visit our [Documentation](https://docs.stackguardian.io/docs/deploy/workflows/workflow_groups/).

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

func (c *Client) CreateChildWorkflowGroup(
	ctx context.Context,
	org string,
	wfGrp string,
	request *sgsdkgo.WorkflowGroup,
	opts ...option.RequestOption,
) (*sgsdkgo.WorkflowGroupCreateResponse, error)

Create a new Child Workflow Group within an existing Workflow Group.

func (*Client) CreateWorkflowGroup

func (c *Client) CreateWorkflowGroup(
	ctx context.Context,
	org string,
	request *sgsdkgo.WorkflowGroup,
	opts ...option.RequestOption,
) (*sgsdkgo.WorkflowGroupCreateResponse, error)

Create a new Workflow Group.

func (*Client) DeleteWorkflowGroup

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

Delete an existing Workflow Group.

func (*Client) ListAllChildWorkflowGroups

func (c *Client) ListAllChildWorkflowGroups(
	ctx context.Context,
	org string,
	wfGrp string,
	request *sgsdkgo.ListAllChildWorkflowGroupsRequest,
	opts ...option.RequestOption,
) (*sgsdkgo.WorkflowGroupListAllResponse, error)

List all the Child Workflow Groups in an existing Workflow Group. Supports Pagination and Filtering using query parameters.

func (*Client) ListAllWorkflowGroups

func (c *Client) ListAllWorkflowGroups(
	ctx context.Context,
	org string,
	request *sgsdkgo.ListAllWorkflowGroupsRequest,
	opts ...option.RequestOption,
) (*sgsdkgo.WorkflowGroupListAllResponse, error)

List all the Workflow Groups in an Organization. Supports Pagination and Filtering using query parameters.

func (*Client) ReadWorkflowGroup

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

Read an existing Workflow Group.

func (*Client) UpdateWorkflowGroup

func (c *Client) UpdateWorkflowGroup(
	ctx context.Context,
	org string,
	wfGrp string,
	request *sgsdkgo.PatchedWorkflowGroup,
	opts ...option.RequestOption,
) (*sgsdkgo.WorkflowGroupPatch, error)

Update an existing Workflow Group.

Jump to

Keyboard shortcuts

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