package explain
import "k8s.io/kubernetes/pkg/kubectl/cmd/explain"
Index ¶
- func NewCmdExplain(parent string, f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
- type ExplainOptions
Functions ¶
func NewCmdExplain ¶
func NewCmdExplain(parent string, f cmdutil.Factory, streams genericclioptions.IOStreams) *cobra.Command
NewCmdExplain returns a cobra command for swagger docs
Types ¶
type ExplainOptions ¶
type ExplainOptions struct { genericclioptions.IOStreams CmdParent string APIVersion string Recursive bool Mapper meta.RESTMapper Schema openapi.Resources }
func NewExplainOptions ¶
func NewExplainOptions(parent string, streams genericclioptions.IOStreams) *ExplainOptions
func (*ExplainOptions) Complete ¶
func (*ExplainOptions) Run ¶
func (o *ExplainOptions) Run(args []string) error
Run executes the appropriate steps to print a model's documentation
func (*ExplainOptions) Validate ¶
func (o *ExplainOptions) Validate(args []string) error
Source Files ¶
explain.go
- Version
- v1.14.0-beta.2
- Published
- Mar 12, 2019
- Platform
- js/wasm
- Imports
- 10 packages
- Last checked
- 1 minute ago –
Tools for package owners.