kubernetes: k8s.io/kubernetes/pkg/kubectl/cmd/patch Index | Files

package patch

import "k8s.io/kubernetes/pkg/kubectl/cmd/patch"


Package Files


func NewCmdPatch Uses

func NewCmdPatch(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command

type PatchOptions Uses

type PatchOptions struct {

    RecordFlags *genericclioptions.RecordFlags
    PrintFlags  *genericclioptions.PrintFlags
    ToPrinter   func(string) (printers.ResourcePrinter, error)
    Recorder    genericclioptions.Recorder

    Local     bool
    PatchType string
    Patch     string

    // 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 Uses

func NewPatchOptions(ioStreams genericclioptions.IOStreams) *PatchOptions

func (*PatchOptions) Complete Uses

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

func (*PatchOptions) RunPatch Uses

func (o *PatchOptions) RunPatch() error

func (*PatchOptions) Validate Uses

func (o *PatchOptions) Validate() error

Package patch imports 21 packages (graph) and is imported by 11 packages. Updated 2019-07-05. Refresh now. Tools for package owners.