logs

package
v1.41.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 logs.

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 logs.

type Inputs

type Inputs struct {
	ExecutionRef string
	// NodeFilter is applied client-side; the API has no server-side node filter.
	NodeFilter   string
	OutputFormat string
}

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

Jump to

Keyboard shortcuts

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