fakes

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiCliAdapter

type ApiCliAdapter struct {
	SetApiWithSslStub func(api string) error

	SetApiWithoutSslStub func(api string) error

	AuthStub func(user, password string) error
	// contains filtered or unexported fields
}

func (*ApiCliAdapter) Auth

func (fake *ApiCliAdapter) Auth(user string, password string) error

func (*ApiCliAdapter) AuthArgsForCall

func (fake *ApiCliAdapter) AuthArgsForCall(i int) (string, string)

func (*ApiCliAdapter) AuthCallCount

func (fake *ApiCliAdapter) AuthCallCount() int

func (*ApiCliAdapter) AuthReturns

func (fake *ApiCliAdapter) AuthReturns(result1 error)

func (*ApiCliAdapter) Invocations

func (fake *ApiCliAdapter) Invocations() map[string][][]interface{}

func (*ApiCliAdapter) SetApiWithSsl

func (fake *ApiCliAdapter) SetApiWithSsl(api string) error

func (*ApiCliAdapter) SetApiWithSslArgsForCall

func (fake *ApiCliAdapter) SetApiWithSslArgsForCall(i int) string

func (*ApiCliAdapter) SetApiWithSslCallCount

func (fake *ApiCliAdapter) SetApiWithSslCallCount() int

func (*ApiCliAdapter) SetApiWithSslReturns

func (fake *ApiCliAdapter) SetApiWithSslReturns(result1 error)

func (*ApiCliAdapter) SetApiWithoutSsl

func (fake *ApiCliAdapter) SetApiWithoutSsl(api string) error

func (*ApiCliAdapter) SetApiWithoutSslArgsForCall

func (fake *ApiCliAdapter) SetApiWithoutSslArgsForCall(i int) string

func (*ApiCliAdapter) SetApiWithoutSslCallCount

func (fake *ApiCliAdapter) SetApiWithoutSslCallCount() int

func (*ApiCliAdapter) SetApiWithoutSslReturns

func (fake *ApiCliAdapter) SetApiWithoutSslReturns(result1 error)

type CheckCLIAdapter

type CheckCLIAdapter struct {
	OrgGuidStub func(name string) (string, error)

	AppCountStub func(orgGuid string) (int, error)

	CheckAppStub func(guid string) ([]byte, error)

	AppGuidStub func(name string) (string, error)
	// contains filtered or unexported fields
}

func (*CheckCLIAdapter) AppCount added in v0.5.0

func (fake *CheckCLIAdapter) AppCount(orgGuid string) (int, error)

func (*CheckCLIAdapter) AppCountArgsForCall added in v0.5.0

func (fake *CheckCLIAdapter) AppCountArgsForCall(i int) string

func (*CheckCLIAdapter) AppCountCallCount added in v0.5.0

func (fake *CheckCLIAdapter) AppCountCallCount() int

func (*CheckCLIAdapter) AppCountReturns added in v0.5.0

func (fake *CheckCLIAdapter) AppCountReturns(result1 int, result2 error)

func (*CheckCLIAdapter) AppCountReturnsOnCall added in v0.19.0

func (fake *CheckCLIAdapter) AppCountReturnsOnCall(i int, result1 int, result2 error)

func (*CheckCLIAdapter) AppGuid

func (fake *CheckCLIAdapter) AppGuid(name string) (string, error)

func (*CheckCLIAdapter) AppGuidArgsForCall

func (fake *CheckCLIAdapter) AppGuidArgsForCall(i int) string

func (*CheckCLIAdapter) AppGuidCallCount

func (fake *CheckCLIAdapter) AppGuidCallCount() int

func (*CheckCLIAdapter) AppGuidReturns

func (fake *CheckCLIAdapter) AppGuidReturns(result1 string, result2 error)

func (*CheckCLIAdapter) AppGuidReturnsOnCall added in v0.19.0

func (fake *CheckCLIAdapter) AppGuidReturnsOnCall(i int, result1 string, result2 error)

func (*CheckCLIAdapter) CheckApp

func (fake *CheckCLIAdapter) CheckApp(guid string) ([]byte, error)

func (*CheckCLIAdapter) CheckAppArgsForCall

func (fake *CheckCLIAdapter) CheckAppArgsForCall(i int) string

func (*CheckCLIAdapter) CheckAppCallCount

func (fake *CheckCLIAdapter) CheckAppCallCount() int

func (*CheckCLIAdapter) CheckAppReturns

func (fake *CheckCLIAdapter) CheckAppReturns(result1 []byte, result2 error)

func (*CheckCLIAdapter) CheckAppReturnsOnCall added in v0.19.0

