mocks

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2025 License: Apache-2.0 Imports: 11 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.

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 MockIArtefactManager added in v1.5.0

type MockIArtefactManager[M artefacts.IManager, D artefacts.ILinkData] struct {
	// contains filtered or unexported fields
}

MockIArtefactManager is a mock of IArtefactManager interface.

func NewMockIArtefactManager added in v1.5.0

func NewMockIArtefactManager[M artefacts.IManager, D artefacts.ILinkData](ctrl *gomock.Controller) *MockIArtefactManager[M, D]

NewMockIArtefactManager creates a new mock instance.

func (*MockIArtefactManager[M, D]) DownloadAllJobArtefacts added in v1.8.0

func (m *MockIArtefactManager[M, D]) DownloadAllJobArtefacts(ctx context.Context, jobName, outputDirectory string) error

DownloadAllJobArtefacts mocks base method.

func (*MockIArtefactManager[M, D]) DownloadAllJobArtefactsWithTree added in v1.10.0

func (m *MockIArtefactManager[M, D]) DownloadAllJobArtefactsWithTree(ctx context.Context, jobName string, maintainTreeStructure bool, outputDirectory string) error

DownloadAllJobArtefactsWithTree mocks base method.

func (*MockIArtefactManager[M, D]) DownloadJobArtefact added in v1.5.0

func (m *MockIArtefactManager[M, D]) DownloadJobArtefact(ctx context.Context, jobName, outputDirectory string, artefactManager M) error

DownloadJobArtefact mocks base method.

func (m *MockIArtefactManager[M, D]) DownloadJobArtefactFromLink(ctx context.Context, jobName, outputDirectory string, artefactManagerItemLink D) error

DownloadJobArtefactFromLink mocks base method.

func (*MockIArtefactManager[M, D]) DownloadJobArtefactFromLinkWithTree added in v1.10.0

func (m *MockIArtefactManager[M, D]) DownloadJobArtefactFromLinkWithTree(ctx context.Context, jobName string, maintainTreeLocation bool, outputDirectory string, artefactManagerItemLink D) error

DownloadJobArtefactFromLinkWithTree mocks base method.

func (*MockIArtefactManager[M, D]) DownloadJobArtefactWithTree added in v1.10.0

func (m *MockIArtefactManager[M, D]) DownloadJobArtefactWithTree(ctx context.Context, jobName string, maintainTreeLocation bool, outputDirectory string, artefactManager M) error

DownloadJobArtefactWithTree mocks base method.

func (*MockIArtefactManager[M, D]) EXPECT added in v1.5.0

func (m *MockIArtefactManager[M, D]) EXPECT() *MockIArtefactManagerMockRecorder[M, D]

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

func (*MockIArtefactManager[M, D]) ListJobArtefacts added in v1.8.0

func (m *MockIArtefactManager[M, D]) ListJobArtefacts(ctx context.Context, jobName string) (pagination.IPaginatorAndPageFetcher, error)

ListJobArtefacts mocks base method.

type MockIArtefactManagerMockRecorder added in v1.5.0

type MockIArtefactManagerMockRecorder[M artefacts.IManager, D artefacts.ILinkData] struct {
	// contains filtered or unexported fields
}

MockIArtefactManagerMockRecorder is the mock recorder for MockIArtefactManager.

func (*MockIArtefactManagerMockRecorder[M, D]) DownloadAllJobArtefacts added in v1.8.0

func (mr *MockIArtefactManagerMockRecorder[M, D]) DownloadAllJobArtefacts(ctx, jobName, outputDirectory any) *gomock.Call

DownloadAllJobArtefacts indicates an expected call of DownloadAllJobArtefacts.

func (*MockIArtefactManagerMockRecorder[M, D]) DownloadAllJobArtefactsWithTree added in v1.10.0

func (mr *MockIArtefactManagerMockRecorder[M, D]) DownloadAllJobArtefactsWithTree(ctx, jobName, maintainTreeStructure, outputDirectory any) *gomock.Call

DownloadAllJobArtefactsWithTree indicates an expected call of DownloadAllJobArtefactsWithTree.

func (*MockIArtefactManagerMockRecorder[M, D]) DownloadJobArtefact added in v1.5.0

func (mr *MockIArtefactManagerMockRecorder[M, D]) DownloadJobArtefact(ctx, jobName, outputDirectory, artefactManager any) *gomock.Call

DownloadJobArtefact indicates an expected call of DownloadJobArtefact.

