Documentation ¶
Overview ¶
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 ¶
- type FakeCertAppender
- func (fake *FakeCertAppender) AppendCertsFromPEM(arg1 []byte) bool
- func (fake *FakeCertAppender) AppendCertsFromPEMArgsForCall(i int) []byte
- func (fake *FakeCertAppender) AppendCertsFromPEMCallCount() int
- func (fake *FakeCertAppender) AppendCertsFromPEMCalls(stub func([]byte) bool)
- func (fake *FakeCertAppender) AppendCertsFromPEMReturns(result1 bool)
- func (fake *FakeCertAppender) AppendCertsFromPEMReturnsOnCall(i int, result1 bool)
- func (fake *FakeCertAppender) Invocations() map[string][][]interface{}
- type FakeClient
- func (fake *FakeClient) FindDeployment(arg1 string) (director.DeploymentResp, bool, error)
- func (fake *FakeClient) FindDeploymentArgsForCall(i int) string
- func (fake *FakeClient) FindDeploymentCallCount() int
- func (fake *FakeClient) FindDeploymentCalls(stub func(string) (director.DeploymentResp, bool, error))
- func (fake *FakeClient) FindDeploymentReturns(result1 director.DeploymentResp, result2 bool, result3 error)
- func (fake *FakeClient) FindDeploymentReturnsOnCall(i int, result1 director.DeploymentResp, result2 bool, result3 error)
- func (fake *FakeClient) FindVM(arg1 string, arg2 string) (director.VMInfo, bool, error)
- func (fake *FakeClient) FindVMArgsForCall(i int) (string, string)
- func (fake *FakeClient) FindVMCallCount() int
- func (fake *FakeClient) FindVMCalls(stub func(string, string) (director.VMInfo, bool, error))
- func (fake *FakeClient) FindVMReturns(result1 director.VMInfo, result2 bool, result3 error)
- func (fake *FakeClient) FindVMReturnsOnCall(i int, result1 director.VMInfo, result2 bool, result3 error)
- func (fake *FakeClient) Invocations() map[string][][]interface{}
- func (fake *FakeClient) VerifyAuth() error
- func (fake *FakeClient) VerifyAuthCallCount() int
- func (fake *FakeClient) VerifyAuthCalls(stub func() error)
- func (fake *FakeClient) VerifyAuthReturns(result1 error)
- func (fake *FakeClient) VerifyAuthReturnsOnCall(i int, result1 error)
- type FakeClientFactory
- func (fake *FakeClientFactory) Invocations() map[string][][]interface{}
- func (fake *FakeClientFactory) New(arg1 string, arg2 string, arg3 []byte, arg4 bosh.CertAppender, ...) (bosh.Client, error)
- func (fake *FakeClientFactory) NewArgsForCall(i int) (string, string, []byte, bosh.CertAppender, config.Authentication)
- func (fake *FakeClientFactory) NewCallCount() int
- func (fake *FakeClientFactory) NewCalls(...)
- func (fake *FakeClientFactory) NewReturns(result1 bosh.Client, result2 error)
- func (fake *FakeClientFactory) NewReturnsOnCall(i int, result1 bosh.Client, result2 error)
- type FakeDirectorFactory
- func (fake *FakeDirectorFactory) Invocations() map[string][][]interface{}
- func (fake *FakeDirectorFactory) New(arg1 string, arg2 director.FactoryConfig, arg3 director.TaskReporter, ...) (cli.Director, error)
- func (fake *FakeDirectorFactory) NewArgsForCall(i int) (string, director.FactoryConfig, director.TaskReporter, director.FileReporter)
- func (fake *FakeDirectorFactory) NewCallCount() int
- func (fake *FakeDirectorFactory) NewCalls(...)
- func (fake *FakeDirectorFactory) NewReturns(result1 cli.Director, result2 error)
- func (fake *FakeDirectorFactory) NewReturnsOnCall(i int, result1 cli.Director, result2 error)
- type FakeUAA
- func (fake *FakeUAA) ClientCredentialsGrant() (uaa.AccessToken, error)
- func (fake *FakeUAA) ClientCredentialsGrantCallCount() int
- func (fake *FakeUAA) ClientCredentialsGrantCalls(stub func() (uaa.AccessToken, error))
- func (fake *FakeUAA) ClientCredentialsGrantReturns(result1 uaa.AccessToken, result2 error)
- func (fake *FakeUAA) ClientCredentialsGrantReturnsOnCall(i int, result1 uaa.AccessToken, result2 error)
- func (fake *FakeUAA) Invocations() map[string][][]interface{}
- func (fake *FakeUAA) OwnerPasswordCredentialsGrant(arg1 []uaa.TokenParameters) (uaa.AccessToken, error)
- func (fake *FakeUAA) OwnerPasswordCredentialsGrantArgsForCall(i int) []uaa.TokenParameters
- func (fake *FakeUAA) OwnerPasswordCredentialsGrantCallCount() int
- func (fake *FakeUAA) OwnerPasswordCredentialsGrantCalls(stub func([]uaa.TokenParameters) (uaa.AccessToken, error))
- func (fake *FakeUAA) OwnerPasswordCredentialsGrantReturns(result1 uaa.AccessToken, result2 error)
- func (fake *FakeUAA) OwnerPasswordCredentialsGrantReturnsOnCall(i int, result1 uaa.AccessToken, result2 error)
- func (fake *FakeUAA) RefreshTokenGrant(arg1 string) (uaa.AccessToken, error)
- func (fake *FakeUAA) RefreshTokenGrantArgsForCall(i int) string
- func (fake *FakeUAA) RefreshTokenGrantCallCount() int
- func (fake *FakeUAA) RefreshTokenGrantCalls(stub func(string) (uaa.AccessToken, error))
- func (fake *FakeUAA) RefreshTokenGrantReturns(result1 uaa.AccessToken, result2 error)
- func (fake *FakeUAA) RefreshTokenGrantReturnsOnCall(i int, result1 uaa.AccessToken, result2 error)
- type FakeUAAFactory
- func (fake *FakeUAAFactory) Invocations() map[string][][]interface{}
- func (fake *FakeUAAFactory) New(arg1 uaa.Config) (uaa.UAA, error)
- func (fake *FakeUAAFactory) NewArgsForCall(i int) uaa.Config
- func (fake *FakeUAAFactory) NewCallCount() int
- func (fake *FakeUAAFactory) NewCalls(stub func(uaa.Config) (uaa.UAA, error))
- func (fake *FakeUAAFactory) NewReturns(result1 uaa.UAA, result2 error)
- func (fake *FakeUAAFactory) NewReturnsOnCall(i int, result1 uaa.UAA, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCertAppender ¶
type FakeCertAppender struct { AppendCertsFromPEMStub func([]byte) bool // contains filtered or unexported fields }
func (*FakeCertAppender) AppendCertsFromPEM ¶
func (fake *FakeCertAppender) AppendCertsFromPEM(arg1 []byte) bool
func (*FakeCertAppender) AppendCertsFromPEMArgsForCall ¶
func (fake *FakeCertAppender) AppendCertsFromPEMArgsForCall(i int) []byte
func (*FakeCertAppender) AppendCertsFromPEMCallCount ¶
func (fake *FakeCertAppender) AppendCertsFromPEMCallCount() int
func (*FakeCertAppender) AppendCertsFromPEMCalls ¶
func (fake *FakeCertAppender) AppendCertsFromPEMCalls(stub func([]byte) bool)
func (*FakeCertAppender) AppendCertsFromPEMReturns ¶
func (fake *FakeCertAppender) AppendCertsFromPEMReturns(result1 bool)
func (*FakeCertAppender) AppendCertsFromPEMReturnsOnCall ¶
func (fake *FakeCertAppender) AppendCertsFromPEMReturnsOnCall(i int, result1 bool)
func (*FakeCertAppender) Invocations ¶
func (fake *FakeCertAppender) Invocations() map[string][][]interface{}
type FakeClient ¶
type FakeClient struct { FindDeploymentStub func(string) (director.DeploymentResp, bool, error) FindVMStub func(string, string) (director.VMInfo, bool, error) VerifyAuthStub func() error // contains filtered or unexported fields }
func (*FakeClient) FindDeployment ¶
func (fake *FakeClient) FindDeployment(arg1 string) (director.DeploymentResp, bool, error)
func (*FakeClient) FindDeploymentArgsForCall ¶
func (fake *FakeClient) FindDeploymentArgsForCall(i int) string
func (*FakeClient) FindDeploymentCallCount ¶
func (fake *FakeClient) FindDeploymentCallCount() int
func (*FakeClient) FindDeploymentCalls ¶
func (fake *FakeClient) FindDeploymentCalls(stub func(string) (director.DeploymentResp, bool, error))
func (*FakeClient) FindDeploymentReturns ¶
func (fake *FakeClient) FindDeploymentReturns(result1 director.DeploymentResp, result2 bool, result3 error)
func (*FakeClient) FindDeploymentReturnsOnCall ¶
func (fake *FakeClient) FindDeploymentReturnsOnCall(i int, result1 director.DeploymentResp, result2 bool, result3 error)
func (*FakeClient) FindVMArgsForCall ¶
func (fake *FakeClient) FindVMArgsForCall(i int) (string, string)
func (*FakeClient) FindVMCallCount ¶
func (fake *FakeClient) FindVMCallCount() int
func (*FakeClient) FindVMCalls ¶
func (*FakeClient) FindVMReturns ¶
func (fake *FakeClient) FindVMReturns(result1 director.VMInfo, result2 bool, result3 error)
func (*FakeClient) FindVMReturnsOnCall ¶
func (*FakeClient) Invocations ¶
func (fake *FakeClient) Invocations() map[string][][]interface{}
func (*FakeClient) VerifyAuth ¶
func (fake *FakeClient) VerifyAuth() error
func (*FakeClient) VerifyAuthCallCount ¶
func (fake *FakeClient) VerifyAuthCallCount() int
func (*FakeClient) VerifyAuthCalls ¶
func (fake *FakeClient) VerifyAuthCalls(stub func() error)
func (*FakeClient) VerifyAuthReturns ¶
func (fake *FakeClient) VerifyAuthReturns(result1 error)
func (*FakeClient) VerifyAuthReturnsOnCall ¶
func (fake *FakeClient) VerifyAuthReturnsOnCall(i int, result1 error)
type FakeClientFactory ¶
type FakeClientFactory struct { NewStub func(string, string, []byte, bosh.CertAppender, config.Authentication) (bosh.Client, error) // contains filtered or unexported fields }
func (*FakeClientFactory) Invocations ¶
func (fake *FakeClientFactory) Invocations() map[string][][]interface{}
func (*FakeClientFactory) New ¶
func (fake *FakeClientFactory) New(arg1 string, arg2 string, arg3 []byte, arg4 bosh.CertAppender, arg5 config.Authentication) (bosh.Client, error)
func (*FakeClientFactory) NewArgsForCall ¶
func (fake *FakeClientFactory) NewArgsForCall(i int) (string, string, []byte, bosh.CertAppender, config.Authentication)
func (*FakeClientFactory) NewCallCount ¶
func (fake *FakeClientFactory) NewCallCount() int
func (*FakeClientFactory) NewCalls ¶
func (fake *FakeClientFactory) NewCalls(stub func(string, string, []byte, bosh.CertAppender, config.Authentication) (bosh.Client, error))
func (*FakeClientFactory) NewReturns ¶
func (fake *FakeClientFactory) NewReturns(result1 bosh.Client, result2 error)
func (*FakeClientFactory) NewReturnsOnCall ¶
func (fake *FakeClientFactory) NewReturnsOnCall(i int, result1 bosh.Client, result2 error)
type FakeDirectorFactory ¶
type FakeDirectorFactory struct { NewStub func(string, director.FactoryConfig, director.TaskReporter, director.FileReporter) (cli.Director, error) // contains filtered or unexported fields }
func (*FakeDirectorFactory) Invocations ¶
func (fake *FakeDirectorFactory) Invocations() map[string][][]interface{}
func (*FakeDirectorFactory) New ¶
func (fake *FakeDirectorFactory) New(arg1 string, arg2 director.FactoryConfig, arg3 director.TaskReporter, arg4 director.FileReporter) (cli.Director, error)
func (*FakeDirectorFactory) NewArgsForCall ¶
func (fake *FakeDirectorFactory) NewArgsForCall(i int) (string, director.FactoryConfig, director.TaskReporter, director.FileReporter)
func (*FakeDirectorFactory) NewCallCount ¶
func (fake *FakeDirectorFactory) NewCallCount() int
func (*FakeDirectorFactory) NewCalls ¶
func (fake *FakeDirectorFactory) NewCalls(stub func(string, director.FactoryConfig, director.TaskReporter, director.FileReporter) (cli.Director, error))
func (*FakeDirectorFactory) NewReturns ¶
func (fake *FakeDirectorFactory) NewReturns(result1 cli.Director, result2 error)
func (*FakeDirectorFactory) NewReturnsOnCall ¶
func (fake *FakeDirectorFactory) NewReturnsOnCall(i int, result1 cli.Director, result2 error)
type FakeUAA ¶
type FakeUAA struct { ClientCredentialsGrantStub func() (uaa.AccessToken, error) OwnerPasswordCredentialsGrantStub func([]uaa.TokenParameters) (uaa.AccessToken, error) RefreshTokenGrantStub func(string) (uaa.AccessToken, error) // contains filtered or unexported fields }
func (*FakeUAA) ClientCredentialsGrant ¶
func (fake *FakeUAA) ClientCredentialsGrant() (uaa.AccessToken, error)
func (*FakeUAA) ClientCredentialsGrantCallCount ¶
func (*FakeUAA) ClientCredentialsGrantCalls ¶
func (fake *FakeUAA) ClientCredentialsGrantCalls(stub func() (uaa.AccessToken, error))
func (*FakeUAA) ClientCredentialsGrantReturns ¶
func (fake *FakeUAA) ClientCredentialsGrantReturns(result1 uaa.AccessToken, result2 error)
func (*FakeUAA) ClientCredentialsGrantReturnsOnCall ¶
func (fake *FakeUAA) ClientCredentialsGrantReturnsOnCall(i int, result1 uaa.AccessToken, result2 error)
func (*FakeUAA) Invocations ¶
func (*FakeUAA) OwnerPasswordCredentialsGrant ¶
func (fake *FakeUAA) OwnerPasswordCredentialsGrant(arg1 []uaa.TokenParameters) (uaa.AccessToken, error)
func (*FakeUAA) OwnerPasswordCredentialsGrantArgsForCall ¶
func (fake *FakeUAA) OwnerPasswordCredentialsGrantArgsForCall(i int) []uaa.TokenParameters
func (*FakeUAA) OwnerPasswordCredentialsGrantCallCount ¶
func (*FakeUAA) OwnerPasswordCredentialsGrantCalls ¶
func (fake *FakeUAA) OwnerPasswordCredentialsGrantCalls(stub func([]uaa.TokenParameters) (uaa.AccessToken, error))
func (*FakeUAA) OwnerPasswordCredentialsGrantReturns ¶
func (fake *FakeUAA) OwnerPasswordCredentialsGrantReturns(result1 uaa.AccessToken, result2 error)
func (*FakeUAA) OwnerPasswordCredentialsGrantReturnsOnCall ¶
func (fake *FakeUAA) OwnerPasswordCredentialsGrantReturnsOnCall(i int, result1 uaa.AccessToken, result2 error)
func (*FakeUAA) RefreshTokenGrant ¶
func (fake *FakeUAA) RefreshTokenGrant(arg1 string) (uaa.AccessToken, error)
func (*FakeUAA) RefreshTokenGrantArgsForCall ¶
func (*FakeUAA) RefreshTokenGrantCallCount ¶
func (*FakeUAA) RefreshTokenGrantCalls ¶
func (fake *FakeUAA) RefreshTokenGrantCalls(stub func(string) (uaa.AccessToken, error))
func (*FakeUAA) RefreshTokenGrantReturns ¶
func (fake *FakeUAA) RefreshTokenGrantReturns(result1 uaa.AccessToken, result2 error)
func (*FakeUAA) RefreshTokenGrantReturnsOnCall ¶
func (fake *FakeUAA) RefreshTokenGrantReturnsOnCall(i int, result1 uaa.AccessToken, result2 error)
type FakeUAAFactory ¶
type FakeUAAFactory struct { NewStub func(uaa.Config) (uaa.UAA, error) // contains filtered or unexported fields }
func (*FakeUAAFactory) Invocations ¶
func (fake *FakeUAAFactory) Invocations() map[string][][]interface{}
func (*FakeUAAFactory) NewArgsForCall ¶
func (fake *FakeUAAFactory) NewArgsForCall(i int) uaa.Config
func (*FakeUAAFactory) NewCallCount ¶
func (fake *FakeUAAFactory) NewCallCount() int
func (*FakeUAAFactory) NewReturns ¶
func (fake *FakeUAAFactory) NewReturns(result1 uaa.UAA, result2 error)
func (*FakeUAAFactory) NewReturnsOnCall ¶
func (fake *FakeUAAFactory) NewReturnsOnCall(i int, result1 uaa.UAA, result2 error)
Click to show internal directories.
Click to hide internal directories.