Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdApply ¶ added in v0.0.15
NewCmdApply returns a cobra command.
Types ¶
type ApplyFlags ¶ added in v0.0.15
type ApplyFlags struct {
FileNameFlags *genericclioptions.FileNameFlags
}
func NewApplyFlags ¶ added in v0.0.15
func NewApplyFlags() *ApplyFlags
NewApplyFlags determines which flags will be added to the command The defaults are determined here
func (*ApplyFlags) AddFlags ¶ added in v0.0.15
func (r *ApplyFlags) AddFlags(cmd *cobra.Command)
AddFlags add flags to the command
func (*ApplyFlags) ToOptions ¶ added in v0.0.15
func (r *ApplyFlags) ToOptions(cmd *cobra.Command, f util.Factory, streams *genericclioptions.IOStreams) (*ApplyOptions, error)
ToOptions renders the options based on the flags that were set and will be the base context used to run the command
type ApplyOptions ¶ added in v0.0.15
type ApplyOptions struct { Factory util.Factory Streams *genericclioptions.IOStreams FileNameFlags *genericclioptions.FileNameFlags }
func (*ApplyOptions) GetObjects ¶ added in v0.0.15
func (r *ApplyOptions) GetObjects() ([]*resource.Info, error)
func (*ApplyOptions) Run ¶ added in v0.0.15
func (r *ApplyOptions) Run(ctx context.Context, args []string) error
func (*ApplyOptions) Validate ¶ added in v0.0.15
func (r *ApplyOptions) Validate(args []string) error
Click to show internal directories.
Click to hide internal directories.