instance

package
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDeprovisionCmd

func NewDeprovisionCmd(cxt *command.Context) *cobra.Command

NewDeprovisionCmd builds a "svcat deprovision" command

func NewDescribeCmd

func NewDescribeCmd(cxt *command.Context) *cobra.Command

NewDescribeCmd builds a "svcat describe instance" command

func NewGetCmd

func NewGetCmd(cxt *command.Context) *cobra.Command

NewGetCmd builds a "svcat get instances" command

func NewProvisionCmd

func NewProvisionCmd(cxt *command.Context) *cobra.Command

NewProvisionCmd builds a "svcat provision" command

func NewTouchCommand

func NewTouchCommand(cxt *command.Context) *cobra.Command

NewTouchCommand builds a "svcat touch instance" 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL