requirementsfakes

package
v6.18.1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 24, 2016 License: Apache-2.0 Imports: 5 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

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() error

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

func (*FakeApplicationRequirement) Execute

func (fake *FakeApplicationRequirement) Execute() error

func (*FakeApplicationRequirement) ExecuteCallCount

func (fake *FakeApplicationRequirement) ExecuteCallCount() int

func (*FakeApplicationRequirement) ExecuteReturns

func (fake *FakeApplicationRequirement) ExecuteReturns(result1 error)

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 FakeBuildpackRequirement

type FakeBuildpackRequirement struct {
	ExecuteStub func() error

	GetBuildpackStub func() models.Buildpack
	// contains filtered or unexported fields
}

func (*FakeBuildpackRequirement) Execute

func (fake *FakeBuildpackRequirement) Execute() error

func (*FakeBuildpackRequirement) ExecuteCallCount

func (fake *FakeBuildpackRequirement) ExecuteCallCount() int

func (*FakeBuildpackRequirement) ExecuteReturns

func (fake *FakeBuildpackRequirement) ExecuteReturns(result1 error)

func (*FakeBuildpackRequirement) GetBuildpack

func (fake *FakeBuildpackRequirement) GetBuildpack() models.Buildpack

func (*FakeBuildpackRequirement) GetBuildpackCallCount

func (fake *FakeBuildpackRequirement) GetBuildpackCallCount() int

func (*FakeBuildpackRequirement) GetBuildpackReturns

func (fake *FakeBuildpackRequirement) GetBuildpackReturns(result1 models.Buildpack)

type FakeConfigRefresher

type FakeConfigRefresher struct {
	RefreshStub func() (coreconfig.Warning, error)
	// contains filtered or unexported fields
}

func (*FakeConfigRefresher) Refresh

func (fake *FakeConfigRefresher) Refresh() (coreconfig.Warning, error)

func (*FakeConfigRefresher) RefreshCallCount

func (fake *FakeConfigRefresher) RefreshCallCount() int

func (*FakeConfigRefresher) RefreshReturns

func (fake *FakeConfigRefresher) RefreshReturns(result1 coreconfig.Warning, result2 error)

type FakeDEAApplicationRequirement

