apiresources

package
v1.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL