mock

package
v0.29.0-beta Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArtifactPublicServiceClientMock

type ArtifactPublicServiceClientMock struct {
	CreateCatalogMock mArtifactPublicServiceClientMockCreateCatalog

	DeleteCatalogMock mArtifactPublicServiceClientMockDeleteCatalog

	DeleteCatalogFileMock mArtifactPublicServiceClientMockDeleteCatalogFile

	GetFileCatalogMock mArtifactPublicServiceClientMockGetFileCatalog

	GetSourceFileMock mArtifactPublicServiceClientMockGetSourceFile

	ListCatalogFilesMock mArtifactPublicServiceClientMockListCatalogFiles

	ListCatalogsMock mArtifactPublicServiceClientMockListCatalogs

	ListChunksMock mArtifactPublicServiceClientMockListChunks

	LivenessMock mArtifactPublicServiceClientMockLiveness

	ProcessCatalogFilesMock mArtifactPublicServiceClientMockProcessCatalogFiles

	QuestionAnsweringMock mArtifactPublicServiceClientMockQuestionAnswering

	ReadinessMock mArtifactPublicServiceClientMockReadiness

	SimilarityChunksSearchMock mArtifactPublicServiceClientMockSimilarityChunksSearch

	UpdateCatalogMock mArtifactPublicServiceClientMockUpdateCatalog

	UpdateChunkMock mArtifactPublicServiceClientMockUpdateChunk

	UploadCatalogFileMock mArtifactPublicServiceClientMockUploadCatalogFile
	// contains filtered or unexported fields
}

ArtifactPublicServiceClientMock implements artifactv1alpha.ArtifactPublicServiceClient

func NewArtifactPublicServiceClientMock

func NewArtifactPublicServiceClientMock(t minimock.Tester) *ArtifactPublicServiceClientMock

NewArtifactPublicServiceClientMock returns a mock for artifactv1alpha.ArtifactPublicServiceClient

func (*ArtifactPublicServiceClientMock) CreateCatalog

CreateCatalog implements artifactv1alpha.ArtifactPublicServiceClient

func (*ArtifactPublicServiceClientMock) CreateCatalogAfterCounter

func (mmCreateCatalog *ArtifactPublicServiceClientMock) CreateCatalogAfterCounter() uint64

CreateCatalogAfterCounter returns a count of finished ArtifactPublicServiceClientMock.CreateCatalog invocations

func (*ArtifactPublicServiceClientMock) CreateCatalogBeforeCounter

func (mmCreateCatalog *ArtifactPublicServiceClientMock) CreateCatalogBeforeCounter() uint64

CreateCatalogBeforeCounter returns a count of ArtifactPublicServiceClientMock.CreateCatalog invocations

func (*ArtifactPublicServiceClientMock) DeleteCatalog

DeleteCatalog implements artifactv1alpha.ArtifactPublicServiceClient

func (*ArtifactPublicServiceClientMock) DeleteCatalogAfterCounter

func (mmDeleteCatalog *ArtifactPublicServiceClientMock) DeleteCatalogAfterCounter() uint64

DeleteCatalogAfterCounter returns a count of finished ArtifactPublicServiceClientMock.DeleteCatalog invocations

func (*ArtifactPublicServiceClientMock) DeleteCatalogBeforeCounter

func (mmDeleteCatalog *ArtifactPublicServiceClientMock) DeleteCatalogBeforeCounter() uint64

DeleteCatalogBeforeCounter returns a count of ArtifactPublicServiceClientMock.DeleteCatalog invocations

func (*ArtifactPublicServiceClientMock) DeleteCatalogFile

DeleteCatalogFile implements artifactv1alpha.ArtifactPublicServiceClient

func (*ArtifactPublicServiceClientMock) DeleteCatalogFileAfterCounter

func (mmDeleteCatalogFile *ArtifactPublicServiceClientMock) DeleteCatalogFileAfterCounter() uint64

DeleteCatalogFileAfterCounter returns a count of finished ArtifactPublicServiceClientMock.DeleteCatalogFile invocations

func (*ArtifactPublicServiceClientMock) DeleteCatalogFileBeforeCounter

func (mmDeleteCatalogFile *ArtifactPublicServiceClientMock) DeleteCatalogFileBeforeCounter() uint64

DeleteCatalogFileBeforeCounter returns a count of ArtifactPublicServiceClientMock.DeleteCatalogFile invocations

func (*ArtifactPublicServiceClientMock) GetFileCatalog

GetFileCatalog implements artifactv1alpha.ArtifactPublicServiceClient

func (*ArtifactPublicServiceClientMock) GetFileCatalogAfterCounter

func (mmGetFileCatalog *ArtifactPublicServiceClientMock) GetFileCatalogAfterCounter() uint64

GetFileCatalogAfterCounter returns a count of finished ArtifactPublicServiceClientMock.GetFileCatalog invocations

func (*ArtifactPublicServiceClientMock) GetFileCatalogBeforeCounter

func (mmGetFileCatalog *ArtifactPublicServiceClientMock) GetFileCatalogBeforeCounter() uint64

GetFileCatalogBeforeCounter returns a count of ArtifactPublicServiceClientMock.GetFileCatalog invocations

func (*ArtifactPublicServiceClientMock) GetSourceFile

GetSourceFile implements artifactv1alpha.ArtifactPublicServiceClient

func (*ArtifactPublicServiceClientMock) GetSourceFileAfterCounter

func (mmGetSourceFile *ArtifactPublicServiceClientMock) GetSourceFileAfterCounter() uint64

GetSourceFileAfterCounter returns a count of finished ArtifactPublicServiceClientMock.GetSourceFile invocations

func (*ArtifactPublicServiceClientMock) GetSourceFileBeforeCounter

func (mmGetSourceFile *ArtifactPublicServiceClientMock) GetSourceFileBeforeCounter() uint64

GetSourceFileBeforeCounter returns a count of ArtifactPublicServiceClientMock.GetSourceFile invocations

func (*ArtifactPublicServiceClientMock) ListCatalogFiles

ListCatalogFiles implements artifactv1alpha.ArtifactPublicServiceClient

func (*ArtifactPublicServiceClientMock) ListCatalogFilesAfterCounter

func (mmListCatalogFiles *ArtifactPublicServiceClientMock) ListCatalogFilesAfterCounter() uint64

ListCatalogFilesAfterCounter returns a count of finished ArtifactPublicServiceClientMock.ListCatalogFiles invocations

func (*ArtifactPublicServiceClientMock) ListCatalogFilesBeforeCounter

func (mmListCatalogFiles *ArtifactPublicServiceClientMock) ListCatalogFilesBeforeCounter() uint64

ListCatalogFilesBeforeCounter returns a count of ArtifactPublicServiceClientMock.ListCatalogFiles invocations

func (*ArtifactPublicServiceClientMock) ListCatalogs

ListCatalogs implements artifactv1alpha.ArtifactPublicServiceClient

func (*ArtifactPublicServiceClientMock) ListCatalogsAfterCounter

func (mmListCatalogs *ArtifactPublicServiceClientMock) ListCatalogsAfterCounter() uint64

ListCatalogsAfterCounter returns a count of finished ArtifactPublicServiceClientMock.ListCatalogs invocations

func (*ArtifactPublicServiceClientMock) ListCatalogsBeforeCounter

func (mmListCatalogs *ArtifactPublicServiceClientMock) ListCatalogsBeforeCounter() uint64