func (fake *CheckCLIAdapter) CheckAppReturnsOnCall(i int, result1 []byte, result2 error)

func (*CheckCLIAdapter) Invocations

func (fake *CheckCLIAdapter) Invocations() map[string][][]interface{}

func (*CheckCLIAdapter) OrgGuid added in v0.5.0

func (fake *CheckCLIAdapter) OrgGuid(name string) (string, error)

func (*CheckCLIAdapter) OrgGuidArgsForCall added in v0.5.0

func (fake *CheckCLIAdapter) OrgGuidArgsForCall(i int) string

func (*CheckCLIAdapter) OrgGuidCallCount added in v0.5.0

func (fake *CheckCLIAdapter) OrgGuidCallCount() int

func (*CheckCLIAdapter) OrgGuidReturns added in v0.5.0

func (fake *CheckCLIAdapter) OrgGuidReturns(result1 string, result2 error)

func (*CheckCLIAdapter) OrgGuidReturnsOnCall added in v0.19.0

func (fake *CheckCLIAdapter) OrgGuidReturnsOnCall(i int, result1 string, result2 error)

type ManifestGenerator

type ManifestGenerator struct {
	GenerateStub func(manifestStruct interface{}) (string, error)
	// contains filtered or unexported fields
}

func (*ManifestGenerator) Generate

func (fake *ManifestGenerator) Generate(manifestStruct interface{}) (string, error)

func (*ManifestGenerator) GenerateArgsForCall

func (fake *ManifestGenerator) GenerateArgsForCall(i int) interface{}

func (*ManifestGenerator) GenerateCallCount

func (fake *ManifestGenerator) GenerateCallCount() int

func (*ManifestGenerator) GenerateReturns

func (fake *ManifestGenerator) GenerateReturns(result1 string, result2 error)

func (*ManifestGenerator) GenerateReturnsOnCall added in v0.19.0

func (fake *ManifestGenerator) GenerateReturnsOnCall(i int, result1 string, result2 error)

func (*ManifestGenerator) Invocations

func (fake *ManifestGenerator) Invocations() map[string][][]interface{}

type OrgCheckerCli added in v1.10.0

type OrgCheckerCli struct {
	TargetOrgStub func(name string) error
	// contains filtered or unexported fields
}

func (*OrgCheckerCli) Invocations added in v1.10.0

func (fake *OrgCheckerCli) Invocations() map[string][][]interface{}

func (*OrgCheckerCli) TargetOrg added in v1.10.0

func (fake *OrgCheckerCli) TargetOrg(name string) error

func (*OrgCheckerCli) TargetOrgArgsForCall added in v1.10.0

func (fake *OrgCheckerCli) TargetOrgArgsForCall(i int) string

func (*OrgCheckerCli) TargetOrgCallCount added in v1.10.0

func (fake *OrgCheckerCli) TargetOrgCallCount() int

func (*OrgCheckerCli) TargetOrgReturns added in v1.10.0

func (fake *OrgCheckerCli) TargetOrgReturns(result1 error)

func (*OrgCheckerCli) TargetOrgReturnsOnCall added in v1.10.0

func (fake *OrgCheckerCli) TargetOrgReturnsOnCall(i int, result1 error)

type OrgDeleterCli

type OrgDeleterCli struct {
	DeleteOrgStub func(name string) error

	DeleteQuotaStub func(name string) error
	// contains filtered or unexported fields
}

func (*OrgDeleterCli) DeleteOrg

func (fake *OrgDeleterCli) DeleteOrg(name string) error

func (*OrgDeleterCli) DeleteOrgArgsForCall

func (fake *OrgDeleterCli) DeleteOrgArgsForCall(i int) string

func (*OrgDeleterCli) DeleteOrgCallCount

func (fake *OrgDeleterCli) DeleteOrgCallCount() int

func (*OrgDeleterCli) DeleteOrgReturns

func (fake *OrgDeleterCli) DeleteOrgReturns(result1 error)

func (*OrgDeleterCli) DeleteOrgReturnsOnCall added in v0.19.0

func (fake *OrgDeleterCli) DeleteOrgReturnsOnCall(i int, result1 error)

func (*OrgDeleterCli) DeleteQuota added in v0.5.0

func (fake *OrgDeleterCli) DeleteQuota(name string) error

func (*OrgDeleterCli) DeleteQuotaArgsForCall added in v0.5.0

func (fake *OrgDeleterCli) DeleteQuotaArgsForCall(i int) string

func (*OrgDeleterCli) DeleteQuotaCallCount added in v0.5.0

func (fake *OrgDeleterCli) DeleteQuotaCallCount() int

