commands

package
v6.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2014 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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 ConfigCommands

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

func NewConfig

func NewConfig(ui terminal.UI, config configuration.ReadWriter) ConfigCommands

func (ConfigCommands) GetRequirements

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

func (ConfigCommands) Metadata

func (ConfigCommands) Run

func (cmd ConfigCommands) Run(context *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 (cmd *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 (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 (cmd 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 (cmd 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 (cmd 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 (cmd 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