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

workflowrunfacts

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

A Workflow Run Fact in StackGuardian is data generated by a Workflow Run, such as Policy Evaluations, Cost Estimations, Resource Drifts, or Resources Deployed.

For more details, please refer to [this discussion](https://github.com/orgs/StackGuardian/discussions/109).

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

func (c *Client) ReadWorkflowRunFacts(
	ctx context.Context,
	org string,
	wf string,
	wfGrp string,
	wfRun string,
	wfRunFacts string,
	opts ...option.RequestOption,
) (map[string]interface{}, error)

Get workflow run facts details inside a workflow.

This endpoint returns a signed URL which can be used to get the full contents of the workflow run facts. This signed URL is valid for 60 minutes. After expiration, you can request a new signed URL by calling this endpoint again.

For more information, please refer to [this discussion](https://github.com/StackGuardian/feedback/discussions/109).

Jump to

Keyboard shortcuts

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