mock

package
v0.43.1-access-memory-... Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2025 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RetryableUploaderWrapper

type RetryableUploaderWrapper struct {
	mock.Mock
}

RetryableUploaderWrapper is an autogenerated mock type for the RetryableUploaderWrapper type

func NewRetryableUploaderWrapper

func NewRetryableUploaderWrapper(t interface {
	mock.TestingT
	Cleanup(func())
}) *RetryableUploaderWrapper

NewRetryableUploaderWrapper creates a new instance of RetryableUploaderWrapper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*RetryableUploaderWrapper) RetryUpload

func (_m *RetryableUploaderWrapper) RetryUpload() error

RetryUpload provides a mock function with no fields

func (*RetryableUploaderWrapper) Upload

func (_m *RetryableUploaderWrapper) Upload(computationResult *execution.ComputationResult) error

Upload provides a mock function with given fields: computationResult

type Uploader

type Uploader struct {
	mock.Mock
}

Uploader is an autogenerated mock type for the Uploader type

func NewUploader

func NewUploader(t interface {
	mock.TestingT
	Cleanup(func())
}) *Uploader

NewUploader creates a new instance of Uploader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Uploader) Upload

func (_m *Uploader) Upload(computationResult *execution.ComputationResult) error

Upload provides a mock function with given fields: computationResult

Jump to

Keyboard shortcuts

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