package patch
import "k8s.io/kubernetes/pkg/kubectl/cmd/patch"
Index ¶
- func NewCmdPatch(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command
- type PatchOptions
Functions ¶
func NewCmdPatch ¶
Types ¶
type PatchOptions ¶
type PatchOptions struct { resource.FilenameOptions RecordFlags *genericclioptions.RecordFlags PrintFlags *genericclioptions.PrintFlags ToPrinter func(string) (printers.ResourcePrinter, error) Recorder genericclioptions.Recorder Local bool PatchType string Patch string genericclioptions.IOStreams // contains filtered or unexported fields }
PatchOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
func NewPatchOptions ¶
func NewPatchOptions(ioStreams genericclioptions.IOStreams) *PatchOptions
func (*PatchOptions) Complete ¶
func (*PatchOptions) RunPatch ¶
func (o *PatchOptions) RunPatch() error
func (*PatchOptions) Validate ¶
func (o *PatchOptions) Validate() error
Source Files ¶
patch.go
- Version
- v1.14.1
- Published
- Apr 5, 2019
- Platform
- js/wasm
- Imports
- 21 packages
- Last checked
- 13 seconds ago –
Tools for package owners.