Documentation ¶
Index ¶
- func NewDeprovisionCmd(cxt *command.Context) *cobra.Command
- func NewDescribeCmd(cxt *command.Context) *cobra.Command
- func NewGetCmd(cxt *command.Context) *cobra.Command
- func NewProvisionCmd(cxt *command.Context) *cobra.Command
- func NewTouchCommand(cxt *command.Context) *cobra.Command
- type ProvisionCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeprovisionCmd ¶
NewDeprovisionCmd builds a "svcat deprovision" command
func NewDescribeCmd ¶
NewDescribeCmd builds a "svcat describe instance" command
func NewProvisionCmd ¶
NewProvisionCmd builds a "svcat provision" command
Types ¶
type ProvisionCmd ¶ added in v0.2.0
type ProvisionCmd struct { *command.Namespaced *command.Waitable ClassKubeName string ClassName string ExternalID string InstanceName string JSONParams string LookupByKubeName bool Params interface{} PlanKubeName string PlanName string ProvisionClusterInstance bool RawParams []string RawSecrets []string Secrets map[string]string }
ProvisionCmd contains the info needed to provision a new service instance
func (*ProvisionCmd) Run ¶ added in v0.2.0
func (c *ProvisionCmd) Run() error
Run calls the Provision method
func (*ProvisionCmd) Validate ¶ added in v0.2.0
func (c *ProvisionCmd) Validate(args []string) error
Validate ensures the required args were provided and parses provided params and secrets
Click to show internal directories.
Click to hide internal directories.