replace

package
v0.31.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 23 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdReplace

func NewCmdReplace(f cmdutil.Factory, streams genericiooptions.IOStreams) *cobra.Command

Types

type ReplaceOptions

type ReplaceOptions struct {
	PrintFlags  *genericclioptions.PrintFlags
	RecordFlags *genericclioptions.RecordFlags

	DeleteFlags   *delete.DeleteFlags
	DeleteOptions *delete.DeleteOptions

	DryRunStrategy cmdutil.DryRunStrategy

	PrintObj func(obj runtime.Object) error

	Schema      validation.Schema
	Builder     func() *resource.Builder
	BuilderArgs []string

	Namespace        string
	EnforceNamespace bool
	Raw              string

	Recorder genericclioptions.Recorder

	Subresource string

	genericiooptions.IOStreams
	// contains filtered or unexported fields
}

func NewReplaceOptions

func NewReplaceOptions(streams genericiooptions.IOStreams) *ReplaceOptions

func (*ReplaceOptions) Complete

func (o *ReplaceOptions) Complete(f cmdutil.Factory, cmd *cobra.Command, args []string) error

func (*ReplaceOptions) Run

func (o *ReplaceOptions) Run(f cmdutil.Factory) error

func (*ReplaceOptions) Validate

func (o *ReplaceOptions) Validate() error

Jump to

Keyboard shortcuts

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