patch

package
v0.2.92 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Namespace     string
	Group         string
	Version       string
	Kind          string
	Selector      string
	Name          string
	Type          string
	Data          string
	DynamicClient dynamic.Interface
}

AnnotateOptions the options for the command

func NewCmdPatch

func NewCmdPatch() (*cobra.Command, *Options)

NewCmdPatch creates a command object for the command

func (*Options) GetGroupVersion

func (o *Options) GetGroupVersion() schema.GroupVersionResource

func (*Options) GetPatchType

func (o *Options) GetPatchType() types.PatchType

func (*Options) ResourceKind

func (o *Options) ResourceKind() string

func (*Options) Run

func (o *Options) Run() error

Jump to

Keyboard shortcuts

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