mocks

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockIAsynchronousJob

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

MockIAsynchronousJob is a mock of IAsynchronousJob interface.

func NewMockIAsynchronousJob

func NewMockIAsynchronousJob(ctrl *gomock.Controller) *MockIAsynchronousJob

NewMockIAsynchronousJob creates a new mock instance.

func (*MockIAsynchronousJob) EXPECT

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

func (m *MockIAsynchronousJob) FetchLinks() (interface{}, error)

FetchLinks mocks base method.

func (*MockIAsynchronousJob) FetchName

func (m *MockIAsynchronousJob) FetchName() (string, error)

FetchName mocks base method.

func (*MockIAsynchronousJob) FetchTitle

func (m *MockIAsynchronousJob) FetchTitle() (string, error)

FetchTitle mocks base method.

func (*MockIAsynchronousJob) FetchType

func (m *MockIAsynchronousJob) FetchType() string

FetchType mocks base method.

func (*MockIAsynchronousJob) GetDone

func (m *MockIAsynchronousJob) GetDone() bool

GetDone mocks base method.

func (*MockIAsynchronousJob) GetError

func (m *MockIAsynchronousJob) GetError() bool

GetError mocks base method.

func (*MockIAsynchronousJob) GetFailure

func (m *MockIAsynchronousJob) GetFailure() bool

GetFailure mocks base method.

func (*MockIAsynchronousJob) GetStatus

func (m *MockIAsynchronousJob) GetStatus() string

GetStatus mocks base method.

func (*MockIAsynchronousJob) GetSuccess

func (m *MockIAsynchronousJob) GetSuccess() bool

GetSuccess mocks base method.

type MockIAsynchronousJobMockRecorder

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

MockIAsynchronousJobMockRecorder is the mock recorder for MockIAsynchronousJob.

func (mr *MockIAsynchronousJobMockRecorder) FetchLinks() *gomock.Call

FetchLinks indicates an expected call of FetchLinks.

func (*MockIAsynchronousJobMockRecorder) FetchName

func (mr *MockIAsynchronousJobMockRecorder) FetchName() *gomock.Call

FetchName indicates an expected call of FetchName.

func (*MockIAsynchronousJobMockRecorder) FetchTitle

func (mr *MockIAsynchronousJobMockRecorder) FetchTitle() *gomock.Call

FetchTitle indicates an expected call of FetchTitle.

func (*MockIAsynchronousJobMockRecorder) FetchType

func (mr *MockIAsynchronousJobMockRecorder) FetchType() *gomock.Call

FetchType indicates an expected call of FetchType.

func (*MockIAsynchronousJobMockRecorder) GetDone

GetDone indicates an expected call of GetDone.

func (*MockIAsynchronousJobMockRecorder) GetError

GetError indicates an expected call of GetError.

func (*MockIAsynchronousJobMockRecorder) GetFailure

func (mr *MockIAsynchronousJobMockRecorder) GetFailure() *gomock.Call

GetFailure indicates an expected call of GetFailure.

func (*MockIAsynchronousJobMockRecorder) GetStatus

func (mr *MockIAsynchronousJobMockRecorder) GetStatus() *gomock.Call

GetStatus indicates an expected call of GetStatus.

func (*MockIAsynchronousJobMockRecorder) GetSuccess

func (mr *MockIAsynchronousJobMockRecorder) GetSuccess() *gomock.Call

GetSuccess indicates an expected call of GetSuccess.

type MockIJobManager

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

MockIJobManager is a mock of IJobManager interface.

func NewMockIJobManager

func NewMockIJobManager(ctrl *gomock.Controller) *MockIJobManager

NewMockIJobManager creates a new mock instance.

func (*MockIJobManager) EXPECT

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

func (*MockIJobManager) HasJobCompleted

func (m *MockIJobManager) HasJobCompleted(arg0 context.Context, arg1 job.IAsynchronousJob) (bool, error)

HasJobCompleted mocks base method.

func (*MockIJobManager) WaitForJobCompletion

func (m *MockIJobManager) WaitForJobCompletion(arg0 context.Context, arg1 job.IAsynchronousJob) error

WaitForJobCompletion mocks base method.

type MockIJobManagerMockRecorder

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

MockIJobManagerMockRecorder is the mock recorder for MockIJobManager.

func (*MockIJobManagerMockRecorder) HasJobCompleted

