mocks

package
v0.0.0-...-1b7048e Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 4 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 MockS3

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

MockS3 is a mock of S3 interface.

func NewMockS3

func NewMockS3(ctrl *gomock.Controller) *MockS3

NewMockS3 creates a new mock instance.

func (*MockS3) Delete

func (m *MockS3) Delete(ctx context.Context, filenames []string) error

Delete mocks base method.

func (*MockS3) EXPECT

func (m *MockS3) EXPECT() *MockS3MockRecorder

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

func (*MockS3) List

func (m *MockS3) List(ctx context.Context) ([]*s3.Media, error)

List mocks base method.

func (*MockS3) Store

func (m *MockS3) Store(ctx context.Context, filename string, contentBytes []byte) error

Store mocks base method.

type MockS3MockRecorder

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

MockS3MockRecorder is the mock recorder for MockS3.

func (*MockS3MockRecorder) Delete

func (mr *MockS3MockRecorder) Delete(ctx, filenames interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockS3MockRecorder) List

func (mr *MockS3MockRecorder) List(ctx interface{}) *gomock.Call

List indicates an expected call of List.

func (*MockS3MockRecorder) Store

func (mr *MockS3MockRecorder) Store(ctx, filename, contentBytes interface{}) *gomock.Call

Store indicates an expected call of Store.

Jump to

Keyboard shortcuts

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