cmd

package
v0.24.3 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdDiffApply

func NewCmdDiffApply(streams genericclioptions.IOStreams) *cobra.Command

NewCmdDiffApply provides a cobra command wrapping DiffApplyOptions

Types

type DiffApplyFlags

type DiffApplyFlags struct {
	ConfigFlags  *genericclioptions.ConfigFlags
	ApplyFlags   *apply.ApplyFlags
	ApplyOptions *apply.ApplyOptions
	DiffOptions  *diff.DiffOptions
	genericclioptions.IOStreams
}

func NewDiffApplyFlags

func NewDiffApplyFlags(streams genericclioptions.IOStreams) *DiffApplyFlags

func (*DiffApplyFlags) Complete

func (o *DiffApplyFlags) Complete(c *cobra.Command, args []string) error

func (*DiffApplyFlags) Run

func (o *DiffApplyFlags) Run() error

Run shows differences and applies if user types yes

func (*DiffApplyFlags) Validate

func (o *DiffApplyFlags) Validate(c *cobra.Command, args []string) error

Validate ensures that all required arguments and flag values are provided

Jump to

Keyboard shortcuts

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