Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockDfstore
- func (m *MockDfstore) DeleteObject(ctx context.Context, input *dfstore.DeleteObjectInput) error
- func (m *MockDfstore) DeleteObjectRequestWithContext(ctx context.Context, input *dfstore.DeleteObjectInput) (*http.Request, error)
- func (m *MockDfstore) EXPECT() *MockDfstoreMockRecorder
- func (m *MockDfstore) GetObject(ctx context.Context, input *dfstore.GetObjectInput) (io.ReadCloser, error)
- func (m *MockDfstore) GetObjectRequestWithContext(ctx context.Context, input *dfstore.GetObjectInput) (*http.Request, error)
- func (m *MockDfstore) IsObjectExist(ctx context.Context, input *dfstore.IsObjectExistInput) (bool, error)
- func (m *MockDfstore) IsObjectExistRequestWithContext(ctx context.Context, input *dfstore.IsObjectExistInput) (*http.Request, error)
- func (m *MockDfstore) PutObject(ctx context.Context, input *dfstore.PutOjectInput) error
- func (m *MockDfstore) PutObjectRequestWithContext(ctx context.Context, input *dfstore.PutOjectInput) (*http.Request, error)
- type MockDfstoreMockRecorder
- func (mr *MockDfstoreMockRecorder) DeleteObject(ctx, input interface{}) *gomock.Call
- func (mr *MockDfstoreMockRecorder) DeleteObjectRequestWithContext(ctx, input interface{}) *gomock.Call
- func (mr *MockDfstoreMockRecorder) GetObject(ctx, input interface{}) *gomock.Call
- func (mr *MockDfstoreMockRecorder) GetObjectRequestWithContext(ctx, input interface{}) *gomock.Call
- func (mr *MockDfstoreMockRecorder) IsObjectExist(ctx, input interface{}) *gomock.Call
- func (mr *MockDfstoreMockRecorder) IsObjectExistRequestWithContext(ctx, input interface{}) *gomock.Call
- func (mr *MockDfstoreMockRecorder) PutObject(ctx, input interface{}) *gomock.Call
- func (mr *MockDfstoreMockRecorder) PutObjectRequestWithContext(ctx, input interface{}) *gomock.Call
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) 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.
func (*MockDfstore) PutObject ¶
func (m *MockDfstore) PutObject(ctx context.Context, input *dfstore.PutOjectInput) error
PutObject mocks base method.
func (*MockDfstore) PutObjectRequestWithContext ¶
func (m *MockDfstore) PutObjectRequestWithContext(ctx context.Context, input *dfstore.PutOjectInput) (*http.Request, error)
PutObjectRequestWithContext mocks base method.
type MockDfstoreMockRecorder ¶
type MockDfstoreMockRecorder struct {
// contains filtered or unexported fields
}
MockDfstoreMockRecorder is the mock recorder for MockDfstore.
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.
func (*MockDfstoreMockRecorder) PutObject ¶
func (mr *MockDfstoreMockRecorder) PutObject(ctx, input interface{}) *gomock.Call
PutObject indicates an expected call of PutObject.
func (*MockDfstoreMockRecorder) PutObjectRequestWithContext ¶
func (mr *MockDfstoreMockRecorder) PutObjectRequestWithContext(ctx, input interface{}) *gomock.Call
PutObjectRequestWithContext indicates an expected call of PutObjectRequestWithContext.