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(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
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) Run ¶
func (cmd Authenticate) Run(c *cli.Context)
type Command ¶
type Command interface { GetRequirements(requirementsFactory 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.ReadWriter, 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, requirementsFactory 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.Reader, curlRepo api.CurlRepository) (cmd *Curl)
func (*Curl) GetRequirements ¶
func (cmd *Curl) GetRequirements(requirementsFactory requirements.Factory, c *cli.Context) (reqs []requirements.Requirement, err error)
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) 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(requirementsFactory 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, config configuration.ReadWriter) (cmd Logout)
func (Logout) GetRequirements ¶
func (cmd Logout) GetRequirements(requirementsFactory 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, config configuration.ReadWriter) (cmd Password)
func (Password) GetRequirements ¶
func (cmd Password) GetRequirements(requirementsFactory 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, 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)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.