package
0.0.0-20190809130647-038031d2e04b
Repository: https://github.com/it2911/kubectl-for-plugin-cfg.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

GetApplyPatch is used to get and apply patches.
NewDefaultEditor creates a struct Editor that uses the OS environment to locate the editor program, looking at EDITOR environment variable to find the proper command line.
NewEditOptions returns an initialized EditOptions instance.

# Constants

ApplyEditMode is an edit mode.
EditBeforeCreateMode is an edit mode.
NormalEditMode is an edit mode.

# Structs

EditOptions contains all the options for running edit cli command.
Editor holds the command-line args to fire up the editor.

# Type aliases

EditMode can be either NormalEditMode, EditBeforeCreateMode or ApplyEditMode.