apply

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdApply

func NewCmdApply(f util.Factory, parentCommand string, streams genericclioptions.IOStreams) *cobra.Command

NewCmdApply creates the `apply` command

Types

type CommandApplyOptions

type CommandApplyOptions struct {
	// apply flags
	KubectlApplyFlags *kubectlapply.ApplyFlags
	AllClusters       bool
	Clusters          []string
	// contains filtered or unexported fields
}

CommandApplyOptions contains the input to the apply command.

func (*CommandApplyOptions) Complete

func (o *CommandApplyOptions) Complete(f util.Factory, cmd *cobra.Command, parentCommand string, args []string) error

Complete completes all the required options

func (*CommandApplyOptions) Run

func (o *CommandApplyOptions) Run() error

Run executes the `apply` command.

func (*CommandApplyOptions) Validate

func (o *CommandApplyOptions) Validate() error

Validate verifies if CommandApplyOptions are valid and without conflicts.

Jump to

Keyboard shortcuts

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