commands

package
v6.11.3+incompatible Latest Latest
Warning

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

Go to latest
Published: May 20, 2015 License: Apache-2.0 Imports: 30 Imported by: 105

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 core_config.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 AppManifestCreater

type AppManifestCreater interface {
	CreateAppManifest(app models.Application, orgName string, spaceName string)
}

type Authenticate

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

func NewAuthenticate

func NewAuthenticate(ui terminal.UI, config core_config.ReadWriter, authenticator authentication.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 core_config.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 CreateAppManifest

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

func NewCreateAppManifest

func NewCreateAppManifest(ui terminal.UI, config core_config.Reader, appSummaryRepo api.AppSummaryRepository, manifestGenerator manifest.AppManifest) (cmd *CreateAppManifest)

func (*CreateAppManifest) GetRequirements

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

func (*CreateAppManifest) Metadata

func (*CreateAppManifest) Run

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

type Curl

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

func NewCurl

func NewCurl(ui terminal.UI, config core_config.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 ListStack

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

func NewListStack

func NewListStack(ui terminal.UI, config core_config.Reader, stacksRepo stacks.StackRepository) (cmd ListStack)

func (ListStack) GetRequirements

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

func (ListStack) Metadata

func (ListStack) Run

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

type ListStacks

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

func NewListStacks

func NewListStacks(ui terminal.UI, config core_config.Reader, stacksRepo stacks.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 (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 core_config.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 OAuthToken

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

func (*OAuthToken) GetRequirements

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

func (*OAuthToken) Metadata

func (*OAuthToken) Run

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

type Password

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

func NewPassword

func NewPassword(ui terminal.UI, pwdRepo password.PasswordRepository, config core_config.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 core_config.ReadWriter,
	orgRepo organizations.OrganizationRepository,
	spaceRepo spaces.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)

Jump to

Keyboard shortcuts

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