Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 NewTrialCommand ¶
func NewTrialCommand(o *TrialOptions) *cobra.Command
Types ¶
type ExperimentOptions ¶
type ExperimentOptions struct {
// Config is the Red Sky Configuration used to generate the role binding
Config *config.RedSkyConfig
// 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
Resources []string
Scenario string
Objectives []string
}
type Options ¶
type Options struct {
// Config is the Red Sky Configuration
Config *config.RedSkyConfig
}
Options includes the configuration for the subcommands
type RBACOptions ¶
type RBACOptions struct {
// Config is the Red Sky Configuration used to generate the role binding
Config *config.RedSkyConfig
// 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
}
Click to show internal directories.
Click to hide internal directories.