Documentation ¶
Index ¶
- type FakeReqFactory
- func (f *FakeReqFactory) NewApplicationRequirement(name string) requirements.ApplicationRequirement
- func (f *FakeReqFactory) NewBuildpackRequirement(buildpack string) requirements.BuildpackRequirement
- func (f *FakeReqFactory) NewDomainRequirement(name string) requirements.DomainRequirement
- func (f *FakeReqFactory) NewLoginRequirement() requirements.Requirement
- func (f *FakeReqFactory) NewOrganizationRequirement(name string) requirements.OrganizationRequirement
- func (f *FakeReqFactory) NewServiceInstanceRequirement(name string) requirements.ServiceInstanceRequirement
- func (f *FakeReqFactory) NewSpaceRequirement(name string) requirements.SpaceRequirement
- func (f *FakeReqFactory) NewTargetedOrgRequirement() requirements.TargetedOrgRequirement
- func (f *FakeReqFactory) NewTargetedSpaceRequirement() requirements.Requirement
- func (f *FakeReqFactory) NewUserRequirement(username string) requirements.UserRequirement
- func (f *FakeReqFactory) NewValidAccessTokenRequirement() requirements.Requirement
- type FakeRequirement
- func (r FakeRequirement) Execute() (success bool)
- func (r FakeRequirement) GetApplication() cf.Application
- func (r FakeRequirement) GetBuildpack() cf.Buildpack
- func (r FakeRequirement) GetDomain() cf.Domain
- func (r FakeRequirement) GetOrganization() cf.Organization
- func (r FakeRequirement) GetOrganizationFields() cf.OrganizationFields
- func (r FakeRequirement) GetRoute() cf.Route
- func (r FakeRequirement) GetServiceInstance() cf.ServiceInstance
- func (r FakeRequirement) GetSpace() cf.Space
- func (r FakeRequirement) GetUser() cf.UserFields
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeReqFactory ¶
type FakeReqFactory struct { ApplicationName string Application cf.Application ServiceInstanceName string ServiceInstance cf.ServiceInstance LoginSuccess bool ValidAccessTokenSuccess bool TargetedSpaceSuccess bool TargetedOrgSuccess bool BuildpackSuccess bool SpaceName string Space cf.Space OrganizationName string Organization cf.Organization OrganizationFields cf.OrganizationFields RouteHost string RouteDomain string Route cf.Route DomainName string Domain cf.Domain UserUsername string UserFields cf.UserFields Buildpack cf.Buildpack }
func (*FakeReqFactory) NewApplicationRequirement ¶
func (f *FakeReqFactory) NewApplicationRequirement(name string) requirements.ApplicationRequirement
func (*FakeReqFactory) NewBuildpackRequirement ¶
func (f *FakeReqFactory) NewBuildpackRequirement(buildpack string) requirements.BuildpackRequirement
func (*FakeReqFactory) NewDomainRequirement ¶
func (f *FakeReqFactory) NewDomainRequirement(name string) requirements.DomainRequirement
func (*FakeReqFactory) NewLoginRequirement ¶
func (f *FakeReqFactory) NewLoginRequirement() requirements.Requirement
func (*FakeReqFactory) NewOrganizationRequirement ¶
func (f *FakeReqFactory) NewOrganizationRequirement(name string) requirements.OrganizationRequirement
func (*FakeReqFactory) NewServiceInstanceRequirement ¶
func (f *FakeReqFactory) NewServiceInstanceRequirement(name string) requirements.ServiceInstanceRequirement
func (*FakeReqFactory) NewSpaceRequirement ¶
func (f *FakeReqFactory) NewSpaceRequirement(name string) requirements.SpaceRequirement
func (*FakeReqFactory) NewTargetedOrgRequirement ¶
func (f *FakeReqFactory) NewTargetedOrgRequirement() requirements.TargetedOrgRequirement
func (*FakeReqFactory) NewTargetedSpaceRequirement ¶
func (f *FakeReqFactory) NewTargetedSpaceRequirement() requirements.Requirement
func (*FakeReqFactory) NewUserRequirement ¶
func (f *FakeReqFactory) NewUserRequirement(username string) requirements.UserRequirement
func (*FakeReqFactory) NewValidAccessTokenRequirement ¶
func (f *FakeReqFactory) NewValidAccessTokenRequirement() requirements.Requirement
type FakeRequirement ¶
type FakeRequirement struct {
// contains filtered or unexported fields
}
func (FakeRequirement) Execute ¶
func (r FakeRequirement) Execute() (success bool)
func (FakeRequirement) GetApplication ¶
func (r FakeRequirement) GetApplication() cf.Application
func (FakeRequirement) GetBuildpack ¶
func (r FakeRequirement) GetBuildpack() cf.Buildpack
func (FakeRequirement) GetDomain ¶
func (r FakeRequirement) GetDomain() cf.Domain
func (FakeRequirement) GetOrganization ¶
func (r FakeRequirement) GetOrganization() cf.Organization
func (FakeRequirement) GetOrganizationFields ¶
func (r FakeRequirement) GetOrganizationFields() cf.OrganizationFields
func (FakeRequirement) GetRoute ¶
func (r FakeRequirement) GetRoute() cf.Route
func (FakeRequirement) GetServiceInstance ¶
func (r FakeRequirement) GetServiceInstance() cf.ServiceInstance
func (FakeRequirement) GetSpace ¶
func (r FakeRequirement) GetSpace() cf.Space
func (FakeRequirement) GetUser ¶
func (r FakeRequirement) GetUser() cf.UserFields
Click to show internal directories.
Click to hide internal directories.