mergecmd

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdMerge added in v0.0.15

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

Types

type MergeFlags added in v0.0.15

type MergeFlags struct {
}

func NewMergeFlags added in v0.0.15

func NewMergeFlags() *MergeFlags

The defaults are determined here

func (*MergeFlags) AddFlags added in v0.0.15

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

AddFlags add flags tp the command

func (*MergeFlags) ToOptions added in v0.0.15

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

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

type MergeOptions added in v0.0.15

type MergeOptions struct {
	Factory util.Factory
	Streams *genericclioptions.IOStreams
}

func (*MergeOptions) Run added in v0.0.15

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

func (*MergeOptions) Validate added in v0.0.15

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

Jump to

Keyboard shortcuts

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