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

app

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2026 License: MIT Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(version, command string, args []string, stdout, stderr io.Writer, stdin io.Reader) int

Main dispatches CLI commands and returns the process exit code.

func PrintUsage

func PrintUsage(w io.Writer)

Types

type Bundle added in v0.1.7

type Bundle struct {
	Schema         string `json:"schema"`
	BundleID       string `json:"bundle_id"`
	BundleVersion  int64  `json:"bundle_version"`
	PolicyRevision int64  `json:"policy_revision"`
	Audience       struct {
		InstallationID string `json:"installation_id"`
		OrgID          string `json:"org_id"`
		WorkspaceID    string `json:"workspace_id"`
	} `json:"audience"`
	NotAfter              time.Time       `json:"not_after"`
	HarnessMatchSemantics string          `json:"harness_match_semantics"`
	Harnesses             []bundleHarness `json:"harnesses"`
	PolicySet             json.RawMessage `json:"policy_set"`
	PayloadDigest         string          `json:"-"`
}

Bundle is the unsigned policy-bundle/v1 payload fetched by both the CLI and runtime.

Jump to

Keyboard shortcuts

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