Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCreateCmd ¶
NewCreateCmd builds a "svcat create class" command
func NewDescribeCmd ¶
NewDescribeCmd builds a "svcat describe class" command
Types ¶
type CreateCmd ¶
CreateCmd contains the information needed to create a new class
type DescribeCmd ¶ added in v0.1.43
type DescribeCmd struct { *command.Context *command.Namespaced *command.Scoped LookupByKubeName bool KubeName string Name string }
DescribeCmd contains the information needed to describe a specific class
func (*DescribeCmd) Run ¶ added in v0.1.43
func (c *DescribeCmd) Run() error
Run determines if we're getting a class by k8s name or external name, gets the details of the class, and prints the output to the user
func (*DescribeCmd) Validate ¶ added in v0.1.43
func (c *DescribeCmd) Validate(args []string) error
Validate checks that the required arguments have been provided
type GetCmd ¶ added in v0.1.43
type GetCmd struct { *command.Namespaced *command.Scoped *command.Formatted LookupByKubeName bool KubeName string Name string }
GetCmd contains the information needed to Get a specific class or all classes
Click to show internal directories.
Click to hide internal directories.