mocks

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckpointPaths

type CheckpointPaths struct {
	mock.Mock
}

CheckpointPaths is an autogenerated mock type for the CheckpointPaths type

func (*CheckpointPaths) GetCheckpointPrefix

func (_m *CheckpointPaths) GetCheckpointPrefix() storage.DataReference

GetCheckpointPrefix provides a mock function with given fields:

func (*CheckpointPaths) GetPreviousCheckpointsPrefix

func (_m *CheckpointPaths) GetPreviousCheckpointsPrefix() storage.DataReference

GetPreviousCheckpointsPrefix provides a mock function with given fields:

func (*CheckpointPaths) OnGetCheckpointPrefix

func (_m *CheckpointPaths) OnGetCheckpointPrefix() *CheckpointPaths_GetCheckpointPrefix

func (*CheckpointPaths) OnGetCheckpointPrefixMatch

func (_m *CheckpointPaths) OnGetCheckpointPrefixMatch(matchers ...interface{}) *CheckpointPaths_GetCheckpointPrefix

func (*CheckpointPaths) OnGetPreviousCheckpointsPrefix

func (_m *CheckpointPaths) OnGetPreviousCheckpointsPrefix() *CheckpointPaths_GetPreviousCheckpointsPrefix

func (*CheckpointPaths) OnGetPreviousCheckpointsPrefixMatch

func (_m *CheckpointPaths) OnGetPreviousCheckpointsPrefixMatch(matchers ...interface{}) *CheckpointPaths_GetPreviousCheckpointsPrefix

type CheckpointPaths_GetCheckpointPrefix

type CheckpointPaths_GetCheckpointPrefix struct {
	*mock.Call
}

func (CheckpointPaths_GetCheckpointPrefix) Return

type CheckpointPaths_GetPreviousCheckpointsPrefix

type CheckpointPaths_GetPreviousCheckpointsPrefix struct {
	*mock.Call
}

func (CheckpointPaths_GetPreviousCheckpointsPrefix) Return

type InputFilePaths

type InputFilePaths struct {
	mock.Mock
}

InputFilePaths is an autogenerated mock type for the InputFilePaths type

func (*InputFilePaths) GetInputPath

func (_m *InputFilePaths) GetInputPath() storage.DataReference

GetInputPath provides a mock function with given fields:

func (*InputFilePaths) GetInputPrefixPath

func (_m *InputFilePaths) GetInputPrefixPath() storage.DataReference

GetInputPrefixPath provides a mock function with given fields:

func (*InputFilePaths) OnGetInputPath

func (_m *InputFilePaths) OnGetInputPath() *InputFilePaths_GetInputPath

func (*InputFilePaths) OnGetInputPathMatch

func (_m *InputFilePaths) OnGetInputPathMatch(matchers ...interface{}) *InputFilePaths_GetInputPath

func (*InputFilePaths) OnGetInputPrefixPath

func (_m *InputFilePaths) OnGetInputPrefixPath() *InputFilePaths_GetInputPrefixPath

func (*InputFilePaths) OnGetInputPrefixPathMatch

func (_m *InputFilePaths) OnGetInputPrefixPathMatch(matchers ...interface{}) *InputFilePaths_GetInputPrefixPath

type InputFilePaths_GetInputPath

type InputFilePaths_GetInputPath struct {
	*mock.Call
}

func (InputFilePaths_GetInputPath) Return

type InputFilePaths_GetInputPrefixPath

type InputFilePaths_GetInputPrefixPath struct {
	*mock.Call
}

func (InputFilePaths_GetInputPrefixPath) Return

type InputReader

type InputReader struct {
	mock.Mock
}

InputReader is an autogenerated mock type for the InputReader type

func (*InputReader) Get

func (_m *InputReader) Get(ctx context.Context) (*core.LiteralMap, error)

Get provides a mock function with given fields: ctx

func (*InputReader) GetInputPath

