mock

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

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 MockAMQPPublisher

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

MockAMQPPublisher is a mock of AMQPPublisher interface

func NewMockAMQPPublisher

func NewMockAMQPPublisher(ctrl *gomock.Controller) *MockAMQPPublisher

NewMockAMQPPublisher creates a new mock instance

func (*MockAMQPPublisher) EXPECT

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

func (*MockAMQPPublisher) NotifyReturn

func (m *MockAMQPPublisher) NotifyReturn(c chan amqp.Return) chan amqp.Return

NotifyReturn mocks base method

func (*MockAMQPPublisher) Publish

func (m *MockAMQPPublisher) Publish(exchange, key string, mandatory, immediate bool, msg amqp.Publishing) error

Publish mocks base method

type MockAMQPPublisherMockRecorder

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

MockAMQPPublisherMockRecorder is the mock recorder for MockAMQPPublisher

func (*MockAMQPPublisherMockRecorder) NotifyReturn

func (mr *MockAMQPPublisherMockRecorder) NotifyReturn(c interface{}) *gomock.Call

NotifyReturn indicates an expected call of NotifyReturn

func (*MockAMQPPublisherMockRecorder) Publish

func (mr *MockAMQPPublisherMockRecorder) Publish(exchange, key, mandatory, immediate, msg interface{}) *gomock.Call

Publish indicates an expected call of Publish

type MockDataSaver

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

MockDataSaver is a mock of DataSaver interface

func NewMockDataSaver

func NewMockDataSaver(ctrl *gomock.Controller) *MockDataSaver

NewMockDataSaver creates a new mock instance

func (*MockDataSaver) Delete

func (m *MockDataSaver) Delete(ctx context.Context, name string) error

Delete mocks base method

func (*MockDataSaver) EXPECT

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

func (*MockDataSaver) Exists

func (m *MockDataSaver) Exists(ctx context.Context, name string) (bool, error)

Exists mocks base method

func (*MockDataSaver) SaveAs

func (m *MockDataSaver) SaveAs(ctx context.Context, name string, r io.Reader) (int64, error)

SaveAs mocks base method

type MockDataSaverMockRecorder

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

MockDataSaverMockRecorder is the mock recorder for MockDataSaver

func (*MockDataSaverMockRecorder) Delete

func (mr *MockDataSaverMockRecorder) Delete(ctx, name interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockDataSaverMockRecorder) Exists

func (mr *MockDataSaverMockRecorder) Exists(ctx, name interface{}) *gomock.Call

Exists indicates an expected call of Exists

func (*MockDataSaverMockRecorder) SaveAs

func (mr *MockDataSaverMockRecorder) SaveAs(ctx, name, r interface{}) *gomock.Call

SaveAs indicates an expected call of SaveAs

type MockFilenameTemplater

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

MockFilenameTemplater is a mock of FilenameTemplater interface

func NewMockFilenameTemplater

func NewMockFilenameTemplater(ctrl *gomock.Controller) *MockFilenameTemplater

NewMockFilenameTemplater creates a new mock instance

func (*MockFilenameTemplater) EXPECT

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

func (*MockFilenameTemplater) Execute

func (m *MockFilenameTemplater) Execute(w io.Writer, data interface{}) error

Execute mocks base method

type MockFilenameTemplaterMockRecorder

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

MockFilenameTemplaterMockRecorder is the mock recorder for MockFilenameTemplater

func (*MockFilenameTemplaterMockRecorder) Execute

func (mr *MockFilenameTemplaterMockRecorder) Execute(w, data interface{}) *gomock.Call

Execute indicates an expected call of Execute

type MockLogger

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

MockLogger is a mock of Logger interface

func NewMockLogger

func NewMockLogger(ctrl *gomock.Controller) *MockLogger

NewMockLogger creates a new mock instance

func (*MockLogger) Debug

func (m *MockLogger) Debug(args ...interface{})

Debug mocks base method

func (*MockLogger) Debugf

func (m *MockLogger) Debugf(format string, args ...interface{})

Debugf mocks base method

func (*MockLogger) Debugln

func (m *MockLogger) Debugln(args ...interface{})

Debugln mocks base method

func (*MockLogger) EXPECT

func (m *MockLogger) EXPECT() *MockLoggerMockRecorder

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

func (*MockLogger) Error

func (m *MockLogger) Error(args ...interface{})

Error mocks base method

func (*MockLogger) Errorf

func (m *MockLogger) Errorf(format string, args ...interface{})

Errorf mocks base method

func (*MockLogger) Errorln

func (m *MockLogger) Errorln(args ...interface{})

Errorln mocks base method

func (*MockLogger) Fatal

func (m *MockLogger) Fatal(args ...interface{})

Fatal mocks base method

func (*MockLogger) Fatalf

func (m *MockLogger) Fatalf(format string, args ...interface{})

Fatalf mocks base method

func (*MockLogger) Fatalln

