Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type DatasetMigrator ¶
type DatasetMigrator struct { PropertyRepo repo.Property LayerRepo repo.Layer DatasetSchemaRepo repo.DatasetSchema DatasetRepo repo.Dataset Plugin plugin.Loader }
TODO: define new loader types and use them instead of repos
type MigrateDatasetResult ¶
type MigrateDatasetResult struct { Layers layer.Map Properties property.Map RemovedLayers *id.LayerIDSet RemovedDatasetSchemas []id.DatasetSchemaID RemovedDatasets []id.DatasetID }
func (MigrateDatasetResult) Merge ¶
func (r MigrateDatasetResult) Merge(r2 MigrateDatasetResult) MigrateDatasetResult
type MigratePluginsResult ¶
type PluginInstaller ¶
type PluginInstaller struct { }
func (PluginInstaller) InstallPluginFromRepository ¶
func (s PluginInstaller) InstallPluginFromRepository(pluginID id.PluginID) error
type PluginMigrator ¶
type PluginMigrator struct { Property property.Loader PropertySchema property.SchemaLoader Dataset dataset.Loader Layer layer.LoaderByScene Plugin plugin.Loader }
func (*PluginMigrator) MigratePlugins ¶
func (s *PluginMigrator) MigratePlugins(ctx context.Context, sc *scene.Scene, oldPluginID, newPluginID id.PluginID) (MigratePluginsResult, error)
Click to show internal directories.
Click to hide internal directories.