mocks

package
v2.0.4-beta.2 Latest Latest
Warning

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

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

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDfstore

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

MockDfstore is a mock of Dfstore interface.

func NewMockDfstore

func NewMockDfstore(ctrl *gomock.Controller) *MockDfstore

NewMockDfstore creates a new mock instance.

func (*MockDfstore) CreateObject

func (m *MockDfstore) CreateObject(ctx context.Context, input *dfstore.CreateOjectInput) error

CreateObject mocks base method.

func (*MockDfstore) CreateObjectRequestWithContext

func (m *MockDfstore) CreateObjectRequestWithContext(ctx context.Context, input *dfstore.CreateOjectInput) (*http.Request, error)

CreateObjectRequestWithContext mocks base method.

func (*MockDfstore) DeleteObject

func (m *MockDfstore) DeleteObject(ctx context.Context, input *dfstore.DeleteObjectInput) error

DeleteObject mocks base method.

func (*MockDfstore) DeleteObjectRequestWithContext

func (m *MockDfstore) DeleteObjectRequestWithContext(ctx context.Context, input *dfstore.DeleteObjectInput) (*http.Request, error)

DeleteObjectRequestWithContext mocks base method.

func (*MockDfstore) EXPECT

func (m *MockDfstore) EXPECT() *MockDfstoreMockRecorder

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

func (*MockDfstore) GetObject

func (m *MockDfstore) GetObject(ctx context.Context, input *dfstore.GetObjectInput) (io.ReadCloser, error)

GetObject mocks base method.

func (*MockDfstore) GetObjectRequestWithContext

func (m *MockDfstore) GetObjectRequestWithContext(ctx context.Context, input *dfstore.GetObjectInput) (*http.Request, error)

GetObjectRequestWithContext mocks base method.

func (*MockDfstore) IsObjectExist

func (m *MockDfstore) IsObjectExist(ctx context.Context, input *dfstore.IsObjectExistInput) (bool, error)

IsObjectExist mocks base method.

func (*MockDfstore) IsObjectExistRequestWithContext

func (m *MockDfstore) IsObjectExistRequestWithContext(ctx context.Context, input *dfstore.IsObjectExistInput) (*http.Request, error)

IsObjectExistRequestWithContext mocks base method.

type MockDfstoreMockRecorder

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

MockDfstoreMockRecorder is the mock recorder for MockDfstore.

func (*MockDfstoreMockRecorder) CreateObject

func (mr *MockDfstoreMockRecorder) CreateObject(ctx, input interface{}) *gomock.Call

CreateObject indicates an expected call of CreateObject.

func (*MockDfstoreMockRecorder) CreateObjectRequestWithContext

func (mr *MockDfstoreMockRecorder) CreateObjectRequestWithContext(ctx, input interface{}) *gomock.Call

CreateObjectRequestWithContext indicates an expected call of CreateObjectRequestWithContext.

func (*MockDfstoreMockRecorder) DeleteObject

func (mr *MockDfstoreMockRecorder) DeleteObject(ctx, input interface{}) *gomock.Call

DeleteObject indicates an expected call of DeleteObject.

func (*MockDfstoreMockRecorder) DeleteObjectRequestWithContext

func (mr *MockDfstoreMockRecorder) DeleteObjectRequestWithContext(ctx, input interface{}) *gomock.Call

DeleteObjectRequestWithContext indicates an expected call of DeleteObjectRequestWithContext.

func (*MockDfstoreMockRecorder) GetObject

func (mr *MockDfstoreMockRecorder) GetObject(ctx, input interface{}) *gomock.Call

GetObject indicates an expected call of GetObject.

func (*MockDfstoreMockRecorder) GetObjectRequestWithContext

func (mr *MockDfstoreMockRecorder) GetObjectRequestWithContext(ctx, input interface{}) *gomock.Call

GetObjectRequestWithContext indicates an expected call of GetObjectRequestWithContext.

func (*MockDfstoreMockRecorder) IsObjectExist

func (mr *MockDfstoreMockRecorder) IsObjectExist(ctx, input interface{}) *gomock.Call

IsObjectExist indicates an expected call of IsObjectExist.

func (*MockDfstoreMockRecorder) IsObjectExistRequestWithContext

func (mr *MockDfstoreMockRecorder) IsObjectExistRequestWithContext(ctx, input interface{}) *gomock.Call

IsObjectExistRequestWithContext indicates an expected call of IsObjectExistRequestWithContext.

Jump to

Keyboard shortcuts

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