devicetemplateconverter

package
v3.10.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 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

func (dtc *DeviceTemplateConverter) Roles() []ttnpb.ClusterRole

Roles returns the roles that the Device Template Converter fulfills.

Jump to

Keyboard shortcuts

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