storagetest

package
v0.0.78 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package storagetest is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStore

type MockStore struct {
	// contains filtered or unexported fields
}

MockStore is a mock of Store interface.

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance.

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStore) Exists

func (m *MockStore) Exists(messageID mail.ID, contentsHash, integrityHash, contents []byte) error

Exists mocks base method.

func (*MockStore) Put

func (m *MockStore) Put(messageID mail.ID, contentsHash, integrityHash, contents []byte) (string, string, uint64, error)

Put mocks base method.

type MockStoreMockRecorder

type MockStoreMockRecorder struct {
	// contains filtered or unexported fields
}

MockStoreMockRecorder is the mock recorder for MockStore.

func (*MockStoreMockRecorder) Exists

func (mr *MockStoreMockRecorder) Exists(messageID, contentsHash, integrityHash, contents interface{}) *gomock.Call

Exists indicates an expected call of Exists.

func (*MockStoreMockRecorder) Put

func (mr *MockStoreMockRecorder) Put(messageID, contentsHash, integrityHash, contents interface{}) *gomock.Call

Put indicates an expected call of Put.

Jump to

Keyboard shortcuts

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