func (m *MockLogger) Fatalln(args ...interface{})

Fatalln mocks base method

func (*MockLogger) Info

func (m *MockLogger) Info(args ...interface{})

Info mocks base method

func (*MockLogger) Infof

func (m *MockLogger) Infof(format string, args ...interface{})

Infof mocks base method

func (*MockLogger) Infoln

func (m *MockLogger) Infoln(args ...interface{})

Infoln mocks base method

func (*MockLogger) Print

func (m *MockLogger) Print(args ...interface{})

Print mocks base method

func (*MockLogger) Printf

func (m *MockLogger) Printf(format string, args ...interface{})

Printf mocks base method

func (*MockLogger) Println

func (m *MockLogger) Println(args ...interface{})

Println mocks base method

func (*MockLogger) Trace

func (m *MockLogger) Trace(args ...interface{})

Trace mocks base method

func (*MockLogger) Tracef

func (m *MockLogger) Tracef(format string, args ...interface{})

Tracef mocks base method

func (*MockLogger) Traceln

func (m *MockLogger) Traceln(args ...interface{})

Traceln mocks base method

func (*MockLogger) Warn

func (m *MockLogger) Warn(args ...interface{})

Warn mocks base method

func (*MockLogger) Warnf

func (m *MockLogger) Warnf(format string, args ...interface{})

Warnf mocks base method

func (*MockLogger) Warning

func (m *MockLogger) Warning(args ...interface{})

Warning mocks base method

func (*MockLogger) Warningf

func (m *MockLogger) Warningf(format string, args ...interface{})

Warningf mocks base method

func (*MockLogger) Warningln

func (m *MockLogger) Warningln(args ...interface{})

Warningln mocks base method

func (*MockLogger) Warnln

func (m *MockLogger) Warnln(args ...interface{})

Warnln mocks base method

type MockLoggerMockRecorder

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

MockLoggerMockRecorder is the mock recorder for MockLogger

func (*MockLoggerMockRecorder) Debug

func (mr *MockLoggerMockRecorder) Debug(args ...interface{}) *gomock.Call

Debug indicates an expected call of Debug

func (*MockLoggerMockRecorder) Debugf

func (mr *MockLoggerMockRecorder) Debugf(format interface{}, args ...interface{}) *gomock.Call

Debugf indicates an expected call of Debugf

func (*MockLoggerMockRecorder) Debugln

func (mr *MockLoggerMockRecorder) Debugln(args ...interface{}) *gomock.Call

Debugln indicates an expected call of Debugln

func (*MockLoggerMockRecorder) Error

func (mr *MockLoggerMockRecorder) Error(args ...interface{}) *gomock.Call

Error indicates an expected call of Error

func (*MockLoggerMockRecorder) Errorf

func (mr *MockLoggerMockRecorder) Errorf(format interface{}, args ...interface{}) *gomock.Call

Errorf indicates an expected call of Errorf

func (*MockLoggerMockRecorder) Errorln

func (mr *MockLoggerMockRecorder) Errorln(args ...interface{}) *gomock.Call

Errorln indicates an expected call of Errorln

func (*MockLoggerMockRecorder) Fatal

func (mr *MockLoggerMockRecorder) Fatal(args ...interface{}) *gomock.Call

Fatal indicates an expected call of Fatal

func (*MockLoggerMockRecorder) Fatalf

func (mr *MockLoggerMockRecorder) Fatalf(format interface{}, args ...interface{}) *gomock.Call

Fatalf indicates an expected call of Fatalf

func (*MockLoggerMockRecorder) Fatalln

func (mr *MockLoggerMockRecorder) Fatalln(args ...interface{}) *gomock.Call

Fatalln indicates an expected call of Fatalln

func (*MockLoggerMockRecorder) Info

func (mr *MockLoggerMockRecorder) Info(args ...interface{}) *gomock.Call

Info indicates an expected call of Info

func (*MockLoggerMockRecorder) Infof

func (mr *MockLoggerMockRecorder) Infof(format interface{}, args ...interface{}) *gomock.Call

Infof indicates an expected call of Infof

func (*MockLoggerMockRecorder) Infoln

func (mr *MockLoggerMockRecorder) Infoln(args ...interface{}) *gomock.Call

Infoln indicates an expected call of Infoln

func (*MockLoggerMockRecorder) Print

func (mr *MockLoggerMockRecorder) Print(args ...interface{}) *gomock.Call

Print indicates an expected call of Print

func (*MockLoggerMockRecorder) Printf

func (mr *MockLoggerMockRecorder) Printf(format interface{}, args ...interface{}) *gomock.Call

Printf indicates an expected call of Printf

func (*MockLoggerMockRecorder) Println

func (mr *MockLoggerMockRecorder) Println(args ...interface{}) *gomock.Call

Println indicates an expected call of Println

func (*MockLoggerMockRecorder) Trace

