cmd

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdApply

func NewCmdApply(parent string, flags *genericclioptions.ConfigFlags, streams genericclioptions.IOStreams) *cobra.Command

NewCmdApply creates a command object for the "apply"

Types

type ApplyOptions

type ApplyOptions struct {
	CmdParent         string
	Namespace         string
	ExplicitNamespace bool
	Watch             bool

	resource.FilenameOptions
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

ApplyOptions contains the input to the apply command.

func NewApplyOptions

func NewApplyOptions(parent string, flags *genericclioptions.ConfigFlags, streams genericclioptions.IOStreams) *ApplyOptions

NewApplyOptions

func (*ApplyOptions) Complete

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

Complete takes the command arguments and factory and infers any remaining options.

func (*ApplyOptions) Run

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

Run performs the apply operation.

func (*ApplyOptions) Validate

func (o *ApplyOptions) Validate(cmd *cobra.Command, args []string) error

Validate checks the set of flags provided by the user.

Jump to

Keyboard shortcuts

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