fakes

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

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

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

func (fake *FakeClient) FindVM(arg1 string, arg2 string) (director.VMInfo, bool, error)

func (*FakeClient) FindVMArgsForCall

func (fake *FakeClient) FindVMArgsForCall(i int) (string, string)

func (*FakeClient) FindVMCallCount

func (fake *FakeClient) FindVMCallCount() int

func (*FakeClient) FindVMCalls

func (fake *FakeClient) FindVMCalls(stub func(string, string) (director.VMInfo, bool, error))

func (*FakeClient) FindVMReturns

func (fake *FakeClient) FindVMReturns(result1 director.VMInfo, result2 bool, result3 error)

func (*FakeClient) FindVMReturnsOnCall

func (fake *FakeClient) FindVMReturnsOnCall(i int, result1 director.VMInfo, result2 bool, result3 error)

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 (*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 (*FakeDirectorFactory) NewArgsForCall

func (*FakeDirectorFactory) NewCallCount

func (fake *FakeDirectorFactory) NewCallCount() int

func (*FakeDirectorFactory) NewCalls

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 (fake *FakeUAA) ClientCredentialsGrantCallCount() int

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 (fake *FakeUAA) Invocations() map[string][][]interface{}

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 (fake *FakeUAA) OwnerPasswordCredentialsGrantCallCount() int

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 (fake *FakeUAA) RefreshTokenGrantArgsForCall(i int) string

func (*FakeUAA) RefreshTokenGrantCallCount

func (fake *FakeUAA) RefreshTokenGrantCallCount() int

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

func (fake *FakeUAAFactory) New(arg1 uaa.Config) (uaa.UAA, error)

func (*FakeUAAFactory) NewArgsForCall

func (fake *FakeUAAFactory) NewArgsForCall(i int) uaa.Config

func (*FakeUAAFactory) NewCallCount

func (fake *FakeUAAFactory) NewCallCount() int

func (*FakeUAAFactory) NewCalls

func (fake *FakeUAAFactory) NewCalls(stub func(uaa.Config) (uaa.UAA, error))

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)

Jump to

Keyboard shortcuts

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