func (*OrgDeleterCli) DeleteQuotaReturns added in v0.5.0

func (fake *OrgDeleterCli) DeleteQuotaReturns(result1 error)

func (*OrgDeleterCli) DeleteQuotaReturnsOnCall added in v0.19.0

func (fake *OrgDeleterCli) DeleteQuotaReturnsOnCall(i int, result1 error)

func (*OrgDeleterCli) Invocations

func (fake *OrgDeleterCli) Invocations() map[string][][]interface{}

type OrgSpaceCli

type OrgSpaceCli struct {
	CreateOrgStub func(name string) error

	CreateSpaceStub func(spaceName, orgName string) error

	TargetOrgStub func(name string) error

	TargetSpaceStub func(name string) error

	CreateQuotaStub func(name, memory string, instanceMemory, routes, serviceInstances, appInstances, routePorts int) error

	SetQuotaStub func(org, quota string) error
	// contains filtered or unexported fields
}

func (*OrgSpaceCli) CreateOrg

func (fake *OrgSpaceCli) CreateOrg(name string) error

func (*OrgSpaceCli) CreateOrgArgsForCall

func (fake *OrgSpaceCli) CreateOrgArgsForCall(i int) string

func (*OrgSpaceCli) CreateOrgCallCount

func (fake *OrgSpaceCli) CreateOrgCallCount() int

func (*OrgSpaceCli) CreateOrgReturns

func (fake *OrgSpaceCli) CreateOrgReturns(result1 error)

func (*OrgSpaceCli) CreateOrgReturnsOnCall added in v0.19.0

func (fake *OrgSpaceCli) CreateOrgReturnsOnCall(i int, result1 error)

func (*OrgSpaceCli) CreateQuota added in v0.5.0

func (fake *OrgSpaceCli) CreateQuota(name string, memory string, instanceMemory int, routes int, serviceInstances int, appInstances int, routePorts int) error

func (*OrgSpaceCli) CreateQuotaArgsForCall added in v0.5.0

func (fake *OrgSpaceCli) CreateQuotaArgsForCall(i int) (string, string, int, int, int, int, int)

func (*OrgSpaceCli) CreateQuotaCallCount added in v0.5.0

func (fake *OrgSpaceCli) CreateQuotaCallCount() int

func (*OrgSpaceCli) CreateQuotaReturns added in v0.5.0

func (fake *OrgSpaceCli) CreateQuotaReturns(result1 error)

func (*OrgSpaceCli) CreateQuotaReturnsOnCall added in v0.19.0

func (fake *OrgSpaceCli) CreateQuotaReturnsOnCall(i int, result1 error)

func (*OrgSpaceCli) CreateSpace

func (fake *OrgSpaceCli) CreateSpace(spaceName string, orgName string) error

func (*OrgSpaceCli) CreateSpaceArgsForCall

func (fake *OrgSpaceCli) CreateSpaceArgsForCall(i int) (string, string)

func (*OrgSpaceCli) CreateSpaceCallCount

func (fake *OrgSpaceCli) CreateSpaceCallCount() int

func (*OrgSpaceCli) CreateSpaceReturns

func (fake *OrgSpaceCli) CreateSpaceReturns(result1 error)

func (*OrgSpaceCli) CreateSpaceReturnsOnCall added in v0.19.0

func (fake *OrgSpaceCli) CreateSpaceReturnsOnCall(i int, result1 error)

func (*OrgSpaceCli) Invocations

func (fake *OrgSpaceCli) Invocations() map[string][][]interface{}

func (*OrgSpaceCli) SetQuota added in v0.5.0

func (fake *OrgSpaceCli) SetQuota(org string, quota string) error

func (*OrgSpaceCli) SetQuotaArgsForCall added in v0.5.0

func (fake *OrgSpaceCli) SetQuotaArgsForCall(i int) (string, string)

func (*OrgSpaceCli) SetQuotaCallCount added in v0.5.0

func (fake *OrgSpaceCli) SetQuotaCallCount() int

func (*OrgSpaceCli) SetQuotaReturns added in v0.5.0

func (fake *OrgSpaceCli) SetQuotaReturns(result1 error)

func (*OrgSpaceCli) SetQuotaReturnsOnCall added in v0.19.0

func (fake *OrgSpaceCli) SetQuotaReturnsOnCall(i int, result1 error)

func (*OrgSpaceCli) TargetOrg

func (fake *OrgSpaceCli) TargetOrg(name string) error

func (*OrgSpaceCli) TargetOrgArgsForCall

func (fake *OrgSpaceCli) TargetOrgArgsForCall(i int) string

func (*OrgSpaceCli) TargetOrgCallCount

