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.
Click to show internal directories.
Click to hide internal directories.