generate

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: Apache-2.0 Imports: 26 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 returns a new generate manifests command

func NewRBACCommand

func NewRBACCommand(o *RBACOptions) *cobra.Command

func NewTrialCommand

func NewTrialCommand(o *TrialOptions) *cobra.Command

Types

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
}

Jump to

Keyboard shortcuts

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