mapping

package
v0.0.0-...-24c5a16 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Mapper

type Mapper interface {
	MapInventoryAttributes(ctx context.Context, tenantID string,
		attrs inventory.DeviceAttributes, update bool, passthrough bool,
	) (inventory.DeviceAttributes, error)
	ReverseInventoryAttributes(ctx context.Context, tenantID string,
		attrs inventory.DeviceAttributes) (inventory.DeviceAttributes, error)
}

Mapping is an interface to map and reverse attributes

func NewMapper

func NewMapper(ds store.DataStore) Mapper

Jump to

Keyboard shortcuts

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