Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdAPIResources ¶
NewCmdAPIResources creates the `api-resources` command
func NewCmdAPIVersions ¶
NewCmdAPIVersions creates the `api-versions` command
Types ¶
type ApiResourcesOptions ¶
type ApiResourcesOptions struct { Output string APIGroup string Namespaced bool Verbs []string NoHeaders bool Cached bool genericclioptions.IOStreams }
ApiResourcesOptions is the start of the data required to perform the operation. As new fields are added, add them here instead of referencing the cmd.Flags()
func NewAPIResourceOptions ¶
func NewAPIResourceOptions(ioStreams genericclioptions.IOStreams) *ApiResourcesOptions
func (*ApiResourcesOptions) Complete ¶
func (o *ApiResourcesOptions) Complete(cmd *cobra.Command, args []string) error
func (*ApiResourcesOptions) RunApiResources ¶
func (*ApiResourcesOptions) Validate ¶
func (o *ApiResourcesOptions) Validate() error
type ApiVersionsOptions ¶
type ApiVersionsOptions struct { genericclioptions.IOStreams // contains filtered or unexported fields }
func NewApiVersionsOptions ¶
func NewApiVersionsOptions(ioStreams genericclioptions.IOStreams) *ApiVersionsOptions
func (*ApiVersionsOptions) RunApiVersions ¶
func (o *ApiVersionsOptions) RunApiVersions() error
Click to show internal directories.
Click to hide internal directories.