Documentation
¶
Overview ¶
Stack Workflow Runs
Index ¶
- type Client
- func (c *Client) ApproveStackWorkflowRun(ctx context.Context, org string, stack string, wf string, wfGrp string, ...) error
- func (c *Client) CreateStackRun(ctx context.Context, org string, stack string, wfGrp string, ...) (*sgsdkgo.GeneratedStackRunsResponse, error)
- func (c *Client) ListAllStackRuns(ctx context.Context, org string, stack string, wfGrp string, ...) (*sgsdkgo.GeneratedStackRunsListAllResponse, error)
- func (c *Client) ReadStackRun(ctx context.Context, org string, stack string, stackRun string, wfGrp string, ...) (*sgsdkgo.GeneratedStackRunsGetResponse, error)
- func (c *Client) ReadStackWorkflowRun(ctx context.Context, org string, stack string, wf string, wfGrp string, ...) (*sgsdkgo.GeneratedWorkflowRunStackGet, error)
- func (c *Client) ReadStackWorkflowRunLogs(ctx context.Context, org string, stack string, wf string, wfGrp string, ...) (*sgsdkgo.GeneratedWorkflowRunLogs, error)
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) ApproveStackWorkflowRun ¶
func (c *Client) ApproveStackWorkflowRun( ctx context.Context, org string, stack string, wf string, wfGrp string, wfRun string, request *sgsdkgo.WorkflowRunApproval, opts ...option.RequestOption, ) error
Provide approval for a workflow run inside a stack's workflow
func (*Client) CreateStackRun ¶
func (c *Client) CreateStackRun( ctx context.Context, org string, stack string, wfGrp string, request *sgsdkgo.StackAction, opts ...option.RequestOption, ) (*sgsdkgo.GeneratedStackRunsResponse, error)
Run Stack
func (*Client) ListAllStackRuns ¶
func (c *Client) ListAllStackRuns( ctx context.Context, org string, stack string, wfGrp string, opts ...option.RequestOption, ) (*sgsdkgo.GeneratedStackRunsListAllResponse, error)
List all stack runs of a stack
func (*Client) ReadStackRun ¶
func (c *Client) ReadStackRun( ctx context.Context, org string, stack string, stackRun string, wfGrp string, opts ...option.RequestOption, ) (*sgsdkgo.GeneratedStackRunsGetResponse, error)
Read all workflow runs of a stack run
func (*Client) ReadStackWorkflowRun ¶
func (c *Client) ReadStackWorkflowRun( ctx context.Context, org string, stack string, wf string, wfGrp string, wfRun string, opts ...option.RequestOption, ) (*sgsdkgo.GeneratedWorkflowRunStackGet, error)
Read a single workflow run inside a stack's workflow
func (*Client) ReadStackWorkflowRunLogs ¶
func (c *Client) ReadStackWorkflowRunLogs( ctx context.Context, org string, stack string, wf string, wfGrp string, wfRun string, opts ...option.RequestOption, ) (*sgsdkgo.GeneratedWorkflowRunLogs, error)
Read execution logs for a single workflow run inside a stack's workflow
Click to show internal directories.
Click to hide internal directories.