mock

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCos

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

MockCos is a mock of Cos interface.

func NewMockCos

func NewMockCos(ctrl *gomock.Controller) *MockCos

NewMockCos creates a new mock instance.

func (*MockCos) CreateBucket

func (m *MockCos) CreateBucket(input *s3.CreateBucketInput) (*s3.CreateBucketOutput, error)

CreateBucket mocks base method.

func (*MockCos) CreateBucketWithContext

func (m *MockCos) CreateBucketWithContext(ctx aws.Context, input *s3.CreateBucketInput, opts ...request.Option) (*s3.CreateBucketOutput, error)

CreateBucketWithContext mocks base method.

func (*MockCos) DeleteObject

func (m *MockCos) DeleteObject(input *s3.DeleteObjectInput) (*s3.DeleteObjectOutput, error)

DeleteObject mocks base method.

func (*MockCos) EXPECT

func (m *MockCos) EXPECT() *MockCosMockRecorder

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

func (*MockCos) GetBucketByName

func (m *MockCos) GetBucketByName(name string) (*s3.HeadBucketOutput, error)

GetBucketByName mocks base method.

func (*MockCos) GetObjectRequest

func (m *MockCos) GetObjectRequest(arg0 *s3.GetObjectInput) (*request.Request, *s3.GetObjectOutput)

GetObjectRequest mocks base method.

func (*MockCos) ListObjects

func (m *MockCos) ListObjects(input *s3.ListObjectsInput) (*s3.ListObjectsOutput, error)

ListObjects mocks base method.

func (*MockCos) PutObject

func (m *MockCos) PutObject(arg0 *s3.PutObjectInput) (*s3.PutObjectOutput, error)

PutObject mocks base method.

func (*MockCos) PutPublicAccessBlock

func (m *MockCos) PutPublicAccessBlock(input *s3.PutPublicAccessBlockInput) (*s3.PutPublicAccessBlockOutput, error)

PutPublicAccessBlock mocks base method.

type MockCosMockRecorder

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

MockCosMockRecorder is the mock recorder for MockCos.

func (*MockCosMockRecorder) CreateBucket

func (mr *MockCosMockRecorder) CreateBucket(input any) *gomock.Call

CreateBucket indicates an expected call of CreateBucket.

func (*MockCosMockRecorder) CreateBucketWithContext

func (mr *MockCosMockRecorder) CreateBucketWithContext(ctx, input any, opts ...any) *gomock.Call

CreateBucketWithContext indicates an expected call of CreateBucketWithContext.

func (*MockCosMockRecorder) DeleteObject

func (mr *MockCosMockRecorder) DeleteObject(input any) *gomock.Call

DeleteObject indicates an expected call of DeleteObject.

func (*MockCosMockRecorder) GetBucketByName

func (mr *MockCosMockRecorder) GetBucketByName(name any) *gomock.Call

GetBucketByName indicates an expected call of GetBucketByName.

func (*MockCosMockRecorder) GetObjectRequest

func (mr *MockCosMockRecorder) GetObjectRequest(arg0 any) *gomock.Call

GetObjectRequest indicates an expected call of GetObjectRequest.

func (*MockCosMockRecorder) ListObjects

func (mr *MockCosMockRecorder) ListObjects(input any) *gomock.Call

ListObjects indicates an expected call of ListObjects.

func (*MockCosMockRecorder) PutObject

func (mr *MockCosMockRecorder) PutObject(arg0 any) *gomock.Call

PutObject indicates an expected call of PutObject.

func (*MockCosMockRecorder) PutPublicAccessBlock

func (mr *MockCosMockRecorder) PutPublicAccessBlock(input any) *gomock.Call

PutPublicAccessBlock indicates an expected call of PutPublicAccessBlock.

Jump to

Keyboard shortcuts

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