storagemock

package
v0.0.0-...-fe7ef4e Latest Latest
Warning

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

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

Documentation

Overview

Package storagemock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStorage

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

MockStorage is a mock of Storage interface.

func NewMockStorage

func NewMockStorage(ctrl *gomock.Controller) *MockStorage

NewMockStorage creates a new mock instance.

func (*MockStorage) Bucket

func (m *MockStorage) Bucket() string

Bucket mocks base method.

func (*MockStorage) EXPECT

func (m *MockStorage) EXPECT() *MockStorageMockRecorder

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

func (*MockStorage) Endpoint

func (m *MockStorage) Endpoint() string

Endpoint mocks base method.

func (*MockStorage) PutObject

func (m *MockStorage) PutObject(arg0 context.Context, arg1 string, arg2 io.Reader, arg3 int64, arg4 storagekit.PutObjectOptions) error

PutObject mocks base method.

type MockStorageMockRecorder

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

MockStorageMockRecorder is the mock recorder for MockStorage.

func (*MockStorageMockRecorder) Bucket

func (mr *MockStorageMockRecorder) Bucket() *gomock.Call

Bucket indicates an expected call of Bucket.

func (*MockStorageMockRecorder) Endpoint

func (mr *MockStorageMockRecorder) Endpoint() *gomock.Call

Endpoint indicates an expected call of Endpoint.

func (*MockStorageMockRecorder) PutObject

func (mr *MockStorageMockRecorder) PutObject(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

PutObject indicates an expected call of PutObject.

Jump to

Keyboard shortcuts

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