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.
Click to show internal directories.
Click to hide internal directories.