Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterAPIKeyVaultServer(s grpc.ServiceRegistrar, srv APIKeyVaultServer)
- func RegisterNetworkRegistryServer(s grpc.ServiceRegistrar, srv NetworkRegistryServer)
- func RegisterTenantRegistryServer(s grpc.ServiceRegistrar, srv TenantRegistryServer)
- type APIKeyRequest
- func (*APIKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *APIKeyRequest) GetKeyId() string
- func (*APIKeyRequest) ProtoMessage()
- func (x *APIKeyRequest) ProtoReflect() protoreflect.Message
- func (x *APIKeyRequest) Reset()
- func (x *APIKeyRequest) String() string
- func (r *APIKeyRequest) Validate() error
- type APIKeyVaultClient
- type APIKeyVaultServer
- type CreateAPIKeyRequest
- func (*CreateAPIKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAPIKeyRequest) GetClusterId() string
- func (x *CreateAPIKeyRequest) GetNetId() uint32
- func (x *CreateAPIKeyRequest) GetTenantId() string
- func (*CreateAPIKeyRequest) ProtoMessage()
- func (x *CreateAPIKeyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateAPIKeyRequest) Reset()
- func (x *CreateAPIKeyRequest) String() string
- func (r *CreateAPIKeyRequest) Validate() error
- type CreateAPIKeyResponse
- func (*CreateAPIKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAPIKeyResponse) GetKey() *v3.NetworkAPIKey
- func (*CreateAPIKeyResponse) ProtoMessage()
- func (x *CreateAPIKeyResponse) ProtoReflect() protoreflect.Message
- func (x *CreateAPIKeyResponse) Reset()
- func (x *CreateAPIKeyResponse) String() string
- type CreateNetworkRequest
- func (*CreateNetworkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNetworkRequest) GetNetwork() *v3.Network
- func (*CreateNetworkRequest) ProtoMessage()
- func (x *CreateNetworkRequest) ProtoReflect() protoreflect.Message
- func (x *CreateNetworkRequest) Reset()
- func (x *CreateNetworkRequest) String() string
- func (r *CreateNetworkRequest) Validate() error
- type CreateNetworkResponse
- func (*CreateNetworkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateNetworkResponse) GetNetwork() *v3.Network
- func (*CreateNetworkResponse) ProtoMessage()
- func (x *CreateNetworkResponse) ProtoReflect() protoreflect.Message
- func (x *CreateNetworkResponse) Reset()
- func (x *CreateNetworkResponse) String() string
- type CreateTenantRequest
- func (*CreateTenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTenantRequest) GetTenant() *v3.Tenant
- func (*CreateTenantRequest) ProtoMessage()
- func (x *CreateTenantRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTenantRequest) Reset()
- func (x *CreateTenantRequest) String() string
- func (r *CreateTenantRequest) Validate() error
- type CreateTenantResponse
- func (*CreateTenantResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTenantResponse) GetTenant() *v3.Tenant
- func (*CreateTenantResponse) ProtoMessage()
- func (x *CreateTenantResponse) ProtoReflect() protoreflect.Message
- func (x *CreateTenantResponse) Reset()
- func (x *CreateTenantResponse) String() string
- type DevAddrBlocksValue
- func (*DevAddrBlocksValue) Descriptor() ([]byte, []int)deprecated
- func (x *DevAddrBlocksValue) GetValue() []*v3.DevAddrBlock
- func (*DevAddrBlocksValue) ProtoMessage()
- func (x *DevAddrBlocksValue) ProtoReflect() protoreflect.Message
- func (x *DevAddrBlocksValue) Reset()
- func (x *DevAddrBlocksValue) String() string
- type GetNetworkResponse
- func (*GetNetworkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNetworkResponse) GetNetwork() *v3.Network
- func (*GetNetworkResponse) ProtoMessage()
- func (x *GetNetworkResponse) ProtoReflect() protoreflect.Message
- func (x *GetNetworkResponse) Reset()
- func (x *GetNetworkResponse) String() string
- type GetTenantResponse
- func (*GetTenantResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTenantResponse) GetTenant() *v3.Tenant
- func (*GetTenantResponse) ProtoMessage()
- func (x *GetTenantResponse) ProtoReflect() protoreflect.Message
- func (x *GetTenantResponse) Reset()
- func (x *GetTenantResponse) String() string
- type ListAPIKeysRequest
- func (*ListAPIKeysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListAPIKeysRequest) GetClusterId() string
- func (x *ListAPIKeysRequest) GetNetId() uint32
- func (x *ListAPIKeysRequest) GetTenantId() string
- func (*ListAPIKeysRequest) ProtoMessage()
- func (x *ListAPIKeysRequest) ProtoReflect() protoreflect.Message
- func (x *ListAPIKeysRequest) Reset()
- func (x *ListAPIKeysRequest) String() string
- func (r *ListAPIKeysRequest) Validate() error
- type ListAPIKeysResponse
- func (*ListAPIKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAPIKeysResponse) GetKeys() []*v3.NetworkAPIKey
- func (*ListAPIKeysResponse) ProtoMessage()
- func (x *ListAPIKeysResponse) ProtoReflect() protoreflect.Message
- func (x *ListAPIKeysResponse) Reset()
- func (x *ListAPIKeysResponse) String() string
- type ListNetworksRequest
- func (*ListNetworksRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListNetworksRequest) GetLimit() uint32
- func (x *ListNetworksRequest) GetNameContains() string
- func (x *ListNetworksRequest) GetOffset() uint32
- func (*ListNetworksRequest) ProtoMessage()
- func (x *ListNetworksRequest) ProtoReflect() protoreflect.Message
- func (x *ListNetworksRequest) Reset()
- func (x *ListNetworksRequest) String() string
- type ListNetworksResponse
- func (*ListNetworksResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListNetworksResponse) GetNetworks() []*v3.Network
- func (x *ListNetworksResponse) GetTotal() uint32
- func (*ListNetworksResponse) ProtoMessage()
- func (x *ListNetworksResponse) ProtoReflect() protoreflect.Message
- func (x *ListNetworksResponse) Reset()
- func (x *ListNetworksResponse) String() string
- type ListTenantsRequest
- func (*ListTenantsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTenantsRequest) GetLimit() uint32
- func (x *ListTenantsRequest) GetNameContains() string
- func (x *ListTenantsRequest) GetNetId() uint32
- func (x *ListTenantsRequest) GetOffset() uint32
- func (x *ListTenantsRequest) GetTenantIdContains() string
- func (*ListTenantsRequest) ProtoMessage()
- func (x *ListTenantsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTenantsRequest) Reset()
- func (x *ListTenantsRequest) String() string
- func (r *ListTenantsRequest) Validate() error
- type ListTenantsResponse
- func (*ListTenantsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTenantsResponse) GetTenants() []*v3.Tenant
- func (x *ListTenantsResponse) GetTotal() uint32
- func (*ListTenantsResponse) ProtoMessage()
- func (x *ListTenantsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTenantsResponse) Reset()
- func (x *ListTenantsResponse) String() string
- type NetworkRegistryClient
- type NetworkRegistryServer
- type NetworkRequest
- func (*NetworkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkRequest) GetNetId() uint32
- func (*NetworkRequest) ProtoMessage()
- func (x *NetworkRequest) ProtoReflect() protoreflect.Message
- func (x *NetworkRequest) Reset()
- func (x *NetworkRequest) String() string
- func (r *NetworkRequest) Validate() error
- type TargetValue
- type TenantRegistryClient
- type TenantRegistryServer
- type TenantRequest
- func (*TenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantRequest) GetNetId() uint32
- func (x *TenantRequest) GetTenantId() string
- func (*TenantRequest) ProtoMessage()
- func (x *TenantRequest) ProtoReflect() protoreflect.Message
- func (x *TenantRequest) Reset()
- func (x *TenantRequest) String() string
- func (r *TenantRequest) Validate() error
- type UnimplementedAPIKeyVaultServer
- func (UnimplementedAPIKeyVaultServer) CreateAPIKey(context.Context, *CreateAPIKeyRequest) (*CreateAPIKeyResponse, error)
- func (UnimplementedAPIKeyVaultServer) DeleteAPIKey(context.Context, *APIKeyRequest) (*emptypb.Empty, error)
- func (UnimplementedAPIKeyVaultServer) ListAPIKeys(context.Context, *ListAPIKeysRequest) (*ListAPIKeysResponse, error)
- type UnimplementedNetworkRegistryServer
- func (UnimplementedNetworkRegistryServer) CreateNetwork(context.Context, *CreateNetworkRequest) (*CreateNetworkResponse, error)
- func (UnimplementedNetworkRegistryServer) DeleteNetwork(context.Context, *NetworkRequest) (*emptypb.Empty, error)
- func (UnimplementedNetworkRegistryServer) GetNetwork(context.Context, *NetworkRequest) (*GetNetworkResponse, error)
- func (UnimplementedNetworkRegistryServer) ListNetworks(context.Context, *ListNetworksRequest) (*ListNetworksResponse, error)
- func (UnimplementedNetworkRegistryServer) UpdateNetwork(context.Context, *UpdateNetworkRequest) (*emptypb.Empty, error)
- func (UnimplementedNetworkRegistryServer) UpdateNetworkListed(context.Context, *UpdateNetworkListedRequest) (*emptypb.Empty, error)
- type UnimplementedTenantRegistryServer
- func (UnimplementedTenantRegistryServer) CreateTenant(context.Context, *CreateTenantRequest) (*CreateTenantResponse, error)
- func (UnimplementedTenantRegistryServer) DeleteTenant(context.Context, *TenantRequest) (*emptypb.Empty, error)
- func (UnimplementedTenantRegistryServer) GetTenant(context.Context, *TenantRequest) (*GetTenantResponse, error)
- func (UnimplementedTenantRegistryServer) ListTenants(context.Context, *ListTenantsRequest) (*ListTenantsResponse, error)
- func (UnimplementedTenantRegistryServer) UpdateTenant(context.Context, *UpdateTenantRequest) (*emptypb.Empty, error)
- func (UnimplementedTenantRegistryServer) UpdateTenantListed(context.Context, *UpdateTenantListedRequest) (*emptypb.Empty, error)
- type UnsafeAPIKeyVaultServer
- type UnsafeNetworkRegistryServer
- type UnsafeTenantRegistryServer
- type UpdateNetworkListedRequest
- func (*UpdateNetworkListedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNetworkListedRequest) GetListed() bool
- func (x *UpdateNetworkListedRequest) GetNetId() uint32
- func (*UpdateNetworkListedRequest) ProtoMessage()
- func (x *UpdateNetworkListedRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNetworkListedRequest) Reset()
- func (x *UpdateNetworkListedRequest) String() string
- func (r *UpdateNetworkListedRequest) Validate() error
- type UpdateNetworkRequest
- func (*UpdateNetworkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNetworkRequest) GetAdministrativeContact() *v3.ContactInfoValue
- func (x *UpdateNetworkRequest) GetDelegatedNetId() *UpdateNetworkRequest_DelegatedNetID
- func (x *UpdateNetworkRequest) GetDevAddrBlocks() *DevAddrBlocksValue
- func (x *UpdateNetworkRequest) GetListed() *wrapperspb.BoolValue
- func (x *UpdateNetworkRequest) GetName() *wrapperspb.StringValue
- func (x *UpdateNetworkRequest) GetNetId() uint32
- func (x *UpdateNetworkRequest) GetTarget() *TargetValue
- func (x *UpdateNetworkRequest) GetTechnicalContact() *v3.ContactInfoValue
- func (*UpdateNetworkRequest) ProtoMessage()
- func (x *UpdateNetworkRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNetworkRequest) Reset()
- func (x *UpdateNetworkRequest) String() string
- func (r *UpdateNetworkRequest) Validate() error
- type UpdateNetworkRequest_DelegatedNetID
- func (*UpdateNetworkRequest_DelegatedNetID) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNetworkRequest_DelegatedNetID) GetValue() *wrapperspb.UInt32Value
- func (*UpdateNetworkRequest_DelegatedNetID) ProtoMessage()
- func (x *UpdateNetworkRequest_DelegatedNetID) ProtoReflect() protoreflect.Message
- func (x *UpdateNetworkRequest_DelegatedNetID) Reset()
- func (x *UpdateNetworkRequest_DelegatedNetID) String() string
- type UpdateTenantListedRequest
- func (*UpdateTenantListedRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTenantListedRequest) GetListed() bool
- func (x *UpdateTenantListedRequest) GetNetId() uint32
- func (x *UpdateTenantListedRequest) GetTenantId() string
- func (*UpdateTenantListedRequest) ProtoMessage()
- func (x *UpdateTenantListedRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTenantListedRequest) Reset()
- func (x *UpdateTenantListedRequest) String() string
- func (r *UpdateTenantListedRequest) Validate() error
- type UpdateTenantRequest
- func (*UpdateTenantRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTenantRequest) GetAdministrativeContact() *v3.ContactInfoValue
- func (x *UpdateTenantRequest) GetDevAddrBlocks() *DevAddrBlocksValue
- func (x *UpdateTenantRequest) GetListed() *wrapperspb.BoolValue
- func (x *UpdateTenantRequest) GetName() *wrapperspb.StringValue
- func (x *UpdateTenantRequest) GetNetId() uint32
- func (x *UpdateTenantRequest) GetTarget() *TargetValue
- func (x *UpdateTenantRequest) GetTechnicalContact() *v3.ContactInfoValue
- func (x *UpdateTenantRequest) GetTenantId() string
- func (*UpdateTenantRequest) ProtoMessage()
- func (x *UpdateTenantRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTenantRequest) Reset()
- func (x *UpdateTenantRequest) String() string
- func (r *UpdateTenantRequest) Validate() error
Constants ¶
const ( NetworkRegistry_ListNetworks_FullMethodName = "/org.packetbroker.iam.v1.NetworkRegistry/ListNetworks" NetworkRegistry_CreateNetwork_FullMethodName = "/org.packetbroker.iam.v1.NetworkRegistry/CreateNetwork" NetworkRegistry_GetNetwork_FullMethodName = "/org.packetbroker.iam.v1.NetworkRegistry/GetNetwork" NetworkRegistry_UpdateNetwork_FullMethodName = "/org.packetbroker.iam.v1.NetworkRegistry/UpdateNetwork" NetworkRegistry_UpdateNetworkListed_FullMethodName = "/org.packetbroker.iam.v1.NetworkRegistry/UpdateNetworkListed" NetworkRegistry_DeleteNetwork_FullMethodName = "/org.packetbroker.iam.v1.NetworkRegistry/DeleteNetwork" )
const ( TenantRegistry_ListTenants_FullMethodName = "/org.packetbroker.iam.v1.TenantRegistry/ListTenants" TenantRegistry_CreateTenant_FullMethodName = "/org.packetbroker.iam.v1.TenantRegistry/CreateTenant" TenantRegistry_GetTenant_FullMethodName = "/org.packetbroker.iam.v1.TenantRegistry/GetTenant" TenantRegistry_UpdateTenant_FullMethodName = "/org.packetbroker.iam.v1.TenantRegistry/UpdateTenant" TenantRegistry_UpdateTenantListed_FullMethodName = "/org.packetbroker.iam.v1.TenantRegistry/UpdateTenantListed" TenantRegistry_DeleteTenant_FullMethodName = "/org.packetbroker.iam.v1.TenantRegistry/DeleteTenant" )
const ( APIKeyVault_ListAPIKeys_FullMethodName = "/org.packetbroker.iam.v1.APIKeyVault/ListAPIKeys" APIKeyVault_CreateAPIKey_FullMethodName = "/org.packetbroker.iam.v1.APIKeyVault/CreateAPIKey" APIKeyVault_DeleteAPIKey_FullMethodName = "/org.packetbroker.iam.v1.APIKeyVault/DeleteAPIKey" )
Variables ¶
var APIKeyVault_ServiceDesc = grpc.ServiceDesc{ ServiceName: "org.packetbroker.iam.v1.APIKeyVault", HandlerType: (*APIKeyVaultServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListAPIKeys", Handler: _APIKeyVault_ListAPIKeys_Handler, }, { MethodName: "CreateAPIKey", Handler: _APIKeyVault_CreateAPIKey_Handler, }, { MethodName: "DeleteAPIKey", Handler: _APIKeyVault_DeleteAPIKey_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "packetbroker/api/iam/v1/service.proto", }
APIKeyVault_ServiceDesc is the grpc.ServiceDesc for APIKeyVault service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_packetbroker_api_iam_v1_service_proto protoreflect.FileDescriptor
var NetworkRegistry_ServiceDesc = grpc.ServiceDesc{ ServiceName: "org.packetbroker.iam.v1.NetworkRegistry", HandlerType: (*NetworkRegistryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListNetworks", Handler: _NetworkRegistry_ListNetworks_Handler, }, { MethodName: "CreateNetwork", Handler: _NetworkRegistry_CreateNetwork_Handler, }, { MethodName: "GetNetwork", Handler: _NetworkRegistry_GetNetwork_Handler, }, { MethodName: "UpdateNetwork", Handler: _NetworkRegistry_UpdateNetwork_Handler, }, { MethodName: "UpdateNetworkListed", Handler: _NetworkRegistry_UpdateNetworkListed_Handler, }, { MethodName: "DeleteNetwork", Handler: _NetworkRegistry_DeleteNetwork_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "packetbroker/api/iam/v1/service.proto", }
NetworkRegistry_ServiceDesc is the grpc.ServiceDesc for NetworkRegistry service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TenantRegistry_ServiceDesc = grpc.ServiceDesc{ ServiceName: "org.packetbroker.iam.v1.TenantRegistry", HandlerType: (*TenantRegistryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListTenants", Handler: _TenantRegistry_ListTenants_Handler, }, { MethodName: "CreateTenant", Handler: _TenantRegistry_CreateTenant_Handler, }, { MethodName: "GetTenant", Handler: _TenantRegistry_GetTenant_Handler, }, { MethodName: "UpdateTenant", Handler: _TenantRegistry_UpdateTenant_Handler, }, { MethodName: "UpdateTenantListed", Handler: _TenantRegistry_UpdateTenantListed_Handler, }, { MethodName: "DeleteTenant", Handler: _TenantRegistry_DeleteTenant_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "packetbroker/api/iam/v1/service.proto", }
TenantRegistry_ServiceDesc is the grpc.ServiceDesc for TenantRegistry service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAPIKeyVaultServer ¶
func RegisterAPIKeyVaultServer(s grpc.ServiceRegistrar, srv APIKeyVaultServer)
func RegisterNetworkRegistryServer ¶
func RegisterNetworkRegistryServer(s grpc.ServiceRegistrar, srv NetworkRegistryServer)
func RegisterTenantRegistryServer ¶
func RegisterTenantRegistryServer(s grpc.ServiceRegistrar, srv TenantRegistryServer)
Types ¶
type APIKeyRequest ¶
type APIKeyRequest struct { KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"` // contains filtered or unexported fields }
func (*APIKeyRequest) Descriptor
deprecated
func (*APIKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use APIKeyRequest.ProtoReflect.Descriptor instead.
func (*APIKeyRequest) GetKeyId ¶
func (x *APIKeyRequest) GetKeyId() string
func (*APIKeyRequest) ProtoMessage ¶
func (*APIKeyRequest) ProtoMessage()
func (*APIKeyRequest) ProtoReflect ¶
func (x *APIKeyRequest) ProtoReflect() protoreflect.Message
func (*APIKeyRequest) Reset ¶
func (x *APIKeyRequest) Reset()
func (*APIKeyRequest) String ¶
func (x *APIKeyRequest) String() string
func (*APIKeyRequest) Validate ¶
func (r *APIKeyRequest) Validate() error
Validate returns whether the request is valid.
type APIKeyVaultClient ¶
type APIKeyVaultClient interface { // List API keys. ListAPIKeys(ctx context.Context, in *ListAPIKeysRequest, opts ...grpc.CallOption) (*ListAPIKeysResponse, error) // Create an API key. CreateAPIKey(ctx context.Context, in *CreateAPIKeyRequest, opts ...grpc.CallOption) (*CreateAPIKeyResponse, error) // Delete an API key. DeleteAPIKey(ctx context.Context, in *APIKeyRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
APIKeyVaultClient is the client API for APIKeyVault 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 NewAPIKeyVaultClient ¶
func NewAPIKeyVaultClient(cc grpc.ClientConnInterface) APIKeyVaultClient
type APIKeyVaultServer ¶
type APIKeyVaultServer interface { // List API keys. ListAPIKeys(context.Context, *ListAPIKeysRequest) (*ListAPIKeysResponse, error) // Create an API key. CreateAPIKey(context.Context, *CreateAPIKeyRequest) (*CreateAPIKeyResponse, error) // Delete an API key. DeleteAPIKey(context.Context, *APIKeyRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
APIKeyVaultServer is the server API for APIKeyVault service. All implementations must embed UnimplementedAPIKeyVaultServer for forward compatibility
type CreateAPIKeyRequest ¶
type CreateAPIKeyRequest struct { // LoRa Alliance NetID of the Member. NetId uint32 `protobuf:"varint,1,opt,name=net_id,json=netId,proto3" json:"net_id,omitempty"` // ID assigned by the Member (optional). TenantId string `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` // Cluster of the Member (optional). ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // contains filtered or unexported fields }
func (*CreateAPIKeyRequest) Descriptor
deprecated
func (*CreateAPIKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAPIKeyRequest.ProtoReflect.Descriptor instead.
func (*CreateAPIKeyRequest) GetClusterId ¶
func (x *CreateAPIKeyRequest) GetClusterId() string
func (*CreateAPIKeyRequest) GetNetId ¶
func (x *CreateAPIKeyRequest) GetNetId() uint32
func (*CreateAPIKeyRequest) GetTenantId ¶
func (x *CreateAPIKeyRequest) GetTenantId() string
func (*CreateAPIKeyRequest) ProtoMessage ¶
func (*CreateAPIKeyRequest) ProtoMessage()
func (*CreateAPIKeyRequest) ProtoReflect ¶
func (x *CreateAPIKeyRequest) ProtoReflect() protoreflect.Message
func (*CreateAPIKeyRequest) Reset ¶
func (x *CreateAPIKeyRequest) Reset()
func (*CreateAPIKeyRequest) String ¶
func (x *CreateAPIKeyRequest) String() string
func (*CreateAPIKeyRequest) Validate ¶
func (r *CreateAPIKeyRequest) Validate() error
Validate returns whether the request is valid.
type CreateAPIKeyResponse ¶
type CreateAPIKeyResponse struct { Key *v3.NetworkAPIKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*CreateAPIKeyResponse) Descriptor
deprecated
func (*CreateAPIKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateAPIKeyResponse.ProtoReflect.Descriptor instead.
func (*CreateAPIKeyResponse) GetKey ¶
func (x *CreateAPIKeyResponse) GetKey() *v3.NetworkAPIKey
func (*CreateAPIKeyResponse) ProtoMessage ¶
func (*CreateAPIKeyResponse) ProtoMessage()
func (*CreateAPIKeyResponse) ProtoReflect ¶
func (x *CreateAPIKeyResponse) ProtoReflect() protoreflect.Message
func (*CreateAPIKeyResponse) Reset ¶
func (x *CreateAPIKeyResponse) Reset()
func (*CreateAPIKeyResponse) String ¶
func (x *CreateAPIKeyResponse) String() string
type CreateNetworkRequest ¶
type CreateNetworkRequest struct { Network *v3.Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // contains filtered or unexported fields }
func (*CreateNetworkRequest) Descriptor
deprecated
func (*CreateNetworkRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateNetworkRequest.ProtoReflect.Descriptor instead.
func (*CreateNetworkRequest) GetNetwork ¶
func (x *CreateNetworkRequest) GetNetwork() *v3.Network
func (*CreateNetworkRequest) ProtoMessage ¶
func (*CreateNetworkRequest) ProtoMessage()
func (*CreateNetworkRequest) ProtoReflect ¶
func (x *CreateNetworkRequest) ProtoReflect() protoreflect.Message
func (*CreateNetworkRequest) Reset ¶
func (x *CreateNetworkRequest) Reset()
func (*CreateNetworkRequest) String ¶
func (x *CreateNetworkRequest) String() string
func (*CreateNetworkRequest) Validate ¶
func (r *CreateNetworkRequest) Validate() error
Validate returns whether the request is valid.
type CreateNetworkResponse ¶
type CreateNetworkResponse struct { Network *v3.Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // contains filtered or unexported fields }
func (*CreateNetworkResponse) Descriptor
deprecated
func (*CreateNetworkResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateNetworkResponse.ProtoReflect.Descriptor instead.
func (*CreateNetworkResponse) GetNetwork ¶
func (x *CreateNetworkResponse) GetNetwork() *v3.Network
func (*CreateNetworkResponse) ProtoMessage ¶
func (*CreateNetworkResponse) ProtoMessage()
func (*CreateNetworkResponse) ProtoReflect ¶
func (x *CreateNetworkResponse) ProtoReflect() protoreflect.Message
func (*CreateNetworkResponse) Reset ¶
func (x *CreateNetworkResponse) Reset()
func (*CreateNetworkResponse) String ¶
func (x *CreateNetworkResponse) String() string
type CreateTenantRequest ¶
type CreateTenantRequest struct { Tenant *v3.Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // contains filtered or unexported fields }
func (*CreateTenantRequest) Descriptor
deprecated
func (*CreateTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTenantRequest.ProtoReflect.Descriptor instead.
func (*CreateTenantRequest) GetTenant ¶
func (x *CreateTenantRequest) GetTenant() *v3.Tenant
func (*CreateTenantRequest) ProtoMessage ¶
func (*CreateTenantRequest) ProtoMessage()
func (*CreateTenantRequest) ProtoReflect ¶
func (x *CreateTenantRequest) ProtoReflect() protoreflect.Message
func (*CreateTenantRequest) Reset ¶
func (x *CreateTenantRequest) Reset()
func (*CreateTenantRequest) String ¶
func (x *CreateTenantRequest) String() string
func (*CreateTenantRequest) Validate ¶
func (r *CreateTenantRequest) Validate() error
Validate returns whether the request is valid.
type CreateTenantResponse ¶
type CreateTenantResponse struct { Tenant *v3.Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // contains filtered or unexported fields }
func (*CreateTenantResponse) Descriptor
deprecated
func (*CreateTenantResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateTenantResponse.ProtoReflect.Descriptor instead.
func (*CreateTenantResponse) GetTenant ¶
func (x *CreateTenantResponse) GetTenant() *v3.Tenant
func (*CreateTenantResponse) ProtoMessage ¶
func (*CreateTenantResponse) ProtoMessage()
func (*CreateTenantResponse) ProtoReflect ¶
func (x *CreateTenantResponse) ProtoReflect() protoreflect.Message
func (*CreateTenantResponse) Reset ¶
func (x *CreateTenantResponse) Reset()
func (*CreateTenantResponse) String ¶
func (x *CreateTenantResponse) String() string
type DevAddrBlocksValue ¶
type DevAddrBlocksValue struct { Value []*v3.DevAddrBlock `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*DevAddrBlocksValue) Descriptor
deprecated
func (*DevAddrBlocksValue) Descriptor() ([]byte, []int)
Deprecated: Use DevAddrBlocksValue.ProtoReflect.Descriptor instead.
func (*DevAddrBlocksValue) GetValue ¶
func (x *DevAddrBlocksValue) GetValue() []*v3.DevAddrBlock
func (*DevAddrBlocksValue) ProtoMessage ¶
func (*DevAddrBlocksValue) ProtoMessage()
func (*DevAddrBlocksValue) ProtoReflect ¶
func (x *DevAddrBlocksValue) ProtoReflect() protoreflect.Message
func (*DevAddrBlocksValue) Reset ¶
func (x *DevAddrBlocksValue) Reset()
func (*DevAddrBlocksValue) String ¶
func (x *DevAddrBlocksValue) String() string
type GetNetworkResponse ¶
type GetNetworkResponse struct { Network *v3.Network `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` // contains filtered or unexported fields }
func (*GetNetworkResponse) Descriptor
deprecated
func (*GetNetworkResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNetworkResponse.ProtoReflect.Descriptor instead.
func (*GetNetworkResponse) GetNetwork ¶
func (x *GetNetworkResponse) GetNetwork() *v3.Network
func (*GetNetworkResponse) ProtoMessage ¶
func (*GetNetworkResponse) ProtoMessage()
func (*GetNetworkResponse) ProtoReflect ¶
func (x *GetNetworkResponse) ProtoReflect() protoreflect.Message
func (*GetNetworkResponse) Reset ¶
func (x *GetNetworkResponse) Reset()
func (*GetNetworkResponse) String ¶
func (x *GetNetworkResponse) String() string
type GetTenantResponse ¶
type GetTenantResponse struct { Tenant *v3.Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // contains filtered or unexported fields }
func (*GetTenantResponse) Descriptor
deprecated
func (*GetTenantResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTenantResponse.ProtoReflect.Descriptor instead.
func (*GetTenantResponse) GetTenant ¶
func (x *GetTenantResponse) GetTenant() *v3.Tenant
func (*GetTenantResponse) ProtoMessage ¶
func (*GetTenantResponse) ProtoMessage()
func (*GetTenantResponse) ProtoReflect ¶
func (x *GetTenantResponse) ProtoReflect() protoreflect.Message
func (*GetTenantResponse) Reset ¶
func (x *GetTenantResponse) Reset()
func (*GetTenantResponse) String ¶
func (x *GetTenantResponse) String() string
type ListAPIKeysRequest ¶
type ListAPIKeysRequest struct { // LoRa Alliance NetID of the Member. NetId uint32 `protobuf:"varint,1,opt,name=net_id,json=netId,proto3" json:"net_id,omitempty"` // ID assigned by the Member (optional). TenantId string `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` // Cluster of the Member (optional). ClusterId string `protobuf:"bytes,3,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"` // contains filtered or unexported fields }
func (*ListAPIKeysRequest) Descriptor
deprecated
func (*ListAPIKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAPIKeysRequest.ProtoReflect.Descriptor instead.
func (*ListAPIKeysRequest) GetClusterId ¶
func (x *ListAPIKeysRequest) GetClusterId() string
func (*ListAPIKeysRequest) GetNetId ¶
func (x *ListAPIKeysRequest) GetNetId() uint32
func (*ListAPIKeysRequest) GetTenantId ¶
func (x *ListAPIKeysRequest) GetTenantId() string
func (*ListAPIKeysRequest) ProtoMessage ¶
func (*ListAPIKeysRequest) ProtoMessage()
func (*ListAPIKeysRequest) ProtoReflect ¶
func (x *ListAPIKeysRequest) ProtoReflect() protoreflect.Message
func (*ListAPIKeysRequest) Reset ¶
func (x *ListAPIKeysRequest) Reset()
func (*ListAPIKeysRequest) String ¶
func (x *ListAPIKeysRequest) String() string
func (*ListAPIKeysRequest) Validate ¶
func (r *ListAPIKeysRequest) Validate() error
Validate returns whether the request is valid.
type ListAPIKeysResponse ¶
type ListAPIKeysResponse struct { Keys []*v3.NetworkAPIKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` // contains filtered or unexported fields }
func (*ListAPIKeysResponse) Descriptor
deprecated
func (*ListAPIKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAPIKeysResponse.ProtoReflect.Descriptor instead.
func (*ListAPIKeysResponse) GetKeys ¶
func (x *ListAPIKeysResponse) GetKeys() []*v3.NetworkAPIKey
func (*ListAPIKeysResponse) ProtoMessage ¶
func (*ListAPIKeysResponse) ProtoMessage()
func (*ListAPIKeysResponse) ProtoReflect ¶
func (x *ListAPIKeysResponse) ProtoReflect() protoreflect.Message
func (*ListAPIKeysResponse) Reset ¶
func (x *ListAPIKeysResponse) Reset()
func (*ListAPIKeysResponse) String ¶
func (x *ListAPIKeysResponse) String() string
type ListNetworksRequest ¶
type ListNetworksRequest struct { // Number of items to skip. Offset uint32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` // Limit the number of items. // If 0, use the server's default. // The actual limit may be capped by the server. Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // Filter networks by name. NameContains string `protobuf:"bytes,3,opt,name=name_contains,json=nameContains,proto3" json:"name_contains,omitempty"` // contains filtered or unexported fields }
func (*ListNetworksRequest) Descriptor
deprecated
func (*ListNetworksRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNetworksRequest.ProtoReflect.Descriptor instead.
func (*ListNetworksRequest) GetLimit ¶
func (x *ListNetworksRequest) GetLimit() uint32
func (*ListNetworksRequest) GetNameContains ¶ added in v1.4.2
func (x *ListNetworksRequest) GetNameContains() string
func (*ListNetworksRequest) GetOffset ¶
func (x *ListNetworksRequest) GetOffset() uint32
func (*ListNetworksRequest) ProtoMessage ¶
func (*ListNetworksRequest) ProtoMessage()
func (*ListNetworksRequest) ProtoReflect ¶
func (x *ListNetworksRequest) ProtoReflect() protoreflect.Message
func (*ListNetworksRequest) Reset ¶
func (x *ListNetworksRequest) Reset()
func (*ListNetworksRequest) String ¶
func (x *ListNetworksRequest) String() string
type ListNetworksResponse ¶
type ListNetworksResponse struct { Networks []*v3.Network `protobuf:"bytes,1,rep,name=networks,proto3" json:"networks,omitempty"` // Total number of networks. Total uint32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListNetworksResponse) Descriptor
deprecated
func (*ListNetworksResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNetworksResponse.ProtoReflect.Descriptor instead.
func (*ListNetworksResponse) GetNetworks ¶
func (x *ListNetworksResponse) GetNetworks() []*v3.Network
func (*ListNetworksResponse) GetTotal ¶
func (x *ListNetworksResponse) GetTotal() uint32
func (*ListNetworksResponse) ProtoMessage ¶
func (*ListNetworksResponse) ProtoMessage()
func (*ListNetworksResponse) ProtoReflect ¶
func (x *ListNetworksResponse) ProtoReflect() protoreflect.Message
func (*ListNetworksResponse) Reset ¶
func (x *ListNetworksResponse) Reset()
func (*ListNetworksResponse) String ¶
func (x *ListNetworksResponse) String() string
type ListTenantsRequest ¶
type ListTenantsRequest struct { NetId uint32 `protobuf:"varint,1,opt,name=net_id,json=netId,proto3" json:"net_id,omitempty"` // Number of items to skip. Offset uint32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` // Limit the number of items. // 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"` // Filter tenants by ID. TenantIdContains string `protobuf:"bytes,4,opt,name=tenant_id_contains,json=tenantIdContains,proto3" json:"tenant_id_contains,omitempty"` // Filter networks by name. NameContains string `protobuf:"bytes,5,opt,name=name_contains,json=nameContains,proto3" json:"name_contains,omitempty"` // contains filtered or unexported fields }
func (*ListTenantsRequest) Descriptor
deprecated
func (*ListTenantsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTenantsRequest.ProtoReflect.Descriptor instead.
func (*ListTenantsRequest) GetLimit ¶
func (x *ListTenantsRequest) GetLimit() uint32
func (*ListTenantsRequest) GetNameContains ¶ added in v1.4.2
func (x *ListTenantsRequest) GetNameContains() string
func (*ListTenantsRequest) GetNetId ¶
func (x *ListTenantsRequest) GetNetId() uint32
func (*ListTenantsRequest) GetOffset ¶
func (x *ListTenantsRequest) GetOffset() uint32
func (*ListTenantsRequest) GetTenantIdContains ¶ added in v1.4.2
func (x *ListTenantsRequest) GetTenantIdContains() string
func (*ListTenantsRequest) ProtoMessage ¶
func (*ListTenantsRequest) ProtoMessage()
func (*ListTenantsRequest) ProtoReflect ¶
func (x *ListTenantsRequest) ProtoReflect() protoreflect.Message
func (*ListTenantsRequest) Reset ¶
func (x *ListTenantsRequest) Reset()
func (*ListTenantsRequest) String ¶
func (x *ListTenantsRequest) String() string
func (*ListTenantsRequest) Validate ¶ added in v1.8.0
func (r *ListTenantsRequest) Validate() error
Validate returns whether the request is valid.
type ListTenantsResponse ¶
type ListTenantsResponse struct { Tenants []*v3.Tenant `protobuf:"bytes,1,rep,name=tenants,proto3" json:"tenants,omitempty"` // Total number of tenants. Total uint32 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*ListTenantsResponse) Descriptor
deprecated
func (*ListTenantsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTenantsResponse.ProtoReflect.Descriptor instead.
func (*ListTenantsResponse) GetTenants ¶
func (x *ListTenantsResponse) GetTenants() []*v3.Tenant
func (*ListTenantsResponse) GetTotal ¶
func (x *ListTenantsResponse) GetTotal() uint32
func (*ListTenantsResponse) ProtoMessage ¶
func (*ListTenantsResponse) ProtoMessage()
func (*ListTenantsResponse) ProtoReflect ¶
func (x *ListTenantsResponse) ProtoReflect() protoreflect.Message
func (*ListTenantsResponse) Reset ¶
func (x *ListTenantsResponse) Reset()
func (*ListTenantsResponse) String ¶
func (x *ListTenantsResponse) String() string
type NetworkRegistryClient ¶
type NetworkRegistryClient interface { // List networks. ListNetworks(ctx context.Context, in *ListNetworksRequest, opts ...grpc.CallOption) (*ListNetworksResponse, error) // Create a network. CreateNetwork(ctx context.Context, in *CreateNetworkRequest, opts ...grpc.CallOption) (*CreateNetworkResponse, error) // Get a network. GetNetwork(ctx context.Context, in *NetworkRequest, opts ...grpc.CallOption) (*GetNetworkResponse, error) // Update a network. UpdateNetwork(ctx context.Context, in *UpdateNetworkRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Update the listed state of a network. UpdateNetworkListed(ctx context.Context, in *UpdateNetworkListedRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Delete a network. DeleteNetwork(ctx context.Context, in *NetworkRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
NetworkRegistryClient is the client API for NetworkRegistry 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 NewNetworkRegistryClient ¶
func NewNetworkRegistryClient(cc grpc.ClientConnInterface) NetworkRegistryClient
type NetworkRegistryServer ¶
type NetworkRegistryServer interface { // List networks. ListNetworks(context.Context, *ListNetworksRequest) (*ListNetworksResponse, error) // Create a network. CreateNetwork(context.Context, *CreateNetworkRequest) (*CreateNetworkResponse, error) // Get a network. GetNetwork(context.Context, *NetworkRequest) (*GetNetworkResponse, error) // Update a network. UpdateNetwork(context.Context, *UpdateNetworkRequest) (*emptypb.Empty, error) // Update the listed state of a network. UpdateNetworkListed(context.Context, *UpdateNetworkListedRequest) (*emptypb.Empty, error) // Delete a network. DeleteNetwork(context.Context, *NetworkRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
NetworkRegistryServer is the server API for NetworkRegistry service. All implementations must embed UnimplementedNetworkRegistryServer for forward compatibility
type NetworkRequest ¶
type NetworkRequest struct { NetId uint32 `protobuf:"varint,1,opt,name=net_id,json=netId,proto3" json:"net_id,omitempty"` // contains filtered or unexported fields }
func (*NetworkRequest) Descriptor
deprecated
func (*NetworkRequest) Descriptor() ([]byte, []int)
Deprecated: Use NetworkRequest.ProtoReflect.Descriptor instead.
func (*NetworkRequest) GetNetId ¶
func (x *NetworkRequest) GetNetId() uint32
func (*NetworkRequest) ProtoMessage ¶
func (*NetworkRequest) ProtoMessage()
func (*NetworkRequest) ProtoReflect ¶
func (x *NetworkRequest) ProtoReflect() protoreflect.Message
func (*NetworkRequest) Reset ¶
func (x *NetworkRequest) Reset()
func (*NetworkRequest) String ¶
func (x *NetworkRequest) String() string
func (*NetworkRequest) Validate ¶ added in v1.8.0
func (r *NetworkRequest) Validate() error
Validate returns whether the request is valid.
type TargetValue ¶ added in v1.3.0
type TargetValue struct { Value *v3.Target `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*TargetValue) Descriptor
deprecated
added in
v1.3.0
func (*TargetValue) Descriptor() ([]byte, []int)
Deprecated: Use TargetValue.ProtoReflect.Descriptor instead.
func (*TargetValue) GetValue ¶ added in v1.3.0
func (x *TargetValue) GetValue() *v3.Target
func (*TargetValue) ProtoMessage ¶ added in v1.3.0
func (*TargetValue) ProtoMessage()
func (*TargetValue) ProtoReflect ¶ added in v1.3.0
func (x *TargetValue) ProtoReflect() protoreflect.Message
func (*TargetValue) Reset ¶ added in v1.3.0
func (x *TargetValue) Reset()
func (*TargetValue) String ¶ added in v1.3.0
func (x *TargetValue) String() string
type TenantRegistryClient ¶
type TenantRegistryClient interface { // List a network's tenants. ListTenants(ctx context.Context, in *ListTenantsRequest, opts ...grpc.CallOption) (*ListTenantsResponse, error) // Create a tenant. CreateTenant(ctx context.Context, in *CreateTenantRequest, opts ...grpc.CallOption) (*CreateTenantResponse, error) // Get a tenant. GetTenant(ctx context.Context, in *TenantRequest, opts ...grpc.CallOption) (*GetTenantResponse, error) // Update a tenant. UpdateTenant(ctx context.Context, in *UpdateTenantRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Update the listed state of a tenant. UpdateTenantListed(ctx context.Context, in *UpdateTenantListedRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) // Delete a tenant. DeleteTenant(ctx context.Context, in *TenantRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
TenantRegistryClient is the client API for TenantRegistry 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 NewTenantRegistryClient ¶
func NewTenantRegistryClient(cc grpc.ClientConnInterface) TenantRegistryClient
type TenantRegistryServer ¶
type TenantRegistryServer interface { // List a network's tenants. ListTenants(context.Context, *ListTenantsRequest) (*ListTenantsResponse, error) // Create a tenant. CreateTenant(context.Context, *CreateTenantRequest) (*CreateTenantResponse, error) // Get a tenant. GetTenant(context.Context, *TenantRequest) (*GetTenantResponse, error) // Update a tenant. UpdateTenant(context.Context, *UpdateTenantRequest) (*emptypb.Empty, error) // Update the listed state of a tenant. UpdateTenantListed(context.Context, *UpdateTenantListedRequest) (*emptypb.Empty, error) // Delete a tenant. DeleteTenant(context.Context, *TenantRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
TenantRegistryServer is the server API for TenantRegistry service. All implementations must embed UnimplementedTenantRegistryServer for forward compatibility
type TenantRequest ¶
type TenantRequest struct { // LoRa Alliance NetID of the Member. NetId uint32 `protobuf:"varint,1,opt,name=net_id,json=netId,proto3" json:"net_id,omitempty"` // ID assigned by the Member. TenantId string `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` // contains filtered or unexported fields }
func (*TenantRequest) Descriptor
deprecated
func (*TenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use TenantRequest.ProtoReflect.Descriptor instead.
func (*TenantRequest) GetNetId ¶
func (x *TenantRequest) GetNetId() uint32
func (*TenantRequest) GetTenantId ¶
func (x *TenantRequest) GetTenantId() string
func (*TenantRequest) ProtoMessage ¶
func (*TenantRequest) ProtoMessage()
func (*TenantRequest) ProtoReflect ¶
func (x *TenantRequest) ProtoReflect() protoreflect.Message
func (*TenantRequest) Reset ¶
func (x *TenantRequest) Reset()
func (*TenantRequest) String ¶
func (x *TenantRequest) String() string
func (*TenantRequest) Validate ¶
func (r *TenantRequest) Validate() error
Validate returns whether the request is valid.
type UnimplementedAPIKeyVaultServer ¶
type UnimplementedAPIKeyVaultServer struct { }
UnimplementedAPIKeyVaultServer must be embedded to have forward compatible implementations.
func (UnimplementedAPIKeyVaultServer) CreateAPIKey ¶
func (UnimplementedAPIKeyVaultServer) CreateAPIKey(context.Context, *CreateAPIKeyRequest) (*CreateAPIKeyResponse, error)
func (UnimplementedAPIKeyVaultServer) DeleteAPIKey ¶
func (UnimplementedAPIKeyVaultServer) DeleteAPIKey(context.Context, *APIKeyRequest) (*emptypb.Empty, error)
func (UnimplementedAPIKeyVaultServer) ListAPIKeys ¶
func (UnimplementedAPIKeyVaultServer) ListAPIKeys(context.Context, *ListAPIKeysRequest) (*ListAPIKeysResponse, error)
type UnimplementedNetworkRegistryServer ¶
type UnimplementedNetworkRegistryServer struct { }
UnimplementedNetworkRegistryServer must be embedded to have forward compatible implementations.
func (UnimplementedNetworkRegistryServer) CreateNetwork ¶
func (UnimplementedNetworkRegistryServer) CreateNetwork(context.Context, *CreateNetworkRequest) (*CreateNetworkResponse, error)
func (UnimplementedNetworkRegistryServer) DeleteNetwork ¶
func (UnimplementedNetworkRegistryServer) DeleteNetwork(context.Context, *NetworkRequest) (*emptypb.Empty, error)
func (UnimplementedNetworkRegistryServer) GetNetwork ¶
func (UnimplementedNetworkRegistryServer) GetNetwork(context.Context, *NetworkRequest) (*GetNetworkResponse, error)
func (UnimplementedNetworkRegistryServer) ListNetworks ¶
func (UnimplementedNetworkRegistryServer) ListNetworks(context.Context, *ListNetworksRequest) (*ListNetworksResponse, error)
func (UnimplementedNetworkRegistryServer) UpdateNetwork ¶
func (UnimplementedNetworkRegistryServer) UpdateNetwork(context.Context, *UpdateNetworkRequest) (*emptypb.Empty, error)
func (UnimplementedNetworkRegistryServer) UpdateNetworkListed ¶ added in v1.7.0
func (UnimplementedNetworkRegistryServer) UpdateNetworkListed(context.Context, *UpdateNetworkListedRequest) (*emptypb.Empty, error)
type UnimplementedTenantRegistryServer ¶
type UnimplementedTenantRegistryServer struct { }
UnimplementedTenantRegistryServer must be embedded to have forward compatible implementations.
func (UnimplementedTenantRegistryServer) CreateTenant ¶
func (UnimplementedTenantRegistryServer) CreateTenant(context.Context, *CreateTenantRequest) (*CreateTenantResponse, error)
func (UnimplementedTenantRegistryServer) DeleteTenant ¶
func (UnimplementedTenantRegistryServer) DeleteTenant(context.Context, *TenantRequest) (*emptypb.Empty, error)
func (UnimplementedTenantRegistryServer) GetTenant ¶
func (UnimplementedTenantRegistryServer) GetTenant(context.Context, *TenantRequest) (*GetTenantResponse, error)
func (UnimplementedTenantRegistryServer) ListTenants ¶
func (UnimplementedTenantRegistryServer) ListTenants(context.Context, *ListTenantsRequest) (*ListTenantsResponse, error)
func (UnimplementedTenantRegistryServer) UpdateTenant ¶
func (UnimplementedTenantRegistryServer) UpdateTenant(context.Context, *UpdateTenantRequest) (*emptypb.Empty, error)
func (UnimplementedTenantRegistryServer) UpdateTenantListed ¶ added in v1.7.0
func (UnimplementedTenantRegistryServer) UpdateTenantListed(context.Context, *UpdateTenantListedRequest) (*emptypb.Empty, error)
type UnsafeAPIKeyVaultServer ¶
type UnsafeAPIKeyVaultServer interface {
// contains filtered or unexported methods
}
UnsafeAPIKeyVaultServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to APIKeyVaultServer will result in compilation errors.
type UnsafeNetworkRegistryServer ¶
type UnsafeNetworkRegistryServer interface {
// contains filtered or unexported methods
}
UnsafeNetworkRegistryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NetworkRegistryServer will result in compilation errors.
type UnsafeTenantRegistryServer ¶
type UnsafeTenantRegistryServer interface {
// contains filtered or unexported methods
}
UnsafeTenantRegistryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TenantRegistryServer will result in compilation errors.
type UpdateNetworkListedRequest ¶ added in v1.7.0
type UpdateNetworkListedRequest struct { NetId uint32 `protobuf:"varint,1,opt,name=net_id,json=netId,proto3" json:"net_id,omitempty"` // Indicates whether the network is listed in the catalog. Listed bool `protobuf:"varint,2,opt,name=listed,proto3" json:"listed,omitempty"` // contains filtered or unexported fields }
func (*UpdateNetworkListedRequest) Descriptor
deprecated
added in
v1.7.0
func (*UpdateNetworkListedRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNetworkListedRequest.ProtoReflect.Descriptor instead.
func (*UpdateNetworkListedRequest) GetListed ¶ added in v1.7.0
func (x *UpdateNetworkListedRequest) GetListed() bool
func (*UpdateNetworkListedRequest) GetNetId ¶ added in v1.7.0
func (x *UpdateNetworkListedRequest) GetNetId() uint32
func (*UpdateNetworkListedRequest) ProtoMessage ¶ added in v1.7.0
func (*UpdateNetworkListedRequest) ProtoMessage()
func (*UpdateNetworkListedRequest) ProtoReflect ¶ added in v1.7.0
func (x *UpdateNetworkListedRequest) ProtoReflect() protoreflect.Message
func (*UpdateNetworkListedRequest) Reset ¶ added in v1.7.0
func (x *UpdateNetworkListedRequest) Reset()
func (*UpdateNetworkListedRequest) String ¶ added in v1.7.0
func (x *UpdateNetworkListedRequest) String() string
func (*UpdateNetworkListedRequest) Validate ¶ added in v1.8.0
func (r *UpdateNetworkListedRequest) Validate() error
Validate returns whether the request is valid.
type UpdateNetworkRequest ¶
type UpdateNetworkRequest struct { // LoRa Alliance NetID of the Member. NetId uint32 `protobuf:"varint,1,opt,name=net_id,json=netId,proto3" json:"net_id,omitempty"` // Name of the tenant. // This field gets updated when a value is set. Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // DevAddr blocks of the tenant. // This field gets updated when a value is set. DevAddrBlocks *DevAddrBlocksValue `protobuf:"bytes,3,opt,name=dev_addr_blocks,json=devAddrBlocks,proto3" json:"dev_addr_blocks,omitempty"` // Administrative contact. // This field gets updated when a value is set. AdministrativeContact *v3.ContactInfoValue `protobuf:"bytes,4,opt,name=administrative_contact,json=administrativeContact,proto3" json:"administrative_contact,omitempty"` // Technical contact. // This field gets updated when a value is set. TechnicalContact *v3.ContactInfoValue `protobuf:"bytes,5,opt,name=technical_contact,json=technicalContact,proto3" json:"technical_contact,omitempty"` // Indicates whether the network is listed in the catalog. // This field gets updated when a value is set. Listed *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=listed,proto3" json:"listed,omitempty"` // Target information. // This field gets updated when a value is set. Target *TargetValue `protobuf:"bytes,7,opt,name=target,proto3" json:"target,omitempty"` DelegatedNetId *UpdateNetworkRequest_DelegatedNetID `protobuf:"bytes,8,opt,name=delegated_net_id,json=delegatedNetId,proto3" json:"delegated_net_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateNetworkRequest) Descriptor
deprecated
func (*UpdateNetworkRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNetworkRequest.ProtoReflect.Descriptor instead.
func (*UpdateNetworkRequest) GetAdministrativeContact ¶
func (x *UpdateNetworkRequest) GetAdministrativeContact() *v3.ContactInfoValue
func (*UpdateNetworkRequest) GetDelegatedNetId ¶ added in v1.6.0
func (x *UpdateNetworkRequest) GetDelegatedNetId() *UpdateNetworkRequest_DelegatedNetID
func (*UpdateNetworkRequest) GetDevAddrBlocks ¶
func (x *UpdateNetworkRequest) GetDevAddrBlocks() *DevAddrBlocksValue
func (*UpdateNetworkRequest) GetListed ¶ added in v1.2.1
func (x *UpdateNetworkRequest) GetListed() *wrapperspb.BoolValue
func (*UpdateNetworkRequest) GetName ¶
func (x *UpdateNetworkRequest) GetName() *wrapperspb.StringValue
func (*UpdateNetworkRequest) GetNetId ¶
func (x *UpdateNetworkRequest) GetNetId() uint32
func (*UpdateNetworkRequest) GetTarget ¶ added in v1.3.0
func (x *UpdateNetworkRequest) GetTarget() *TargetValue
func (*UpdateNetworkRequest) GetTechnicalContact ¶
func (x *UpdateNetworkRequest) GetTechnicalContact() *v3.ContactInfoValue
func (*UpdateNetworkRequest) ProtoMessage ¶
func (*UpdateNetworkRequest) ProtoMessage()
func (*UpdateNetworkRequest) ProtoReflect ¶
func (x *UpdateNetworkRequest) ProtoReflect() protoreflect.Message
func (*UpdateNetworkRequest) Reset ¶
func (x *UpdateNetworkRequest) Reset()
func (*UpdateNetworkRequest) String ¶
func (x *UpdateNetworkRequest) String() string
func (*UpdateNetworkRequest) Validate ¶ added in v1.3.0
func (r *UpdateNetworkRequest) Validate() error
Validate returns whether the request is valid.
type UpdateNetworkRequest_DelegatedNetID ¶ added in v1.6.0
type UpdateNetworkRequest_DelegatedNetID struct { Value *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
Delegated network. This field gets updated when a value is set.
func (*UpdateNetworkRequest_DelegatedNetID) Descriptor
deprecated
added in
v1.6.0
func (*UpdateNetworkRequest_DelegatedNetID) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNetworkRequest_DelegatedNetID.ProtoReflect.Descriptor instead.
func (*UpdateNetworkRequest_DelegatedNetID) GetValue ¶ added in v1.6.0
func (x *UpdateNetworkRequest_DelegatedNetID) GetValue() *wrapperspb.UInt32Value
func (*UpdateNetworkRequest_DelegatedNetID) ProtoMessage ¶ added in v1.6.0
func (*UpdateNetworkRequest_DelegatedNetID) ProtoMessage()
func (*UpdateNetworkRequest_DelegatedNetID) ProtoReflect ¶ added in v1.6.0
func (x *UpdateNetworkRequest_DelegatedNetID) ProtoReflect() protoreflect.Message
func (*UpdateNetworkRequest_DelegatedNetID) Reset ¶ added in v1.6.0
func (x *UpdateNetworkRequest_DelegatedNetID) Reset()
func (*UpdateNetworkRequest_DelegatedNetID) String ¶ added in v1.6.0
func (x *UpdateNetworkRequest_DelegatedNetID) String() string
type UpdateTenantListedRequest ¶ added in v1.7.0
type UpdateTenantListedRequest struct { // LoRa Alliance NetID of the Member. NetId uint32 `protobuf:"varint,1,opt,name=net_id,json=netId,proto3" json:"net_id,omitempty"` // ID assigned by the Member. TenantId string `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` // Indicates whether the tenant is listed in the catalog. Listed bool `protobuf:"varint,3,opt,name=listed,proto3" json:"listed,omitempty"` // contains filtered or unexported fields }
func (*UpdateTenantListedRequest) Descriptor
deprecated
added in
v1.7.0
func (*UpdateTenantListedRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTenantListedRequest.ProtoReflect.Descriptor instead.
func (*UpdateTenantListedRequest) GetListed ¶ added in v1.7.0
func (x *UpdateTenantListedRequest) GetListed() bool
func (*UpdateTenantListedRequest) GetNetId ¶ added in v1.7.0
func (x *UpdateTenantListedRequest) GetNetId() uint32
func (*UpdateTenantListedRequest) GetTenantId ¶ added in v1.7.0
func (x *UpdateTenantListedRequest) GetTenantId() string
func (*UpdateTenantListedRequest) ProtoMessage ¶ added in v1.7.0
func (*UpdateTenantListedRequest) ProtoMessage()
func (*UpdateTenantListedRequest) ProtoReflect ¶ added in v1.7.0
func (x *UpdateTenantListedRequest) ProtoReflect() protoreflect.Message
func (*UpdateTenantListedRequest) Reset ¶ added in v1.7.0
func (x *UpdateTenantListedRequest) Reset()
func (*UpdateTenantListedRequest) String ¶ added in v1.7.0
func (x *UpdateTenantListedRequest) String() string
func (*UpdateTenantListedRequest) Validate ¶ added in v1.8.0
func (r *UpdateTenantListedRequest) Validate() error
Validate returns whether the request is valid.
type UpdateTenantRequest ¶
type UpdateTenantRequest struct { // LoRa Alliance NetID of the Member. NetId uint32 `protobuf:"varint,1,opt,name=net_id,json=netId,proto3" json:"net_id,omitempty"` // ID assigned by the Member. TenantId string `protobuf:"bytes,2,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` // Name of the tenant. // This field gets updated when a value is set. Name *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // DevAddr blocks of the tenant. // This field gets updated when a value is set. DevAddrBlocks *DevAddrBlocksValue `protobuf:"bytes,4,opt,name=dev_addr_blocks,json=devAddrBlocks,proto3" json:"dev_addr_blocks,omitempty"` // Administrative contact. // This field gets updated when a value is set. AdministrativeContact *v3.ContactInfoValue `protobuf:"bytes,5,opt,name=administrative_contact,json=administrativeContact,proto3" json:"administrative_contact,omitempty"` // Technical contact. // This field gets updated when a value is set. TechnicalContact *v3.ContactInfoValue `protobuf:"bytes,6,opt,name=technical_contact,json=technicalContact,proto3" json:"technical_contact,omitempty"` // Indicates whether the tenant is listed in the catalog. // This field gets updated when a value is set. Listed *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=listed,proto3" json:"listed,omitempty"` // Target information. // This field gets updated when a value is set. Target *TargetValue `protobuf:"bytes,8,opt,name=target,proto3" json:"target,omitempty"` // contains filtered or unexported fields }
func (*UpdateTenantRequest) Descriptor
deprecated
func (*UpdateTenantRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTenantRequest.ProtoReflect.Descriptor instead.
func (*UpdateTenantRequest) GetAdministrativeContact ¶
func (x *UpdateTenantRequest) GetAdministrativeContact() *v3.ContactInfoValue
func (*UpdateTenantRequest) GetDevAddrBlocks ¶
func (x *UpdateTenantRequest) GetDevAddrBlocks() *DevAddrBlocksValue
func (*UpdateTenantRequest) GetListed ¶ added in v1.2.1
func (x *UpdateTenantRequest) GetListed() *wrapperspb.BoolValue
func (*UpdateTenantRequest) GetName ¶
func (x *UpdateTenantRequest) GetName() *wrapperspb.StringValue
func (*UpdateTenantRequest) GetNetId ¶
func (x *UpdateTenantRequest) GetNetId() uint32
func (*UpdateTenantRequest) GetTarget ¶ added in v1.3.0
func (x *UpdateTenantRequest) GetTarget() *TargetValue
func (*UpdateTenantRequest) GetTechnicalContact ¶
func (x *UpdateTenantRequest) GetTechnicalContact() *v3.ContactInfoValue
func (*UpdateTenantRequest) GetTenantId ¶
func (x *UpdateTenantRequest) GetTenantId() string
func (*UpdateTenantRequest) ProtoMessage ¶
func (*UpdateTenantRequest) ProtoMessage()
func (*UpdateTenantRequest) ProtoReflect ¶
func (x *UpdateTenantRequest) ProtoReflect() protoreflect.Message
func (*UpdateTenantRequest) Reset ¶
func (x *UpdateTenantRequest) Reset()
func (*UpdateTenantRequest) String ¶
func (x *UpdateTenantRequest) String() string
func (*UpdateTenantRequest) Validate ¶
func (r *UpdateTenantRequest) Validate() error
Validate returns whether the request is valid.