Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeApplicationRequirement
- func (fake *FakeApplicationRequirement) Execute() (success bool)
- func (fake *FakeApplicationRequirement) ExecuteCallCount() int
- func (fake *FakeApplicationRequirement) ExecuteReturns(result1 bool)
- func (fake *FakeApplicationRequirement) GetApplication() models.Application
- func (fake *FakeApplicationRequirement) GetApplicationCallCount() int
- func (fake *FakeApplicationRequirement) GetApplicationReturns(result1 models.Application)
- type FakeFactory
- func (fake *FakeFactory) NewApiEndpointRequirement() requirements.Requirement
- func (fake *FakeFactory) NewApiEndpointRequirementCallCount() int
- func (fake *FakeFactory) NewApiEndpointRequirementReturns(result1 requirements.Requirement)
- func (fake *FakeFactory) NewApplicationRequirement(name string) requirements.ApplicationRequirement
- func (fake *FakeFactory) NewApplicationRequirementArgsForCall(i int) string
- func (fake *FakeFactory) NewApplicationRequirementCallCount() int
- func (fake *FakeFactory) NewApplicationRequirementReturns(result1 requirements.ApplicationRequirement)
- func (fake *FakeFactory) NewBuildpackRequirement(buildpack string) requirements.BuildpackRequirement
- func (fake *FakeFactory) NewBuildpackRequirementArgsForCall(i int) string
- func (fake *FakeFactory) NewBuildpackRequirementCallCount() int
- func (fake *FakeFactory) NewBuildpackRequirementReturns(result1 requirements.BuildpackRequirement)
- func (fake *FakeFactory) NewDomainRequirement(name string) requirements.DomainRequirement
- func (fake *FakeFactory) NewDomainRequirementArgsForCall(i int) string
- func (fake *FakeFactory) NewDomainRequirementCallCount() int
- func (fake *FakeFactory) NewDomainRequirementReturns(result1 requirements.DomainRequirement)
- func (fake *FakeFactory) NewLoginRequirement() requirements.Requirement
- func (fake *FakeFactory) NewLoginRequirementCallCount() int
- func (fake *FakeFactory) NewLoginRequirementReturns(result1 requirements.Requirement)
- func (fake *FakeFactory) NewMinAPIVersionRequirement(commandName string, requiredVersion semver.Version) requirements.Requirement
- func (fake *FakeFactory) NewMinAPIVersionRequirementArgsForCall(i int) (string, semver.Version)
- func (fake *FakeFactory) NewMinAPIVersionRequirementCallCount() int
- func (fake *FakeFactory) NewMinAPIVersionRequirementReturns(result1 requirements.Requirement)
- func (fake *FakeFactory) NewOrganizationRequirement(name string) requirements.OrganizationRequirement
- func (fake *FakeFactory) NewOrganizationRequirementArgsForCall(i int) string
- func (fake *FakeFactory) NewOrganizationRequirementCallCount() int
- func (fake *FakeFactory) NewOrganizationRequirementReturns(result1 requirements.OrganizationRequirement)
- func (fake *FakeFactory) NewRoutingAPIRequirement() requirements.Requirement
- func (fake *FakeFactory) NewRoutingAPIRequirementCallCount() int
- func (fake *FakeFactory) NewRoutingAPIRequirementReturns(result1 requirements.Requirement)
- func (fake *FakeFactory) NewServiceInstanceRequirement(name string) requirements.ServiceInstanceRequirement
- func (fake *FakeFactory) NewServiceInstanceRequirementArgsForCall(i int) string
- func (fake *FakeFactory) NewServiceInstanceRequirementCallCount() int
- func (fake *FakeFactory) NewServiceInstanceRequirementReturns(result1 requirements.ServiceInstanceRequirement)
- func (fake *FakeFactory) NewSpaceRequirement(name string) requirements.SpaceRequirement
- func (fake *FakeFactory) NewSpaceRequirementArgsForCall(i int) string
- func (fake *FakeFactory) NewSpaceRequirementCallCount() int
- func (fake *FakeFactory) NewSpaceRequirementReturns(result1 requirements.SpaceRequirement)
- func (fake *FakeFactory) NewTargetedOrgRequirement() requirements.TargetedOrgRequirement
- func (fake *FakeFactory) NewTargetedOrgRequirementCallCount() int
- func (fake *FakeFactory) NewTargetedOrgRequirementReturns(result1 requirements.TargetedOrgRequirement)
- func (fake *FakeFactory) NewTargetedSpaceRequirement() requirements.Requirement
- func (fake *FakeFactory) NewTargetedSpaceRequirementCallCount() int
- func (fake *FakeFactory) NewTargetedSpaceRequirementReturns(result1 requirements.Requirement)
- func (fake *FakeFactory) NewUserRequirement(username string, wantGuid bool) requirements.UserRequirement
- func (fake *FakeFactory) NewUserRequirementArgsForCall(i int) (string, bool)
- func (fake *FakeFactory) NewUserRequirementCallCount() int
- func (fake *FakeFactory) NewUserRequirementReturns(result1 requirements.UserRequirement)
- type FakeOrganizationRequirement
- func (fake *FakeOrganizationRequirement) Execute() (success bool)
- func (fake *FakeOrganizationRequirement) ExecuteCallCount() int
- func (fake *FakeOrganizationRequirement) ExecuteReturns(result1 bool)
- func (fake *FakeOrganizationRequirement) GetOrganization() models.Organization
- func (fake *FakeOrganizationRequirement) GetOrganizationCallCount() int
- func (fake *FakeOrganizationRequirement) GetOrganizationReturns(result1 models.Organization)
- func (fake *FakeOrganizationRequirement) SetOrganizationName(arg1 string)
- func (fake *FakeOrganizationRequirement) SetOrganizationNameArgsForCall(i int) string
- func (fake *FakeOrganizationRequirement) SetOrganizationNameCallCount() int
- type FakeUserRequirement
- func (fake *FakeUserRequirement) Execute() (success bool)
- func (fake *FakeUserRequirement) ExecuteCallCount() int
- func (fake *FakeUserRequirement) ExecuteReturns(result1 bool)
- func (fake *FakeUserRequirement) GetUser() models.UserFields
- func (fake *FakeUserRequirement) GetUserCallCount() int
- func (fake *FakeUserRequirement) GetUserReturns(result1 models.UserFields)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeApplicationRequirement ¶
type FakeApplicationRequirement struct { ExecuteStub func() (success bool) GetApplicationStub func() models.Application // contains filtered or unexported fields }
func (*FakeApplicationRequirement) Execute ¶
func (fake *FakeApplicationRequirement) Execute() (success bool)
func (*FakeApplicationRequirement) ExecuteCallCount ¶
func (fake *FakeApplicationRequirement) ExecuteCallCount() int
func (*FakeApplicationRequirement) ExecuteReturns ¶
func (fake *FakeApplicationRequirement) ExecuteReturns(result1 bool)
func (*FakeApplicationRequirement) GetApplication ¶
func (fake *FakeApplicationRequirement) GetApplication() models.Application
func (*FakeApplicationRequirement) GetApplicationCallCount ¶
func (fake *FakeApplicationRequirement) GetApplicationCallCount() int
func (*FakeApplicationRequirement) GetApplicationReturns ¶
func (fake *FakeApplicationRequirement) GetApplicationReturns(result1 models.Application)
type FakeFactory ¶
type FakeFactory struct { NewApplicationRequirementStub func(name string) requirements.ApplicationRequirement NewServiceInstanceRequirementStub func(name string) requirements.ServiceInstanceRequirement NewLoginRequirementStub func() requirements.Requirement NewRoutingAPIRequirementStub func() requirements.Requirement NewSpaceRequirementStub func(name string) requirements.SpaceRequirement NewTargetedSpaceRequirementStub func() requirements.Requirement NewTargetedOrgRequirementStub func() requirements.TargetedOrgRequirement NewOrganizationRequirementStub func(name string) requirements.OrganizationRequirement NewDomainRequirementStub func(name string) requirements.DomainRequirement NewUserRequirementStub func(username string, wantGuid bool) requirements.UserRequirement NewBuildpackRequirementStub func(buildpack string) requirements.BuildpackRequirement NewApiEndpointRequirementStub func() requirements.Requirement NewMinAPIVersionRequirementStub func(commandName string, requiredVersion semver.Version) requirements.Requirement // contains filtered or unexported fields }
func (*FakeFactory) NewApiEndpointRequirement ¶
func (fake *FakeFactory) NewApiEndpointRequirement() requirements.Requirement
func (*FakeFactory) NewApiEndpointRequirementCallCount ¶
func (fake *FakeFactory) NewApiEndpointRequirementCallCount() int
func (*FakeFactory) NewApiEndpointRequirementReturns ¶
func (fake *FakeFactory) NewApiEndpointRequirementReturns(result1 requirements.Requirement)
func (*FakeFactory) NewApplicationRequirement ¶
func (fake *FakeFactory) NewApplicationRequirement(name string) requirements.ApplicationRequirement
func (*FakeFactory) NewApplicationRequirementArgsForCall ¶
func (fake *FakeFactory) NewApplicationRequirementArgsForCall(i int) string
func (*FakeFactory) NewApplicationRequirementCallCount ¶
func (fake *FakeFactory) NewApplicationRequirementCallCount() int
func (*FakeFactory) NewApplicationRequirementReturns ¶
func (fake *FakeFactory) NewApplicationRequirementReturns(result1 requirements.ApplicationRequirement)
func (*FakeFactory) NewBuildpackRequirement ¶
func (fake *FakeFactory) NewBuildpackRequirement(buildpack string) requirements.BuildpackRequirement
func (*FakeFactory) NewBuildpackRequirementArgsForCall ¶
func (fake *FakeFactory) NewBuildpackRequirementArgsForCall(i int) string
func (*FakeFactory) NewBuildpackRequirementCallCount ¶
func (fake *FakeFactory) NewBuildpackRequirementCallCount() int
func (*FakeFactory) NewBuildpackRequirementReturns ¶
func (fake *FakeFactory) NewBuildpackRequirementReturns(result1 requirements.BuildpackRequirement)
func (*FakeFactory) NewDomainRequirement ¶
func (fake *FakeFactory) NewDomainRequirement(name string) requirements.DomainRequirement
func (*FakeFactory) NewDomainRequirementArgsForCall ¶
func (fake *FakeFactory) NewDomainRequirementArgsForCall(i int) string
func (*FakeFactory) NewDomainRequirementCallCount ¶
func (fake *FakeFactory) NewDomainRequirementCallCount() int
func (*FakeFactory) NewDomainRequirementReturns ¶
func (fake *FakeFactory) NewDomainRequirementReturns(result1 requirements.DomainRequirement)
func (*FakeFactory) NewLoginRequirement ¶
func (fake *FakeFactory) NewLoginRequirement() requirements.Requirement
func (*FakeFactory) NewLoginRequirementCallCount ¶
func (fake *FakeFactory) NewLoginRequirementCallCount() int
func (*FakeFactory) NewLoginRequirementReturns ¶
func (fake *FakeFactory) NewLoginRequirementReturns(result1 requirements.Requirement)
func (*FakeFactory) NewMinAPIVersionRequirement ¶
func (fake *FakeFactory) NewMinAPIVersionRequirement(commandName string, requiredVersion semver.Version) requirements.Requirement
func (*FakeFactory) NewMinAPIVersionRequirementArgsForCall ¶
func (fake *FakeFactory) NewMinAPIVersionRequirementArgsForCall(i int) (string, semver.Version)
func (*FakeFactory) NewMinAPIVersionRequirementCallCount ¶
func (fake *FakeFactory) NewMinAPIVersionRequirementCallCount() int
func (*FakeFactory) NewMinAPIVersionRequirementReturns ¶
func (fake *FakeFactory) NewMinAPIVersionRequirementReturns(result1 requirements.Requirement)
func (*FakeFactory) NewOrganizationRequirement ¶
func (fake *FakeFactory) NewOrganizationRequirement(name string) requirements.OrganizationRequirement
func (*FakeFactory) NewOrganizationRequirementArgsForCall ¶
func (fake *FakeFactory) NewOrganizationRequirementArgsForCall(i int) string
func (*FakeFactory) NewOrganizationRequirementCallCount ¶
func (fake *FakeFactory) NewOrganizationRequirementCallCount() int
func (*FakeFactory) NewOrganizationRequirementReturns ¶
func (fake *FakeFactory) NewOrganizationRequirementReturns(result1 requirements.OrganizationRequirement)
func (*FakeFactory) NewRoutingAPIRequirement ¶
func (fake *FakeFactory) NewRoutingAPIRequirement() requirements.Requirement
func (*FakeFactory) NewRoutingAPIRequirementCallCount ¶
func (fake *FakeFactory) NewRoutingAPIRequirementCallCount() int
func (*FakeFactory) NewRoutingAPIRequirementReturns ¶
func (fake *FakeFactory) NewRoutingAPIRequirementReturns(result1 requirements.Requirement)
func (*FakeFactory) NewServiceInstanceRequirement ¶
func (fake *FakeFactory) NewServiceInstanceRequirement(name string) requirements.ServiceInstanceRequirement
func (*FakeFactory) NewServiceInstanceRequirementArgsForCall ¶
func (fake *FakeFactory) NewServiceInstanceRequirementArgsForCall(i int) string
func (*FakeFactory) NewServiceInstanceRequirementCallCount ¶
func (fake *FakeFactory) NewServiceInstanceRequirementCallCount() int
func (*FakeFactory) NewServiceInstanceRequirementReturns ¶
func (fake *FakeFactory) NewServiceInstanceRequirementReturns(result1 requirements.ServiceInstanceRequirement)
func (*FakeFactory) NewSpaceRequirement ¶
func (fake *FakeFactory) NewSpaceRequirement(name string) requirements.SpaceRequirement
func (*FakeFactory) NewSpaceRequirementArgsForCall ¶
func (fake *FakeFactory) NewSpaceRequirementArgsForCall(i int) string
func (*FakeFactory) NewSpaceRequirementCallCount ¶
func (fake *FakeFactory) NewSpaceRequirementCallCount() int
func (*FakeFactory) NewSpaceRequirementReturns ¶
func (fake *FakeFactory) NewSpaceRequirementReturns(result1 requirements.SpaceRequirement)
func (*FakeFactory) NewTargetedOrgRequirement ¶
func (fake *FakeFactory) NewTargetedOrgRequirement() requirements.TargetedOrgRequirement
func (*FakeFactory) NewTargetedOrgRequirementCallCount ¶
func (fake *FakeFactory) NewTargetedOrgRequirementCallCount() int
func (*FakeFactory) NewTargetedOrgRequirementReturns ¶
func (fake *FakeFactory) NewTargetedOrgRequirementReturns(result1 requirements.TargetedOrgRequirement)
func (*FakeFactory) NewTargetedSpaceRequirement ¶
func (fake *FakeFactory) NewTargetedSpaceRequirement() requirements.Requirement
func (*FakeFactory) NewTargetedSpaceRequirementCallCount ¶
func (fake *FakeFactory) NewTargetedSpaceRequirementCallCount() int
func (*FakeFactory) NewTargetedSpaceRequirementReturns ¶
func (fake *FakeFactory) NewTargetedSpaceRequirementReturns(result1 requirements.Requirement)
func (*FakeFactory) NewUserRequirement ¶
func (fake *FakeFactory) NewUserRequirement(username string, wantGuid bool) requirements.UserRequirement
func (*FakeFactory) NewUserRequirementArgsForCall ¶
func (fake *FakeFactory) NewUserRequirementArgsForCall(i int) (string, bool)
func (*FakeFactory) NewUserRequirementCallCount ¶
func (fake *FakeFactory) NewUserRequirementCallCount() int
func (*FakeFactory) NewUserRequirementReturns ¶
func (fake *FakeFactory) NewUserRequirementReturns(result1 requirements.UserRequirement)
type FakeOrganizationRequirement ¶
type FakeOrganizationRequirement struct { ExecuteStub func() (success bool) SetOrganizationNameStub func(string) GetOrganizationStub func() models.Organization // contains filtered or unexported fields }
func (*FakeOrganizationRequirement) Execute ¶
func (fake *FakeOrganizationRequirement) Execute() (success bool)
func (*FakeOrganizationRequirement) ExecuteCallCount ¶
func (fake *FakeOrganizationRequirement) ExecuteCallCount() int
func (*FakeOrganizationRequirement) ExecuteReturns ¶
func (fake *FakeOrganizationRequirement) ExecuteReturns(result1 bool)
func (*FakeOrganizationRequirement) GetOrganization ¶
func (fake *FakeOrganizationRequirement) GetOrganization() models.Organization
func (*FakeOrganizationRequirement) GetOrganizationCallCount ¶
func (fake *FakeOrganizationRequirement) GetOrganizationCallCount() int
func (*FakeOrganizationRequirement) GetOrganizationReturns ¶
func (fake *FakeOrganizationRequirement) GetOrganizationReturns(result1 models.Organization)
func (*FakeOrganizationRequirement) SetOrganizationName ¶
func (fake *FakeOrganizationRequirement) SetOrganizationName(arg1 string)
func (*FakeOrganizationRequirement) SetOrganizationNameArgsForCall ¶
func (fake *FakeOrganizationRequirement) SetOrganizationNameArgsForCall(i int) string
func (*FakeOrganizationRequirement) SetOrganizationNameCallCount ¶
func (fake *FakeOrganizationRequirement) SetOrganizationNameCallCount() int
type FakeUserRequirement ¶
type FakeUserRequirement struct { ExecuteStub func() (success bool) GetUserStub func() models.UserFields // contains filtered or unexported fields }
func (*FakeUserRequirement) Execute ¶
func (fake *FakeUserRequirement) Execute() (success bool)
func (*FakeUserRequirement) ExecuteCallCount ¶
func (fake *FakeUserRequirement) ExecuteCallCount() int
func (*FakeUserRequirement) ExecuteReturns ¶
func (fake *FakeUserRequirement) ExecuteReturns(result1 bool)
func (*FakeUserRequirement) GetUser ¶
func (fake *FakeUserRequirement) GetUser() models.UserFields
func (*FakeUserRequirement) GetUserCallCount ¶
func (fake *FakeUserRequirement) GetUserCallCount() int
func (*FakeUserRequirement) GetUserReturns ¶
func (fake *FakeUserRequirement) GetUserReturns(result1 models.UserFields)
Click to show internal directories.
Click to hide internal directories.