mock_s3iface

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock_s3iface is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPreSignAPI added in v0.21.0

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

MockPreSignAPI is a mock of PreSignAPI interface.

func NewMockPreSignAPI added in v0.21.0

func NewMockPreSignAPI(ctrl *gomock.Controller) *MockPreSignAPI

NewMockPreSignAPI creates a new mock instance.

func (*MockPreSignAPI) EXPECT added in v0.21.0

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

func (*MockPreSignAPI) PresignGetObject added in v0.21.0

func (m *MockPreSignAPI) PresignGetObject(arg0 context.Context, arg1 *s3.GetObjectInput, arg2 ...func(*s3.PresignOptions)) (*v4.PresignedHTTPRequest, error)

PresignGetObject mocks base method.

func (*MockPreSignAPI) PresignPutObject added in v0.21.0

func (m *MockPreSignAPI) PresignPutObject(arg0 context.Context, arg1 *s3.PutObjectInput, arg2 ...func(*s3.PresignOptions)) (*v4.PresignedHTTPRequest, error)

PresignPutObject mocks base method.

type MockPreSignAPIMockRecorder added in v0.21.0

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

MockPreSignAPIMockRecorder is the mock recorder for MockPreSignAPI.

func (*MockPreSignAPIMockRecorder) PresignGetObject added in v0.21.0

func (mr *MockPreSignAPIMockRecorder) PresignGetObject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

PresignGetObject indicates an expected call of PresignGetObject.

func (*MockPreSignAPIMockRecorder) PresignPutObject added in v0.21.0

func (mr *MockPreSignAPIMockRecorder) PresignPutObject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

PresignPutObject indicates an expected call of PresignPutObject.

type MockS3API

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

MockS3API is a mock of S3API interface.

func NewMockS3API

func NewMockS3API(ctrl *gomock.Controller) *MockS3API

NewMockS3API creates a new mock instance.

func (*MockS3API) DeleteObject

func (m *MockS3API) DeleteObject(arg0 context.Context, arg1 *s3.DeleteObjectInput, arg2 ...func(*s3.Options)) (*s3.DeleteObjectOutput, error)

DeleteObject mocks base method.

func (*MockS3API) EXPECT

func (m *MockS3API) EXPECT() *MockS3APIMockRecorder

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

func (*MockS3API) GetObject

func (m *MockS3API) GetObject(arg0 context.Context, arg1 *s3.GetObjectInput, arg2 ...func(*s3.Options)) (*s3.GetObjectOutput, error)

GetObject mocks base method.

func (*MockS3API) ListObjectsV2

func (m *MockS3API) ListObjectsV2(arg0 context.Context, arg1 *s3.ListObjectsV2Input, arg2 ...func(*s3.Options)) (*s3.ListObjectsV2Output, error)

ListObjectsV2 mocks base method.

func (*MockS3API) PutObject

func (m *MockS3API) PutObject(arg0 context.Context, arg1 *s3.PutObjectInput, arg2 ...func(*s3.Options)) (*s3.PutObjectOutput, error)

PutObject mocks base method.

type MockS3APIMockRecorder

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

MockS3APIMockRecorder is the mock recorder for MockS3API.

func (*MockS3APIMockRecorder) DeleteObject

func (mr *MockS3APIMockRecorder) DeleteObject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

DeleteObject indicates an expected call of DeleteObject.

func (*MockS3APIMockRecorder) GetObject

func (mr *MockS3APIMockRecorder) GetObject(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

GetObject indicates an expected call of GetObject.

func (*MockS3APIMockRecorder) ListObjectsV2

func (mr *MockS3APIMockRecorder) ListObjectsV2(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

ListObjectsV2 indicates an expected call of ListObjectsV2.

func (*MockS3APIMockRecorder) PutObject

func (mr *MockS3APIMockRecorder) PutObject(arg0, arg1 interface{}, arg2 ...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