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.Configuration, endpointRepo api.EndpointRepository) (cmd Api)
func (Api) GetRequirements ¶
func (cmd Api) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
func (Api) SetApiEndpoint ¶
type ApiEndpointSetter ¶
type ApiEndpointSetter interface {
SetApiEndpoint(endpoint string)
}
type Authenticate ¶
type Authenticate struct {
// contains filtered or unexported fields
}
func NewAuthenticate ¶
func NewAuthenticate(ui terminal.UI, configRepo configuration.ConfigurationRepository, authenticator api.AuthenticationRepository) (cmd Authenticate)
func (Authenticate) GetRequirements ¶
func (cmd Authenticate) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
func (Authenticate) Run ¶
func (cmd Authenticate) Run(c *cli.Context)
type Command ¶
type Command interface { GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error) Run(c *cli.Context) }
type ConcreteFactory ¶
type ConcreteFactory struct {
// contains filtered or unexported fields
}
func NewFactory ¶
func NewFactory(ui terminal.UI, config *configuration.Configuration, configRepo configuration.ConfigurationRepository, manifestRepo manifest.ManifestRepository, repoLocator api.RepositoryLocator) (factory ConcreteFactory)
func (ConcreteFactory) GetByCmdName ¶
func (f ConcreteFactory) GetByCmdName(cmdName string) (cmd Command, err error)
type ConcreteRunner ¶
type ConcreteRunner struct {
// contains filtered or unexported fields
}
func NewRunner ¶
func NewRunner(cmdFactory Factory, reqFactory requirements.Factory) (runner ConcreteRunner)
func (ConcreteRunner) RunCmdByName ¶
func (runner ConcreteRunner) RunCmdByName(cmdName string, c *cli.Context) (err error)
type Curl ¶
type Curl struct {
// contains filtered or unexported fields
}
func NewCurl ¶
func NewCurl(ui terminal.UI, config *configuration.Configuration, curlRepo api.CurlRepository) (cmd *Curl)
func (*Curl) GetRequirements ¶
func (cmd *Curl) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
type Login ¶
type Login struct {
// contains filtered or unexported fields
}
func NewLogin ¶
func NewLogin(ui terminal.UI, configRepo configuration.ConfigurationRepository, authenticator api.AuthenticationRepository, endpointRepo api.EndpointRepository, orgRepo api.OrganizationRepository, spaceRepo api.SpaceRepository) (cmd Login)
func (Login) GetRequirements ¶
func (cmd Login) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
type Logout ¶
type Logout struct {
// contains filtered or unexported fields
}
func NewLogout ¶
func NewLogout(ui terminal.UI, configRepo configuration.ConfigurationRepository) (cmd Logout)
func (Logout) GetRequirements ¶
func (cmd Logout) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
type Password ¶
type Password struct {
// contains filtered or unexported fields
}
func NewPassword ¶
func NewPassword(ui terminal.UI, pwdRepo api.PasswordRepository, configRepo configuration.ConfigurationRepository) (cmd Password)
func (Password) GetRequirements ¶
func (cmd Password) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
type Stacks ¶
type Stacks struct {
// contains filtered or unexported fields
}
func NewStacks ¶
func NewStacks(ui terminal.UI, config *configuration.Configuration, stacksRepo api.StackRepository) (cmd *Stacks)
func (*Stacks) GetRequirements ¶
func (cmd *Stacks) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
type Target ¶
type Target struct {
// contains filtered or unexported fields
}
func NewTarget ¶
func NewTarget(ui terminal.UI, configRepo configuration.ConfigurationRepository, orgRepo api.OrganizationRepository, spaceRepo api.SpaceRepository) (cmd Target)
func (Target) GetRequirements ¶
func (cmd Target) GetRequirements(reqFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.