events

package
v1.24.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: MIT Imports: 9 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 fetches and renders execution capability events.

func NewHandler

func NewHandler(ctx *runtime.Context) *Handler

NewHandler builds a Handler with a real WorkflowDataClient.

func NewHandlerWithClient

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

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

func (*Handler) Execute

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

Execute fetches and renders execution events.

type Inputs

type Inputs struct {
	ExecutionRef string
	CapabilityID *string
	Status       *string
	OutputFormat string
}

Inputs holds resolved and validated flag/arg values for execution events.

Jump to

Keyboard shortcuts

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