diffcmd

package
v0.0.20 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdDiff added in v0.0.15

func NewCmdDiff(f util.Factory, streams *genericclioptions.IOStreams) *cobra.Command

Types

type DiffFlags added in v0.0.15

type DiffFlags struct {
	RunOuput *genericclioptions.RunOutputFlags
}

func NewDiffFlags added in v0.0.15

func NewDiffFlags() *DiffFlags

The defaults are determined here

func (*DiffFlags) AddFlags added in v0.0.15

func (r *DiffFlags) AddFlags(cmd *cobra.Command)

AddFlags add flags tp the command

func (*DiffFlags) ToOptions added in v0.0.15

func (r *DiffFlags) ToOptions(cmd *cobra.Command, f util.Factory, streams *genericclioptions.IOStreams) (*DiffOptions, error)

ToOptions renders the options based on the flags that were set and will be the base context used to run the command

type DiffOptions added in v0.0.15

type DiffOptions struct {
	Factory           util.Factory
	Streams           *genericclioptions.IOStreams
	ShowChoreoAPIs    bool
	ShowManagedFields bool
	ShowDiffDetails   bool
	ShowFinalConfig   bool
}

func (*DiffOptions) Run added in v0.0.15

func (r *DiffOptions) Run(ctx context.Context, args []string) error

func (*DiffOptions) Validate added in v0.0.15

func (r *DiffOptions) Validate(args []string) error

Jump to

Keyboard shortcuts

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