func (_m *InputReader) GetInputPath() storage.DataReference

GetInputPath provides a mock function with given fields:

func (*InputReader) GetInputPrefixPath

func (_m *InputReader) GetInputPrefixPath() storage.DataReference

GetInputPrefixPath provides a mock function with given fields:

func (*InputReader) OnGet

func (_m *InputReader) OnGet(ctx context.Context) *InputReader_Get

func (*InputReader) OnGetInputPath

func (_m *InputReader) OnGetInputPath() *InputReader_GetInputPath

func (*InputReader) OnGetInputPathMatch

func (_m *InputReader) OnGetInputPathMatch(matchers ...interface{}) *InputReader_GetInputPath

func (*InputReader) OnGetInputPrefixPath

func (_m *InputReader) OnGetInputPrefixPath() *InputReader_GetInputPrefixPath

func (*InputReader) OnGetInputPrefixPathMatch

func (_m *InputReader) OnGetInputPrefixPathMatch(matchers ...interface{}) *InputReader_GetInputPrefixPath

func (*InputReader) OnGetMatch

func (_m *InputReader) OnGetMatch(matchers ...interface{}) *InputReader_Get

type InputReader_Get

type InputReader_Get struct {
	*mock.Call
}

func (InputReader_Get) Return

func (_m InputReader_Get) Return(_a0 *core.LiteralMap, _a1 error) *InputReader_Get

type InputReader_GetInputPath

type InputReader_GetInputPath struct {
	*mock.Call
}

func (InputReader_GetInputPath) Return

type InputReader_GetInputPrefixPath

type InputReader_GetInputPrefixPath struct {
	*mock.Call
}

func (InputReader_GetInputPrefixPath) Return

type OutputDataSandbox

type OutputDataSandbox struct {
	mock.Mock
}

RawOutputPaths is an autogenerated mock type for the RawOutputPaths type

func (*OutputDataSandbox) GetRawOutputPrefix

func (_m *OutputDataSandbox) GetRawOutputPrefix() storage.DataReference

GetRawOutputPrefix provides a mock function with given fields:

func (*OutputDataSandbox) OnGetOutputDataSandboxPath

func (_m *OutputDataSandbox) OnGetOutputDataSandboxPath() *OutputDataSandbox_GetOutputDataSandboxPath

func (*OutputDataSandbox) OnGetOutputDataSandboxPathMatch

func (_m *OutputDataSandbox) OnGetOutputDataSandboxPathMatch(matchers ...interface{}) *OutputDataSandbox_GetOutputDataSandboxPath

type OutputDataSandbox_GetOutputDataSandboxPath

type OutputDataSandbox_GetOutputDataSandboxPath struct {
	*mock.Call
}

func (OutputDataSandbox_GetOutputDataSandboxPath) Return

type OutputFilePaths

type OutputFilePaths struct {
	mock.Mock
}

OutputFilePaths is an autogenerated mock type for the OutputFilePaths type

func (*OutputFilePaths) GetCheckpointPrefix

func (_m *OutputFilePaths) GetCheckpointPrefix() storage.DataReference

GetCheckpointPrefix provides a mock function with given fields:

func (*OutputFilePaths) GetDeckPath

func (_m *OutputFilePaths) GetDeckPath() storage.DataReference

GetDeckPath provides a mock function with given fields:

func (*OutputFilePaths) GetErrorPath

func (_m *OutputFilePaths) GetErrorPath() storage.DataReference

GetErrorPath provides a mock function with given fields:

func (*OutputFilePaths) GetOutputPath

func (_m *OutputFilePaths) GetOutputPath() storage.DataReference

GetOutputPath provides a mock function with given fields:

func (*OutputFilePaths) GetOutputPrefixPath

func (_m *OutputFilePaths) GetOutputPrefixPath() storage.DataReference

GetOutputPrefixPath provides a mock function with given fields:

