Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CustomEditOptions ¶ added in v0.6.0
type CustomEditOptions struct { Factory cmdutil.Factory PrintFlags *genericclioptions.PrintFlags Method string TestEnv bool genericclioptions.IOStreams }
CustomEditOptions is used to edit the resource manifest when creating or updating the resource, instead of using -o yaml to output the yaml file before editing the manifest.
func NewCustomEditOptions ¶ added in v0.6.0
func NewCustomEditOptions(f cmdutil.Factory, streams genericclioptions.IOStreams, method string) *CustomEditOptions
type EditOptions ¶
type EditOptions struct { editor.EditOptions Factory cmdutil.Factory // Name is the resource name Name string GVR schema.GroupVersionResource }
func NewEditOptions ¶
func NewEditOptions(f cmdutil.Factory, streams genericclioptions.IOStreams, gvr schema.GroupVersionResource) *EditOptions
func (*EditOptions) AddFlags ¶
func (o *EditOptions) AddFlags(cmd *cobra.Command)
Click to show internal directories.
Click to hide internal directories.