class

package
v3.11.0-0.1.35+incompa... Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateCmd

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

NewCreateCmd builds a "svcat create class" command

func NewDescribeCmd

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

NewDescribeCmd builds a "svcat describe class" command

func NewGetCmd

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

NewGetCmd builds a "svcat get classes" command

Types

type CreateCmd

type CreateCmd struct {
	*command.Namespaced
	*command.Scoped
	Name string
	From string
}

CreateCmd contains the information needed to create a new class

func (*CreateCmd) Run

func (c *CreateCmd) Run() error

Run calls out to the pkg lib to create the class and displays the output

func (*CreateCmd) Validate

func (c *CreateCmd) Validate(args []string) error

Validate checks that the required arguments have been provided

Jump to

Keyboard shortcuts

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