mocks

package
v0.0.0-...-86f9a86 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	mock.Mock
}

Application is an autogenerated mock type for the Application type

func NewApplication

func NewApplication(t interface {
	mock.TestingT
	Cleanup(func())
}) *Application

NewApplication creates a new instance of Application. 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 (*Application) ConfigCreatePubSubTopicsAndSubscriptions

func (_m *Application) ConfigCreatePubSubTopicsAndSubscriptions(instanceConfig *config.InstanceConfig) error

ConfigCreatePubSubTopicsAndSubscriptions provides a mock function with given fields: instanceConfig

func (*Application) DatabaseBackupAlerts

func (_m *Application) DatabaseBackupAlerts(local bool, instanceConfig *config.InstanceConfig, outputFile string) error

DatabaseBackupAlerts provides a mock function with given fields: local, instanceConfig, outputFile

func (*Application) DatabaseBackupRegressions

func (_m *Application) DatabaseBackupRegressions(local bool, instanceConfig *config.InstanceConfig, outputFile string, backupTo string) error

DatabaseBackupRegressions provides a mock function with given fields: local, instanceConfig, outputFile, backupTo

func (*Application) DatabaseBackupShortcuts

func (_m *Application) DatabaseBackupShortcuts(local bool, instanceConfig *config.InstanceConfig, outputFile string) error

DatabaseBackupShortcuts provides a mock function with given fields: local, instanceConfig, outputFile

func (*Application) DatabaseRestoreAlerts

func (_m *Application) DatabaseRestoreAlerts(local bool, instanceConfig *config.InstanceConfig, inputFile string) error

DatabaseRestoreAlerts provides a mock function with given fields: local, instanceConfig, inputFile

func (*Application) DatabaseRestoreRegressions

func (_m *Application) DatabaseRestoreRegressions(local bool, instanceConfig *config.InstanceConfig, inputFile string) error

DatabaseRestoreRegressions provides a mock function with given fields: local, instanceConfig, inputFile

func (*Application) DatabaseRestoreShortcuts

func (_m *Application) DatabaseRestoreShortcuts(local bool, instanceConfig *config.InstanceConfig, inputFile string) error

DatabaseRestoreShortcuts provides a mock function with given fields: local, instanceConfig, inputFile

func (*Application) IngestForceReingest

func (_m *Application) IngestForceReingest(local bool, instanceConfig *config.InstanceConfig, start string, stop string, dryrun bool) error

IngestForceReingest provides a mock function with given fields: local, instanceConfig, start, stop, dryrun

func (*Application) IngestValidate

func (_m *Application) IngestValidate(inputFile string, verbose bool) error

IngestValidate provides a mock function with given fields: inputFile, verbose

func (*Application) TilesLast

func (_m *Application) TilesLast(store tracestore.TraceStore) error

TilesLast provides a mock function with given fields: store

func (*Application) TilesList

func (_m *Application) TilesList(store tracestore.TraceStore, num int) error

TilesList provides a mock function with given fields: store, num

func (*Application) TracesExport

func (_m *Application) TracesExport(store tracestore.TraceStore, queryString string, begin types.CommitNumber, end types.CommitNumber, outputFile string) error

TracesExport provides a mock function with given fields: store, queryString, begin, end, outputFile

func (*Application) TracesList

func (_m *Application) TracesList(store tracestore.TraceStore, queryString string, tileNumber types.TileNumber) error

TracesList provides a mock function with given fields: store, queryString, tileNumber

func (*Application) TrybotReference

func (_m *Application) TrybotReference(local bool, store tracestore.TraceStore, instanceConfig *config.InstanceConfig, trybotFilename string, outputFilename string, numCommits int) error

TrybotReference provides a mock function with given fields: local, store, instanceConfig, trybotFilename, outputFilename, numCommits

Jump to

Keyboard shortcuts

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