Documentation ¶
Index ¶
- func NewDeregisterCmd(cxt *command.Context) *cobra.Command
- func NewDescribeCmd(cxt *command.Context) *cobra.Command
- func NewGetCmd(cxt *command.Context) *cobra.Command
- func NewRegisterCmd(cxt *command.Context) *cobra.Command
- func NewSyncCmd(cxt *command.Context) *cobra.Command
- type DeregisterCmd
- type DescribeCmd
- type GetCmd
- type RegisterCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeregisterCmd ¶
NewDeregisterCmd builds a "svcat deregister" command
func NewDescribeCmd ¶
NewDescribeCmd builds a "svcat describe broker" command
func NewRegisterCmd ¶
NewRegisterCmd builds a "svcat register" command
Types ¶
type DeregisterCmd ¶
type DeregisterCmd struct { *command.Namespaced *command.Scoped *command.Waitable BrokerName string }
DeregisterCmd contains the info needed to delete a broker
func (*DeregisterCmd) Deregister ¶
func (c *DeregisterCmd) Deregister() error
Deregister calls out to the pkg lib to delete the broker and display the output
func (*DeregisterCmd) Validate ¶
func (c *DeregisterCmd) Validate(args []string) error
Validate checks that the required arguments have been provided
type DescribeCmd ¶ added in v0.1.43
DescribeCmd contains the info needed to describe a broker in detail
func (*DescribeCmd) Run ¶ added in v0.1.43
func (c *DescribeCmd) Run() error
Run retrieves the broker(s) with the requested name, interprets possible errors if we need to ask the user for more info, and displays the found broker 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
GetCmd contains the information needed to get a broker or list of brokers
type RegisterCmd ¶
type RegisterCmd struct { *command.Namespaced *command.Scoped *command.Waitable BasicSecret string BearerSecret string BrokerName string CAFile string ClassRestrictions []string PlanRestrictions []string SkipTLS bool RelistBehavior string RelistDuration time.Duration URL string }
RegisterCmd contains the information needed to register a broker
func (*RegisterCmd) Run ¶
func (c *RegisterCmd) Run() error
Run creates the broker and then displays the broker details
func (*RegisterCmd) Validate ¶
func (c *RegisterCmd) Validate(args []string) error
Validate checks that the required arguments have been provided