forcesetfield

package
v1.123.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommand

func AddCommand(parent *cobra.Command)

func Run

func Run(ctx context.Context, out io.Writer, options Options, setFields map[string]string) error

Types

type Options

type Options struct {
	kubecli.ClusterOptions
	kubecli.ObjectOptions

	// FieldManager is the field-manager owner value to use when making changes
	FieldManager string

	// DryRun is true if we should not actually make changes, just print the changes we would make
	DryRun bool
}

Options configures the behaviour of the ChangeStateIntoSpec operation.

func (*Options) PopulateDefaults

func (o *Options) PopulateDefaults()

Jump to

Keyboard shortcuts

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