func (mr *MockIJobManagerMockRecorder) HasJobCompleted(arg0, arg1 interface{}) *gomock.Call

HasJobCompleted indicates an expected call of HasJobCompleted.

func (*MockIJobManagerMockRecorder) WaitForJobCompletion

func (mr *MockIJobManagerMockRecorder) WaitForJobCompletion(arg0, arg1 interface{}) *gomock.Call

WaitForJobCompletion indicates an expected call of WaitForJobCompletion.

type MockIMessage

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

MockIMessage is a mock of IMessage interface.

func NewMockIMessage

func NewMockIMessage(ctrl *gomock.Controller) *MockIMessage

NewMockIMessage creates a new mock instance.

func (*MockIMessage) EXPECT

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

func (*MockIMessage) GetCtimeOk

func (m *MockIMessage) GetCtimeOk() (*time.Time, bool)

GetCtimeOk mocks base method.

func (*MockIMessage) GetMessageOk

func (m *MockIMessage) GetMessageOk() (*string, bool)

GetMessageOk mocks base method.

func (*MockIMessage) GetSeverityOk

func (m *MockIMessage) GetSeverityOk() (*string, bool)

GetSeverityOk mocks base method.

func (*MockIMessage) GetSourceOk

func (m *MockIMessage) GetSourceOk() (*string, bool)

GetSourceOk mocks base method.

type MockIMessageLogger

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

MockIMessageLogger is a mock of IMessageLogger interface.

func NewMockIMessageLogger

func NewMockIMessageLogger(ctrl *gomock.Controller) *MockIMessageLogger

NewMockIMessageLogger creates a new mock instance.

func (*MockIMessageLogger) Check

func (m *MockIMessageLogger) Check() error

Check mocks base method.

func (*MockIMessageLogger) Close

func (m *MockIMessageLogger) Close() error

Close mocks base method.

func (*MockIMessageLogger) EXPECT

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

func (*MockIMessageLogger) Log

func (m *MockIMessageLogger) Log(arg0 ...interface{})

Log mocks base method.

func (*MockIMessageLogger) LogEmptyMessageError

func (m *MockIMessageLogger) LogEmptyMessageError()

LogEmptyMessageError mocks base method.

func (*MockIMessageLogger) LogError

func (m *MockIMessageLogger) LogError(arg0 ...interface{})

LogError mocks base method.

func (*MockIMessageLogger) LogMarshallingError

func (m *MockIMessageLogger) LogMarshallingError(arg0 *interface{})

LogMarshallingError mocks base method.

func (*MockIMessageLogger) LogMessage

func (m *MockIMessageLogger) LogMessage(arg0 messages.IMessage)

LogMessage mocks base method.

func (*MockIMessageLogger) LogMessagesCollection

func (m *MockIMessageLogger) LogMessagesCollection(arg0 context.Context, arg1 pagination.IGenericPaginator) error

LogMessagesCollection mocks base method.

func (*MockIMessageLogger) SetLogSource

func (m *MockIMessageLogger) SetLogSource(arg0 string) error

SetLogSource mocks base method.

func (*MockIMessageLogger) SetLoggerSource

func (m *MockIMessageLogger) SetLoggerSource(arg0 string) error

SetLoggerSource mocks base method.

type MockIMessageLoggerMockRecorder

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

MockIMessageLoggerMockRecorder is the mock recorder for MockIMessageLogger.

func (*MockIMessageLoggerMockRecorder) Check

Check indicates an expected call of Check.

func (*MockIMessageLoggerMockRecorder) Close

Close indicates an expected call of Close.

func (*MockIMessageLoggerMockRecorder) Log

func (mr *MockIMessageLoggerMockRecorder) Log(arg0 ...interface{}) *gomock.Call

Log indicates an expected call of Log.

func (*MockIMessageLoggerMockRecorder) LogEmptyMessageError

func (mr *MockIMessageLoggerMockRecorder) LogEmptyMessageError() *gomock.Call

LogEmptyMessageError indicates an expected call of LogEmptyMessageError.

func (*MockIMessageLoggerMockRecorder) LogError

func (mr *MockIMessageLoggerMockRecorder) LogError(arg0 ...interface{}) *gomock.Call

LogError indicates an expected call of LogError.

func (*MockIMessageLoggerMockRecorder) LogMarshallingError

func (mr *MockIMessageLoggerMockRecorder) LogMarshallingError(arg0 interface{}) *gomock.Call

