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

var apiversionsExample

type APIVersionsOptions

// NewAPIVersionsOptions creates the options for APIVersions
func NewAPIVersionsOptions(ioStreams genericiooptions.IOStreams) *APIVersionsOptions {}

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

// Complete adapts from the command line args and factory to the data required
func (o *APIVersionsOptions) Complete(restClientGetter genericclioptions.RESTClientGetter, cmd *cobra.Command, args []string) error {}

// RunAPIVersions does the work
func (o *APIVersionsOptions) RunAPIVersions() error {}