func (*OutputFilePaths) GetPreviousCheckpointsPrefix

func (_m *OutputFilePaths) GetPreviousCheckpointsPrefix() storage.DataReference

GetPreviousCheckpointsPrefix provides a mock function with given fields:

func (*OutputFilePaths) GetRawOutputPrefix

func (_m *OutputFilePaths) GetRawOutputPrefix() storage.DataReference

GetRawOutputPrefix provides a mock function with given fields:

func (*OutputFilePaths) OnGetCheckpointPrefix

func (_m *OutputFilePaths) OnGetCheckpointPrefix() *OutputFilePaths_GetCheckpointPrefix

func (*OutputFilePaths) OnGetCheckpointPrefixMatch

func (_m *OutputFilePaths) OnGetCheckpointPrefixMatch(matchers ...interface{}) *OutputFilePaths_GetCheckpointPrefix

func (*OutputFilePaths) OnGetDeckPath

func (_m *OutputFilePaths) OnGetDeckPath() *OutputFilePaths_GetDeckPath

func (*OutputFilePaths) OnGetDeckPathMatch

func (_m *OutputFilePaths) OnGetDeckPathMatch(matchers ...interface{}) *OutputFilePaths_GetDeckPath

func (*OutputFilePaths) OnGetErrorPath

func (_m *OutputFilePaths) OnGetErrorPath() *OutputFilePaths_GetErrorPath

func (*OutputFilePaths) OnGetErrorPathMatch

func (_m *OutputFilePaths) OnGetErrorPathMatch(matchers ...interface{}) *OutputFilePaths_GetErrorPath

func (*OutputFilePaths) OnGetOutputPath

func (_m *OutputFilePaths) OnGetOutputPath() *OutputFilePaths_GetOutputPath

func (*OutputFilePaths) OnGetOutputPathMatch

func (_m *OutputFilePaths) OnGetOutputPathMatch(matchers ...interface{}) *OutputFilePaths_GetOutputPath

func (*OutputFilePaths) OnGetOutputPrefixPath

func (_m *OutputFilePaths) OnGetOutputPrefixPath() *OutputFilePaths_GetOutputPrefixPath

func (*OutputFilePaths) OnGetOutputPrefixPathMatch

func (_m *OutputFilePaths) OnGetOutputPrefixPathMatch(matchers ...interface{}) *OutputFilePaths_GetOutputPrefixPath

func (*OutputFilePaths) OnGetPreviousCheckpointsPrefix

func (_m *OutputFilePaths) OnGetPreviousCheckpointsPrefix() *OutputFilePaths_GetPreviousCheckpointsPrefix

func (*OutputFilePaths) OnGetPreviousCheckpointsPrefixMatch

func (_m *OutputFilePaths) OnGetPreviousCheckpointsPrefixMatch(matchers ...interface{}) *OutputFilePaths_GetPreviousCheckpointsPrefix

func (*OutputFilePaths) OnGetRawOutputPrefix

func (_m *OutputFilePaths) OnGetRawOutputPrefix() *OutputFilePaths_GetRawOutputPrefix

func (*OutputFilePaths) OnGetRawOutputPrefixMatch

func (_m *OutputFilePaths) OnGetRawOutputPrefixMatch(matchers ...interface{}) *OutputFilePaths_GetRawOutputPrefix

type OutputFilePaths_GetCheckpointPrefix

type OutputFilePaths_GetCheckpointPrefix struct {
	*mock.Call
}

func (OutputFilePaths_GetCheckpointPrefix) Return

type OutputFilePaths_GetDeckPath

type OutputFilePaths_GetDeckPath struct {
	*mock.Call
}

func (OutputFilePaths_GetDeckPath) Return

type OutputFilePaths_GetErrorPath

type OutputFilePaths_GetErrorPath struct {
	*mock.Call
}

func (OutputFilePaths_GetErrorPath) Return

type OutputFilePaths_GetOutputPath

