mocks

package
v0.0.0-...-0bc2699 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2022 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 MockKeyGenerator

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

MockKeyGenerator is a mock of KeyGenerator interface.

func NewMockKeyGenerator

func NewMockKeyGenerator(ctrl *gomock.Controller) *MockKeyGenerator

NewMockKeyGenerator creates a new mock instance.

func (*MockKeyGenerator) EXPECT

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

func (*MockKeyGenerator) GenerateKey

func (m *MockKeyGenerator) GenerateKey() string

GenerateKey mocks base method.

type MockKeyGeneratorMockRecorder

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

MockKeyGeneratorMockRecorder is the mock recorder for MockKeyGenerator.

func (*MockKeyGeneratorMockRecorder) GenerateKey

func (mr *MockKeyGeneratorMockRecorder) GenerateKey() *gomock.Call

GenerateKey indicates an expected call of GenerateKey.

type MockRegistry

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

MockRegistry is a mock of Registry interface.

func NewMockRegistry

func NewMockRegistry(ctrl *gomock.Controller) *MockRegistry

NewMockRegistry creates a new mock instance.

func (*MockRegistry) Create

func (m *MockRegistry) Create(ctx context.Context, file *processor.File) (*processor.File, error)

Create mocks base method.

func (*MockRegistry) EXPECT

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

func (*MockRegistry) FetchLatest

func (m *MockRegistry) FetchLatest(ctx context.Context, path string) (*processor.File, error)

FetchLatest mocks base method.

type MockRegistryMockRecorder

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

MockRegistryMockRecorder is the mock recorder for MockRegistry.

func (*MockRegistryMockRecorder) Create

func (mr *MockRegistryMockRecorder) Create(ctx, file interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockRegistryMockRecorder) FetchLatest

func (mr *MockRegistryMockRecorder) FetchLatest(ctx, path interface{}) *gomock.Call

FetchLatest indicates an expected call of FetchLatest.

type MockUploader

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

MockUploader is a mock of Uploader interface.

func NewMockUploader

func NewMockUploader(ctrl *gomock.Controller) *MockUploader

NewMockUploader creates a new mock instance.

func (*MockUploader) EXPECT

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

func (*MockUploader) Upload

func (m *MockUploader) Upload(ctx context.Context, file *processor.File) (*processor.File, error)

Upload mocks base method.

type MockUploaderMockRecorder

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

MockUploaderMockRecorder is the mock recorder for MockUploader.

func (*MockUploaderMockRecorder) Upload

func (mr *MockUploaderMockRecorder) Upload(ctx, file interface{}) *gomock.Call

Upload indicates an expected call of Upload.

Jump to

Keyboard shortcuts

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