commands

package
v6.1.2+incompatible Latest Latest
Warning

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

Go to latest
Published: May 7, 2014 License: Apache-2.0 Imports: 15 Imported by: 51

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Api

type Api struct {
	// contains filtered or unexported fields
}

func NewApi

func NewApi(ui terminal.UI, config configuration.ReadWriter, endpointRepo api.EndpointRepository) (cmd Api)

func (Api) GetRequirements

func (cmd Api) GetRequirements(_ requirements.Factory, _ *cli.Context) (reqs []requirements.Requirement, err error)

func (Api) Metadata

func (cmd Api) Metadata() command_metadata.CommandMetadata

func (Api) Run

func (cmd Api) Run(c *cli.Context)

type Authenticate

type Authenticate struct {
	// contains filtered or unexported fields
}

func NewAuthenticate

func NewAuthenticate(ui terminal.UI, config configuration.ReadWriter, authenticator api.AuthenticationRepository) (cmd Authenticate)

func (Authenticate) GetRequirements

func (cmd Authenticate) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (Authenticate) Metadata

func (Authenticate) Run

func (cmd Authenticate) Run(c *cli.Context)

type Curl

type Curl struct {
	// contains filtered or unexported fields
}

func NewCurl

func NewCurl(ui terminal.UI, config configuration.Reader, curlRepo api.CurlRepository) (cmd *Curl)

func (*Curl) GetRequirements

func (cmd *Curl) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (*Curl) Metadata

func (command *Curl) Metadata() command_metadata.CommandMetadata

func (*Curl) Run

func (cmd *Curl) Run(c *cli.Context)

type ListStacks

type ListStacks struct {
	// contains filtered or unexported fields
}

func NewListStacks

func NewListStacks(ui terminal.UI, config configuration.Reader, stacksRepo api.StackRepository) (cmd ListStacks)

func (ListStacks) GetRequirements

func (cmd ListStacks) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (ListStacks) Metadata

func (command ListStacks) Metadata() command_metadata.CommandMetadata

func (ListStacks) Run

func (cmd ListStacks) Run(c *cli.Context)

type Login

type Login struct {
	// contains filtered or unexported fields
}

func NewLogin

func NewLogin(ui terminal.UI,
	config configuration.ReadWriter,
	authenticator api.AuthenticationRepository,
	endpointRepo api.EndpointRepository,
	orgRepo api.OrganizationRepository,
	spaceRepo api.SpaceRepository) (cmd Login)

func (Login) GetRequirements

func (cmd Login) GetRequirements(_ requirements.Factory, _ *cli.Context) (reqs []requirements.Requirement, err error)

func (Login) Metadata

func (command Login) Metadata() command_metadata.CommandMetadata

func (Login) Run

func (cmd Login) Run(c *cli.Context)

type Logout

type Logout struct {
	// contains filtered or unexported fields
}

func NewLogout

func NewLogout(ui terminal.UI, config configuration.ReadWriter) (cmd Logout)

func (Logout) GetRequirements

func (cmd Logout) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (Logout) Metadata

func (command Logout) Metadata() command_metadata.CommandMetadata

func (Logout) Run

func (cmd Logout) Run(c *cli.Context)

type Password

type Password struct {
	// contains filtered or unexported fields
}

func NewPassword

func NewPassword(ui terminal.UI, pwdRepo api.PasswordRepository, config configuration.ReadWriter) (cmd Password)

func (Password) GetRequirements

func (cmd Password) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (Password) Metadata

func (command Password) Metadata() command_metadata.CommandMetadata

func (Password) Run

func (cmd Password) Run(c *cli.Context)

type Target

type Target struct {
	// contains filtered or unexported fields
}

func NewTarget

func NewTarget(ui terminal.UI,
	config configuration.ReadWriter,
	orgRepo api.OrganizationRepository,
	spaceRepo api.SpaceRepository) (cmd Target)

func (Target) GetRequirements

func (cmd Target) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)

func (Target) Metadata

func (command Target) Metadata() command_metadata.CommandMetadata

func (Target) Run

func (cmd Target) Run(c *cli.Context)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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