generate

package
v0.2.14 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2020 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCmd

func GenerateCmd(opts *cmdutil.Options) *cobra.Command

Types

type GenerateCRDOptions

type GenerateCRDOptions struct {
	*cmdutil.Options

	// Path to local concatenated CRD schema
	LocalCRDPath string
	// Toggle reading CRDs from local file
	LocalCRDToggle bool
	// URL to concatenated CRD schema
	RemoteCRDURL string
	// contains filtered or unexported fields
}

func GenerateCRDCmd

func GenerateCRDCmd(opts *cmdutil.Options) (*cobra.Command, *GenerateCRDOptions)

type GenerateOperatorOptions

type GenerateOperatorOptions struct {
	*cmdutil.Options

	Name      string
	Namespace string
	Image     string

	// Path to local generated cluster role definition
	LocalClusterRolePath string
	// Toggle reading cluster role from local file
	LocalClusterRoleToggle bool
	// URL to cluster role definition
	RemoteClusterRoleURL string
	// contains filtered or unexported fields
}

func GenerateOperatorCmd

func GenerateOperatorCmd(opts *cmdutil.Options) (*cobra.Command, *GenerateOperatorOptions)

func (*GenerateOperatorOptions) Generate

func (o *GenerateOperatorOptions) Generate() error

Jump to

Keyboard shortcuts

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