Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeCredentials
- func (fake *FakeCredentials) Get(ctx context.Context, username string) (*types.Credentials, error)
- func (fake *FakeCredentials) GetArgsForCall(i int) (context.Context, string)
- func (fake *FakeCredentials) GetCallCount() int
- func (fake *FakeCredentials) GetReturns(result1 *types.Credentials, result2 error)
- func (fake *FakeCredentials) GetReturnsOnCall(i int, result1 *types.Credentials, result2 error)
- func (fake *FakeCredentials) Invocations() map[string][][]interface{}
- type FakeStorage
- func (fake *FakeStorage) Broker() storage.Broker
- func (fake *FakeStorage) BrokerCallCount() int
- func (fake *FakeStorage) BrokerReturns(result1 storage.Broker)
- func (fake *FakeStorage) BrokerReturnsOnCall(i int, result1 storage.Broker)
- func (fake *FakeStorage) Close() error
- func (fake *FakeStorage) CloseCallCount() int
- func (fake *FakeStorage) CloseReturns(result1 error)
- func (fake *FakeStorage) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeStorage) Credentials() storage.Credentials
- func (fake *FakeStorage) CredentialsCallCount() int
- func (fake *FakeStorage) CredentialsReturns(result1 storage.Credentials)
- func (fake *FakeStorage) CredentialsReturnsOnCall(i int, result1 storage.Credentials)
- func (fake *FakeStorage) Invocations() map[string][][]interface{}
- func (fake *FakeStorage) Open(uri string, encryptionKey []byte) error
- func (fake *FakeStorage) OpenArgsForCall(i int) (string, []byte)
- func (fake *FakeStorage) OpenCallCount() int
- func (fake *FakeStorage) OpenReturns(result1 error)
- func (fake *FakeStorage) OpenReturnsOnCall(i int, result1 error)
- func (fake *FakeStorage) Ping() error
- func (fake *FakeStorage) PingCallCount() int
- func (fake *FakeStorage) PingReturns(result1 error)
- func (fake *FakeStorage) PingReturnsOnCall(i int, result1 error)
- func (fake *FakeStorage) Platform() storage.Platform
- func (fake *FakeStorage) PlatformCallCount() int
- func (fake *FakeStorage) PlatformReturns(result1 storage.Platform)
- func (fake *FakeStorage) PlatformReturnsOnCall(i int, result1 storage.Platform)
- func (fake *FakeStorage) Security() storage.Security
- func (fake *FakeStorage) SecurityCallCount() int
- func (fake *FakeStorage) SecurityReturns(result1 storage.Security)
- func (fake *FakeStorage) SecurityReturnsOnCall(i int, result1 storage.Security)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCredentials ¶
type FakeCredentials struct {
GetStub func(ctx context.Context, username string) (*types.Credentials, error)
// contains filtered or unexported fields
}
func (*FakeCredentials) Get ¶
func (fake *FakeCredentials) Get(ctx context.Context, username string) (*types.Credentials, error)
func (*FakeCredentials) GetArgsForCall ¶
func (fake *FakeCredentials) GetArgsForCall(i int) (context.Context, string)
func (*FakeCredentials) GetCallCount ¶
func (fake *FakeCredentials) GetCallCount() int
func (*FakeCredentials) GetReturns ¶
func (fake *FakeCredentials) GetReturns(result1 *types.Credentials, result2 error)
func (*FakeCredentials) GetReturnsOnCall ¶
func (fake *FakeCredentials) GetReturnsOnCall(i int, result1 *types.Credentials, result2 error)
func (*FakeCredentials) Invocations ¶
func (fake *FakeCredentials) Invocations() map[string][][]interface{}
type FakeStorage ¶
type FakeStorage struct {
OpenStub func(uri string, encryptionKey []byte) error
CloseStub func() error
PingStub func() error
BrokerStub func() storage.Broker
PlatformStub func() storage.Platform
CredentialsStub func() storage.Credentials
SecurityStub func() storage.Security
// contains filtered or unexported fields
}
func (*FakeStorage) Broker ¶
func (fake *FakeStorage) Broker() storage.Broker
func (*FakeStorage) BrokerCallCount ¶
func (fake *FakeStorage) BrokerCallCount() int
func (*FakeStorage) BrokerReturns ¶
func (fake *FakeStorage) BrokerReturns(result1 storage.Broker)
func (*FakeStorage) BrokerReturnsOnCall ¶
func (fake *FakeStorage) BrokerReturnsOnCall(i int, result1 storage.Broker)
func (*FakeStorage) Close ¶
func (fake *FakeStorage) Close() error
func (*FakeStorage) CloseCallCount ¶
func (fake *FakeStorage) CloseCallCount() int
func (*FakeStorage) CloseReturns ¶
func (fake *FakeStorage) CloseReturns(result1 error)
func (*FakeStorage) CloseReturnsOnCall ¶
func (fake *FakeStorage) CloseReturnsOnCall(i int, result1 error)
func (*FakeStorage) Credentials ¶
func (fake *FakeStorage) Credentials() storage.Credentials
func (*FakeStorage) CredentialsCallCount ¶
func (fake *FakeStorage) CredentialsCallCount() int
func (*FakeStorage) CredentialsReturns ¶
func (fake *FakeStorage) CredentialsReturns(result1 storage.Credentials)
func (*FakeStorage) CredentialsReturnsOnCall ¶
func (fake *FakeStorage) CredentialsReturnsOnCall(i int, result1 storage.Credentials)
func (*FakeStorage) Invocations ¶
func (fake *FakeStorage) Invocations() map[string][][]interface{}
func (*FakeStorage) OpenArgsForCall ¶
func (fake *FakeStorage) OpenArgsForCall(i int) (string, []byte)
func (*FakeStorage) OpenCallCount ¶
func (fake *FakeStorage) OpenCallCount() int
func (*FakeStorage) OpenReturns ¶
func (fake *FakeStorage) OpenReturns(result1 error)
func (*FakeStorage) OpenReturnsOnCall ¶
func (fake *FakeStorage) OpenReturnsOnCall(i int, result1 error)
func (*FakeStorage) Ping ¶
func (fake *FakeStorage) Ping() error
func (*FakeStorage) PingCallCount ¶
func (fake *FakeStorage) PingCallCount() int
func (*FakeStorage) PingReturns ¶
func (fake *FakeStorage) PingReturns(result1 error)
func (*FakeStorage) PingReturnsOnCall ¶
func (fake *FakeStorage) PingReturnsOnCall(i int, result1 error)
func (*FakeStorage) Platform ¶
func (fake *FakeStorage) Platform() storage.Platform
func (*FakeStorage) PlatformCallCount ¶
func (fake *FakeStorage) PlatformCallCount() int
func (*FakeStorage) PlatformReturns ¶
func (fake *FakeStorage) PlatformReturns(result1 storage.Platform)
func (*FakeStorage) PlatformReturnsOnCall ¶
func (fake *FakeStorage) PlatformReturnsOnCall(i int, result1 storage.Platform)
func (*FakeStorage) Security ¶
func (fake *FakeStorage) Security() storage.Security
func (*FakeStorage) SecurityCallCount ¶
func (fake *FakeStorage) SecurityCallCount() int
func (*FakeStorage) SecurityReturns ¶
func (fake *FakeStorage) SecurityReturns(result1 storage.Security)
func (*FakeStorage) SecurityReturnsOnCall ¶
func (fake *FakeStorage) SecurityReturnsOnCall(i int, result1 storage.Security)
Click to show internal directories.
Click to hide internal directories.