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 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 ¶
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 arguements have been provided
type RegisterCmd ¶
type RegisterCmd struct { *command.Namespaced *command.Waitable Context *command.Context 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 arguements have been provided
Click to show internal directories.
Click to hide internal directories.