Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdExplain ¶
func NewCmdExplain(f util.Factory, parentCommand string, streams genericiooptions.IOStreams) *cobra.Command
NewCmdExplain new explain command.
Types ¶
type CommandExplainOptions ¶
type CommandExplainOptions struct { // flags specific to explain *kubectlexplain.ExplainOptions Cluster string OperationScope options.OperationScope }
CommandExplainOptions contains the input to the explain command.
func (*CommandExplainOptions) Complete ¶
Complete ensures that options are valid and marshals them if necessary
func (*CommandExplainOptions) Run ¶
func (o *CommandExplainOptions) Run() error
Run executes the appropriate steps to print a model's documentation
func (*CommandExplainOptions) Validate ¶
func (o *CommandExplainOptions) Validate() error
Validate checks that the provided explain options are specified
Click to show internal directories.
Click to hide internal directories.