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 *layer.IDSet RemovedDatasetSchemas []dataset.SchemaID RemovedDatasets []dataset.ID }
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 scene.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 plugin.ID) (MigratePluginsResult, error)
Click to show internal directories.
Click to hide internal directories.