devicetemplateconverter

package
v3.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package devicetemplateconverter provides device template services.

Package devicetemplateconverter provides device template services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Enabled []string `name:"enabled" description:"Enabled converters"`
}

Config represents the DeviceTemplateConverter configuration.

type DeviceTemplateConverter

type DeviceTemplateConverter struct {
	*component.Component
	// contains filtered or unexported fields
}

DeviceTemplateConverter implements the Device Template Converter component.

The Device Template Converter exposes the EndDeviceTemplateConverter service.

func New

New returns a new *DeviceTemplateConverter.

func (*DeviceTemplateConverter) Context

func (dtc *DeviceTemplateConverter) Context() context.Context

Context returns the context of the Device Template Converter.

func (*DeviceTemplateConverter) RegisterHandlers

func (dtc *DeviceTemplateConverter) RegisterHandlers(s *runtime.ServeMux, conn *grpc.ClientConn)

RegisterHandlers registers gRPC handlers.

func (*DeviceTemplateConverter) RegisterServices

func (dtc *DeviceTemplateConverter) RegisterServices(s *grpc.Server)

RegisterServices registers services provided by dtc at s.

func (*DeviceTemplateConverter) Roles

Roles returns the roles that the Device Template Converter fulfills.

Directories

Path Synopsis
Package profilefetcher contains definitions of end-device's profile fetchers based on the VersionIDs or VendorIDs.
Package profilefetcher contains definitions of end-device's profile fetchers based on the VersionIDs or VendorIDs.

Jump to

Keyboard shortcuts

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