type OutputFilePaths_GetOutputPath struct {
	*mock.Call
}

func (OutputFilePaths_GetOutputPath) Return

type OutputFilePaths_GetOutputPrefixPath

type OutputFilePaths_GetOutputPrefixPath struct {
	*mock.Call
}

func (OutputFilePaths_GetOutputPrefixPath) Return

type OutputFilePaths_GetPreviousCheckpointsPrefix

type OutputFilePaths_GetPreviousCheckpointsPrefix struct {
	*mock.Call
}

func (OutputFilePaths_GetPreviousCheckpointsPrefix) Return

type OutputFilePaths_GetRawOutputPrefix

type OutputFilePaths_GetRawOutputPrefix struct {
	*mock.Call
}

func (OutputFilePaths_GetRawOutputPrefix) Return

type OutputReader

type OutputReader struct {
	mock.Mock
}

OutputReader is an autogenerated mock type for the OutputReader type

func (*OutputReader) DeckExists

func (_m *OutputReader) DeckExists(ctx context.Context) (bool, error)

DeckExists provides a mock function with given fields: ctx

func (*OutputReader) Exists

func (_m *OutputReader) Exists(ctx context.Context) (bool, error)

Exists provides a mock function with given fields: ctx

func (*OutputReader) IsError

func (_m *OutputReader) IsError(ctx context.Context) (bool, error)

IsError provides a mock function with given fields: ctx

func (*OutputReader) IsFile

func (_m *OutputReader) IsFile(ctx context.Context) bool

IsFile provides a mock function with given fields: ctx

func (*OutputReader) OnDeckExists

func (_m *OutputReader) OnDeckExists(ctx context.Context) *OutputReader_DeckExists

func (*OutputReader) OnDeckExistsMatch

func (_m *OutputReader) OnDeckExistsMatch(matchers ...interface{}) *OutputReader_DeckExists

func (*OutputReader) OnExists

func (_m *OutputReader) OnExists(ctx context.Context) *OutputReader_Exists

func (*OutputReader) OnExistsMatch

func (_m *OutputReader) OnExistsMatch(matchers ...interface{}) *OutputReader_Exists

func (*OutputReader) OnIsError

func (_m *OutputReader) OnIsError(ctx context.Context) *OutputReader_IsError

func (*OutputReader) OnIsErrorMatch

func (_m *OutputReader) OnIsErrorMatch(matchers ...interface{}) *OutputReader_IsError

func (*OutputReader) OnIsFile

func (_m *OutputReader) OnIsFile(ctx context.Context) *OutputReader_IsFile

func (*OutputReader) OnIsFileMatch

func (_m *OutputReader) OnIsFileMatch(matchers ...interface{}) *OutputReader_IsFile

func (*OutputReader) OnRead

func (_m *OutputReader) OnRead(ctx context.Context) *OutputReader_Read

func (*OutputReader) OnReadError

func (_m *OutputReader) OnReadError(ctx context.Context) *OutputReader_ReadError

func (*OutputReader) OnReadErrorMatch

func (_m *OutputReader) OnReadErrorMatch(matchers ...interface{}) *OutputReader_ReadError

func (*OutputReader) OnReadMatch

func (_m *OutputReader) OnReadMatch(matchers ...interface{}) *OutputReader_Read

func (*OutputReader) Read

Read provides a mock function with given fields: ctx

func (*OutputReader) ReadError

func (_m *OutputReader) ReadError(ctx context.Context) (io.ExecutionError, error)

ReadError provides a mock function with given fields: ctx

type OutputReader_DeckExists

type OutputReader_DeckExists struct {
	*mock.Call
}

func (OutputReader_DeckExists) Return

type OutputReader_Exists

type OutputReader_Exists struct {
	*mock.Call
}

func (OutputReader_Exists) Return

func (_m OutputReader_Exists) Return(_a0 bool, _a1 error) *OutputReader_Exists

