layerops

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 5 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                layer.SceneID
	ParentLayerID          layer.ID
	Plugin                 *plugin.Plugin
	ExtensionID            *layer.PluginExtensionID
	Index                  *int
	LinkedDatasetID        *layer.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 layer.ID
	LayerLoader layer.Loader
}

func (Processor) UninstallPlugin

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

type UninstallPluginResult

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

Jump to

Keyboard shortcuts

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