Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCmdDescribe ¶
func NewCmdDescribe(parent string, f cmdutil.Factory, streams genericiooptions.IOStreams) *cobra.Command
Types ¶
type DescribeFlags ¶ added in v0.26.0
type DescribeFlags struct {
Factory cmdutil.Factory
Selector string
AllNamespaces bool
FilenameOptions *resource.FilenameOptions
DescriberSettings *describe.DescriberSettings
genericiooptions.IOStreams
}
DescribeFlags directly reflect the information that CLI is gathering via flags. They will be converted to Options, which reflect the runtime requirements for the command.
func NewDescribeFlags ¶ added in v0.26.0
func NewDescribeFlags(f cmdutil.Factory, streams genericiooptions.IOStreams) *DescribeFlags
NewDescribeFlags returns a default DescribeFlags
type DescribeOptions ¶
type DescribeOptions struct {
CmdParent string
Selector string
Namespace string
Describer func(*meta.RESTMapping) (describe.ResourceDescriber, error)
NewBuilder func() *resource.Builder
BuilderArgs []string
EnforceNamespace bool
AllNamespaces bool
DescriberSettings *describe.DescriberSettings
FilenameOptions *resource.FilenameOptions
genericiooptions.IOStreams
}
func (*DescribeOptions) DescribeMatchingResources ¶
func (o *DescribeOptions) DescribeMatchingResources(originalError error, resource, prefix string) error
Click to show internal directories.
Click to hide internal directories.