generate

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGenerateCommand

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

func NewGenerateExperimentCommand added in v1.2.0

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

func NewGenerateRBACCommand added in v1.2.0

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

Types

type ExperimentGenerator

type ExperimentGenerator struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
}

type GenerateExperimentOptions added in v1.2.0

type GenerateExperimentOptions struct {
	Config *ExperimentGenerator
	cmdutil.IOStreams
}

func NewGenerateExperimentOptions added in v1.2.0

func NewGenerateExperimentOptions(ioStreams cmdutil.IOStreams) *GenerateExperimentOptions

func (*GenerateExperimentOptions) Complete added in v1.2.0

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

func (*GenerateExperimentOptions) Run added in v1.2.0

type GenerateRBACOptions added in v1.2.0

type GenerateRBACOptions struct {
	Filename     string
	Name         string
	IncludeNames bool

	cmdutil.IOStreams
	// contains filtered or unexported fields
}

func NewGenerateRBACOptions added in v1.2.0

func NewGenerateRBACOptions(ioStreams cmdutil.IOStreams) *GenerateRBACOptions

func (*GenerateRBACOptions) Complete added in v1.2.0

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

func (*GenerateRBACOptions) Run added in v1.2.0

func (o *GenerateRBACOptions) Run() error

Jump to

Keyboard shortcuts

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