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

get

package
v1.39.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(runtimeContext *runtime.Context) *cobra.Command

New returns the cobra command.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

Handler resolves a single workflow by name via the platform search API and prints deployment health and the most recent execution. Results are filtered to the workflow's configured deployment-registry by default; pass --all-registries to resolve across every registry.

func NewHandler

func NewHandler(ctx *runtime.Context) *Handler

NewHandler builds a Handler backed by a real WorkflowDataClient.

func NewHandlerWithClient

func NewHandlerWithClient(ctx *runtime.Context, wdc *workflowdataclient.Client) *Handler

NewHandlerWithClient builds a Handler with a pre-built WorkflowDataClient (for testing).

func (*Handler) Execute

func (h *Handler) Execute(ctx context.Context, inputs Inputs) error

Execute resolves the workflow configured for the selected --target and prints deployment health and the most recent execution.

type Inputs added in v1.24.0

type Inputs struct {
	AllRegistries bool
	OutputFormat  string
}

Inputs holds resolved and validated flag values for workflow get.

Jump to

Keyboard shortcuts

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