get

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGetCommand

func NewGetCommand(f cmdutil.Factory, ioStreams cmdutil.IOStreams) *cobra.Command

func NewGetExperimentListCommand

func NewGetExperimentListCommand(f cmdutil.Factory, ioStreams cmdutil.IOStreams) *cobra.Command

NewGetExperimentListCommand returns a new get experiment list command

func NewGetTrialListCommand

func NewGetTrialListCommand(f cmdutil.Factory, ioStreams cmdutil.IOStreams) *cobra.Command

NewGetTrialListCommand returns a new get trial list command

func RunGetExperimentList

func RunGetExperimentList(o *GetOptions) error

RunGetExperimentList gets an experiment list for the given get options

func RunGetTrialList

func RunGetTrialList(o *GetOptions, meta *trialTableMeta) error

RunGetTrialList gets a trial list for the given get options

Types

type GetOptions

type GetOptions struct {
	ForceRedSkyAPI  bool
	ForceKubernetes bool

	Namespace string
	Name      string
	ChunkSize int
	Selector  string
	SortBy    string

	Printer         cmdutil.ResourcePrinter
	RedSkyAPI       *redsky.API
	RedSkyClientSet *redskykube.Clientset

	cmdutil.IOStreams
}

func NewGetOptions

func NewGetOptions(ioStreams cmdutil.IOStreams) *GetOptions

func (*GetOptions) AddFlags

func (o *GetOptions) AddFlags(cmd *cobra.Command)

func (*GetOptions) Complete

func (o *GetOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string, printFlags *cmdutil.PrintFlags) error

Jump to

Keyboard shortcuts

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