apiresources

package
v1.13.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdApiResources

func NewCmdApiResources(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.Command

func NewCmdApiVersions

func NewCmdApiVersions(f cmdutil.Factory, ioStreams genericclioptions.IOStreams) *cobra.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) RunApiResources

func (o *ApiResourcesOptions) RunApiResources(cmd *cobra.Command, f cmdutil.Factory) error

func (*ApiResourcesOptions) Validate

func (o *ApiResourcesOptions) Validate(cmd *cobra.Command) error

type ApiVersionsOptions

type ApiVersionsOptions struct {
	genericclioptions.IOStreams
	// contains filtered or unexported fields
}

func NewApiVersionsOptions

func NewApiVersionsOptions(ioStreams genericclioptions.IOStreams) *ApiVersionsOptions

func (*ApiVersionsOptions) Complete

func (o *ApiVersionsOptions) Complete(f cmdutil.Factory) error

func (*ApiVersionsOptions) RunApiVersions

func (o *ApiVersionsOptions) RunApiVersions() error

Jump to

Keyboard shortcuts

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