Documentation ¶
Index ¶
- Variables
- func RegisterForwarderMapperServer(s grpc.ServiceRegistrar, srv ForwarderMapperServer)
- func RegisterGatewayVisibilityManagerServer(s grpc.ServiceRegistrar, srv GatewayVisibilityManagerServer)
- func RegisterHomeNetworkMapperServer(s grpc.ServiceRegistrar, srv HomeNetworkMapperServer)
- type ForwarderMapperClient
- type ForwarderMapperServer
- type GatewayVisibilityManagerClient
- type GatewayVisibilityManagerServer
- type GetDefaultGatewayVisibilityRequest
- func (*GetDefaultGatewayVisibilityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDefaultGatewayVisibilityRequest) GetForwarderClusterId() string
- func (x *GetDefaultGatewayVisibilityRequest) GetForwarderNetId() uint32
- func (*GetDefaultGatewayVisibilityRequest) ProtoMessage()
- func (x *GetDefaultGatewayVisibilityRequest) ProtoReflect() protoreflect.Message
- func (x *GetDefaultGatewayVisibilityRequest) Reset()
- func (x *GetDefaultGatewayVisibilityRequest) String() string
- type GetGatewayVisibilityResponse
- func (*GetGatewayVisibilityResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGatewayVisibilityResponse) GetVisibility() *v3.GatewayVisibility
- func (*GetGatewayVisibilityResponse) ProtoMessage()
- func (x *GetGatewayVisibilityResponse) ProtoReflect() protoreflect.Message
- func (x *GetGatewayVisibilityResponse) Reset()
- func (x *GetGatewayVisibilityResponse) String() string
- type GetHomeNetworkGatewayRequest
- func (*GetHomeNetworkGatewayRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetHomeNetworkGatewayRequest) GetEui() uint64
- func (x *GetHomeNetworkGatewayRequest) GetForwarderClusterId() string
- func (x *GetHomeNetworkGatewayRequest) GetForwarderNetId() uint32
- func (x *GetHomeNetworkGatewayRequest) GetHomeNetworkNetId() uint32
- func (*GetHomeNetworkGatewayRequest) ProtoMessage()
- func (x *GetHomeNetworkGatewayRequest) ProtoReflect() protoreflect.Message
- func (x *GetHomeNetworkGatewayRequest) Reset()
- func (x *GetHomeNetworkGatewayRequest) String() string
- type GetHomeNetworkGatewayResponse
- func (*GetHomeNetworkGatewayResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetHomeNetworkGatewayResponse) GetGateway() *v3.Gateway
- func (*GetHomeNetworkGatewayResponse) ProtoMessage()
- func (x *GetHomeNetworkGatewayResponse) ProtoReflect() protoreflect.Message
- func (x *GetHomeNetworkGatewayResponse) Reset()
- func (x *GetHomeNetworkGatewayResponse) String() string
- type GetHomeNetworkGatewayVisibilityRequest
- func (*GetHomeNetworkGatewayVisibilityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetHomeNetworkGatewayVisibilityRequest) GetForwarderClusterId() string
- func (x *GetHomeNetworkGatewayVisibilityRequest) GetForwarderNetId() uint32
- func (x *GetHomeNetworkGatewayVisibilityRequest) GetHomeNetworkNetId() uint32
- func (*GetHomeNetworkGatewayVisibilityRequest) ProtoMessage()
- func (x *GetHomeNetworkGatewayVisibilityRequest) ProtoReflect() protoreflect.Message
- func (x *GetHomeNetworkGatewayVisibilityRequest) Reset()
- func (x *GetHomeNetworkGatewayVisibilityRequest) String() string
- type HomeNetworkMapperClient
- type HomeNetworkMapperServer
- type HomeNetworkMapper_SubscribeGatewayClient
- type HomeNetworkMapper_SubscribeGatewayServer
- type ListGatewaysResponse
- func (*ListGatewaysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListGatewaysResponse) GetGateways() []*v3.Gateway
- func (x *ListGatewaysResponse) GetTotal() uint32
- func (*ListGatewaysResponse) ProtoMessage()
- func (x *ListGatewaysResponse) ProtoReflect() protoreflect.Message
- func (x *ListGatewaysResponse) Reset()
- func (x *ListGatewaysResponse) String() string
- type ListHomeNetworkGatewaysRequest
- func (*ListHomeNetworkGatewaysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListHomeNetworkGatewaysRequest) GetHomeNetworkNetId() uint32
- func (x *ListHomeNetworkGatewaysRequest) GetLimit() uint32
- func (x *ListHomeNetworkGatewaysRequest) GetOffset() uint32
- func (*ListHomeNetworkGatewaysRequest) ProtoMessage()
- func (x *ListHomeNetworkGatewaysRequest) ProtoReflect() protoreflect.Message
- func (x *ListHomeNetworkGatewaysRequest) Reset()
- func (x *ListHomeNetworkGatewaysRequest) String() string
- type SetDefaultGatewayVisibilityRequest
- func (*SetDefaultGatewayVisibilityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetDefaultGatewayVisibilityRequest) GetForwarderClusterId() string
- func (x *SetDefaultGatewayVisibilityRequest) GetForwarderNetId() uint32
- func (x *SetDefaultGatewayVisibilityRequest) GetVisibility() *v3.GatewayVisibility
- func (*SetDefaultGatewayVisibilityRequest) ProtoMessage()
- func (x *SetDefaultGatewayVisibilityRequest) ProtoReflect() protoreflect.Message
- func (x *SetDefaultGatewayVisibilityRequest) Reset()
- func (x *SetDefaultGatewayVisibilityRequest) String() string
- type SetHomeNetworkGatewayVisibilityRequest
- func (*SetHomeNetworkGatewayVisibilityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetHomeNetworkGatewayVisibilityRequest) GetForwarderClusterId() string
- func (x *SetHomeNetworkGatewayVisibilityRequest) GetForwarderNetId() uint32
- func (x *SetHomeNetworkGatewayVisibilityRequest) GetHomeNetworkNetId() uint32
- func (x *SetHomeNetworkGatewayVisibilityRequest) GetVisibility() *v3.GatewayVisibility
- func (*SetHomeNetworkGatewayVisibilityRequest) ProtoMessage()
- func (x *SetHomeNetworkGatewayVisibilityRequest) ProtoReflect() protoreflect.Message
- func (x *SetHomeNetworkGatewayVisibilityRequest) Reset()
- func (x *SetHomeNetworkGatewayVisibilityRequest) String() string
- type SubscribeHomeNetworkGatewaysRequest
- func (*SubscribeHomeNetworkGatewaysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeHomeNetworkGatewaysRequest) GetGateways() []*SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs
- func (x *SubscribeHomeNetworkGatewaysRequest) GetGroup() string
- func (x *SubscribeHomeNetworkGatewaysRequest) GetHomeNetworkNetId() uint32
- func (*SubscribeHomeNetworkGatewaysRequest) ProtoMessage()
- func (x *SubscribeHomeNetworkGatewaysRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeHomeNetworkGatewaysRequest) Reset()
- func (x *SubscribeHomeNetworkGatewaysRequest) String() string
- type SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs
- func (*SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) GetEuis() []uint64
- func (x *SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) GetForwarderClusterId() string
- func (x *SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) GetForwarderNetId() uint32
- func (*SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) ProtoMessage()
- func (x *SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) ProtoReflect() protoreflect.Message
- func (x *SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) Reset()
- func (x *SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) String() string
- type UnimplementedForwarderMapperServer
- type UnimplementedGatewayVisibilityManagerServer
- func (UnimplementedGatewayVisibilityManagerServer) GetDefaultVisibility(context.Context, *GetDefaultGatewayVisibilityRequest) (*GetGatewayVisibilityResponse, error)
- func (UnimplementedGatewayVisibilityManagerServer) GetHomeNetworkVisibility(context.Context, *GetHomeNetworkGatewayVisibilityRequest) (*GetGatewayVisibilityResponse, error)
- func (UnimplementedGatewayVisibilityManagerServer) SetDefaultVisibility(context.Context, *SetDefaultGatewayVisibilityRequest) (*emptypb.Empty, error)
- func (UnimplementedGatewayVisibilityManagerServer) SetHomeNetworkVisibility(context.Context, *SetHomeNetworkGatewayVisibilityRequest) (*emptypb.Empty, error)
- type UnimplementedHomeNetworkMapperServer
- func (UnimplementedHomeNetworkMapperServer) GetGateway(context.Context, *GetHomeNetworkGatewayRequest) (*GetHomeNetworkGatewayResponse, error)
- func (UnimplementedHomeNetworkMapperServer) ListGateways(context.Context, *ListHomeNetworkGatewaysRequest) (*ListGatewaysResponse, error)
- func (UnimplementedHomeNetworkMapperServer) SubscribeGateway(*SubscribeHomeNetworkGatewaysRequest, HomeNetworkMapper_SubscribeGatewayServer) error
- type UnsafeForwarderMapperServer
- type UnsafeGatewayVisibilityManagerServer
- type UnsafeHomeNetworkMapperServer
- type UpdateForwarderGatewayRequest
- func (*UpdateForwarderGatewayRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateForwarderGatewayRequest) GetForwarderClusterId() string
- func (x *UpdateForwarderGatewayRequest) GetForwarderNetId() uint32
- func (x *UpdateForwarderGatewayRequest) GetGateway() *v3.Gateway
- func (*UpdateForwarderGatewayRequest) ProtoMessage()
- func (x *UpdateForwarderGatewayRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateForwarderGatewayRequest) Reset()
- func (x *UpdateForwarderGatewayRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var File_packetbroker_api_mapping_v1_service_proto protoreflect.FileDescriptor
var ForwarderMapper_ServiceDesc = grpc.ServiceDesc{ ServiceName: "org.packetbroker.mapping.v1.ForwarderMapper", HandlerType: (*ForwarderMapperServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateGateway", Handler: _ForwarderMapper_UpdateGateway_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "packetbroker/api/mapping/v1/service.proto", }
ForwarderMapper_ServiceDesc is the grpc.ServiceDesc for ForwarderMapper service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var GatewayVisibilityManager_ServiceDesc = grpc.ServiceDesc{ ServiceName: "org.packetbroker.mapping.v1.GatewayVisibilityManager", HandlerType: (*GatewayVisibilityManagerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetDefaultVisibility", Handler: _GatewayVisibilityManager_GetDefaultVisibility_Handler, }, { MethodName: "SetDefaultVisibility", Handler: _GatewayVisibilityManager_SetDefaultVisibility_Handler, }, { MethodName: "GetHomeNetworkVisibility", Handler: _GatewayVisibilityManager_GetHomeNetworkVisibility_Handler, }, { MethodName: "SetHomeNetworkVisibility", Handler: _GatewayVisibilityManager_SetHomeNetworkVisibility_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "packetbroker/api/mapping/v1/service.proto", }
GatewayVisibilityManager_ServiceDesc is the grpc.ServiceDesc for GatewayVisibilityManager service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var HomeNetworkMapper_ServiceDesc = grpc.ServiceDesc{ ServiceName: "org.packetbroker.mapping.v1.HomeNetworkMapper", HandlerType: (*HomeNetworkMapperServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListGateways", Handler: _HomeNetworkMapper_ListGateways_Handler, }, { MethodName: "GetGateway", Handler: _HomeNetworkMapper_GetGateway_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SubscribeGateway", Handler: _HomeNetworkMapper_SubscribeGateway_Handler, ServerStreams: true, }, }, Metadata: "packetbroker/api/mapping/v1/service.proto", }
HomeNetworkMapper_ServiceDesc is the grpc.ServiceDesc for HomeNetworkMapper service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterForwarderMapperServer ¶
func RegisterForwarderMapperServer(s grpc.ServiceRegistrar, srv ForwarderMapperServer)
func RegisterGatewayVisibilityManagerServer ¶
func RegisterGatewayVisibilityManagerServer(s grpc.ServiceRegistrar, srv GatewayVisibilityManagerServer)
func RegisterHomeNetworkMapperServer ¶
func RegisterHomeNetworkMapperServer(s grpc.ServiceRegistrar, srv HomeNetworkMapperServer)
Types ¶
type ForwarderMapperClient ¶
type ForwarderMapperClient interface { // Update a gateway. UpdateGateway(ctx context.Context, in *UpdateForwarderGatewayRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
ForwarderMapperClient is the client API for ForwarderMapper service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewForwarderMapperClient ¶
func NewForwarderMapperClient(cc grpc.ClientConnInterface) ForwarderMapperClient
type ForwarderMapperServer ¶
type ForwarderMapperServer interface { // Update a gateway. UpdateGateway(context.Context, *UpdateForwarderGatewayRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
ForwarderMapperServer is the server API for ForwarderMapper service. All implementations must embed UnimplementedForwarderMapperServer for forward compatibility
type GatewayVisibilityManagerClient ¶
type GatewayVisibilityManagerClient interface { // Get the Default Gateway Visibility. GetDefaultVisibility(ctx context.Context, in *GetDefaultGatewayVisibilityRequest, opts ...grpc.CallOption) (*GetGatewayVisibilityResponse, error) // Set the Default Gateway Visibility. SetDefaultVisibility(ctx context.Context, in *SetDefaultGatewayVisibilityRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Get the Gateway Visibility with the Home Network. GetHomeNetworkVisibility(ctx context.Context, in *GetHomeNetworkGatewayVisibilityRequest, opts ...grpc.CallOption) (*GetGatewayVisibilityResponse, error) // Set the Gateway Visibility with the Home Network. SetHomeNetworkVisibility(ctx context.Context, in *SetHomeNetworkGatewayVisibilityRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
GatewayVisibilityManagerClient is the client API for GatewayVisibilityManager service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewGatewayVisibilityManagerClient ¶
func NewGatewayVisibilityManagerClient(cc grpc.ClientConnInterface) GatewayVisibilityManagerClient
type GatewayVisibilityManagerServer ¶
type GatewayVisibilityManagerServer interface { // Get the Default Gateway Visibility. GetDefaultVisibility(context.Context, *GetDefaultGatewayVisibilityRequest) (*GetGatewayVisibilityResponse, error) // Set the Default Gateway Visibility. SetDefaultVisibility(context.Context, *SetDefaultGatewayVisibilityRequest) (*emptypb.Empty, error) // Get the Gateway Visibility with the Home Network. GetHomeNetworkVisibility(context.Context, *GetHomeNetworkGatewayVisibilityRequest) (*GetGatewayVisibilityResponse, error) // Set the Gateway Visibility with the Home Network. SetHomeNetworkVisibility(context.Context, *SetHomeNetworkGatewayVisibilityRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
GatewayVisibilityManagerServer is the server API for GatewayVisibilityManager service. All implementations must embed UnimplementedGatewayVisibilityManagerServer for forward compatibility
type GetDefaultGatewayVisibilityRequest ¶
type GetDefaultGatewayVisibilityRequest struct { // LoRa Alliance NetID of the Forwarder Member. ForwarderNetId uint32 `protobuf:"varint,1,opt,name=forwarder_net_id,json=forwarderNetId,proto3" json:"forwarder_net_id,omitempty"` // Forwarder cluster of the Forwarder Member. ForwarderClusterId string `protobuf:"bytes,2,opt,name=forwarder_cluster_id,json=forwarderClusterId,proto3" json:"forwarder_cluster_id,omitempty"` // contains filtered or unexported fields }
func (*GetDefaultGatewayVisibilityRequest) Descriptor
deprecated
func (*GetDefaultGatewayVisibilityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDefaultGatewayVisibilityRequest.ProtoReflect.Descriptor instead.
func (*GetDefaultGatewayVisibilityRequest) GetForwarderClusterId ¶
func (x *GetDefaultGatewayVisibilityRequest) GetForwarderClusterId() string
func (*GetDefaultGatewayVisibilityRequest) GetForwarderNetId ¶
func (x *GetDefaultGatewayVisibilityRequest) GetForwarderNetId() uint32
func (*GetDefaultGatewayVisibilityRequest) ProtoMessage ¶
func (*GetDefaultGatewayVisibilityRequest) ProtoMessage()
func (*GetDefaultGatewayVisibilityRequest) ProtoReflect ¶
func (x *GetDefaultGatewayVisibilityRequest) ProtoReflect() protoreflect.Message
func (*GetDefaultGatewayVisibilityRequest) Reset ¶
func (x *GetDefaultGatewayVisibilityRequest) Reset()
func (*GetDefaultGatewayVisibilityRequest) String ¶
func (x *GetDefaultGatewayVisibilityRequest) String() string
type GetGatewayVisibilityResponse ¶
type GetGatewayVisibilityResponse struct { Visibility *v3.GatewayVisibility `protobuf:"bytes,1,opt,name=visibility,proto3" json:"visibility,omitempty"` // contains filtered or unexported fields }
func (*GetGatewayVisibilityResponse) Descriptor
deprecated
func (*GetGatewayVisibilityResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGatewayVisibilityResponse.ProtoReflect.Descriptor instead.
func (*GetGatewayVisibilityResponse) GetVisibility ¶
func (x *GetGatewayVisibilityResponse) GetVisibility() *v3.GatewayVisibility
func (*GetGatewayVisibilityResponse) ProtoMessage ¶
func (*GetGatewayVisibilityResponse) ProtoMessage()
func (*GetGatewayVisibilityResponse) ProtoReflect ¶
func (x *GetGatewayVisibilityResponse) ProtoReflect() protoreflect.Message
func (*GetGatewayVisibilityResponse) Reset ¶
func (x *GetGatewayVisibilityResponse) Reset()
func (*GetGatewayVisibilityResponse) String ¶
func (x *GetGatewayVisibilityResponse) String() string
type GetHomeNetworkGatewayRequest ¶
type GetHomeNetworkGatewayRequest struct { // LoRa Alliance NetID of the Home Network Member. HomeNetworkNetId uint32 `protobuf:"varint,1,opt,name=home_network_net_id,json=homeNetworkNetId,proto3" json:"home_network_net_id,omitempty"` // LoRa Alliance NetID of the Forwarder Member. ForwarderNetId uint32 `protobuf:"varint,2,opt,name=forwarder_net_id,json=forwarderNetId,proto3" json:"forwarder_net_id,omitempty"` // Forwarder cluster of the Forwarder Member. ForwarderClusterId string `protobuf:"bytes,3,opt,name=forwarder_cluster_id,json=forwarderClusterId,proto3" json:"forwarder_cluster_id,omitempty"` // Unique identifier of the gateway. Eui uint64 `protobuf:"varint,4,opt,name=eui,proto3" json:"eui,omitempty"` // contains filtered or unexported fields }
func (*GetHomeNetworkGatewayRequest) Descriptor
deprecated
func (*GetHomeNetworkGatewayRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHomeNetworkGatewayRequest.ProtoReflect.Descriptor instead.
func (*GetHomeNetworkGatewayRequest) GetEui ¶
func (x *GetHomeNetworkGatewayRequest) GetEui() uint64
func (*GetHomeNetworkGatewayRequest) GetForwarderClusterId ¶
func (x *GetHomeNetworkGatewayRequest) GetForwarderClusterId() string
func (*GetHomeNetworkGatewayRequest) GetForwarderNetId ¶
func (x *GetHomeNetworkGatewayRequest) GetForwarderNetId() uint32
func (*GetHomeNetworkGatewayRequest) GetHomeNetworkNetId ¶
func (x *GetHomeNetworkGatewayRequest) GetHomeNetworkNetId() uint32
func (*GetHomeNetworkGatewayRequest) ProtoMessage ¶
func (*GetHomeNetworkGatewayRequest) ProtoMessage()
func (*GetHomeNetworkGatewayRequest) ProtoReflect ¶
func (x *GetHomeNetworkGatewayRequest) ProtoReflect() protoreflect.Message
func (*GetHomeNetworkGatewayRequest) Reset ¶
func (x *GetHomeNetworkGatewayRequest) Reset()
func (*GetHomeNetworkGatewayRequest) String ¶
func (x *GetHomeNetworkGatewayRequest) String() string
type GetHomeNetworkGatewayResponse ¶
type GetHomeNetworkGatewayResponse struct { Gateway *v3.Gateway `protobuf:"bytes,1,opt,name=gateway,proto3" json:"gateway,omitempty"` // contains filtered or unexported fields }
func (*GetHomeNetworkGatewayResponse) Descriptor
deprecated
func (*GetHomeNetworkGatewayResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHomeNetworkGatewayResponse.ProtoReflect.Descriptor instead.
func (*GetHomeNetworkGatewayResponse) GetGateway ¶
func (x *GetHomeNetworkGatewayResponse) GetGateway() *v3.Gateway
func (*GetHomeNetworkGatewayResponse) ProtoMessage ¶
func (*GetHomeNetworkGatewayResponse) ProtoMessage()
func (*GetHomeNetworkGatewayResponse) ProtoReflect ¶
func (x *GetHomeNetworkGatewayResponse) ProtoReflect() protoreflect.Message
func (*GetHomeNetworkGatewayResponse) Reset ¶
func (x *GetHomeNetworkGatewayResponse) Reset()
func (*GetHomeNetworkGatewayResponse) String ¶
func (x *GetHomeNetworkGatewayResponse) String() string
type GetHomeNetworkGatewayVisibilityRequest ¶
type GetHomeNetworkGatewayVisibilityRequest struct { // LoRa Alliance NetID of the Forwarder Member. ForwarderNetId uint32 `protobuf:"varint,1,opt,name=forwarder_net_id,json=forwarderNetId,proto3" json:"forwarder_net_id,omitempty"` // Forwarder cluster of the Forwarder Member. ForwarderClusterId string `protobuf:"bytes,2,opt,name=forwarder_cluster_id,json=forwarderClusterId,proto3" json:"forwarder_cluster_id,omitempty"` // LoRa Alliance NetID of the Home Network Member. HomeNetworkNetId uint32 `protobuf:"varint,3,opt,name=home_network_net_id,json=homeNetworkNetId,proto3" json:"home_network_net_id,omitempty"` // contains filtered or unexported fields }
func (*GetHomeNetworkGatewayVisibilityRequest) Descriptor
deprecated
func (*GetHomeNetworkGatewayVisibilityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetHomeNetworkGatewayVisibilityRequest.ProtoReflect.Descriptor instead.
func (*GetHomeNetworkGatewayVisibilityRequest) GetForwarderClusterId ¶
func (x *GetHomeNetworkGatewayVisibilityRequest) GetForwarderClusterId() string
func (*GetHomeNetworkGatewayVisibilityRequest) GetForwarderNetId ¶
func (x *GetHomeNetworkGatewayVisibilityRequest) GetForwarderNetId() uint32
func (*GetHomeNetworkGatewayVisibilityRequest) GetHomeNetworkNetId ¶
func (x *GetHomeNetworkGatewayVisibilityRequest) GetHomeNetworkNetId() uint32
func (*GetHomeNetworkGatewayVisibilityRequest) ProtoMessage ¶
func (*GetHomeNetworkGatewayVisibilityRequest) ProtoMessage()
func (*GetHomeNetworkGatewayVisibilityRequest) ProtoReflect ¶
func (x *GetHomeNetworkGatewayVisibilityRequest) ProtoReflect() protoreflect.Message
func (*GetHomeNetworkGatewayVisibilityRequest) Reset ¶
func (x *GetHomeNetworkGatewayVisibilityRequest) Reset()
func (*GetHomeNetworkGatewayVisibilityRequest) String ¶
func (x *GetHomeNetworkGatewayVisibilityRequest) String() string
type HomeNetworkMapperClient ¶
type HomeNetworkMapperClient interface { // List gateways. ListGateways(ctx context.Context, in *ListHomeNetworkGatewaysRequest, opts ...grpc.CallOption) (*ListGatewaysResponse, error) // Get a gateway. GetGateway(ctx context.Context, in *GetHomeNetworkGatewayRequest, opts ...grpc.CallOption) (*GetHomeNetworkGatewayResponse, error) // Subscribe to gateway updates. SubscribeGateway(ctx context.Context, in *SubscribeHomeNetworkGatewaysRequest, opts ...grpc.CallOption) (HomeNetworkMapper_SubscribeGatewayClient, error) }
HomeNetworkMapperClient is the client API for HomeNetworkMapper service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewHomeNetworkMapperClient ¶
func NewHomeNetworkMapperClient(cc grpc.ClientConnInterface) HomeNetworkMapperClient
type HomeNetworkMapperServer ¶
type HomeNetworkMapperServer interface { // List gateways. ListGateways(context.Context, *ListHomeNetworkGatewaysRequest) (*ListGatewaysResponse, error) // Get a gateway. GetGateway(context.Context, *GetHomeNetworkGatewayRequest) (*GetHomeNetworkGatewayResponse, error) // Subscribe to gateway updates. SubscribeGateway(*SubscribeHomeNetworkGatewaysRequest, HomeNetworkMapper_SubscribeGatewayServer) error // contains filtered or unexported methods }
HomeNetworkMapperServer is the server API for HomeNetworkMapper service. All implementations must embed UnimplementedHomeNetworkMapperServer for forward compatibility
type HomeNetworkMapper_SubscribeGatewayClient ¶
type HomeNetworkMapper_SubscribeGatewayClient interface { Recv() (*v3.Gateway, error) grpc.ClientStream }
type HomeNetworkMapper_SubscribeGatewayServer ¶
type HomeNetworkMapper_SubscribeGatewayServer interface { Send(*v3.Gateway) error grpc.ServerStream }
type ListGatewaysResponse ¶
type ListGatewaysResponse struct { Gateways []*v3.Gateway `protobuf:"bytes,1,rep,name=gateways,proto3" json:"gateways,omitempty"` // Total number of items. Total uint32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListGatewaysResponse) Descriptor
deprecated
func (*ListGatewaysResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListGatewaysResponse.ProtoReflect.Descriptor instead.
func (*ListGatewaysResponse) GetGateways ¶
func (x *ListGatewaysResponse) GetGateways() []*v3.Gateway
func (*ListGatewaysResponse) GetTotal ¶
func (x *ListGatewaysResponse) GetTotal() uint32
func (*ListGatewaysResponse) ProtoMessage ¶
func (*ListGatewaysResponse) ProtoMessage()
func (*ListGatewaysResponse) ProtoReflect ¶
func (x *ListGatewaysResponse) ProtoReflect() protoreflect.Message
func (*ListGatewaysResponse) Reset ¶
func (x *ListGatewaysResponse) Reset()
func (*ListGatewaysResponse) String ¶
func (x *ListGatewaysResponse) String() string
type ListHomeNetworkGatewaysRequest ¶
type ListHomeNetworkGatewaysRequest struct { // LoRa Alliance NetID of the Home Network Member. HomeNetworkNetId uint32 `protobuf:"varint,1,opt,name=home_network_net_id,json=homeNetworkNetId,proto3" json:"home_network_net_id,omitempty"` // Number of items to skip for pagination. Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // Limit number items for pagination. // If 0, use the server's default. // The actual limit may be capped by the server. Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
func (*ListHomeNetworkGatewaysRequest) Descriptor
deprecated
func (*ListHomeNetworkGatewaysRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListHomeNetworkGatewaysRequest.ProtoReflect.Descriptor instead.
func (*ListHomeNetworkGatewaysRequest) GetHomeNetworkNetId ¶
func (x *ListHomeNetworkGatewaysRequest) GetHomeNetworkNetId() uint32
func (*ListHomeNetworkGatewaysRequest) GetLimit ¶
func (x *ListHomeNetworkGatewaysRequest) GetLimit() uint32
func (*ListHomeNetworkGatewaysRequest) GetOffset ¶
func (x *ListHomeNetworkGatewaysRequest) GetOffset() uint32
func (*ListHomeNetworkGatewaysRequest) ProtoMessage ¶
func (*ListHomeNetworkGatewaysRequest) ProtoMessage()
func (*ListHomeNetworkGatewaysRequest) ProtoReflect ¶
func (x *ListHomeNetworkGatewaysRequest) ProtoReflect() protoreflect.Message
func (*ListHomeNetworkGatewaysRequest) Reset ¶
func (x *ListHomeNetworkGatewaysRequest) Reset()
func (*ListHomeNetworkGatewaysRequest) String ¶
func (x *ListHomeNetworkGatewaysRequest) String() string
type SetDefaultGatewayVisibilityRequest ¶
type SetDefaultGatewayVisibilityRequest struct { // LoRa Alliance NetID of the Forwarder Member. ForwarderNetId uint32 `protobuf:"varint,1,opt,name=forwarder_net_id,json=forwarderNetId,proto3" json:"forwarder_net_id,omitempty"` // Forwarder cluster of the Forwarder Member. ForwarderClusterId string `protobuf:"bytes,2,opt,name=forwarder_cluster_id,json=forwarderClusterId,proto3" json:"forwarder_cluster_id,omitempty"` // New default Gateway Visibility. Visibility *v3.GatewayVisibility `protobuf:"bytes,3,opt,name=visibility,proto3" json:"visibility,omitempty"` // contains filtered or unexported fields }
func (*SetDefaultGatewayVisibilityRequest) Descriptor
deprecated
func (*SetDefaultGatewayVisibilityRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetDefaultGatewayVisibilityRequest.ProtoReflect.Descriptor instead.
func (*SetDefaultGatewayVisibilityRequest) GetForwarderClusterId ¶
func (x *SetDefaultGatewayVisibilityRequest) GetForwarderClusterId() string
func (*SetDefaultGatewayVisibilityRequest) GetForwarderNetId ¶
func (x *SetDefaultGatewayVisibilityRequest) GetForwarderNetId() uint32
func (*SetDefaultGatewayVisibilityRequest) GetVisibility ¶
func (x *SetDefaultGatewayVisibilityRequest) GetVisibility() *v3.GatewayVisibility
func (*SetDefaultGatewayVisibilityRequest) ProtoMessage ¶
func (*SetDefaultGatewayVisibilityRequest) ProtoMessage()
func (*SetDefaultGatewayVisibilityRequest) ProtoReflect ¶
func (x *SetDefaultGatewayVisibilityRequest) ProtoReflect() protoreflect.Message
func (*SetDefaultGatewayVisibilityRequest) Reset ¶
func (x *SetDefaultGatewayVisibilityRequest) Reset()
func (*SetDefaultGatewayVisibilityRequest) String ¶
func (x *SetDefaultGatewayVisibilityRequest) String() string
type SetHomeNetworkGatewayVisibilityRequest ¶
type SetHomeNetworkGatewayVisibilityRequest struct { // LoRa Alliance NetID of the Forwarder Member. ForwarderNetId uint32 `protobuf:"varint,1,opt,name=forwarder_net_id,json=forwarderNetId,proto3" json:"forwarder_net_id,omitempty"` // Forwarder cluster of the Forwarder Member. ForwarderClusterId string `protobuf:"bytes,2,opt,name=forwarder_cluster_id,json=forwarderClusterId,proto3" json:"forwarder_cluster_id,omitempty"` // LoRa Alliance NetID of the Home Network Member. HomeNetworkNetId uint32 `protobuf:"varint,3,opt,name=home_network_net_id,json=homeNetworkNetId,proto3" json:"home_network_net_id,omitempty"` // New Gateway Visibility for the Home Network Member. Visibility *v3.GatewayVisibility `protobuf:"bytes,4,opt,name=visibility,proto3" json:"visibility,omitempty"` // contains filtered or unexported fields }
func (*SetHomeNetworkGatewayVisibilityRequest) Descriptor
deprecated
func (*SetHomeNetworkGatewayVisibilityRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetHomeNetworkGatewayVisibilityRequest.ProtoReflect.Descriptor instead.
func (*SetHomeNetworkGatewayVisibilityRequest) GetForwarderClusterId ¶
func (x *SetHomeNetworkGatewayVisibilityRequest) GetForwarderClusterId() string
func (*SetHomeNetworkGatewayVisibilityRequest) GetForwarderNetId ¶
func (x *SetHomeNetworkGatewayVisibilityRequest) GetForwarderNetId() uint32
func (*SetHomeNetworkGatewayVisibilityRequest) GetHomeNetworkNetId ¶
func (x *SetHomeNetworkGatewayVisibilityRequest) GetHomeNetworkNetId() uint32
func (*SetHomeNetworkGatewayVisibilityRequest) GetVisibility ¶
func (x *SetHomeNetworkGatewayVisibilityRequest) GetVisibility() *v3.GatewayVisibility
func (*SetHomeNetworkGatewayVisibilityRequest) ProtoMessage ¶
func (*SetHomeNetworkGatewayVisibilityRequest) ProtoMessage()
func (*SetHomeNetworkGatewayVisibilityRequest) ProtoReflect ¶
func (x *SetHomeNetworkGatewayVisibilityRequest) ProtoReflect() protoreflect.Message
func (*SetHomeNetworkGatewayVisibilityRequest) Reset ¶
func (x *SetHomeNetworkGatewayVisibilityRequest) Reset()
func (*SetHomeNetworkGatewayVisibilityRequest) String ¶
func (x *SetHomeNetworkGatewayVisibilityRequest) String() string
type SubscribeHomeNetworkGatewaysRequest ¶
type SubscribeHomeNetworkGatewaysRequest struct { // LoRa Alliance NetID of the Home Network Member. HomeNetworkNetId uint32 `protobuf:"varint,1,opt,name=home_network_net_id,json=homeNetworkNetId,proto3" json:"home_network_net_id,omitempty"` // Set of gateways to subscribe to. // Leave empty to subscribe to all gateways. Gateways []*SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs `protobuf:"bytes,2,rep,name=gateways,proto3" json:"gateways,omitempty"` // Shared subscription group (optional). // Queue durability depends on the Mapper configuration. Group string `protobuf:"bytes,3,opt,name=group,proto3" json:"group,omitempty"` // contains filtered or unexported fields }
func (*SubscribeHomeNetworkGatewaysRequest) Descriptor
deprecated
func (*SubscribeHomeNetworkGatewaysRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeHomeNetworkGatewaysRequest.ProtoReflect.Descriptor instead.
func (*SubscribeHomeNetworkGatewaysRequest) GetGateways ¶
func (x *SubscribeHomeNetworkGatewaysRequest) GetGateways() []*SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs
func (*SubscribeHomeNetworkGatewaysRequest) GetGroup ¶
func (x *SubscribeHomeNetworkGatewaysRequest) GetGroup() string
func (*SubscribeHomeNetworkGatewaysRequest) GetHomeNetworkNetId ¶
func (x *SubscribeHomeNetworkGatewaysRequest) GetHomeNetworkNetId() uint32
func (*SubscribeHomeNetworkGatewaysRequest) ProtoMessage ¶
func (*SubscribeHomeNetworkGatewaysRequest) ProtoMessage()
func (*SubscribeHomeNetworkGatewaysRequest) ProtoReflect ¶
func (x *SubscribeHomeNetworkGatewaysRequest) ProtoReflect() protoreflect.Message
func (*SubscribeHomeNetworkGatewaysRequest) Reset ¶
func (x *SubscribeHomeNetworkGatewaysRequest) Reset()
func (*SubscribeHomeNetworkGatewaysRequest) String ¶
func (x *SubscribeHomeNetworkGatewaysRequest) String() string
type SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs ¶
type SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs struct { // LoRa Alliance NetID of the Forwarder Member. ForwarderNetId uint32 `protobuf:"varint,1,opt,name=forwarder_net_id,json=forwarderNetId,proto3" json:"forwarder_net_id,omitempty"` // Forwarder cluster of the Forwarder Member. ForwarderClusterId string `protobuf:"bytes,2,opt,name=forwarder_cluster_id,json=forwarderClusterId,proto3" json:"forwarder_cluster_id,omitempty"` // Set of unique identifiers of gateways. // Leave empty to subscribe to all gateways of the Forwarder Member. Euis []uint64 `protobuf:"varint,3,rep,packed,name=euis,proto3" json:"euis,omitempty"` // contains filtered or unexported fields }
func (*SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) Descriptor
deprecated
func (*SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs.ProtoReflect.Descriptor instead.
func (*SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) GetEuis ¶
func (x *SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) GetEuis() []uint64
func (*SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) GetForwarderClusterId ¶
func (x *SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) GetForwarderClusterId() string
func (*SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) GetForwarderNetId ¶
func (x *SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) GetForwarderNetId() uint32
func (*SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) ProtoMessage ¶
func (*SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) ProtoMessage()
func (*SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) ProtoReflect ¶
func (x *SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) ProtoReflect() protoreflect.Message
func (*SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) Reset ¶
func (x *SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) Reset()
func (*SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) String ¶
func (x *SubscribeHomeNetworkGatewaysRequest_ForwarderEUIs) String() string
type UnimplementedForwarderMapperServer ¶
type UnimplementedForwarderMapperServer struct { }
UnimplementedForwarderMapperServer must be embedded to have forward compatible implementations.
func (UnimplementedForwarderMapperServer) UpdateGateway ¶
func (UnimplementedForwarderMapperServer) UpdateGateway(context.Context, *UpdateForwarderGatewayRequest) (*emptypb.Empty, error)
type UnimplementedGatewayVisibilityManagerServer ¶
type UnimplementedGatewayVisibilityManagerServer struct { }
UnimplementedGatewayVisibilityManagerServer must be embedded to have forward compatible implementations.
func (UnimplementedGatewayVisibilityManagerServer) GetDefaultVisibility ¶
func (UnimplementedGatewayVisibilityManagerServer) GetDefaultVisibility(context.Context, *GetDefaultGatewayVisibilityRequest) (*GetGatewayVisibilityResponse, error)
func (UnimplementedGatewayVisibilityManagerServer) GetHomeNetworkVisibility ¶
func (UnimplementedGatewayVisibilityManagerServer) GetHomeNetworkVisibility(context.Context, *GetHomeNetworkGatewayVisibilityRequest) (*GetGatewayVisibilityResponse, error)
func (UnimplementedGatewayVisibilityManagerServer) SetDefaultVisibility ¶
func (UnimplementedGatewayVisibilityManagerServer) SetDefaultVisibility(context.Context, *SetDefaultGatewayVisibilityRequest) (*emptypb.Empty, error)
func (UnimplementedGatewayVisibilityManagerServer) SetHomeNetworkVisibility ¶
func (UnimplementedGatewayVisibilityManagerServer) SetHomeNetworkVisibility(context.Context, *SetHomeNetworkGatewayVisibilityRequest) (*emptypb.Empty, error)
type UnimplementedHomeNetworkMapperServer ¶
type UnimplementedHomeNetworkMapperServer struct { }
UnimplementedHomeNetworkMapperServer must be embedded to have forward compatible implementations.
func (UnimplementedHomeNetworkMapperServer) GetGateway ¶
func (UnimplementedHomeNetworkMapperServer) GetGateway(context.Context, *GetHomeNetworkGatewayRequest) (*GetHomeNetworkGatewayResponse, error)
func (UnimplementedHomeNetworkMapperServer) ListGateways ¶
func (UnimplementedHomeNetworkMapperServer) ListGateways(context.Context, *ListHomeNetworkGatewaysRequest) (*ListGatewaysResponse, error)
func (UnimplementedHomeNetworkMapperServer) SubscribeGateway ¶
func (UnimplementedHomeNetworkMapperServer) SubscribeGateway(*SubscribeHomeNetworkGatewaysRequest, HomeNetworkMapper_SubscribeGatewayServer) error
type UnsafeForwarderMapperServer ¶
type UnsafeForwarderMapperServer interface {
// contains filtered or unexported methods
}
UnsafeForwarderMapperServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ForwarderMapperServer will result in compilation errors.
type UnsafeGatewayVisibilityManagerServer ¶
type UnsafeGatewayVisibilityManagerServer interface {
// contains filtered or unexported methods
}
UnsafeGatewayVisibilityManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GatewayVisibilityManagerServer will result in compilation errors.
type UnsafeHomeNetworkMapperServer ¶
type UnsafeHomeNetworkMapperServer interface {
// contains filtered or unexported methods
}
UnsafeHomeNetworkMapperServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to HomeNetworkMapperServer will result in compilation errors.
type UpdateForwarderGatewayRequest ¶
type UpdateForwarderGatewayRequest struct { // LoRa Alliance NetID of the Forwarder Member. ForwarderNetId uint32 `protobuf:"varint,1,opt,name=forwarder_net_id,json=forwarderNetId,proto3" json:"forwarder_net_id,omitempty"` // Forwarder cluster of the Forwarder Member. ForwarderClusterId string `protobuf:"bytes,2,opt,name=forwarder_cluster_id,json=forwarderClusterId,proto3" json:"forwarder_cluster_id,omitempty"` // Gateway to update. Gateway *v3.Gateway `protobuf:"bytes,3,opt,name=gateway,proto3" json:"gateway,omitempty"` // contains filtered or unexported fields }
func (*UpdateForwarderGatewayRequest) Descriptor
deprecated
func (*UpdateForwarderGatewayRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateForwarderGatewayRequest.ProtoReflect.Descriptor instead.
func (*UpdateForwarderGatewayRequest) GetForwarderClusterId ¶
func (x *UpdateForwarderGatewayRequest) GetForwarderClusterId() string
func (*UpdateForwarderGatewayRequest) GetForwarderNetId ¶
func (x *UpdateForwarderGatewayRequest) GetForwarderNetId() uint32
func (*UpdateForwarderGatewayRequest) GetGateway ¶
func (x *UpdateForwarderGatewayRequest) GetGateway() *v3.Gateway
func (*UpdateForwarderGatewayRequest) ProtoMessage ¶
func (*UpdateForwarderGatewayRequest) ProtoMessage()
func (*UpdateForwarderGatewayRequest) ProtoReflect ¶
func (x *UpdateForwarderGatewayRequest) ProtoReflect() protoreflect.Message
func (*UpdateForwarderGatewayRequest) Reset ¶
func (x *UpdateForwarderGatewayRequest) Reset()
func (*UpdateForwarderGatewayRequest) String ¶
func (x *UpdateForwarderGatewayRequest) String() string