replace

package
v1.13.1-k3s2 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2019 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdReplace

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

Types

type ReplaceOptions

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

	DeleteFlags   *delete.DeleteFlags
	DeleteOptions *delete.DeleteOptions

	PrintObj func(obj runtime.Object) error

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

	Namespace        string
	EnforceNamespace bool

	Recorder genericclioptions.Recorder

	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

func NewReplaceOptions

func NewReplaceOptions(streams genericclioptions.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() error

func (*ReplaceOptions) Validate

func (o *ReplaceOptions) Validate(cmd *cobra.Command) error

Jump to

Keyboard shortcuts

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