debug

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand(o *Options) *cobra.Command

NewCommand creates a new debug command.

func NewMetricQueryCommand

func NewMetricQueryCommand(o *MetricQueryOptions) *cobra.Command

NewMetricQueryCommand create

Types

type MetricQueryOptions

type MetricQueryOptions struct {
	Config *config.OptimizeConfig
	commander.IOStreams

	Filename       string
	TrialName      string
	MetricName     string
	StartTime      string
	Duration       string
	CompletionTime string
}

MetricQueryOptions configure a metric query debugging session.

func (*MetricQueryOptions) Debug

func (o *MetricQueryOptions) Debug() error

type Options

type Options struct {
	// Config is the Optimize Configuration
	Config *config.OptimizeConfig
}

Options includes the configuration for the subcommands.

Jump to

Keyboard shortcuts

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