Documentation ¶
Index ¶
- type GeneratorEnabler
- type Registry
- func (_m *Registry) GetMonitorables() []*registry.MonitorableMetadata
- func (_m *Registry) RegisterGenerator(generatedTileType models.TileType, minimalVersion versions.RawVersion, ...) registry.GeneratorEnabler
- func (_m *Registry) RegisterMonitorable(monitorable models.Monitorable)
- func (_m *Registry) RegisterTile(tileType models.TileType, minimalVersion versions.RawVersion, ...) registry.TileEnabler
- type TileEnabler
- type TileMetadataExplorer
- type VariantMetadataExplorer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeneratorEnabler ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (_m *TileMetadataExplorer) GetVariant(variantName models.VariantName) (registry.VariantMetadataExplorer, bool)
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 ¶
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: