kubernetes/staging/src/k8s.io/kubectl/pkg/cmd/apiresources/apiresources.go

var apiresourcesExample

type APIResourceOptions

type groupResource

// NewAPIResourceOptions creates the options for APIResource
func NewAPIResourceOptions(ioStreams genericiooptions.IOStreams) *APIResourceOptions {}

// NewCmdAPIResources creates the `api-resources` command
func NewCmdAPIResources(restClientGetter genericclioptions.RESTClientGetter, ioStreams genericiooptions.IOStreams) *cobra.Command {}

// Validate checks to the APIResourceOptions to see if there is sufficient information run the command
func (o *APIResourceOptions) Validate() error {}

// Complete adapts from the command line args and validates them
func (o *APIResourceOptions) Complete(restClientGetter genericclioptions.RESTClientGetter, cmd *cobra.Command, args []string) error {}

// RunAPIResources does the work
func (o *APIResourceOptions) RunAPIResources() error {}

func printContextHeaders(out io.Writer, output string) error {}

type sortableResource

func (s sortableResource) Len() int {}

func (s sortableResource) Swap(i, j int) {}

func (s sortableResource) Less(i, j int) bool {}

func (s sortableResource) compareValues(i, j int) (string, string) {}