run

package
v0.0.0-...-19cf936 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

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