kubernetes/staging/src/k8s.io/kubectl/pkg/cmd/patch/patch.go

var patchTypes

type PatchOptions

var patchLong

var patchExample

var supportedSubresources

func NewPatchOptions(ioStreams genericiooptions.IOStreams) *PatchOptions {}

func NewCmdPatch(f cmdutil.Factory, ioStreams genericiooptions.IOStreams) *cobra.Command {}

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

func (o *PatchOptions) Validate() error {}

func (o *PatchOptions) RunPatch() error {}

func getPatchedJSON(patchType types.PatchType, originalJS, patchJS []byte, gvk schema.GroupVersionKind, creater runtime.ObjectCreater) ([]byte, error) {}

func patchOperation(didPatch bool) string {}