func (mr *MockIArtefactManagerMockRecorder[M, D]) DownloadJobArtefactFromLink(ctx, jobName, outputDirectory, artefactManagerItemLink any) *gomock.Call

DownloadJobArtefactFromLink indicates an expected call of DownloadJobArtefactFromLink.

func (*MockIArtefactManagerMockRecorder[M, D]) DownloadJobArtefactFromLinkWithTree added in v1.10.0

func (mr *MockIArtefactManagerMockRecorder[M, D]) DownloadJobArtefactFromLinkWithTree(ctx, jobName, maintainTreeLocation, outputDirectory, artefactManagerItemLink any) *gomock.Call

DownloadJobArtefactFromLinkWithTree indicates an expected call of DownloadJobArtefactFromLinkWithTree.

func (*MockIArtefactManagerMockRecorder[M, D]) DownloadJobArtefactWithTree added in v1.10.0

func (mr *MockIArtefactManagerMockRecorder[M, D]) DownloadJobArtefactWithTree(ctx, jobName, maintainTreeLocation, outputDirectory, artefactManager any) *gomock.Call

DownloadJobArtefactWithTree indicates an expected call of DownloadJobArtefactWithTree.

func (*MockIArtefactManagerMockRecorder[M, D]) ListJobArtefacts added in v1.8.0

func (mr *MockIArtefactManagerMockRecorder[M, D]) ListJobArtefacts(ctx, jobName any) *gomock.Call

ListJobArtefacts indicates an expected call of ListJobArtefacts.

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() (any, 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) GetQueued added in v1.5.2

func (m *MockIAsynchronousJob) GetQueued() bool

GetQueued 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.

func (*MockIAsynchronousJob) HasArtefacts added in v1.6.0

func (m *MockIAsynchronousJob) HasArtefacts() bool

HasArtefacts mocks base method.

func (*MockIAsynchronousJob) HasMessages added in v1.6.0

func (m *MockIAsynchronousJob) HasMessages() bool

HasMessages 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) GetQueued added in v1.5.2

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

GetQueued indicates an expected call of GetQueued.

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.

func (*MockIAsynchronousJobMockRecorder) HasArtefacts added in v1.6.0

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

HasArtefacts indicates an expected call of HasArtefacts.

func (*MockIAsynchronousJobMockRecorder) HasMessages added in v1.6.0

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

HasMessages indicates an expected call of HasMessages.

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) GetMessagePaginator added in v1.11.0

func (m *MockIJobManager) GetMessagePaginator(ctx context.Context, logger logs.Loggers, arg2 job.IAsynchronousJob, setupTimeout time.Duration) (pagination.IStreamPaginatorAndPageFetcher, error)

GetMessagePaginator mocks base method.

func (*MockIJobManager) HasJobCompleted

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

HasJobCompleted mocks base method.

func (*MockIJobManager) HasJobStarted added in v1.5.2

func (m *MockIJobManager) HasJobStarted(ctx context.Context, arg1 job.IAsynchronousJob) (bool, error)

HasJobStarted mocks base method.

func (*MockIJobManager) LogJobMessagesUntilNow added in v1.11.0

func (m *MockIJobManager) LogJobMessagesUntilNow(ctx context.Context, arg1 job.IAsynchronousJob, loggingTimeout time.Duration) error

LogJobMessagesUntilNow mocks base method.

func (*MockIJobManager) WaitForJobCompletion

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

WaitForJobCompletion mocks base method.

func (*MockIJobManager) WaitForJobCompletionWithTimeout added in v1.7.0

func (m *MockIJobManager) WaitForJobCompletionWithTimeout(ctx context.Context, arg1 job.IAsynchronousJob, jobTimeout time.Duration) error

WaitForJobCompletionWithTimeout mocks base method.

type MockIJobManagerMockRecorder

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

MockIJobManagerMockRecorder is the mock recorder for MockIJobManager.

func (*MockIJobManagerMockRecorder) GetMessagePaginator added in v1.11.0

func (mr *MockIJobManagerMockRecorder) GetMessagePaginator(ctx, logger, arg2, setupTimeout any) *gomock.Call

GetMessagePaginator indicates an expected call of GetMessagePaginator.

func (*MockIJobManagerMockRecorder) HasJobCompleted

func (mr *MockIJobManagerMockRecorder) HasJobCompleted(ctx, arg1 any) *gomock.Call

HasJobCompleted indicates an expected call of HasJobCompleted.

func (*MockIJobManagerMockRecorder) HasJobStarted added in v1.5.2