type FakeDEAApplicationRequirement struct {
	ExecuteStub func() error

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

func (*FakeDEAApplicationRequirement) Execute

func (fake *FakeDEAApplicationRequirement) Execute() error

func (*FakeDEAApplicationRequirement) ExecuteCallCount

func (fake *FakeDEAApplicationRequirement) ExecuteCallCount() int

func (*FakeDEAApplicationRequirement) ExecuteReturns

func (fake *FakeDEAApplicationRequirement) ExecuteReturns(result1 error)

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 FakeDiegoApplicationRequirement

type FakeDiegoApplicationRequirement struct {
	ExecuteStub func() error

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

func (*FakeDiegoApplicationRequirement) Execute

func (fake *FakeDiegoApplicationRequirement) Execute() error

func (*FakeDiegoApplicationRequirement) ExecuteCallCount

func (fake *FakeDiegoApplicationRequirement) ExecuteCallCount() int

func (*FakeDiegoApplicationRequirement) ExecuteReturns

func (fake *FakeDiegoApplicationRequirement) ExecuteReturns(result1 error)

func (*FakeDiegoApplicationRequirement) GetApplication

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

func (*FakeDiegoApplicationRequirement) GetApplicationCallCount

func (fake *FakeDiegoApplicationRequirement) GetApplicationCallCount() int

func (*FakeDiegoApplicationRequirement) GetApplicationReturns

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

type FakeDomainRequirement

type FakeDomainRequirement struct {
	ExecuteStub func() error

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

func (*FakeDomainRequirement) Execute

func (fake *FakeDomainRequirement) Execute() error

func (*FakeDomainRequirement) ExecuteCallCount

func (fake *FakeDomainRequirement) ExecuteCallCount() int

func (*FakeDomainRequirement) ExecuteReturns

func (fake *FakeDomainRequirement) ExecuteReturns(result1 error)

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

	NewDiegoApplicationRequirementStub func(name string) requirements.DiegoApplicationRequirement

	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

	NewUsageRequirementStub func(requirements.Usable, string, func() bool) 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) NewDiegoApplicationRequirement

func (fake *FakeFactory) NewDiegoApplicationRequirement(name string) requirements.DiegoApplicationRequirement

func (*FakeFactory) NewDiegoApplicationRequirementArgsForCall

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

func (*FakeFactory) NewDiegoApplicationRequirementCallCount

func (fake *FakeFactory) NewDiegoApplicationRequirementCallCount() int

func (*FakeFactory) NewDiegoApplicationRequirementReturns

func (fake *FakeFactory) NewDiegoApplicationRequirementReturns(result1 requirements.DiegoApplicationRequirement)

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

func (fake *FakeFactory) NewUsageRequirement(arg1 requirements.Usable, arg2 string, arg3 func() bool) requirements.Requirement

func (*FakeFactory) NewUsageRequirementArgsForCall

func (fake *FakeFactory) NewUsageRequirementArgsForCall(i int) (requirements.Usable, string, func() bool)

func (*FakeFactory) NewUsageRequirementCallCount

func (fake *FakeFactory) NewUsageRequirementCallCount() int

func (*FakeFactory) NewUsageRequirementReturns

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

	SetOrganizationNameStub func(string)

	GetOrganizationStub func() models.Organization
	// contains filtered or unexported fields
}

func (*FakeOrganizationRequirement) Execute

func (fake *FakeOrganizationRequirement) Execute() error

func (*FakeOrganizationRequirement) ExecuteCallCount

func (fake *FakeOrganizationRequirement) ExecuteCallCount() int

func (*FakeOrganizationRequirement) ExecuteReturns

func (fake *FakeOrganizationRequirement) ExecuteReturns(result1 error)

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 FakeRequirement

type FakeRequirement struct {
	ExecuteStub func() error
	// contains filtered or unexported fields
}

func (*FakeRequirement) Execute

func (fake *FakeRequirement) Execute() error

func (*FakeRequirement) ExecuteCallCount

func (fake *FakeRequirement) ExecuteCallCount() int

func (*FakeRequirement) ExecuteReturns

func (fake *FakeRequirement) ExecuteReturns(result1 error)

type FakeServiceInstanceRequirement

type FakeServiceInstanceRequirement struct {
	ExecuteStub func() error

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

func (*FakeServiceInstanceRequirement) Execute

func (fake *FakeServiceInstanceRequirement) Execute() error

func (*FakeServiceInstanceRequirement) ExecuteCallCount

func (fake *FakeServiceInstanceRequirement) ExecuteCallCount() int

func (*FakeServiceInstanceRequirement) ExecuteReturns

func (fake *FakeServiceInstanceRequirement) ExecuteReturns(result1 error)

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() error

	SetSpaceNameStub func(string)

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

func (*FakeSpaceRequirement) Execute

func (fake *FakeSpaceRequirement) Execute() error

func (*FakeSpaceRequirement) ExecuteCallCount

func (fake *FakeSpaceRequirement) ExecuteCallCount() int

func (*FakeSpaceRequirement) ExecuteReturns

func (fake *FakeSpaceRequirement) ExecuteReturns(result1 error)

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() error

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

func (*FakeTargetedOrgRequirement) Execute

func (fake *FakeTargetedOrgRequirement) Execute() error

func (*FakeTargetedOrgRequirement) ExecuteCallCount

func (fake *FakeTargetedOrgRequirement) ExecuteCallCount() int

func (*FakeTargetedOrgRequirement) ExecuteReturns

func (fake *FakeTargetedOrgRequirement) ExecuteReturns(result1 error)

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() error

	GetUserStub func() models.UserFields
	// contains filtered or unexported fields
}

func (*FakeUserRequirement) Execute

func (fake *FakeUserRequirement) Execute() error

func (*FakeUserRequirement) ExecuteCallCount

func (fake *FakeUserRequirement) ExecuteCallCount() int

func (*FakeUserRequirement) ExecuteReturns

func (fake *FakeUserRequirement) ExecuteReturns(result1 error)

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