LogMarshallingError indicates an expected call of LogMarshallingError.

func (*MockIMessageLoggerMockRecorder) LogMessage

func (mr *MockIMessageLoggerMockRecorder) LogMessage(arg0 interface{}) *gomock.Call

LogMessage indicates an expected call of LogMessage.

func (*MockIMessageLoggerMockRecorder) LogMessagesCollection

func (mr *MockIMessageLoggerMockRecorder) LogMessagesCollection(arg0, arg1 interface{}) *gomock.Call

LogMessagesCollection indicates an expected call of LogMessagesCollection.

func (*MockIMessageLoggerMockRecorder) SetLogSource

func (mr *MockIMessageLoggerMockRecorder) SetLogSource(arg0 interface{}) *gomock.Call

SetLogSource indicates an expected call of SetLogSource.

func (*MockIMessageLoggerMockRecorder) SetLoggerSource

func (mr *MockIMessageLoggerMockRecorder) SetLoggerSource(arg0 interface{}) *gomock.Call

SetLoggerSource indicates an expected call of SetLoggerSource.

type MockIMessageMockRecorder

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

MockIMessageMockRecorder is the mock recorder for MockIMessage.

func (*MockIMessageMockRecorder) GetCtimeOk

func (mr *MockIMessageMockRecorder) GetCtimeOk() *gomock.Call

GetCtimeOk indicates an expected call of GetCtimeOk.

func (*MockIMessageMockRecorder) GetMessageOk

func (mr *MockIMessageMockRecorder) GetMessageOk() *gomock.Call

GetMessageOk indicates an expected call of GetMessageOk.

func (*MockIMessageMockRecorder) GetSeverityOk

func (mr *MockIMessageMockRecorder) GetSeverityOk() *gomock.Call

GetSeverityOk indicates an expected call of GetSeverityOk.

func (*MockIMessageMockRecorder) GetSourceOk

func (mr *MockIMessageMockRecorder) GetSourceOk() *gomock.Call

GetSourceOk indicates an expected call of GetSourceOk.

type MockIResource

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

MockIResource is a mock of IResource interface.

func NewMockIResource

func NewMockIResource(ctrl *gomock.Controller) *MockIResource

NewMockIResource creates a new mock instance.

func (*MockIResource) EXPECT

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

func (m *MockIResource) FetchLinks() (interface{}, error)

FetchLinks mocks base method.

func (*MockIResource) FetchName

func (m *MockIResource) FetchName() (string, error)

FetchName mocks base method.

func (*MockIResource) FetchTitle

func (m *MockIResource) FetchTitle() (string, error)

FetchTitle mocks base method.

func (*MockIResource) FetchType

func (m *MockIResource) FetchType() string

FetchType mocks base method.

type MockIResourceMockRecorder

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

MockIResourceMockRecorder is the mock recorder for MockIResource.

func (mr *MockIResourceMockRecorder) FetchLinks() *gomock.Call

FetchLinks indicates an expected call of FetchLinks.

func (*MockIResourceMockRecorder) FetchName

func (mr *MockIResourceMockRecorder) FetchName() *gomock.Call

FetchName indicates an expected call of FetchName.

func (*MockIResourceMockRecorder) FetchTitle

func (mr *MockIResourceMockRecorder) FetchTitle() *gomock.Call

FetchTitle indicates an expected call of FetchTitle.

func (*MockIResourceMockRecorder) FetchType

func (mr *MockIResourceMockRecorder) FetchType() *gomock.Call

FetchType indicates an expected call of FetchType.

type MockIServerCache

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

MockIServerCache is a mock of IServerCache interface.

func NewMockIServerCache

func NewMockIServerCache(ctrl *gomock.Controller) *MockIServerCache

NewMockIServerCache creates a new mock instance.

func (*MockIServerCache) EXPECT

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

func (*MockIServerCache) GetCacheControl

func (m *MockIServerCache) GetCacheControl() cache.Control

GetCacheControl mocks base method.

func (*MockIServerCache) GetKey

func (m *MockIServerCache) GetKey() string

GetKey mocks base method.

func (*MockIServerCache) Invalidate

func (m *MockIServerCache) Invalidate(arg0 context.Context) error

Invalidate mocks base method.

func (*MockIServerCache) SetCacheControl

func (m *MockIServerCache) SetCacheControl(arg0 cache.Control) error

