mocks

package
v0.0.0-...-8f56db8 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GeneratorEnabler

type GeneratorEnabler struct {
	mock.Mock
}

GeneratorEnabler is an autogenerated mock type for the GeneratorEnabler type

func (*GeneratorEnabler) Enable

func (_m *GeneratorEnabler) Enable(variantName models.VariantName, generatorParamsValidator params.Validator, tileGeneratorFunction configmodels.TileGeneratorFunction)

Enable provides a mock function with given fields: variantName, generatorParamsValidator, tileGeneratorFunction

type Registry

type Registry struct {
	mock.Mock
}

Registry is an autogenerated mock type for the Registry type

func (*Registry) GetMonitorables

func (_m *Registry) GetMonitorables() []*registry.MonitorableMetadata

GetMonitorables provides a mock function with given fields:

func (*Registry) RegisterGenerator

func (_m *Registry) RegisterGenerator(generatedTileType models.TileType, minimalVersion versions.RawVersion, variantNames []models.VariantName) registry.GeneratorEnabler

RegisterGenerator provides a mock function with given fields: generatedTileType, minimalVersion, variantNames

func (*Registry) RegisterMonitorable

func (_m *Registry) RegisterMonitorable(monitorable models.Monitorable)

RegisterMonitorable provides a mock function with given fields: monitorable

func (*Registry) RegisterTile

func (_m *Registry) RegisterTile(tileType models.TileType, minimalVersion versions.RawVersion, variantNames []models.VariantName) registry.TileEnabler

RegisterTile provides a mock function with given fields: tileType, minimalVersion, variantNames

type TileEnabler

type TileEnabler struct {
	mock.Mock
}

TileEnabler is an autogenerated mock type for the TileEnabler type

func (*TileEnabler) Enable

func (_m *TileEnabler) Enable(variantName models.VariantName, paramsValidator params.Validator, routePath string)

Enable provides a mock function with given fields: variantName, paramsValidator, routePath

type TileMetadataExplorer

type TileMetadataExplorer struct {
	mock.Mock
}

TileMetadataExplorer is an autogenerated mock type for the TileMetadataExplorer type

func (*TileMetadataExplorer) GetMinimalVersion

func (_m *TileMetadataExplorer) GetMinimalVersion() versions.RawVersion

GetMinimalVersion provides a mock function with given fields:

func (*TileMetadataExplorer) GetVariant

GetVariant provides a mock function with given fields: variantName

func (*TileMetadataExplorer) GetVariantsNames

func (_m *TileMetadataExplorer) GetVariantsNames() []models.VariantName

GetVariantsNames provides a mock function with given fields:

type VariantMetadataExplorer

type VariantMetadataExplorer struct {
	mock.Mock
}

VariantMetadataExplorer is an autogenerated mock type for the VariantMetadataExplorer type

func (*VariantMetadataExplorer) GetValidator

func (_m *VariantMetadataExplorer) GetValidator() params.Validator

GetValidator provides a mock function with given fields:

func (*VariantMetadataExplorer) IsEnabled

func (_m *VariantMetadataExplorer) IsEnabled() bool

IsEnabled provides a mock function with given fields:

Jump to

Keyboard shortcuts

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