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

run

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRunCommand

func NewRunCommand(streams genericclioptions.IOStreams) *cobra.Command

func NewRunMonitorCommand

func NewRunMonitorCommand(streams genericclioptions.IOStreams) *cobra.Command

TODO remove

Types

type RunMonitorFlags

type RunMonitorFlags struct {
	ArtifactDir         string
	DisplayFromNow      bool
	ExactMonitorTests   []string
	DisableMonitorTests []string
	FromRepository      string

	genericclioptions.IOStreams
}

func NewRunMonitorOptions

func NewRunMonitorOptions(streams genericclioptions.IOStreams, fromRepository string) *RunMonitorFlags

func (*RunMonitorFlags) BindFlags

func (f *RunMonitorFlags) BindFlags(flags *pflag.FlagSet)

func (*RunMonitorFlags) ToOptions

func (f *RunMonitorFlags) ToOptions() (*RunMonitorOptions, error)

type RunMonitorOptions

type RunMonitorOptions struct {
	ArtifactDir     string
	DisplayFilterFn monitorapi.EventIntervalMatchesFunc
	MonitorTests    monitortestframework.MonitorTestRegistry
	FromRepository  string

	genericclioptions.IOStreams
}

func (*RunMonitorOptions) Run

func (o *RunMonitorOptions) Run() error

Run starts monitoring the cluster by invoking Start, periodically printing the events accumulated to Out. When the user hits CTRL+C or signals termination the condition intervals (all non-instantaneous events) are reported to Out.

Jump to

Keyboard shortcuts

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