fakes

package
v6.14.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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

	NewMinCCApiVersionRequirementStub func(commandName string, major, minor, patch int) 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) NewMinCCApiVersionRequirement

func (fake *FakeFactory) NewMinCCApiVersionRequirement(commandName string, major int, minor int, patch int) requirements.Requirement

func (*FakeFactory) NewMinCCApiVersionRequirementArgsForCall

func (fake *FakeFactory) NewMinCCApiVersionRequirementArgsForCall(i int) (string, int, int, int)

func (*FakeFactory) NewMinCCApiVersionRequirementCallCount

func (fake *FakeFactory) NewMinCCApiVersionRequirementCallCount() int

func (*FakeFactory) NewMinCCApiVersionRequirementReturns

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

Jump to

Keyboard shortcuts

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