func (mr *MockLoggerMockRecorder) Trace(args ...interface{}) *gomock.Call

Trace indicates an expected call of Trace

func (*MockLoggerMockRecorder) Tracef

func (mr *MockLoggerMockRecorder) Tracef(format interface{}, args ...interface{}) *gomock.Call

Tracef indicates an expected call of Tracef

func (*MockLoggerMockRecorder) Traceln

func (mr *MockLoggerMockRecorder) Traceln(args ...interface{}) *gomock.Call

Traceln indicates an expected call of Traceln

func (*MockLoggerMockRecorder) Warn

func (mr *MockLoggerMockRecorder) Warn(args ...interface{}) *gomock.Call

Warn indicates an expected call of Warn

func (*MockLoggerMockRecorder) Warnf

func (mr *MockLoggerMockRecorder) Warnf(format interface{}, args ...interface{}) *gomock.Call

Warnf indicates an expected call of Warnf

func (*MockLoggerMockRecorder) Warning

func (mr *MockLoggerMockRecorder) Warning(args ...interface{}) *gomock.Call

Warning indicates an expected call of Warning

func (*MockLoggerMockRecorder) Warningf

func (mr *MockLoggerMockRecorder) Warningf(format interface{}, args ...interface{}) *gomock.Call

Warningf indicates an expected call of Warningf

func (*MockLoggerMockRecorder) Warningln

func (mr *MockLoggerMockRecorder) Warningln(args ...interface{}) *gomock.Call

Warningln indicates an expected call of Warningln

func (*MockLoggerMockRecorder) Warnln

func (mr *MockLoggerMockRecorder) Warnln(args ...interface{}) *gomock.Call

Warnln indicates an expected call of Warnln

type MockRedisPubSub

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

MockRedisPubSub is a mock of RedisPubSub interface

func NewMockRedisPubSub

func NewMockRedisPubSub(ctrl *gomock.Controller) *MockRedisPubSub

NewMockRedisPubSub creates a new mock instance

func (*MockRedisPubSub) EXPECT

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

func (*MockRedisPubSub) Publish

func (m *MockRedisPubSub) Publish(ctx context.Context, channel string, message interface{}) *v8.IntCmd

Publish mocks base method

type MockRedisPubSubMockRecorder

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

MockRedisPubSubMockRecorder is the mock recorder for MockRedisPubSub

func (*MockRedisPubSubMockRecorder) Publish

func (mr *MockRedisPubSubMockRecorder) Publish(ctx, channel, message interface{}) *gomock.Call

Publish indicates an expected call of Publish

type MockStreamScheduler

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

MockStreamScheduler is a mock of StreamScheduler interface

func NewMockStreamScheduler

func NewMockStreamScheduler(ctrl *gomock.Controller) *MockStreamScheduler

NewMockStreamScheduler creates a new mock instance

func (*MockStreamScheduler) EXPECT

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

func (*MockStreamScheduler) RegisterSchedule

func (m *MockStreamScheduler) RegisterSchedule(runAt time.Time, data *ytfeed.Data) error

RegisterSchedule mocks base method

type MockStreamSchedulerMockRecorder

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

MockStreamSchedulerMockRecorder is the mock recorder for MockStreamScheduler

func (*MockStreamSchedulerMockRecorder) RegisterSchedule

func (mr *MockStreamSchedulerMockRecorder) RegisterSchedule(runAt, data interface{}) *gomock.Call

RegisterSchedule indicates an expected call of RegisterSchedule

type MockValidator

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

MockValidator is a mock of Validator interface

func NewMockValidator

func NewMockValidator(ctrl *gomock.Controller) *MockValidator

NewMockValidator creates a new mock instance

func (*MockValidator) EXPECT

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

func (*MockValidator) Struct

func (m *MockValidator) Struct(arg0 interface{}) error

Struct mocks base method

type MockValidatorMockRecorder

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

MockValidatorMockRecorder is the mock recorder for MockValidator

func (*MockValidatorMockRecorder) Struct

func (mr *MockValidatorMockRecorder) Struct(arg0 interface{}) *gomock.Call

Struct indicates an expected call of Struct

type MockYoutubeVideoLister

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

MockYoutubeVideoLister is a mock of YoutubeVideoLister interface

func NewMockYoutubeVideoLister

func NewMockYoutubeVideoLister(ctrl *gomock.Controller) *MockYoutubeVideoLister

NewMockYoutubeVideoLister creates a new mock instance

func (*MockYoutubeVideoLister) EXPECT

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

func (*MockYoutubeVideoLister) List

List mocks base method

type MockYoutubeVideoListerMockRecorder

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

MockYoutubeVideoListerMockRecorder is the mock recorder for MockYoutubeVideoLister

func (*MockYoutubeVideoListerMockRecorder) List

func (mr *MockYoutubeVideoListerMockRecorder) List(part interface{}) *gomock.Call

List indicates an expected call of List

Jump to

Keyboard shortcuts

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