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 ¶
func New(c *component.Component, conf *Config) (*DeviceTemplateConverter, error)
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 (*DeviceTemplateConverter) Roles() []ttnpb.ClusterRole
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. |
Click to show internal directories.
Click to hide internal directories.