Documentation ¶
Overview ¶
Package deviceclaimingserver implements the Device Claiming Server component.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { EndDeviceClaimingServerConfig enddevices.Config `name:"edcs"` GatewayClaimingServerConfig gateways.Config `name:"gcls"` }
Config is the configuration for the Device Claiming Server.
type DeviceClaimingServer ¶
DeviceClaimingServer is the Device Claiming Server.
func (*DeviceClaimingServer) Context ¶
func (dcs *DeviceClaimingServer) Context() context.Context
Context returns the context of the Device Claiming Server.
func (*DeviceClaimingServer) RegisterHandlers ¶
func (dcs *DeviceClaimingServer) RegisterHandlers(s *runtime.ServeMux, conn *grpc.ClientConn)
RegisterHandlers registers gRPC handlers.
func (*DeviceClaimingServer) RegisterServices ¶
func (dcs *DeviceClaimingServer) RegisterServices(s *grpc.Server)
RegisterServices registers services provided by dcs at s.
func (*DeviceClaimingServer) Roles ¶
func (*DeviceClaimingServer) Roles() []ttnpb.ClusterRole
Roles returns the roles that the Device Claiming Server fulfills.
type Option ¶
type Option func(*DeviceClaimingServer)
Option configures GatewayClaimingServer.
func WithEndDeviceClaimingUpstream ¶ added in v3.26.2
func WithEndDeviceClaimingUpstream(upstream *enddevices.Upstream) Option
WithEndDeviceClaimingUpstream configures the upstream for end device claiming.
func WithGatewayClaimingServer ¶ added in v3.32.0
func WithGatewayClaimingServer( upstream *gateways.Upstream, registry gtwregistry.GatewayRegistry, access peerAccess, ) Option
WithGatewayClaimingServer configures the gateway claiming server.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package enddevices provides functions to configure End Device claiming clients.
|
Package enddevices provides functions to configure End Device claiming clients. |
errors
Package errors defines common error types for all upstreams.
|
Package errors defines common error types for all upstreams. |
ttjsv2
Package ttjsv2 provides the claiming client implementation for The Things Join Server 2.0 API.
|
Package ttjsv2 provides the claiming client implementation for The Things Join Server 2.0 API. |
Package gateways provides functions to claim gateways.
|
Package gateways provides functions to claim gateways. |
ttgc
Package ttgc provides functions to use The Things Gateway Controller.
|
Package ttgc provides functions to use The Things Gateway Controller. |
Package observability provides events and metrics for device claiming.
|
Package observability provides events and metrics for device claiming. |
registry
|
|
gateways
Package gateways provide gateway registry functions.
|
Package gateways provide gateway registry functions. |
Package types provides types for the Device Claiming Server.
|
Package types provides types for the Device Claiming Server. |
Click to show internal directories.
Click to hide internal directories.