fakes

package
v6.16.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2016 License: Apache-2.0 Imports: 4 Imported by: 0

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

This file was generated by counterfeiter

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

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 FakeDEAApplicationRequirement

type FakeDEAApplicationRequirement struct {
	ExecuteStub func() (success bool)

	GetApplicationStub func() models.Application
	// contains filtered or unexported fields
}

func (*FakeDEAApplicationRequirement) Execute

func (fake *FakeDEAApplicationRequirement) Execute() (success bool)

func (*FakeDEAApplicationRequirement) ExecuteCallCount

func (fake *FakeDEAApplicationRequirement) ExecuteCallCount() int

func (*FakeDEAApplicationRequirement) ExecuteReturns

func (fake *FakeDEAApplicationRequirement) ExecuteReturns(result1 bool)

func (*FakeDEAApplicationRequirement) GetApplication

func (fake *FakeDEAApplicationRequirement) GetApplication() models.Application

func (*FakeDEAApplicationRequirement) GetApplicationCallCount

func (fake *FakeDEAApplicationRequirement) GetApplicationCallCount() int

func (*FakeDEAApplicationRequirement) GetApplicationReturns

func (fake *FakeDEAApplicationRequirement) GetApplicationReturns(result1 models.Application)

type FakeDomainRequirement

type FakeDomainRequirement struct {
	ExecuteStub func() (success bool)

	GetDomainStub func() models.DomainFields
	// contains filtered or unexported fields
}

func (*FakeDomainRequirement) Execute

func (fake *FakeDomainRequirement) Execute() (success bool)

func (*FakeDomainRequirement) ExecuteCallCount

func (fake *FakeDomainRequirement) ExecuteCallCount() int

func (*FakeDomainRequirement) ExecuteReturns

func (fake *FakeDomainRequirement) ExecuteReturns(result1 bool)

func (*FakeDomainRequirement) GetDomain

func (fake *FakeDomainRequirement) GetDomain() models.DomainFields

func (*FakeDomainRequirement) GetDomainCallCount

func (fake *FakeDomainRequirement) GetDomainCallCount() int

func (*FakeDomainRequirement) GetDomainReturns

func (fake *FakeDomainRequirement) GetDomainReturns(result1 models.DomainFields)

type FakeFactory

type FakeFactory struct {
	NewApplicationRequirementStub func(name string) requirements.ApplicationRequirement

	NewDEAApplicationRequirementStub func(name string) requirements.DEAApplicationRequirement

	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

	NewMaxAPIVersionRequirementStub func(commandName string, maximumVersion 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) NewDEAApplicationRequirement

func (fake *FakeFactory) NewDEAApplicationRequirement(name string) requirements.DEAApplicationRequirement

func (*FakeFactory) NewDEAApplicationRequirementArgsForCall

func (fake *FakeFactory) NewDEAApplicationRequirementArgsForCall(i int) string

func (*FakeFactory) NewDEAApplicationRequirementCallCount

func (fake *FakeFactory) NewDEAApplicationRequirementCallCount() int

func (*FakeFactory) NewDEAApplicationRequirementReturns

func (fake *FakeFactory) NewDEAApplicationRequirementReturns(result1 requirements.DEAApplicationRequirement)

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) NewMaxAPIVersionRequirement

func (fake *FakeFactory) NewMaxAPIVersionRequirement(commandName string, maximumVersion semver.Version) requirements.Requirement

func (*FakeFactory) NewMaxAPIVersionRequirementArgsForCall

func (fake *FakeFactory) NewMaxAPIVersionRequirementArgsForCall(i int) (string, semver.Version)

func (*FakeFactory) NewMaxAPIVersionRequirementCallCount

func (fake *FakeFactory) NewMaxAPIVersionRequirementCallCount() int

func (*FakeFactory) NewMaxAPIVersionRequirementReturns

