storagefakes

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2018 License: Apache-2.0, BSD-3-Clause, MIT Imports: 4 Imported by: 0

Documentation

Overview

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

func (fake *FakeStorage) Open(uri string, encryptionKey []byte) error

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)

Jump to

Keyboard shortcuts

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