Versions in this module Expand all Collapse all v0 v0.22.3 Sep 17, 2021 Changes in this version + func GetApplyPatch(obj runtime.Unstructured) ([]byte, []byte, types.PatchType, error) + type EditMode string + const ApplyEditMode + const EditBeforeCreateMode + const NormalEditMode + type EditOptions struct + ApplyAnnotation bool + ChangeCause string + CmdNamespace string + EditMode EditMode + FieldManager string + OriginalResult *resource.Result + OutputPatch bool + PrintFlags *genericclioptions.PrintFlags + RecordFlags *genericclioptions.RecordFlags + Recorder genericclioptions.Recorder + ToPrinter func(string) (printers.ResourcePrinter, error) + WindowsLineEndings bool + func NewEditOptions(editMode EditMode, ioStreams genericclioptions.IOStreams) *EditOptions + func (o *EditOptions) Complete(f cmdutil.Factory, args []string, cmd *cobra.Command) error + func (o *EditOptions) Run() error + func (o *EditOptions) Validate() error + type Editor struct + Args []string + Shell bool + func NewDefaultEditor(envs []string) Editor + func (e Editor) Launch(path string) error + func (e Editor) LaunchTempFile(prefix, suffix string, r io.Reader) ([]byte, string, error)