type OutputReader_IsError

type OutputReader_IsError struct {
	*mock.Call
}

func (OutputReader_IsError) Return

func (_m OutputReader_IsError) Return(_a0 bool, _a1 error) *OutputReader_IsError

type OutputReader_IsFile

type OutputReader_IsFile struct {
	*mock.Call
}

func (OutputReader_IsFile) Return

type OutputReader_Read

type OutputReader_Read struct {
	*mock.Call
}

func (OutputReader_Read) Return

type OutputReader_ReadError

type OutputReader_ReadError struct {
	*mock.Call
}

func (OutputReader_ReadError) Return

type OutputWriter

type OutputWriter struct {
	mock.Mock
}

OutputWriter is an autogenerated mock type for the OutputWriter type

func (*OutputWriter) GetCheckpointPrefix

func (_m *OutputWriter) GetCheckpointPrefix() storage.DataReference

GetCheckpointPrefix provides a mock function with given fields:

func (*OutputWriter) GetDeckPath

func (_m *OutputWriter) GetDeckPath() storage.DataReference

GetDeckPath provides a mock function with given fields:

func (*OutputWriter) GetErrorPath

func (_m *OutputWriter) GetErrorPath() storage.DataReference

GetErrorPath provides a mock function with given fields:

func (*OutputWriter) GetOutputPath

func (_m *OutputWriter) GetOutputPath() storage.DataReference

GetOutputPath provides a mock function with given fields:

func (*OutputWriter) GetOutputPrefixPath

func (_m *OutputWriter) GetOutputPrefixPath() storage.DataReference

GetOutputPrefixPath provides a mock function with given fields:

func (*OutputWriter) GetPreviousCheckpointsPrefix

func (_m *OutputWriter) GetPreviousCheckpointsPrefix() storage.DataReference

GetPreviousCheckpointsPrefix provides a mock function with given fields:

func (*OutputWriter) GetRawOutputPrefix

func (_m *OutputWriter) GetRawOutputPrefix() storage.DataReference

GetRawOutputPrefix provides a mock function with given fields:

func (*OutputWriter) OnGetCheckpointPrefix

func (_m *OutputWriter) OnGetCheckpointPrefix() *OutputWriter_GetCheckpointPrefix

func (*OutputWriter) OnGetCheckpointPrefixMatch

func (_m *OutputWriter) OnGetCheckpointPrefixMatch(matchers ...interface{}) *OutputWriter_GetCheckpointPrefix

func (*OutputWriter) OnGetDeckPath

func (_m *OutputWriter) OnGetDeckPath() *OutputWriter_GetDeckPath

func (*OutputWriter) OnGetDeckPathMatch

func (_m *OutputWriter) OnGetDeckPathMatch(matchers ...interface{}) *OutputWriter_GetDeckPath

func (*OutputWriter) OnGetErrorPath

func (_m *OutputWriter) OnGetErrorPath() *OutputWriter_GetErrorPath

func (*OutputWriter) OnGetErrorPathMatch

func (_m *OutputWriter) OnGetErrorPathMatch(matchers ...interface{}) *OutputWriter_GetErrorPath

func (*OutputWriter) OnGetOutputPath

func (_m *OutputWriter) OnGetOutputPath() *OutputWriter_GetOutputPath

func (*OutputWriter) OnGetOutputPathMatch

func (_m *OutputWriter) OnGetOutputPathMatch(matchers ...interface{}) *OutputWriter_GetOutputPath

func (*OutputWriter) OnGetOutputPrefixPath

func (_m *OutputWriter) OnGetOutputPrefixPath() *OutputWriter_GetOutputPrefixPath

func (*OutputWriter) OnGetOutputPrefixPathMatch

func (_m *OutputWriter) OnGetOutputPrefixPathMatch(matchers ...interface{}) *OutputWriter_GetOutputPrefixPath

