cmd

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Add

type Add struct {
	clientcmd.ServiceCommand

	Args              AddArgs `positional-args:"true"`
	CACertificatePath string  `long:"ca-cert" description:"Environment CA certificate path"`

	FS boshsys.FileSystem
}

func (Add) Execute

func (c Add) Execute(args []string) error

type AddArgs

type AddArgs struct {
	URL string `positional-arg-name:"URI" description:"Environment URL"`
}

type GetClient

type GetClient func() (*svchttpclient.Client, error)

type Info

type Info struct {
	clientcmd.ServiceCommand

	GetClient GetClient
}

func (Info) Execute

func (c Info) Execute(args []string) error

type List

type List struct {
	clientcmd.ServiceCommand
}

func (List) Execute

func (c List) Execute(args []string) error

type SetOption added in v0.4.0

type SetOption struct {
	clientcmd.ServiceCommand

	Args              SetOptionArgs `positional-args:"true"`
	CACertificatePath string        `long:"ca-cert" description:"Environment CA certificate path"`

	FS boshsys.FileSystem
}

func (SetOption) Execute added in v0.4.0

func (c SetOption) Execute(args []string) error

type SetOptionArgs added in v0.4.0

type SetOptionArgs struct {
	Name  string `positional-arg-name:"NAME" description:"Client option name"`
	Value string `positional-arg-name:"VALUE" description:"Client option value (parsed as YAML)"`
}

Jump to

Keyboard shortcuts

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