Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdAPIResources ¶
func NewCmdAPIResources(f util.Factory, parentCommand string, ioStreams genericiooptions.IOStreams) *cobra.Command
NewCmdAPIResources creates the api-resources command
func NewCmdAPIVersions ¶
func NewCmdAPIVersions(f util.Factory, parentCommand string, ioStreams genericiooptions.IOStreams) *cobra.Command
NewCmdAPIVersions creates the api-versions command
Types ¶
type CommandAPIResourcesOptions ¶
type CommandAPIResourcesOptions struct { // flags specific to describe *kubectlapiresources.APIResourceOptions Cluster string OperationScope options.OperationScope }
CommandAPIResourcesOptions contains the input to the api-resources command.
func (*CommandAPIResourcesOptions) Complete ¶
func (o *CommandAPIResourcesOptions) Complete(f util.Factory, cmd *cobra.Command, args []string) error
Complete adapts from the command line args and validates them
func (*CommandAPIResourcesOptions) Run ¶
func (o *CommandAPIResourcesOptions) Run() error
Run does the work
func (*CommandAPIResourcesOptions) Validate ¶
func (o *CommandAPIResourcesOptions) Validate() error
Validate checks to the APIResourceOptions to see if there is sufficient information run the command
type CommandAPIVersionsOptions ¶
type CommandAPIVersionsOptions struct { // flags specific to api-versions *kubectlapiresources.APIVersionsOptions Cluster string OperationScope options.OperationScope }
CommandAPIVersionsOptions contains the input to the api-versions command.
func (*CommandAPIVersionsOptions) Complete ¶
func (o *CommandAPIVersionsOptions) Complete(f util.Factory, cmd *cobra.Command, args []string) error
Complete adapts from the command line args and factory to the data required
func (*CommandAPIVersionsOptions) Run ¶
func (o *CommandAPIVersionsOptions) Run() error
Run does the work
func (*CommandAPIVersionsOptions) Validate ¶
func (o *CommandAPIVersionsOptions) Validate() error
Validate checks to the APIVersionsOptions to see if there is sufficient information run the command
Click to show internal directories.
Click to hide internal directories.