func (fake *OrgSpaceCli) TargetOrgCallCount() int

func (*OrgSpaceCli) TargetOrgReturns

func (fake *OrgSpaceCli) TargetOrgReturns(result1 error)

func (*OrgSpaceCli) TargetOrgReturnsOnCall added in v0.19.0

func (fake *OrgSpaceCli) TargetOrgReturnsOnCall(i int, result1 error)

func (*OrgSpaceCli) TargetSpace

func (fake *OrgSpaceCli) TargetSpace(name string) error

func (*OrgSpaceCli) TargetSpaceArgsForCall

func (fake *OrgSpaceCli) TargetSpaceArgsForCall(i int) string

func (*OrgSpaceCli) TargetSpaceCallCount

func (fake *OrgSpaceCli) TargetSpaceCallCount() int

func (*OrgSpaceCli) TargetSpaceReturns

func (fake *OrgSpaceCli) TargetSpaceReturns(result1 error)

func (*OrgSpaceCli) TargetSpaceReturnsOnCall added in v0.19.0

func (fake *OrgSpaceCli) TargetSpaceReturnsOnCall(i int, result1 error)

type PushCLIAdapter

type PushCLIAdapter struct {
	CheckAppStub func(guid string) ([]byte, error)

	AppGuidStub func(name string) (string, error)

	PushStub func(name, directory, manifestFile string) error
	// contains filtered or unexported fields
}

func (*PushCLIAdapter) AppGuid added in v1.10.0

func (fake *PushCLIAdapter) AppGuid(name string) (string, error)

func (*PushCLIAdapter) AppGuidArgsForCall added in v1.10.0

func (fake *PushCLIAdapter) AppGuidArgsForCall(i int) string

func (*PushCLIAdapter) AppGuidCallCount added in v1.10.0

func (fake *PushCLIAdapter) AppGuidCallCount() int

func (*PushCLIAdapter) AppGuidReturns added in v1.10.0

func (fake *PushCLIAdapter) AppGuidReturns(result1 string, result2 error)

func (*PushCLIAdapter) AppGuidReturnsOnCall added in v1.10.0

func (fake *PushCLIAdapter) AppGuidReturnsOnCall(i int, result1 string, result2 error)

func (*PushCLIAdapter) CheckApp added in v1.10.0

func (fake *PushCLIAdapter) CheckApp(guid string) ([]byte, error)

func (*PushCLIAdapter) CheckAppArgsForCall added in v1.10.0

func (fake *PushCLIAdapter) CheckAppArgsForCall(i int) string

func (*PushCLIAdapter) CheckAppCallCount added in v1.10.0

func (fake *PushCLIAdapter) CheckAppCallCount() int

func (*PushCLIAdapter) CheckAppReturns added in v1.10.0

func (fake *PushCLIAdapter) CheckAppReturns(result1 []byte, result2 error)

func (*PushCLIAdapter) CheckAppReturnsOnCall added in v1.10.0

func (fake *PushCLIAdapter) CheckAppReturnsOnCall(i int, result1 []byte, result2 error)

func (*PushCLIAdapter) Invocations

func (fake *PushCLIAdapter) Invocations() map[string][][]interface{}

func (*PushCLIAdapter) Push

func (fake *PushCLIAdapter) Push(name string, directory string, manifestFile string) error

func (*PushCLIAdapter) PushArgsForCall

func (fake *PushCLIAdapter) PushArgsForCall(i int) (string, string, string)

func (*PushCLIAdapter) PushCallCount

func (fake *PushCLIAdapter) PushCallCount() int

func (*PushCLIAdapter) PushReturns

func (fake *PushCLIAdapter) PushReturns(result1 error)

func (*PushCLIAdapter) PushReturnsOnCall added in v0.19.0

func (fake *PushCLIAdapter) PushReturnsOnCall(i int, result1 error)

type SecurityGroupCLIAdapter added in v0.9.0

type SecurityGroupCLIAdapter struct {
	SecurityGroupStub func(name string) (string, error)
	// contains filtered or unexported fields
}

func (*SecurityGroupCLIAdapter) Invocations added in v0.9.0

func (fake *SecurityGroupCLIAdapter) Invocations() map[string][][]interface{}

func (*SecurityGroupCLIAdapter) SecurityGroup added in v0.9.0

func (fake *SecurityGroupCLIAdapter) SecurityGroup(name string) (string, error)

func (*SecurityGroupCLIAdapter) SecurityGroupArgsForCall added in v0.9.0

func (fake *SecurityGroupCLIAdapter) SecurityGroupArgsForCall(i int) string