SetCacheControl mocks base method.

func (*MockIServerCache) SetKey

func (m *MockIServerCache) SetKey(arg0 string) error

SetKey mocks base method.

type MockIServerCacheMockRecorder

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

MockIServerCacheMockRecorder is the mock recorder for MockIServerCache.

func (*MockIServerCacheMockRecorder) GetCacheControl

func (mr *MockIServerCacheMockRecorder) GetCacheControl() *gomock.Call

GetCacheControl indicates an expected call of GetCacheControl.

func (*MockIServerCacheMockRecorder) GetKey

GetKey indicates an expected call of GetKey.

func (*MockIServerCacheMockRecorder) Invalidate

func (mr *MockIServerCacheMockRecorder) Invalidate(arg0 interface{}) *gomock.Call

Invalidate indicates an expected call of Invalidate.

func (*MockIServerCacheMockRecorder) SetCacheControl

func (mr *MockIServerCacheMockRecorder) SetCacheControl(arg0 interface{}) *gomock.Call

SetCacheControl indicates an expected call of SetCacheControl.

func (*MockIServerCacheMockRecorder) SetKey

func (mr *MockIServerCacheMockRecorder) SetKey(arg0 interface{}) *gomock.Call

SetKey indicates an expected call of SetKey.

type MockIStore

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

MockIStore is a mock of IStore interface.

func NewMockIStore

func NewMockIStore(ctrl *gomock.Controller) *MockIStore

NewMockIStore creates a new mock instance.

func (*MockIStore) Clear

func (m *MockIStore) Clear(arg0 context.Context) error

Clear mocks base method.

func (*MockIStore) Close

func (m *MockIStore) Close() error

Close mocks base method.

func (*MockIStore) Create

func (m *MockIStore) Create(arg0 context.Context) error

Create mocks base method.

func (*MockIStore) EXPECT

func (m *MockIStore) EXPECT() *MockIStoreMockRecorder

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

func (*MockIStore) Exists

func (m *MockIStore) Exists() bool

Exists mocks base method.

func (*MockIStore) GetElementPath

func (m *MockIStore) GetElementPath(arg0 string) string

GetElementPath mocks base method.

func (*MockIStore) GetFilesystem

func (m *MockIStore) GetFilesystem() filesystem.FS

GetFilesystem mocks base method.

func (*MockIStore) GetPath

func (m *MockIStore) GetPath() string

GetPath mocks base method.

func (*MockIStore) HasElement

func (m *MockIStore) HasElement(arg0 string) bool

HasElement mocks base method.

func (*MockIStore) SetPath

func (m *MockIStore) SetPath(arg0 string) error

SetPath mocks base method.

type MockIStoreMockRecorder

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

MockIStoreMockRecorder is the mock recorder for MockIStore.

func (*MockIStoreMockRecorder) Clear

func (mr *MockIStoreMockRecorder) Clear(arg0 interface{}) *gomock.Call

Clear indicates an expected call of Clear.

func (*MockIStoreMockRecorder) Close

func (mr *MockIStoreMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockIStoreMockRecorder) Create

func (mr *MockIStoreMockRecorder) Create(arg0 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockIStoreMockRecorder) Exists

func (mr *MockIStoreMockRecorder) Exists() *gomock.Call

Exists indicates an expected call of Exists.

func (*MockIStoreMockRecorder) GetElementPath

func (mr *MockIStoreMockRecorder) GetElementPath(arg0 interface{}) *gomock.Call

GetElementPath indicates an expected call of GetElementPath.

func (*MockIStoreMockRecorder) GetFilesystem

func (mr *MockIStoreMockRecorder) GetFilesystem() *gomock.Call

GetFilesystem indicates an expected call of GetFilesystem.

func (*MockIStoreMockRecorder) GetPath

func (mr *MockIStoreMockRecorder) GetPath() *gomock.Call

GetPath indicates an expected call of GetPath.

func (*MockIStoreMockRecorder) HasElement

func (mr *MockIStoreMockRecorder) HasElement(arg0 interface{}) *gomock.Call

HasElement indicates an expected call of HasElement.

func (*MockIStoreMockRecorder) SetPath

func (mr *MockIStoreMockRecorder) SetPath(arg0 interface{}) *gomock.Call

SetPath indicates an expected call of SetPath.

Jump to

Keyboard shortcuts

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