func (mr *MockIJobManagerMockRecorder) HasJobStarted(ctx, arg1 any) *gomock.Call

HasJobStarted indicates an expected call of HasJobStarted.

func (*MockIJobManagerMockRecorder) LogJobMessagesUntilNow added in v1.11.0

func (mr *MockIJobManagerMockRecorder) LogJobMessagesUntilNow(ctx, arg1, loggingTimeout any) *gomock.Call

LogJobMessagesUntilNow indicates an expected call of LogJobMessagesUntilNow.

func (*MockIJobManagerMockRecorder) WaitForJobCompletion

func (mr *MockIJobManagerMockRecorder) WaitForJobCompletion(ctx, arg1 any) *gomock.Call

WaitForJobCompletion indicates an expected call of WaitForJobCompletion.

func (*MockIJobManagerMockRecorder) WaitForJobCompletionWithTimeout added in v1.7.0

func (mr *MockIJobManagerMockRecorder) WaitForJobCompletionWithTimeout(ctx, arg1, jobTimeout any) *gomock.Call

WaitForJobCompletionWithTimeout indicates an expected call of WaitForJobCompletionWithTimeout.

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(output ...any)

Log mocks base method.

func (*MockIMessageLogger) LogEmptyMessageError

func (m *MockIMessageLogger) LogEmptyMessageError()

LogEmptyMessageError mocks base method.

func (*MockIMessageLogger) LogError

func (m *MockIMessageLogger) LogError(err ...any)

LogError mocks base method.

func (*MockIMessageLogger) LogMarshallingError

func (m *MockIMessageLogger) LogMarshallingError(rawMessage *any)

LogMarshallingError mocks base method.

func (*MockIMessageLogger) LogMessage

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

LogMessage mocks base method.

func (*MockIMessageLogger) LogMessagesCollection

func (m *MockIMessageLogger) LogMessagesCollection(ctx context.Context, messagePaginator pagination.IGenericPaginator) error

LogMessagesCollection mocks base method.

func (*MockIMessageLogger) SetLogSource

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

SetLogSource mocks base method.

func (*MockIMessageLogger) SetLoggerSource

func (m *MockIMessageLogger) SetLoggerSource(source 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(output ...any) *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(err ...any) *gomock.Call

LogError indicates an expected call of LogError.

func (*MockIMessageLoggerMockRecorder) LogMarshallingError

func (mr *MockIMessageLoggerMockRecorder) LogMarshallingError(rawMessage any) *gomock.Call

LogMarshallingError indicates an expected call of LogMarshallingError.

func (*MockIMessageLoggerMockRecorder) LogMessage

func (mr *MockIMessageLoggerMockRecorder) LogMessage(msg any) *gomock.Call

LogMessage indicates an expected call of LogMessage.

func (*MockIMessageLoggerMockRecorder) LogMessagesCollection

func (mr *MockIMessageLoggerMockRecorder) LogMessagesCollection(ctx, messagePaginator any) *gomock.Call

LogMessagesCollection indicates an expected call of LogMessagesCollection.

func (*MockIMessageLoggerMockRecorder) SetLogSource

func (mr *MockIMessageLoggerMockRecorder) SetLogSource(source any) *gomock.Call

SetLogSource indicates an expected call of SetLogSource.

func (*MockIMessageLoggerMockRecorder) SetLoggerSource

func (mr *MockIMessageLoggerMockRecorder) SetLoggerSource(source any) *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() (any, 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(ctx context.Context) error

Invalidate mocks base method.

func (*MockIServerCache) SetCacheControl

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

SetCacheControl mocks base method.

func (*MockIServerCache) SetKey

func (m *MockIServerCache) SetKey(key 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(ctx any) *gomock.Call

Invalidate indicates an expected call of Invalidate.

func (*MockIServerCacheMockRecorder) SetCacheControl

func (mr *MockIServerCacheMockRecorder) SetCacheControl(control any) *gomock.Call

SetCacheControl indicates an expected call of SetCacheControl.

func (*MockIServerCacheMockRecorder) SetKey

func (mr *MockIServerCacheMockRecorder) SetKey(key any) *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(ctx 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(ctx 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(elementName 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(elementName string) bool

HasElement mocks base method.

func (*MockIStore) SetPath

func (m *MockIStore) SetPath(path 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(ctx any) *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(ctx any) *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(elementName any) *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(elementName any) *gomock.Call

HasElement indicates an expected call of HasElement.

func (*MockIStoreMockRecorder) SetPath

func (mr *MockIStoreMockRecorder) SetPath(path any) *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