ListCatalogsBeforeCounter returns a count of ArtifactPublicServiceClientMock.ListCatalogs invocations

func (*ArtifactPublicServiceClientMock) ListChunks

ListChunks implements artifactv1alpha.ArtifactPublicServiceClient

func (*ArtifactPublicServiceClientMock) ListChunksAfterCounter

func (mmListChunks *ArtifactPublicServiceClientMock) ListChunksAfterCounter() uint64

ListChunksAfterCounter returns a count of finished ArtifactPublicServiceClientMock.ListChunks invocations

func (*ArtifactPublicServiceClientMock) ListChunksBeforeCounter

func (mmListChunks *ArtifactPublicServiceClientMock) ListChunksBeforeCounter() uint64

ListChunksBeforeCounter returns a count of ArtifactPublicServiceClientMock.ListChunks invocations

func (*ArtifactPublicServiceClientMock) Liveness

Liveness implements artifactv1alpha.ArtifactPublicServiceClient

func (*ArtifactPublicServiceClientMock) LivenessAfterCounter

func (mmLiveness *ArtifactPublicServiceClientMock) LivenessAfterCounter() uint64

LivenessAfterCounter returns a count of finished ArtifactPublicServiceClientMock.Liveness invocations

func (*ArtifactPublicServiceClientMock) LivenessBeforeCounter

func (mmLiveness *ArtifactPublicServiceClientMock) LivenessBeforeCounter() uint64

LivenessBeforeCounter returns a count of ArtifactPublicServiceClientMock.Liveness invocations

func (*ArtifactPublicServiceClientMock) MinimockCreateCatalogDone

func (m *ArtifactPublicServiceClientMock) MinimockCreateCatalogDone() bool

MinimockCreateCatalogDone returns true if the count of the CreateCatalog invocations corresponds the number of defined expectations

func (*ArtifactPublicServiceClientMock) MinimockCreateCatalogInspect

func (m *ArtifactPublicServiceClientMock) MinimockCreateCatalogInspect()

MinimockCreateCatalogInspect logs each unmet expectation

func (*ArtifactPublicServiceClientMock) MinimockDeleteCatalogDone

func (m *ArtifactPublicServiceClientMock) MinimockDeleteCatalogDone() bool

MinimockDeleteCatalogDone returns true if the count of the DeleteCatalog invocations corresponds the number of defined expectations

func (*ArtifactPublicServiceClientMock) MinimockDeleteCatalogFileDone

func (m *ArtifactPublicServiceClientMock) MinimockDeleteCatalogFileDone() bool

MinimockDeleteCatalogFileDone returns true if the count of the DeleteCatalogFile invocations corresponds the number of defined expectations

func (*ArtifactPublicServiceClientMock) MinimockDeleteCatalogFileInspect

func (m *ArtifactPublicServiceClientMock) MinimockDeleteCatalogFileInspect()

MinimockDeleteCatalogFileInspect logs each unmet expectation

func (*ArtifactPublicServiceClientMock) MinimockDeleteCatalogInspect

func (m *ArtifactPublicServiceClientMock) MinimockDeleteCatalogInspect()

MinimockDeleteCatalogInspect logs each unmet expectation

func (*ArtifactPublicServiceClientMock) MinimockFinish

func (m *ArtifactPublicServiceClientMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*ArtifactPublicServiceClientMock) MinimockGetFileCatalogDone

func (m *ArtifactPublicServiceClientMock) MinimockGetFileCatalogDone() bool

MinimockGetFileCatalogDone returns true if the count of the GetFileCatalog invocations corresponds the number of defined expectations

func (*ArtifactPublicServiceClientMock) MinimockGetFileCatalogInspect

func (m *ArtifactPublicServiceClientMock) MinimockGetFileCatalogInspect()

MinimockGetFileCatalogInspect logs each unmet expectation

func (*ArtifactPublicServiceClientMock) MinimockGetSourceFileDone

func (m *ArtifactPublicServiceClientMock) MinimockGetSourceFileDone() bool

MinimockGetSourceFileDone returns true if the count of the GetSourceFile invocations corresponds the number of defined expectations

func (*ArtifactPublicServiceClientMock) MinimockGetSourceFileInspect

func (m *ArtifactPublicServiceClientMock) MinimockGetSourceFileInspect()

MinimockGetSourceFileInspect logs each unmet expectation

func (*ArtifactPublicServiceClientMock) MinimockListCatalogFilesDone

func (m *ArtifactPublicServiceClientMock) MinimockListCatalogFilesDone() bool

MinimockListCatalogFilesDone returns true if the count of the ListCatalogFiles invocations corresponds the number of defined expectations

func (*ArtifactPublicServiceClientMock) MinimockListCatalogFilesInspect

func (m *ArtifactPublicServiceClientMock) MinimockListCatalogFilesInspect()

MinimockListCatalogFilesInspect logs each unmet expectation

func (*ArtifactPublicServiceClientMock) MinimockListCatalogsDone

func (m *ArtifactPublicServiceClientMock) MinimockListCatalogsDone() bool

MinimockListCatalogsDone returns true if the count of the ListCatalogs invocations corresponds the number of defined expectations

func (*ArtifactPublicServiceClientMock) MinimockListCatalogsInspect

func (m *ArtifactPublicServiceClientMock) MinimockListCatalogsInspect()

MinimockListCatalogsInspect logs each unmet expectation

func (*ArtifactPublicServiceClientMock) MinimockListChunksDone

func (m *ArtifactPublicServiceClientMock) MinimockListChunksDone() bool

MinimockListChunksDone returns true if the count of the ListChunks invocations corresponds the number of defined expectations

func (*ArtifactPublicServiceClientMock) MinimockListChunksInspect

func (m *ArtifactPublicServiceClientMock) MinimockListChunksInspect()

MinimockListChunksInspect logs each unmet expectation

func (*ArtifactPublicServiceClientMock) MinimockLivenessDone

func (m *ArtifactPublicServiceClientMock) MinimockLivenessDone() bool

MinimockLivenessDone returns true if the count of the Liveness invocations corresponds the number of defined expectations

func (*ArtifactPublicServiceClientMock) MinimockLivenessInspect

func (m *ArtifactPublicServiceClientMock) MinimockLivenessInspect()

MinimockLivenessInspect logs each unmet expectation

func (*ArtifactPublicServiceClientMock) MinimockProcessCatalogFilesDone

func (m *ArtifactPublicServiceClientMock) MinimockProcessCatalogFilesDone() bool

MinimockProcessCatalogFilesDone returns true if the count of the ProcessCatalogFiles invocations corresponds the number of defined expectations

func (*ArtifactPublicServiceClientMock) MinimockProcessCatalogFilesInspect

func (m *ArtifactPublicServiceClientMock) MinimockProcessCatalogFilesInspect()

MinimockProcessCatalogFilesInspect logs each unmet expectation

func (*ArtifactPublicServiceClientMock) MinimockQuestionAnsweringDone

func (m *ArtifactPublicServiceClientMock) MinimockQuestionAnsweringDone() bool

MinimockQuestionAnsweringDone returns true if the count of the QuestionAnswering invocations corresponds the number of defined expectations

func (*ArtifactPublicServiceClientMock) MinimockQuestionAnsweringInspect

func (m *ArtifactPublicServiceClientMock) MinimockQuestionAnsweringInspect()