func (fake *FakeFactory) NewMaxAPIVersionRequirementReturns(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 FakeServiceInstanceRequirement

type FakeServiceInstanceRequirement struct {
	ExecuteStub func() (success bool)

	GetServiceInstanceStub func() models.ServiceInstance
	// contains filtered or unexported fields
}

func (*FakeServiceInstanceRequirement) Execute

func (fake *FakeServiceInstanceRequirement) Execute() (success bool)

func (*FakeServiceInstanceRequirement) ExecuteCallCount

func (fake *FakeServiceInstanceRequirement) ExecuteCallCount() int

func (*FakeServiceInstanceRequirement) ExecuteReturns

func (fake *FakeServiceInstanceRequirement) ExecuteReturns(result1 bool)

func (*FakeServiceInstanceRequirement) GetServiceInstance

func (fake *FakeServiceInstanceRequirement) GetServiceInstance() models.ServiceInstance

func (*FakeServiceInstanceRequirement) GetServiceInstanceCallCount

func (fake *FakeServiceInstanceRequirement) GetServiceInstanceCallCount() int

func (*FakeServiceInstanceRequirement) GetServiceInstanceReturns

func (fake *FakeServiceInstanceRequirement) GetServiceInstanceReturns(result1 models.ServiceInstance)

type FakeSpaceRequirement

type FakeSpaceRequirement struct {
	ExecuteStub func() (success bool)

	SetSpaceNameStub func(string)

	GetSpaceStub func() models.Space
	// contains filtered or unexported fields
}

func (*FakeSpaceRequirement) Execute

func (fake *FakeSpaceRequirement) Execute() (success bool)

func (*FakeSpaceRequirement) ExecuteCallCount

func (fake *FakeSpaceRequirement) ExecuteCallCount() int

func (*FakeSpaceRequirement) ExecuteReturns

func (fake *FakeSpaceRequirement) ExecuteReturns(result1 bool)

func (*FakeSpaceRequirement) GetSpace

func (fake *FakeSpaceRequirement) GetSpace() models.Space

func (*FakeSpaceRequirement) GetSpaceCallCount

func (fake *FakeSpaceRequirement) GetSpaceCallCount() int

func (*FakeSpaceRequirement) GetSpaceReturns

func (fake *FakeSpaceRequirement) GetSpaceReturns(result1 models.Space)

func (*FakeSpaceRequirement) SetSpaceName

func (fake *FakeSpaceRequirement) SetSpaceName(arg1 string)

func (*FakeSpaceRequirement) SetSpaceNameArgsForCall

func (fake *FakeSpaceRequirement) SetSpaceNameArgsForCall(i int) string

func (*FakeSpaceRequirement) SetSpaceNameCallCount

func (fake *FakeSpaceRequirement) SetSpaceNameCallCount() int

type FakeTargetedOrgRequirement

type FakeTargetedOrgRequirement struct {
	ExecuteStub func() (success bool)

	GetOrganizationFieldsStub func() models.OrganizationFields
	// contains filtered or unexported fields
}

func (*FakeTargetedOrgRequirement) Execute

func (fake *FakeTargetedOrgRequirement) Execute() (success bool)

func (*FakeTargetedOrgRequirement) ExecuteCallCount

func (fake *FakeTargetedOrgRequirement) ExecuteCallCount() int

func (*FakeTargetedOrgRequirement) ExecuteReturns

func (fake *FakeTargetedOrgRequirement) ExecuteReturns(result1 bool)

func (*FakeTargetedOrgRequirement) GetOrganizationFields

func (fake *FakeTargetedOrgRequirement) GetOrganizationFields() models.OrganizationFields

func (*FakeTargetedOrgRequirement) GetOrganizationFieldsCallCount

func (fake *FakeTargetedOrgRequirement) GetOrganizationFieldsCallCount() int

func (*FakeTargetedOrgRequirement) GetOrganizationFieldsReturns

func (fake *FakeTargetedOrgRequirement) GetOrganizationFieldsReturns(result1 models.OrganizationFields)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL