mock_gateway

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock_gateway is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockObjectStorage

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

MockObjectStorage is a mock of ObjectStorage interface

func NewMockObjectStorage

func NewMockObjectStorage(ctrl *gomock.Controller) *MockObjectStorage

NewMockObjectStorage creates a new mock instance

func (*MockObjectStorage) EXPECT

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

func (*MockObjectStorage) Find

func (m *MockObjectStorage) Find(ctx context.Context, key, bucketName string) ([]byte, error)

Find mocks base method

func (*MockObjectStorage) Save

func (m *MockObjectStorage) Save(ctx context.Context, object []byte, key, bucketName string) error

Save mocks base method

type MockObjectStorageMockRecorder

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

MockObjectStorageMockRecorder is the mock recorder for MockObjectStorage

func (*MockObjectStorageMockRecorder) Find

func (mr *MockObjectStorageMockRecorder) Find(ctx, key, bucketName interface{}) *gomock.Call

Find indicates an expected call of Find

func (*MockObjectStorageMockRecorder) Save

func (mr *MockObjectStorageMockRecorder) Save(ctx, object, key, bucketName interface{}) *gomock.Call

Save indicates an expected call of Save

Jump to

Keyboard shortcuts

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