MinimockQuestionAnsweringInspect logs each unmet expectation

func (*ArtifactPublicServiceClientMock) MinimockReadinessDone

func (m *ArtifactPublicServiceClientMock) MinimockReadinessDone() bool

MinimockReadinessDone returns true if the count of the Readiness invocations corresponds the number of defined expectations

func (*ArtifactPublicServiceClientMock) MinimockReadinessInspect

func (m *ArtifactPublicServiceClientMock) MinimockReadinessInspect()

MinimockReadinessInspect logs each unmet expectation

func (*ArtifactPublicServiceClientMock) MinimockSimilarityChunksSearchDone

func (m *ArtifactPublicServiceClientMock) MinimockSimilarityChunksSearchDone() bool

MinimockSimilarityChunksSearchDone returns true if the count of the SimilarityChunksSearch invocations corresponds the number of defined expectations

func (*ArtifactPublicServiceClientMock) MinimockSimilarityChunksSearchInspect

func (m *ArtifactPublicServiceClientMock) MinimockSimilarityChunksSearchInspect()

MinimockSimilarityChunksSearchInspect logs each unmet expectation

func (*ArtifactPublicServiceClientMock) MinimockUpdateCatalogDone

func (m *ArtifactPublicServiceClientMock) MinimockUpdateCatalogDone() bool

MinimockUpdateCatalogDone returns true if the count of the UpdateCatalog invocations corresponds the number of defined expectations

func (*ArtifactPublicServiceClientMock) MinimockUpdateCatalogInspect

func (m *ArtifactPublicServiceClientMock) MinimockUpdateCatalogInspect()

MinimockUpdateCatalogInspect logs each unmet expectation

func (*ArtifactPublicServiceClientMock) MinimockUpdateChunkDone

func (m *ArtifactPublicServiceClientMock) MinimockUpdateChunkDone() bool

MinimockUpdateChunkDone returns true if the count of the UpdateChunk invocations corresponds the number of defined expectations

func (*ArtifactPublicServiceClientMock) MinimockUpdateChunkInspect

func (m *ArtifactPublicServiceClientMock) MinimockUpdateChunkInspect()

MinimockUpdateChunkInspect logs each unmet expectation

func (*ArtifactPublicServiceClientMock) MinimockUploadCatalogFileDone

func (m *ArtifactPublicServiceClientMock) MinimockUploadCatalogFileDone() bool

MinimockUploadCatalogFileDone returns true if the count of the UploadCatalogFile invocations corresponds the number of defined expectations

func (*ArtifactPublicServiceClientMock) MinimockUploadCatalogFileInspect

func (m *ArtifactPublicServiceClientMock) MinimockUploadCatalogFileInspect()

MinimockUploadCatalogFileInspect logs each unmet expectation

func (*ArtifactPublicServiceClientMock) MinimockWait

func (m *ArtifactPublicServiceClientMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

func (*ArtifactPublicServiceClientMock) ProcessCatalogFiles

ProcessCatalogFiles implements artifactv1alpha.ArtifactPublicServiceClient

func (*ArtifactPublicServiceClientMock) ProcessCatalogFilesAfterCounter

func (mmProcessCatalogFiles *ArtifactPublicServiceClientMock) ProcessCatalogFilesAfterCounter() uint64

ProcessCatalogFilesAfterCounter returns a count of finished ArtifactPublicServiceClientMock.ProcessCatalogFiles invocations

func (*ArtifactPublicServiceClientMock) ProcessCatalogFilesBeforeCounter

func (mmProcessCatalogFiles *ArtifactPublicServiceClientMock) ProcessCatalogFilesBeforeCounter() uint64

ProcessCatalogFilesBeforeCounter returns a count of ArtifactPublicServiceClientMock.ProcessCatalogFiles invocations

func (*ArtifactPublicServiceClientMock) QuestionAnswering

QuestionAnswering implements artifactv1alpha.ArtifactPublicServiceClient

func (*ArtifactPublicServiceClientMock) QuestionAnsweringAfterCounter

func (mmQuestionAnswering *ArtifactPublicServiceClientMock) QuestionAnsweringAfterCounter() uint64

QuestionAnsweringAfterCounter returns a count of finished ArtifactPublicServiceClientMock.QuestionAnswering invocations

func (*ArtifactPublicServiceClientMock) QuestionAnsweringBeforeCounter

func (mmQuestionAnswering *ArtifactPublicServiceClientMock) QuestionAnsweringBeforeCounter() uint64

QuestionAnsweringBeforeCounter returns a count of ArtifactPublicServiceClientMock.QuestionAnswering invocations

func (*ArtifactPublicServiceClientMock) Readiness

Readiness implements artifactv1alpha.ArtifactPublicServiceClient

func (*ArtifactPublicServiceClientMock) ReadinessAfterCounter

func (mmReadiness *ArtifactPublicServiceClientMock) ReadinessAfterCounter() uint64

ReadinessAfterCounter returns a count of finished ArtifactPublicServiceClientMock.Readiness invocations

func (*ArtifactPublicServiceClientMock) ReadinessBeforeCounter

func (mmReadiness *ArtifactPublicServiceClientMock) ReadinessBeforeCounter() uint64

ReadinessBeforeCounter returns a count of ArtifactPublicServiceClientMock.Readiness invocations

func (*ArtifactPublicServiceClientMock) SimilarityChunksSearch

SimilarityChunksSearch implements artifactv1alpha.ArtifactPublicServiceClient

func (*ArtifactPublicServiceClientMock) SimilarityChunksSearchAfterCounter

func (mmSimilarityChunksSearch *ArtifactPublicServiceClientMock) SimilarityChunksSearchAfterCounter() uint64

SimilarityChunksSearchAfterCounter returns a count of finished ArtifactPublicServiceClientMock.SimilarityChunksSearch invocations

func (*ArtifactPublicServiceClientMock) SimilarityChunksSearchBeforeCounter

func (mmSimilarityChunksSearch *ArtifactPublicServiceClientMock) SimilarityChunksSearchBeforeCounter() uint64

SimilarityChunksSearchBeforeCounter returns a count of ArtifactPublicServiceClientMock.SimilarityChunksSearch invocations

func (*ArtifactPublicServiceClientMock) UpdateCatalog

UpdateCatalog implements artifactv1alpha.ArtifactPublicServiceClient

func (*ArtifactPublicServiceClientMock) UpdateCatalogAfterCounter

func (mmUpdateCatalog *ArtifactPublicServiceClientMock) UpdateCatalogAfterCounter() uint64

UpdateCatalogAfterCounter returns a count of finished ArtifactPublicServiceClientMock.UpdateCatalog invocations

func (*ArtifactPublicServiceClientMock) UpdateCatalogBeforeCounter

func (mmUpdateCatalog *ArtifactPublicServiceClientMock) UpdateCatalogBeforeCounter() uint64

UpdateCatalogBeforeCounter returns a count of ArtifactPublicServiceClientMock.UpdateCatalog invocations

func (*ArtifactPublicServiceClientMock) UpdateChunk

UpdateChunk implements artifactv1alpha.ArtifactPublicServiceClient

func (*ArtifactPublicServiceClientMock) UpdateChunkAfterCounter

func (mmUpdateChunk *ArtifactPublicServiceClientMock) UpdateChunkAfterCounter() uint64

UpdateChunkAfterCounter returns a count of finished ArtifactPublicServiceClientMock.UpdateChunk invocations

func (*ArtifactPublicServiceClientMock) UpdateChunkBeforeCounter

func (mmUpdateChunk *ArtifactPublicServiceClientMock) UpdateChunkBeforeCounter() uint64

UpdateChunkBeforeCounter returns a count of ArtifactPublicServiceClientMock.UpdateChunk invocations

func (*ArtifactPublicServiceClientMock) UploadCatalogFile

UploadCatalogFile implements artifactv1alpha.ArtifactPublicServiceClient

func (*ArtifactPublicServiceClientMock) UploadCatalogFileAfterCounter

func (mmUploadCatalogFile *ArtifactPublicServiceClientMock) UploadCatalogFileAfterCounter() uint64

UploadCatalogFileAfterCounter returns a count of finished ArtifactPublicServiceClientMock.UploadCatalogFile invocations

func (*ArtifactPublicServiceClientMock) UploadCatalogFileBeforeCounter

func (mmUploadCatalogFile *ArtifactPublicServiceClientMock) UploadCatalogFileBeforeCounter() uint64

UploadCatalogFileBeforeCounter returns a count of ArtifactPublicServiceClientMock.UploadCatalogFile invocations

type ArtifactPublicServiceClientMockCreateCatalogExpectation

type ArtifactPublicServiceClientMockCreateCatalogExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ArtifactPublicServiceClientMockCreateCatalogExpectation specifies expectation struct of the ArtifactPublicServiceClient.CreateCatalog

func (*ArtifactPublicServiceClientMockCreateCatalogExpectation) Then

Then sets up ArtifactPublicServiceClient.CreateCatalog return parameters for the expectation previously defined by the When method

type ArtifactPublicServiceClientMockCreateCatalogParamPtrs

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

ArtifactPublicServiceClientMockCreateCatalogParamPtrs contains pointers to parameters of the ArtifactPublicServiceClient.CreateCatalog

type ArtifactPublicServiceClientMockCreateCatalogParams

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

ArtifactPublicServiceClientMockCreateCatalogParams contains parameters of the ArtifactPublicServiceClient.CreateCatalog

type ArtifactPublicServiceClientMockCreateCatalogResults

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

ArtifactPublicServiceClientMockCreateCatalogResults contains results of the ArtifactPublicServiceClient.CreateCatalog

type ArtifactPublicServiceClientMockDeleteCatalogExpectation

type ArtifactPublicServiceClientMockDeleteCatalogExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ArtifactPublicServiceClientMockDeleteCatalogExpectation specifies expectation struct of the ArtifactPublicServiceClient.DeleteCatalog

func (*ArtifactPublicServiceClientMockDeleteCatalogExpectation) Then

Then sets up ArtifactPublicServiceClient.DeleteCatalog return parameters for the expectation previously defined by the When method

type ArtifactPublicServiceClientMockDeleteCatalogFileExpectation

type ArtifactPublicServiceClientMockDeleteCatalogFileExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ArtifactPublicServiceClientMockDeleteCatalogFileExpectation specifies expectation struct of the ArtifactPublicServiceClient.DeleteCatalogFile

func (*ArtifactPublicServiceClientMockDeleteCatalogFileExpectation) Then

Then sets up ArtifactPublicServiceClient.DeleteCatalogFile return parameters for the expectation previously defined by the When method

type ArtifactPublicServiceClientMockDeleteCatalogFileParamPtrs

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

ArtifactPublicServiceClientMockDeleteCatalogFileParamPtrs contains pointers to parameters of the ArtifactPublicServiceClient.DeleteCatalogFile

type ArtifactPublicServiceClientMockDeleteCatalogFileParams

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

ArtifactPublicServiceClientMockDeleteCatalogFileParams contains parameters of the ArtifactPublicServiceClient.DeleteCatalogFile

type ArtifactPublicServiceClientMockDeleteCatalogFileResults

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

ArtifactPublicServiceClientMockDeleteCatalogFileResults contains results of the ArtifactPublicServiceClient.DeleteCatalogFile

type ArtifactPublicServiceClientMockDeleteCatalogParamPtrs

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

ArtifactPublicServiceClientMockDeleteCatalogParamPtrs contains pointers to parameters of the ArtifactPublicServiceClient.DeleteCatalog

type ArtifactPublicServiceClientMockDeleteCatalogParams

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

ArtifactPublicServiceClientMockDeleteCatalogParams contains parameters of the ArtifactPublicServiceClient.DeleteCatalog

type ArtifactPublicServiceClientMockDeleteCatalogResults

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

ArtifactPublicServiceClientMockDeleteCatalogResults contains results of the ArtifactPublicServiceClient.DeleteCatalog

type ArtifactPublicServiceClientMockGetFileCatalogExpectation

type ArtifactPublicServiceClientMockGetFileCatalogExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ArtifactPublicServiceClientMockGetFileCatalogExpectation specifies expectation struct of the ArtifactPublicServiceClient.GetFileCatalog

func (*ArtifactPublicServiceClientMockGetFileCatalogExpectation) Then

Then sets up ArtifactPublicServiceClient.GetFileCatalog return parameters for the expectation previously defined by the When method

type ArtifactPublicServiceClientMockGetFileCatalogParamPtrs

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

ArtifactPublicServiceClientMockGetFileCatalogParamPtrs contains pointers to parameters of the ArtifactPublicServiceClient.GetFileCatalog

type ArtifactPublicServiceClientMockGetFileCatalogParams

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

ArtifactPublicServiceClientMockGetFileCatalogParams contains parameters of the ArtifactPublicServiceClient.GetFileCatalog

type ArtifactPublicServiceClientMockGetFileCatalogResults

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

ArtifactPublicServiceClientMockGetFileCatalogResults contains results of the ArtifactPublicServiceClient.GetFileCatalog

type ArtifactPublicServiceClientMockGetSourceFileExpectation

type ArtifactPublicServiceClientMockGetSourceFileExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ArtifactPublicServiceClientMockGetSourceFileExpectation specifies expectation struct of the ArtifactPublicServiceClient.GetSourceFile

func (*ArtifactPublicServiceClientMockGetSourceFileExpectation) Then

Then sets up ArtifactPublicServiceClient.GetSourceFile return parameters for the expectation previously defined by the When method

type ArtifactPublicServiceClientMockGetSourceFileParamPtrs

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

ArtifactPublicServiceClientMockGetSourceFileParamPtrs contains pointers to parameters of the ArtifactPublicServiceClient.GetSourceFile

type ArtifactPublicServiceClientMockGetSourceFileParams

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

ArtifactPublicServiceClientMockGetSourceFileParams contains parameters of the ArtifactPublicServiceClient.GetSourceFile

type ArtifactPublicServiceClientMockGetSourceFileResults

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

ArtifactPublicServiceClientMockGetSourceFileResults contains results of the ArtifactPublicServiceClient.GetSourceFile

type ArtifactPublicServiceClientMockListCatalogFilesExpectation

type ArtifactPublicServiceClientMockListCatalogFilesExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ArtifactPublicServiceClientMockListCatalogFilesExpectation specifies expectation struct of the ArtifactPublicServiceClient.ListCatalogFiles

func (*ArtifactPublicServiceClientMockListCatalogFilesExpectation) Then

Then sets up ArtifactPublicServiceClient.ListCatalogFiles return parameters for the expectation previously defined by the When method

type ArtifactPublicServiceClientMockListCatalogFilesParamPtrs

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

ArtifactPublicServiceClientMockListCatalogFilesParamPtrs contains pointers to parameters of the ArtifactPublicServiceClient.ListCatalogFiles

type ArtifactPublicServiceClientMockListCatalogFilesParams

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

ArtifactPublicServiceClientMockListCatalogFilesParams contains parameters of the ArtifactPublicServiceClient.ListCatalogFiles

type ArtifactPublicServiceClientMockListCatalogFilesResults

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

ArtifactPublicServiceClientMockListCatalogFilesResults contains results of the ArtifactPublicServiceClient.ListCatalogFiles

type ArtifactPublicServiceClientMockListCatalogsExpectation

type ArtifactPublicServiceClientMockListCatalogsExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ArtifactPublicServiceClientMockListCatalogsExpectation specifies expectation struct of the ArtifactPublicServiceClient.ListCatalogs

func (*ArtifactPublicServiceClientMockListCatalogsExpectation) Then

Then sets up ArtifactPublicServiceClient.ListCatalogs return parameters for the expectation previously defined by the When method

type ArtifactPublicServiceClientMockListCatalogsParamPtrs

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

ArtifactPublicServiceClientMockListCatalogsParamPtrs contains pointers to parameters of the ArtifactPublicServiceClient.ListCatalogs

type ArtifactPublicServiceClientMockListCatalogsParams

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

ArtifactPublicServiceClientMockListCatalogsParams contains parameters of the ArtifactPublicServiceClient.ListCatalogs

type ArtifactPublicServiceClientMockListCatalogsResults

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

ArtifactPublicServiceClientMockListCatalogsResults contains results of the ArtifactPublicServiceClient.ListCatalogs

type ArtifactPublicServiceClientMockListChunksExpectation

type ArtifactPublicServiceClientMockListChunksExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ArtifactPublicServiceClientMockListChunksExpectation specifies expectation struct of the ArtifactPublicServiceClient.ListChunks

func (*ArtifactPublicServiceClientMockListChunksExpectation) Then

Then sets up ArtifactPublicServiceClient.ListChunks return parameters for the expectation previously defined by the When method

type ArtifactPublicServiceClientMockListChunksParamPtrs

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

ArtifactPublicServiceClientMockListChunksParamPtrs contains pointers to parameters of the ArtifactPublicServiceClient.ListChunks

type ArtifactPublicServiceClientMockListChunksParams

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

ArtifactPublicServiceClientMockListChunksParams contains parameters of the ArtifactPublicServiceClient.ListChunks

type ArtifactPublicServiceClientMockListChunksResults

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

ArtifactPublicServiceClientMockListChunksResults contains results of the ArtifactPublicServiceClient.ListChunks

type ArtifactPublicServiceClientMockLivenessExpectation

type ArtifactPublicServiceClientMockLivenessExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ArtifactPublicServiceClientMockLivenessExpectation specifies expectation struct of the ArtifactPublicServiceClient.Liveness

func (*ArtifactPublicServiceClientMockLivenessExpectation) Then

Then sets up ArtifactPublicServiceClient.Liveness return parameters for the expectation previously defined by the When method

type ArtifactPublicServiceClientMockLivenessParamPtrs

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

ArtifactPublicServiceClientMockLivenessParamPtrs contains pointers to parameters of the ArtifactPublicServiceClient.Liveness

type ArtifactPublicServiceClientMockLivenessParams

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

ArtifactPublicServiceClientMockLivenessParams contains parameters of the ArtifactPublicServiceClient.Liveness

type ArtifactPublicServiceClientMockLivenessResults

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

ArtifactPublicServiceClientMockLivenessResults contains results of the ArtifactPublicServiceClient.Liveness

type ArtifactPublicServiceClientMockProcessCatalogFilesExpectation

type ArtifactPublicServiceClientMockProcessCatalogFilesExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ArtifactPublicServiceClientMockProcessCatalogFilesExpectation specifies expectation struct of the ArtifactPublicServiceClient.ProcessCatalogFiles

func (*ArtifactPublicServiceClientMockProcessCatalogFilesExpectation) Then

Then sets up ArtifactPublicServiceClient.ProcessCatalogFiles return parameters for the expectation previously defined by the When method

type ArtifactPublicServiceClientMockProcessCatalogFilesParamPtrs

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

ArtifactPublicServiceClientMockProcessCatalogFilesParamPtrs contains pointers to parameters of the ArtifactPublicServiceClient.ProcessCatalogFiles

type ArtifactPublicServiceClientMockProcessCatalogFilesParams

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

ArtifactPublicServiceClientMockProcessCatalogFilesParams contains parameters of the ArtifactPublicServiceClient.ProcessCatalogFiles

type ArtifactPublicServiceClientMockProcessCatalogFilesResults

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

ArtifactPublicServiceClientMockProcessCatalogFilesResults contains results of the ArtifactPublicServiceClient.ProcessCatalogFiles

type ArtifactPublicServiceClientMockQuestionAnsweringExpectation

type ArtifactPublicServiceClientMockQuestionAnsweringExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ArtifactPublicServiceClientMockQuestionAnsweringExpectation specifies expectation struct of the ArtifactPublicServiceClient.QuestionAnswering

func (*ArtifactPublicServiceClientMockQuestionAnsweringExpectation) Then

Then sets up ArtifactPublicServiceClient.QuestionAnswering return parameters for the expectation previously defined by the When method

type ArtifactPublicServiceClientMockQuestionAnsweringParamPtrs

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

ArtifactPublicServiceClientMockQuestionAnsweringParamPtrs contains pointers to parameters of the ArtifactPublicServiceClient.QuestionAnswering

type ArtifactPublicServiceClientMockQuestionAnsweringParams

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

ArtifactPublicServiceClientMockQuestionAnsweringParams contains parameters of the ArtifactPublicServiceClient.QuestionAnswering

type ArtifactPublicServiceClientMockQuestionAnsweringResults

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

ArtifactPublicServiceClientMockQuestionAnsweringResults contains results of the ArtifactPublicServiceClient.QuestionAnswering

type ArtifactPublicServiceClientMockReadinessExpectation

type ArtifactPublicServiceClientMockReadinessExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ArtifactPublicServiceClientMockReadinessExpectation specifies expectation struct of the ArtifactPublicServiceClient.Readiness

func (*ArtifactPublicServiceClientMockReadinessExpectation) Then

Then sets up ArtifactPublicServiceClient.Readiness return parameters for the expectation previously defined by the When method

type ArtifactPublicServiceClientMockReadinessParamPtrs

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

ArtifactPublicServiceClientMockReadinessParamPtrs contains pointers to parameters of the ArtifactPublicServiceClient.Readiness

type ArtifactPublicServiceClientMockReadinessParams

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

ArtifactPublicServiceClientMockReadinessParams contains parameters of the ArtifactPublicServiceClient.Readiness

type ArtifactPublicServiceClientMockReadinessResults

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

ArtifactPublicServiceClientMockReadinessResults contains results of the ArtifactPublicServiceClient.Readiness

type ArtifactPublicServiceClientMockSimilarityChunksSearchExpectation

type ArtifactPublicServiceClientMockSimilarityChunksSearchExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ArtifactPublicServiceClientMockSimilarityChunksSearchExpectation specifies expectation struct of the ArtifactPublicServiceClient.SimilarityChunksSearch

func (*ArtifactPublicServiceClientMockSimilarityChunksSearchExpectation) Then

Then sets up ArtifactPublicServiceClient.SimilarityChunksSearch return parameters for the expectation previously defined by the When method

type ArtifactPublicServiceClientMockSimilarityChunksSearchParamPtrs

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

ArtifactPublicServiceClientMockSimilarityChunksSearchParamPtrs contains pointers to parameters of the ArtifactPublicServiceClient.SimilarityChunksSearch

type ArtifactPublicServiceClientMockSimilarityChunksSearchParams

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

ArtifactPublicServiceClientMockSimilarityChunksSearchParams contains parameters of the ArtifactPublicServiceClient.SimilarityChunksSearch

type ArtifactPublicServiceClientMockSimilarityChunksSearchResults

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

ArtifactPublicServiceClientMockSimilarityChunksSearchResults contains results of the ArtifactPublicServiceClient.SimilarityChunksSearch

type ArtifactPublicServiceClientMockUpdateCatalogExpectation

type ArtifactPublicServiceClientMockUpdateCatalogExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ArtifactPublicServiceClientMockUpdateCatalogExpectation specifies expectation struct of the ArtifactPublicServiceClient.UpdateCatalog

func (*ArtifactPublicServiceClientMockUpdateCatalogExpectation) Then

Then sets up ArtifactPublicServiceClient.UpdateCatalog return parameters for the expectation previously defined by the When method

type ArtifactPublicServiceClientMockUpdateCatalogParamPtrs

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

ArtifactPublicServiceClientMockUpdateCatalogParamPtrs contains pointers to parameters of the ArtifactPublicServiceClient.UpdateCatalog

type ArtifactPublicServiceClientMockUpdateCatalogParams

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

ArtifactPublicServiceClientMockUpdateCatalogParams contains parameters of the ArtifactPublicServiceClient.UpdateCatalog

type ArtifactPublicServiceClientMockUpdateCatalogResults

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

ArtifactPublicServiceClientMockUpdateCatalogResults contains results of the ArtifactPublicServiceClient.UpdateCatalog

type ArtifactPublicServiceClientMockUpdateChunkExpectation

type ArtifactPublicServiceClientMockUpdateChunkExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ArtifactPublicServiceClientMockUpdateChunkExpectation specifies expectation struct of the ArtifactPublicServiceClient.UpdateChunk

func (*ArtifactPublicServiceClientMockUpdateChunkExpectation) Then

Then sets up ArtifactPublicServiceClient.UpdateChunk return parameters for the expectation previously defined by the When method

type ArtifactPublicServiceClientMockUpdateChunkParamPtrs

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

ArtifactPublicServiceClientMockUpdateChunkParamPtrs contains pointers to parameters of the ArtifactPublicServiceClient.UpdateChunk

type ArtifactPublicServiceClientMockUpdateChunkParams

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

ArtifactPublicServiceClientMockUpdateChunkParams contains parameters of the ArtifactPublicServiceClient.UpdateChunk

type ArtifactPublicServiceClientMockUpdateChunkResults

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

ArtifactPublicServiceClientMockUpdateChunkResults contains results of the ArtifactPublicServiceClient.UpdateChunk

type ArtifactPublicServiceClientMockUploadCatalogFileExpectation

type ArtifactPublicServiceClientMockUploadCatalogFileExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ArtifactPublicServiceClientMockUploadCatalogFileExpectation specifies expectation struct of the ArtifactPublicServiceClient.UploadCatalogFile

func (*ArtifactPublicServiceClientMockUploadCatalogFileExpectation) Then

Then sets up ArtifactPublicServiceClient.UploadCatalogFile return parameters for the expectation previously defined by the When method

type ArtifactPublicServiceClientMockUploadCatalogFileParamPtrs

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

ArtifactPublicServiceClientMockUploadCatalogFileParamPtrs contains pointers to parameters of the ArtifactPublicServiceClient.UploadCatalogFile

type ArtifactPublicServiceClientMockUploadCatalogFileParams

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

ArtifactPublicServiceClientMockUploadCatalogFileParams contains parameters of the ArtifactPublicServiceClient.UploadCatalogFile

type ArtifactPublicServiceClientMockUploadCatalogFileResults

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

ArtifactPublicServiceClientMockUploadCatalogFileResults contains results of the ArtifactPublicServiceClient.UploadCatalogFile

type CommandRunnerMock

type CommandRunnerMock struct {
	CombinedOutputMock mCommandRunnerMockCombinedOutput

	StdinPipeMock mCommandRunnerMockStdinPipe
	// contains filtered or unexported fields
}

CommandRunnerMock implements document.commandRunner

func NewCommandRunnerMock

func NewCommandRunnerMock(t minimock.Tester) *CommandRunnerMock

NewCommandRunnerMock returns a mock for document.commandRunner

func (*CommandRunnerMock) CombinedOutput

func (mmCombinedOutput *CommandRunnerMock) CombinedOutput() (ba1 []byte, err error)

CombinedOutput implements document.commandRunner

func (*CommandRunnerMock) CombinedOutputAfterCounter

func (mmCombinedOutput *CommandRunnerMock) CombinedOutputAfterCounter() uint64

CombinedOutputAfterCounter returns a count of finished CommandRunnerMock.CombinedOutput invocations

func (*CommandRunnerMock) CombinedOutputBeforeCounter

func (mmCombinedOutput *CommandRunnerMock) CombinedOutputBeforeCounter() uint64

CombinedOutputBeforeCounter returns a count of CommandRunnerMock.CombinedOutput invocations

func (*CommandRunnerMock) MinimockCombinedOutputDone

func (m *CommandRunnerMock) MinimockCombinedOutputDone() bool

MinimockCombinedOutputDone returns true if the count of the CombinedOutput invocations corresponds the number of defined expectations

func (*CommandRunnerMock) MinimockCombinedOutputInspect

func (m *CommandRunnerMock) MinimockCombinedOutputInspect()

MinimockCombinedOutputInspect logs each unmet expectation

func (*CommandRunnerMock) MinimockFinish

func (m *CommandRunnerMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*CommandRunnerMock) MinimockStdinPipeDone

func (m *CommandRunnerMock) MinimockStdinPipeDone() bool

MinimockStdinPipeDone returns true if the count of the StdinPipe invocations corresponds the number of defined expectations

func (*CommandRunnerMock) MinimockStdinPipeInspect

func (m *CommandRunnerMock) MinimockStdinPipeInspect()

MinimockStdinPipeInspect logs each unmet expectation

func (*CommandRunnerMock) MinimockWait

func (m *CommandRunnerMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

func (*CommandRunnerMock) StdinPipe

func (mmStdinPipe *CommandRunnerMock) StdinPipe() (w1 io.WriteCloser, err error)

StdinPipe implements document.commandRunner

func (*CommandRunnerMock) StdinPipeAfterCounter

func (mmStdinPipe *CommandRunnerMock) StdinPipeAfterCounter() uint64

StdinPipeAfterCounter returns a count of finished CommandRunnerMock.StdinPipe invocations

func (*CommandRunnerMock) StdinPipeBeforeCounter

func (mmStdinPipe *CommandRunnerMock) StdinPipeBeforeCounter() uint64

StdinPipeBeforeCounter returns a count of CommandRunnerMock.StdinPipe invocations

type CommandRunnerMockCombinedOutputExpectation

type CommandRunnerMockCombinedOutputExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

CommandRunnerMockCombinedOutputExpectation specifies expectation struct of the commandRunner.CombinedOutput

type CommandRunnerMockCombinedOutputResults

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

CommandRunnerMockCombinedOutputResults contains results of the commandRunner.CombinedOutput

type CommandRunnerMockStdinPipeExpectation

type CommandRunnerMockStdinPipeExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

CommandRunnerMockStdinPipeExpectation specifies expectation struct of the commandRunner.StdinPipe

type CommandRunnerMockStdinPipeResults

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

CommandRunnerMockStdinPipeResults contains results of the commandRunner.StdinPipe

type ErrorHandlerMock

type ErrorHandlerMock struct {
	ErrorMock mErrorHandlerMockError
	// contains filtered or unexported fields
}

ErrorHandlerMock implements base.ErrorHandler

func NewErrorHandlerMock

func NewErrorHandlerMock(t minimock.Tester) *ErrorHandlerMock

NewErrorHandlerMock returns a mock for base.ErrorHandler

func (*ErrorHandlerMock) Error

func (mmError *ErrorHandlerMock) Error(ctx context.Context, err error)

Error implements base.ErrorHandler

func (*ErrorHandlerMock) ErrorAfterCounter

func (mmError *ErrorHandlerMock) ErrorAfterCounter() uint64

ErrorAfterCounter returns a count of finished ErrorHandlerMock.Error invocations

func (*ErrorHandlerMock) ErrorBeforeCounter

func (mmError *ErrorHandlerMock) ErrorBeforeCounter() uint64

ErrorBeforeCounter returns a count of ErrorHandlerMock.Error invocations

func (*ErrorHandlerMock) MinimockErrorDone

func (m *ErrorHandlerMock) MinimockErrorDone() bool

MinimockErrorDone returns true if the count of the Error invocations corresponds the number of defined expectations

func (*ErrorHandlerMock) MinimockErrorInspect

func (m *ErrorHandlerMock) MinimockErrorInspect()

MinimockErrorInspect logs each unmet expectation

func (*ErrorHandlerMock) MinimockFinish

func (m *ErrorHandlerMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*ErrorHandlerMock) MinimockWait

func (m *ErrorHandlerMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

type ErrorHandlerMockErrorExpectation

type ErrorHandlerMockErrorExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

ErrorHandlerMockErrorExpectation specifies expectation struct of the ErrorHandler.Error

type ErrorHandlerMockErrorParamPtrs

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

ErrorHandlerMockErrorParamPtrs contains pointers to parameters of the ErrorHandler.Error

type ErrorHandlerMockErrorParams

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

ErrorHandlerMockErrorParams contains parameters of the ErrorHandler.Error

type InputReaderMock

type InputReaderMock struct {
	ReadMock mInputReaderMockRead
	// contains filtered or unexported fields
}

InputReaderMock implements base.InputReader

func NewInputReaderMock

func NewInputReaderMock(t minimock.Tester) *InputReaderMock

NewInputReaderMock returns a mock for base.InputReader

func (*InputReaderMock) MinimockFinish

func (m *InputReaderMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*InputReaderMock) MinimockReadDone

func (m *InputReaderMock) MinimockReadDone() bool

MinimockReadDone returns true if the count of the Read invocations corresponds the number of defined expectations

func (*InputReaderMock) MinimockReadInspect

func (m *InputReaderMock) MinimockReadInspect()

MinimockReadInspect logs each unmet expectation

func (*InputReaderMock) MinimockWait

func (m *InputReaderMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

func (*InputReaderMock) Read

func (mmRead *InputReaderMock) Read(ctx context.Context) (input *structpb.Struct, err error)

Read implements base.InputReader

func (*InputReaderMock) ReadAfterCounter

func (mmRead *InputReaderMock) ReadAfterCounter() uint64

ReadAfterCounter returns a count of finished InputReaderMock.Read invocations

func (*InputReaderMock) ReadBeforeCounter

func (mmRead *InputReaderMock) ReadBeforeCounter() uint64

ReadBeforeCounter returns a count of InputReaderMock.Read invocations

type InputReaderMockReadExpectation

type InputReaderMockReadExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

InputReaderMockReadExpectation specifies expectation struct of the InputReader.Read

func (*InputReaderMockReadExpectation) Then

Then sets up InputReader.Read return parameters for the expectation previously defined by the When method

type InputReaderMockReadParamPtrs

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

InputReaderMockReadParamPtrs contains pointers to parameters of the InputReader.Read

type InputReaderMockReadParams

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

InputReaderMockReadParams contains parameters of the InputReader.Read

type InputReaderMockReadResults

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

InputReaderMockReadResults contains results of the InputReader.Read

type OutputWriterMock

type OutputWriterMock struct {
	WriteMock mOutputWriterMockWrite
	// contains filtered or unexported fields
}

OutputWriterMock implements base.OutputWriter

func NewOutputWriterMock

func NewOutputWriterMock(t minimock.Tester) *OutputWriterMock

NewOutputWriterMock returns a mock for base.OutputWriter

func (*OutputWriterMock) MinimockFinish

func (m *OutputWriterMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*OutputWriterMock) MinimockWait

func (m *OutputWriterMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

func (*OutputWriterMock) MinimockWriteDone

func (m *OutputWriterMock) MinimockWriteDone() bool

MinimockWriteDone returns true if the count of the Write invocations corresponds the number of defined expectations

func (*OutputWriterMock) MinimockWriteInspect

func (m *OutputWriterMock) MinimockWriteInspect()

MinimockWriteInspect logs each unmet expectation

func (*OutputWriterMock) Write

func (mmWrite *OutputWriterMock) Write(ctx context.Context, output *structpb.Struct) (err error)

Write implements base.OutputWriter

func (*OutputWriterMock) WriteAfterCounter

func (mmWrite *OutputWriterMock) WriteAfterCounter() uint64

WriteAfterCounter returns a count of finished OutputWriterMock.Write invocations

func (*OutputWriterMock) WriteBeforeCounter

func (mmWrite *OutputWriterMock) WriteBeforeCounter() uint64

WriteBeforeCounter returns a count of OutputWriterMock.Write invocations

type OutputWriterMockWriteExpectation

type OutputWriterMockWriteExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

OutputWriterMockWriteExpectation specifies expectation struct of the OutputWriter.Write

func (*OutputWriterMockWriteExpectation) Then

Then sets up OutputWriter.Write return parameters for the expectation previously defined by the When method

type OutputWriterMockWriteParamPtrs

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

OutputWriterMockWriteParamPtrs contains pointers to parameters of the OutputWriter.Write

type OutputWriterMockWriteParams

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

OutputWriterMockWriteParams contains parameters of the OutputWriter.Write

type OutputWriterMockWriteResults

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

OutputWriterMockWriteResults contains results of the OutputWriter.Write

type UsageHandlerMock

type UsageHandlerMock struct {
	CheckMock mUsageHandlerMockCheck

	CollectMock mUsageHandlerMockCollect
	// contains filtered or unexported fields
}

UsageHandlerMock implements base.UsageHandler

func NewUsageHandlerMock

func NewUsageHandlerMock(t minimock.Tester) *UsageHandlerMock

NewUsageHandlerMock returns a mock for base.UsageHandler

func (*UsageHandlerMock) Check

func (mmCheck *UsageHandlerMock) Check(ctx context.Context, inputs []*structpb.Struct) (err error)

Check implements base.UsageHandler

func (*UsageHandlerMock) CheckAfterCounter

func (mmCheck *UsageHandlerMock) CheckAfterCounter() uint64

CheckAfterCounter returns a count of finished UsageHandlerMock.Check invocations

func (*UsageHandlerMock) CheckBeforeCounter

func (mmCheck *UsageHandlerMock) CheckBeforeCounter() uint64

CheckBeforeCounter returns a count of UsageHandlerMock.Check invocations

func (*UsageHandlerMock) Collect

func (mmCollect *UsageHandlerMock) Collect(ctx context.Context, inputs []*structpb.Struct, outputs []*structpb.Struct) (err error)

Collect implements base.UsageHandler

func (*UsageHandlerMock) CollectAfterCounter

func (mmCollect *UsageHandlerMock) CollectAfterCounter() uint64

CollectAfterCounter returns a count of finished UsageHandlerMock.Collect invocations

func (*UsageHandlerMock) CollectBeforeCounter

func (mmCollect *UsageHandlerMock) CollectBeforeCounter() uint64

CollectBeforeCounter returns a count of UsageHandlerMock.Collect invocations

func (*UsageHandlerMock) MinimockCheckDone

func (m *UsageHandlerMock) MinimockCheckDone() bool

MinimockCheckDone returns true if the count of the Check invocations corresponds the number of defined expectations

func (*UsageHandlerMock) MinimockCheckInspect

func (m *UsageHandlerMock) MinimockCheckInspect()

MinimockCheckInspect logs each unmet expectation

func (*UsageHandlerMock) MinimockCollectDone

func (m *UsageHandlerMock) MinimockCollectDone() bool

MinimockCollectDone returns true if the count of the Collect invocations corresponds the number of defined expectations

func (*UsageHandlerMock) MinimockCollectInspect

func (m *UsageHandlerMock) MinimockCollectInspect()

MinimockCollectInspect logs each unmet expectation

func (*UsageHandlerMock) MinimockFinish

func (m *UsageHandlerMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*UsageHandlerMock) MinimockWait

func (m *UsageHandlerMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

type UsageHandlerMockCheckExpectation

type UsageHandlerMockCheckExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

UsageHandlerMockCheckExpectation specifies expectation struct of the UsageHandler.Check

func (*UsageHandlerMockCheckExpectation) Then

Then sets up UsageHandler.Check return parameters for the expectation previously defined by the When method

type UsageHandlerMockCheckParamPtrs

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

UsageHandlerMockCheckParamPtrs contains pointers to parameters of the UsageHandler.Check

type UsageHandlerMockCheckParams

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

UsageHandlerMockCheckParams contains parameters of the UsageHandler.Check

type UsageHandlerMockCheckResults

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

UsageHandlerMockCheckResults contains results of the UsageHandler.Check

type UsageHandlerMockCollectExpectation

type UsageHandlerMockCollectExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

UsageHandlerMockCollectExpectation specifies expectation struct of the UsageHandler.Collect

func (*UsageHandlerMockCollectExpectation) Then

Then sets up UsageHandler.Collect return parameters for the expectation previously defined by the When method

type UsageHandlerMockCollectParamPtrs

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

UsageHandlerMockCollectParamPtrs contains pointers to parameters of the UsageHandler.Collect

type UsageHandlerMockCollectParams

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

UsageHandlerMockCollectParams contains parameters of the UsageHandler.Collect

type UsageHandlerMockCollectResults

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

UsageHandlerMockCollectResults contains results of the UsageHandler.Collect

type WriteCloserMock

type WriteCloserMock struct {
	CloseMock mWriteCloserMockClose

	WriteMock mWriteCloserMockWrite
	// contains filtered or unexported fields
}

WriteCloserMock implements io.WriteCloser

func NewWriteCloserMock

func NewWriteCloserMock(t minimock.Tester) *WriteCloserMock

NewWriteCloserMock returns a mock for io.WriteCloser

func (*WriteCloserMock) Close

func (mmClose *WriteCloserMock) Close() (err error)

Close implements io.WriteCloser

func (*WriteCloserMock) CloseAfterCounter

func (mmClose *WriteCloserMock) CloseAfterCounter() uint64

CloseAfterCounter returns a count of finished WriteCloserMock.Close invocations

func (*WriteCloserMock) CloseBeforeCounter

func (mmClose *WriteCloserMock) CloseBeforeCounter() uint64

CloseBeforeCounter returns a count of WriteCloserMock.Close invocations

func (*WriteCloserMock) MinimockCloseDone

func (m *WriteCloserMock) MinimockCloseDone() bool

MinimockCloseDone returns true if the count of the Close invocations corresponds the number of defined expectations

func (*WriteCloserMock) MinimockCloseInspect

func (m *WriteCloserMock) MinimockCloseInspect()

MinimockCloseInspect logs each unmet expectation

func (*WriteCloserMock) MinimockFinish

func (m *WriteCloserMock) MinimockFinish()

MinimockFinish checks that all mocked methods have been called the expected number of times

func (*WriteCloserMock) MinimockWait

func (m *WriteCloserMock) MinimockWait(timeout mm_time.Duration)

MinimockWait waits for all mocked methods to be called the expected number of times

func (*WriteCloserMock) MinimockWriteDone

func (m *WriteCloserMock) MinimockWriteDone() bool

MinimockWriteDone returns true if the count of the Write invocations corresponds the number of defined expectations

func (*WriteCloserMock) MinimockWriteInspect

func (m *WriteCloserMock) MinimockWriteInspect()

MinimockWriteInspect logs each unmet expectation

func (*WriteCloserMock) Write

func (mmWrite *WriteCloserMock) Write(p []byte) (n int, err error)

Write implements io.WriteCloser

func (*WriteCloserMock) WriteAfterCounter

func (mmWrite *WriteCloserMock) WriteAfterCounter() uint64

WriteAfterCounter returns a count of finished WriteCloserMock.Write invocations

func (*WriteCloserMock) WriteBeforeCounter

func (mmWrite *WriteCloserMock) WriteBeforeCounter() uint64

WriteBeforeCounter returns a count of WriteCloserMock.Write invocations

type WriteCloserMockCloseExpectation

type WriteCloserMockCloseExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

WriteCloserMockCloseExpectation specifies expectation struct of the WriteCloser.Close

type WriteCloserMockCloseResults

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

WriteCloserMockCloseResults contains results of the WriteCloser.Close

type WriteCloserMockWriteExpectation

type WriteCloserMockWriteExpectation struct {
	Counter uint64
	// contains filtered or unexported fields
}

WriteCloserMockWriteExpectation specifies expectation struct of the WriteCloser.Write

func (*WriteCloserMockWriteExpectation) Then

Then sets up WriteCloser.Write return parameters for the expectation previously defined by the When method

type WriteCloserMockWriteParamPtrs

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

WriteCloserMockWriteParamPtrs contains pointers to parameters of the WriteCloser.Write

type WriteCloserMockWriteParams

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

WriteCloserMockWriteParams contains parameters of the WriteCloser.Write

type WriteCloserMockWriteResults

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

WriteCloserMockWriteResults contains results of the WriteCloser.Write

Jump to

Keyboard shortcuts

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