fakes

package
v2.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 30, 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

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

func (*CheckCLIAdapter) AppCountArgsForCall

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

func (*CheckCLIAdapter) AppCountCallCount

func (fake *CheckCLIAdapter) AppCountCallCount() int

func (*CheckCLIAdapter) AppCountReturns

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

func (*CheckCLIAdapter) AppCountReturnsOnCall

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

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

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

func (*CheckCLIAdapter) Invocations

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

func (*CheckCLIAdapter) OrgGuid

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

func (*CheckCLIAdapter) OrgGuidArgsForCall

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

func (*CheckCLIAdapter) OrgGuidCallCount

func (fake *CheckCLIAdapter) OrgGuidCallCount() int

func (*CheckCLIAdapter) OrgGuidReturns

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

func (*CheckCLIAdapter) OrgGuidReturnsOnCall

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

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

func (*ManifestGenerator) Invocations

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

type OrgCheckerCli

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

func (*OrgCheckerCli) Invocations

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

func (*OrgCheckerCli) TargetOrg

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

func (*OrgCheckerCli) TargetOrgArgsForCall

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

func (*OrgCheckerCli) TargetOrgCallCount

func (fake *OrgCheckerCli) TargetOrgCallCount() int

func (*OrgCheckerCli) TargetOrgReturns

func (fake *OrgCheckerCli) TargetOrgReturns(result1 error)

func (*OrgCheckerCli) TargetOrgReturnsOnCall

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

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

func (*OrgDeleterCli) DeleteQuota

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

func (*OrgDeleterCli) DeleteQuotaArgsForCall

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

func (*OrgDeleterCli) DeleteQuotaCallCount

func (fake *OrgDeleterCli) DeleteQuotaCallCount() int

func (*OrgDeleterCli) DeleteQuotaReturns

func (fake *OrgDeleterCli) DeleteQuotaReturns(result1 error)

func (*OrgDeleterCli) DeleteQuotaReturnsOnCall

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

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

func (*OrgSpaceCli) CreateQuota

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

func (*OrgSpaceCli) CreateQuotaArgsForCall

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

func (*OrgSpaceCli) CreateQuotaCallCount

func (fake *OrgSpaceCli) CreateQuotaCallCount() int

func (*OrgSpaceCli) CreateQuotaReturns

func (fake *OrgSpaceCli) CreateQuotaReturns(result1 error)

func (*OrgSpaceCli) CreateQuotaReturnsOnCall

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

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

func (*OrgSpaceCli) Invocations

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

func (*OrgSpaceCli) SetQuota

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

func (*OrgSpaceCli) SetQuotaArgsForCall

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

func (*OrgSpaceCli) SetQuotaCallCount

func (fake *OrgSpaceCli) SetQuotaCallCount() int

func (*OrgSpaceCli) SetQuotaReturns

func (fake *OrgSpaceCli) SetQuotaReturns(result1 error)

func (*OrgSpaceCli) SetQuotaReturnsOnCall

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

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

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

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

func (*PushCLIAdapter) AppGuidArgsForCall

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

func (*PushCLIAdapter) AppGuidCallCount

func (fake *PushCLIAdapter) AppGuidCallCount() int

func (*PushCLIAdapter) AppGuidReturns

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

func (*PushCLIAdapter) AppGuidReturnsOnCall

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

func (*PushCLIAdapter) CheckApp

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

func (*PushCLIAdapter) CheckAppArgsForCall

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

func (*PushCLIAdapter) CheckAppCallCount

func (fake *PushCLIAdapter) CheckAppCallCount() int

func (*PushCLIAdapter) CheckAppReturns

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

func (*PushCLIAdapter) CheckAppReturnsOnCall

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

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

type SecurityGroupCLIAdapter

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

func (*SecurityGroupCLIAdapter) Invocations

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

func (*SecurityGroupCLIAdapter) SecurityGroup

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

func (*SecurityGroupCLIAdapter) SecurityGroupArgsForCall

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

func (*SecurityGroupCLIAdapter) SecurityGroupCallCount

func (fake *SecurityGroupCLIAdapter) SecurityGroupCallCount() int

func (*SecurityGroupCLIAdapter) SecurityGroupReturns

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

func (*SecurityGroupCLIAdapter) SecurityGroupReturnsOnCall

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

type SecurityGroupInstallationCLIAdapter

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

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

func (*SecurityGroupInstallationCLIAdapter) BindSecurityGroupArgsForCall

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

func (*SecurityGroupInstallationCLIAdapter) BindSecurityGroupCallCount

func (fake *SecurityGroupInstallationCLIAdapter) BindSecurityGroupCallCount() int

func (*SecurityGroupInstallationCLIAdapter) BindSecurityGroupReturns

func (fake *SecurityGroupInstallationCLIAdapter) BindSecurityGroupReturns(result1 error)

func (*SecurityGroupInstallationCLIAdapter) BindSecurityGroupReturnsOnCall

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

func (*SecurityGroupInstallationCLIAdapter) CreateSecurityGroup

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

func (*SecurityGroupInstallationCLIAdapter) CreateSecurityGroupArgsForCall

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

func (*SecurityGroupInstallationCLIAdapter) CreateSecurityGroupCallCount

func (fake *SecurityGroupInstallationCLIAdapter) CreateSecurityGroupCallCount() int

func (*SecurityGroupInstallationCLIAdapter) CreateSecurityGroupReturns

func (fake *SecurityGroupInstallationCLIAdapter) CreateSecurityGroupReturns(result1 error)

func (*SecurityGroupInstallationCLIAdapter) CreateSecurityGroupReturnsOnCall

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

func (*SecurityGroupInstallationCLIAdapter) DeleteSecurityGroup

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

func (*SecurityGroupInstallationCLIAdapter) DeleteSecurityGroupArgsForCall

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

func (*SecurityGroupInstallationCLIAdapter) DeleteSecurityGroupCallCount

func (fake *SecurityGroupInstallationCLIAdapter) DeleteSecurityGroupCallCount() int

func (*SecurityGroupInstallationCLIAdapter) DeleteSecurityGroupReturns

func (fake *SecurityGroupInstallationCLIAdapter) DeleteSecurityGroupReturns(result1 error)

func (*SecurityGroupInstallationCLIAdapter) DeleteSecurityGroupReturnsOnCall

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

func (*SecurityGroupInstallationCLIAdapter) Invocations

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