Documentation ¶
Index ¶
- func NewFactory(ui terminal.UI, config *configuration.Configuration, ...) (factory apiRequirementFactory)
- type ApplicationRequirement
- type BuildpackRequirement
- type DomainRequirement
- type Factory
- type LoginRequirement
- type OrganizationRequirement
- type Requirement
- type ServiceInstanceRequirement
- type SpaceRequirement
- type TargetedOrgRequirement
- type TargetedSpaceRequirement
- type UserRequirement
- type ValidAccessTokenRequirement
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory(ui terminal.UI, config *configuration.Configuration, repoLocator api.RepositoryLocator) (factory apiRequirementFactory)
Types ¶
type ApplicationRequirement ¶
type ApplicationRequirement interface { Requirement GetApplication() cf.Application }
type BuildpackRequirement ¶
type BuildpackRequirement interface { Requirement GetBuildpack() cf.Buildpack }
type DomainRequirement ¶
type DomainRequirement interface { Requirement GetDomain() cf.Domain }
type Factory ¶
type Factory interface { NewApplicationRequirement(name string) ApplicationRequirement NewServiceInstanceRequirement(name string) ServiceInstanceRequirement NewLoginRequirement() Requirement NewValidAccessTokenRequirement() Requirement NewSpaceRequirement(name string) SpaceRequirement NewTargetedSpaceRequirement() Requirement NewTargetedOrgRequirement() TargetedOrgRequirement NewOrganizationRequirement(name string) OrganizationRequirement NewDomainRequirement(name string) DomainRequirement NewUserRequirement(username string) UserRequirement NewBuildpackRequirement(buildpack string) BuildpackRequirement }
type LoginRequirement ¶
type LoginRequirement struct {
// contains filtered or unexported fields
}
func (LoginRequirement) Execute ¶
func (req LoginRequirement) Execute() (success bool)
type OrganizationRequirement ¶
type OrganizationRequirement interface { Requirement GetOrganization() cf.Organization }
type Requirement ¶
type Requirement interface {
Execute() (success bool)
}
type ServiceInstanceRequirement ¶
type ServiceInstanceRequirement interface { Requirement GetServiceInstance() cf.ServiceInstance }
type SpaceRequirement ¶
type SpaceRequirement interface { Requirement GetSpace() cf.Space }
type TargetedOrgRequirement ¶
type TargetedOrgRequirement interface { Requirement GetOrganizationFields() cf.OrganizationFields }
type TargetedSpaceRequirement ¶
type TargetedSpaceRequirement struct {
// contains filtered or unexported fields
}
func (TargetedSpaceRequirement) Execute ¶
func (req TargetedSpaceRequirement) Execute() (success bool)
type UserRequirement ¶
type UserRequirement interface { Requirement GetUser() cf.UserFields }
type ValidAccessTokenRequirement ¶
type ValidAccessTokenRequirement struct {
// contains filtered or unexported fields
}
func (ValidAccessTokenRequirement) Execute ¶
func (req ValidAccessTokenRequirement) Execute() (success bool)
Click to show internal directories.
Click to hide internal directories.