func (*OutputWriter) OnGetPreviousCheckpointsPrefix

func (_m *OutputWriter) OnGetPreviousCheckpointsPrefix() *OutputWriter_GetPreviousCheckpointsPrefix

func (*OutputWriter) OnGetPreviousCheckpointsPrefixMatch

func (_m *OutputWriter) OnGetPreviousCheckpointsPrefixMatch(matchers ...interface{}) *OutputWriter_GetPreviousCheckpointsPrefix

func (*OutputWriter) OnGetRawOutputPrefix

func (_m *OutputWriter) OnGetRawOutputPrefix() *OutputWriter_GetRawOutputPrefix

func (*OutputWriter) OnGetRawOutputPrefixMatch

func (_m *OutputWriter) OnGetRawOutputPrefixMatch(matchers ...interface{}) *OutputWriter_GetRawOutputPrefix

func (*OutputWriter) OnPut

func (_m *OutputWriter) OnPut(ctx context.Context, reader io.OutputReader) *OutputWriter_Put

func (*OutputWriter) OnPutMatch

func (_m *OutputWriter) OnPutMatch(matchers ...interface{}) *OutputWriter_Put

func (*OutputWriter) Put

func (_m *OutputWriter) Put(ctx context.Context, reader io.OutputReader) error

Put provides a mock function with given fields: ctx, reader

type OutputWriter_GetCheckpointPrefix

type OutputWriter_GetCheckpointPrefix struct {
	*mock.Call
}

func (OutputWriter_GetCheckpointPrefix) Return

type OutputWriter_GetDeckPath

type OutputWriter_GetDeckPath struct {
	*mock.Call
}

func (OutputWriter_GetDeckPath) Return

type OutputWriter_GetErrorPath

type OutputWriter_GetErrorPath struct {
	*mock.Call
}

func (OutputWriter_GetErrorPath) Return

type OutputWriter_GetOutputPath

type OutputWriter_GetOutputPath struct {
	*mock.Call
}

func (OutputWriter_GetOutputPath) Return

type OutputWriter_GetOutputPrefixPath

type OutputWriter_GetOutputPrefixPath struct {
	*mock.Call
}

func (OutputWriter_GetOutputPrefixPath) Return

type OutputWriter_GetPreviousCheckpointsPrefix

type OutputWriter_GetPreviousCheckpointsPrefix struct {
	*mock.Call
}

func (OutputWriter_GetPreviousCheckpointsPrefix) Return

type OutputWriter_GetRawOutputPrefix

type OutputWriter_GetRawOutputPrefix struct {
	*mock.Call
}

func (OutputWriter_GetRawOutputPrefix) Return

type OutputWriter_Put

type OutputWriter_Put struct {
	*mock.Call
}

func (OutputWriter_Put) Return

func (_m OutputWriter_Put) Return(_a0 error) *OutputWriter_Put

type RawOutputPaths

type RawOutputPaths struct {
	mock.Mock
}

RawOutputPaths is an autogenerated mock type for the RawOutputPaths type

func (*RawOutputPaths) GetRawOutputPrefix

func (_m *RawOutputPaths) GetRawOutputPrefix() storage.DataReference

GetRawOutputPrefix provides a mock function with given fields:

func (*RawOutputPaths) OnGetRawOutputPrefix

func (_m *RawOutputPaths) OnGetRawOutputPrefix() *RawOutputPaths_GetRawOutputPrefix

func (*RawOutputPaths) OnGetRawOutputPrefixMatch

func (_m *RawOutputPaths) OnGetRawOutputPrefixMatch(matchers ...interface{}) *RawOutputPaths_GetRawOutputPrefix

type RawOutputPaths_GetRawOutputPrefix

type RawOutputPaths_GetRawOutputPrefix struct {
	*mock.Call
}

func (RawOutputPaths_GetRawOutputPrefix) Return

Jump to

Keyboard shortcuts

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