Documentation ¶
Index ¶
- func NewApplicationCommand(o *ApplicationOptions) *cobra.Command
- func NewCommand(o *Options) *cobra.Command
- func NewExperimentCommand(o *ExperimentOptions) *cobra.Command
- func NewRBACCommand(o *RBACOptions) *cobra.Command
- func NewSampleCommand(o *SampleOptions) *cobra.Command
- func NewTrialCommand(o *TrialOptions) *cobra.Command
- type ApplicationOptions
- type ExperimentOptions
- type Options
- type RBACOptions
- type SampleOptions
- type TrialOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApplicationCommand ¶
func NewApplicationCommand(o *ApplicationOptions) *cobra.Command
func NewCommand ¶
NewCommand returns a new generate manifests command
func NewExperimentCommand ¶
func NewExperimentCommand(o *ExperimentOptions) *cobra.Command
func NewRBACCommand ¶
func NewRBACCommand(o *RBACOptions) *cobra.Command
func NewSampleCommand ¶
func NewSampleCommand(o *SampleOptions) *cobra.Command
func NewTrialCommand ¶
func NewTrialCommand(o *TrialOptions) *cobra.Command
Types ¶
type ApplicationOptions ¶
type ApplicationOptions struct { // Config is the Optimize Configuration used to generate the application Config *config.OptimizeConfig // IOStreams are used to access the standard process streams commander.IOStreams Generator application.Generator Resources []string DefaultResource konjurev1beta2.Kubernetes }
type ExperimentOptions ¶
type ExperimentOptions struct { // Config is the Optimize Configuration used to generate the experiment Config *config.OptimizeConfig // IOStreams are used to access the standard process streams commander.IOStreams Generator experiment.Generator Filename string Resources []string }
type Options ¶
type Options struct { // Config is the Optimize Configuration Config *config.OptimizeConfig }
Options includes the configuration for the subcommands
type RBACOptions ¶
type RBACOptions struct { // Config is the Optimize Configuration used to generate the role binding Config *config.OptimizeConfig // Printer is the resource printer used to render generated objects Printer commander.ResourcePrinter // IOStreams are used to access the standard process streams commander.IOStreams Filename string Name string IncludeNames bool ClusterRole bool ClusterRoleBinding bool // contains filtered or unexported fields }
func (*RBACOptions) Complete ¶
func (o *RBACOptions) Complete(ctx context.Context)
type TrialOptions ¶
type TrialOptions struct { experiments.SuggestOptions Filename string Job string JobTrialNumber int }
Click to show internal directories.
Click to hide internal directories.