apply

package
v1.9.7 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 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 genericiooptions.IOStreams) *cobra.Command

NewCmdApply creates the `apply` command

Types

type CommandApplyOptions

type CommandApplyOptions struct {
	// apply flags
	KubectlApplyFlags *kubectlapply.ApplyFlags
	UtilFactory       util.Factory
	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