func (*SecurityGroupCLIAdapter) SecurityGroupCallCount added in v0.9.0

func (fake *SecurityGroupCLIAdapter) SecurityGroupCallCount() int

func (*SecurityGroupCLIAdapter) SecurityGroupReturns added in v0.9.0

func (fake *SecurityGroupCLIAdapter) SecurityGroupReturns(result1 string, result2 error)

func (*SecurityGroupCLIAdapter) SecurityGroupReturnsOnCall added in v0.19.0

func (fake *SecurityGroupCLIAdapter) SecurityGroupReturnsOnCall(i int, result1 string, result2 error)

type SecurityGroupInstallationCLIAdapter added in v0.9.0

type SecurityGroupInstallationCLIAdapter struct {
	DeleteSecurityGroupStub func(name string) error

	CreateSecurityGroupStub func(name, body string) error

	BindSecurityGroupStub func(asgName, orgName, spaceName string) error
	// contains filtered or unexported fields
}

func (*SecurityGroupInstallationCLIAdapter) BindSecurityGroup added in v0.9.0

func (fake *SecurityGroupInstallationCLIAdapter) BindSecurityGroup(asgName string, orgName string, spaceName string) error

func (*SecurityGroupInstallationCLIAdapter) BindSecurityGroupArgsForCall added in v0.9.0

func (fake *SecurityGroupInstallationCLIAdapter) BindSecurityGroupArgsForCall(i int) (string, string, string)

func (*SecurityGroupInstallationCLIAdapter) BindSecurityGroupCallCount added in v0.9.0

func (fake *SecurityGroupInstallationCLIAdapter) BindSecurityGroupCallCount() int

func (*SecurityGroupInstallationCLIAdapter) BindSecurityGroupReturns added in v0.9.0

func (fake *SecurityGroupInstallationCLIAdapter) BindSecurityGroupReturns(result1 error)

func (*SecurityGroupInstallationCLIAdapter) BindSecurityGroupReturnsOnCall added in v0.19.0

func (fake *SecurityGroupInstallationCLIAdapter) BindSecurityGroupReturnsOnCall(i int, result1 error)

func (*SecurityGroupInstallationCLIAdapter) CreateSecurityGroup added in v0.9.0

func (fake *SecurityGroupInstallationCLIAdapter) CreateSecurityGroup(name string, body string) error

func (*SecurityGroupInstallationCLIAdapter) CreateSecurityGroupArgsForCall added in v0.9.0

func (fake *SecurityGroupInstallationCLIAdapter) CreateSecurityGroupArgsForCall(i int) (string, string)

func (*SecurityGroupInstallationCLIAdapter) CreateSecurityGroupCallCount added in v0.9.0

func (fake *SecurityGroupInstallationCLIAdapter) CreateSecurityGroupCallCount() int

func (*SecurityGroupInstallationCLIAdapter) CreateSecurityGroupReturns added in v0.9.0

func (fake *SecurityGroupInstallationCLIAdapter) CreateSecurityGroupReturns(result1 error)

func (*SecurityGroupInstallationCLIAdapter) CreateSecurityGroupReturnsOnCall added in v0.19.0

func (fake *SecurityGroupInstallationCLIAdapter) CreateSecurityGroupReturnsOnCall(i int, result1 error)

func (*SecurityGroupInstallationCLIAdapter) DeleteSecurityGroup added in v0.9.0

func (fake *SecurityGroupInstallationCLIAdapter) DeleteSecurityGroup(name string) error

func (*SecurityGroupInstallationCLIAdapter) DeleteSecurityGroupArgsForCall added in v0.9.0

func (fake *SecurityGroupInstallationCLIAdapter) DeleteSecurityGroupArgsForCall(i int) string

func (*SecurityGroupInstallationCLIAdapter) DeleteSecurityGroupCallCount added in v0.9.0

func (fake *SecurityGroupInstallationCLIAdapter) DeleteSecurityGroupCallCount() int

func (*SecurityGroupInstallationCLIAdapter) DeleteSecurityGroupReturns added in v0.9.0

func (fake *SecurityGroupInstallationCLIAdapter) DeleteSecurityGroupReturns(result1 error)

func (*SecurityGroupInstallationCLIAdapter) DeleteSecurityGroupReturnsOnCall added in v0.19.0

func (fake *SecurityGroupInstallationCLIAdapter) DeleteSecurityGroupReturnsOnCall(i int, result1 error)

func (*SecurityGroupInstallationCLIAdapter) Invocations added in v0.9.0

func (fake *SecurityGroupInstallationCLIAdapter) Invocations() map[string][][]interface{}

Jump to

Keyboard shortcuts

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