Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdAPIResources ¶ added in v0.0.15
NewCmdApply returns a cobra command.
Types ¶
type APIResourcesFlags ¶ added in v0.0.15
type APIResourcesFlags struct{}
func NewAPIResourcesFlags ¶ added in v0.0.15
func NewAPIResourcesFlags() *APIResourcesFlags
func (*APIResourcesFlags) AddFlags ¶ added in v0.0.15
func (r *APIResourcesFlags) AddFlags(cmd *cobra.Command)
AddFlags add flags to the command
func (*APIResourcesFlags) ToOptions ¶ added in v0.0.15
func (r *APIResourcesFlags) ToOptions(cmd *cobra.Command, f util.Factory, streams *genericclioptions.IOStreams) (*APIResourcesOptions, error)
ToOptions renders the options based on the flags that were set and will be the base context used to run the command
type APIResourcesOptions ¶ added in v0.0.15
type APIResourcesOptions struct {
Factory util.Factory
Streams *genericclioptions.IOStreams
Output string
}
func (*APIResourcesOptions) Complete ¶ added in v0.0.15
func (r *APIResourcesOptions) Complete() error
Complete adapts from the command line args and validates them
func (*APIResourcesOptions) Run ¶ added in v0.0.15
func (r *APIResourcesOptions) Run(ctx context.Context) error
func (*APIResourcesOptions) Validate ¶ added in v0.0.15
func (r *APIResourcesOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.