layerops

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrExtensionTypeMustBePrimitive error = errors.New("extension type must be primitive")
)

Functions

This section is empty.

Types

type LayerItem

type LayerItem struct {
	SceneID                id.SceneID
	ParentLayerID          id.LayerID
	Plugin                 *plugin.Plugin
	ExtensionID            *id.PluginExtensionID
	Index                  *int
	LinkedDatasetID        *id.DatasetID
	Name                   string
	LinkablePropertySchema *property.Schema
	LatLng                 *property.LatLng
}

func (LayerItem) Initialize

func (i LayerItem) Initialize() (*layer.Item, *property.Property, error)

type Processor

type Processor struct {
	RootLayerID id.LayerID
	LayerLoader layer.Loader
}

func (Processor) UninstallPlugin

func (p Processor) UninstallPlugin(ctx context.Context, pluginID id.PluginID) (res UninstallPluginResult, err error)

type UninstallPluginResult

type UninstallPluginResult struct {
	ModifiedLayers    layer.List
	RemovedLayers     *layer.IDList
	RemovedProperties []id.PropertyID
}

Jump to

Keyboard shortcuts

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