Documentation ¶
Overview ¶
Package gen is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterNnsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterNnsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client NnsClient) error
- func RegisterNnsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterNnsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server NnsServer) error
- func RegisterNnsServer(s grpc.ServiceRegistrar, srv NnsServer)
- type DeleteNodeIPRequest
- func (*DeleteNodeIPRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNodeIPRequest) GetNodeId() string
- func (*DeleteNodeIPRequest) ProtoMessage()
- func (x *DeleteNodeIPRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNodeIPRequest) Reset()
- func (x *DeleteNodeIPRequest) String() string
- func (this *DeleteNodeIPRequest) Validate() error
- type DeleteNodeIPResponse
- func (*DeleteNodeIPResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteNodeIPResponse) ProtoMessage()
- func (x *DeleteNodeIPResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteNodeIPResponse) Reset()
- func (x *DeleteNodeIPResponse) String() string
- func (this *DeleteNodeIPResponse) Validate() error
- type GetMeshIPRequest
- func (*GetMeshIPRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMeshIPRequest) GetNodeId() string
- func (*GetMeshIPRequest) ProtoMessage()
- func (x *GetMeshIPRequest) ProtoReflect() protoreflect.Message
- func (x *GetMeshIPRequest) Reset()
- func (x *GetMeshIPRequest) String() string
- func (this *GetMeshIPRequest) Validate() error
- type GetMeshIPResponse
- func (*GetMeshIPResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMeshIPResponse) GetIp() string
- func (x *GetMeshIPResponse) GetPort() int32
- func (*GetMeshIPResponse) ProtoMessage()
- func (x *GetMeshIPResponse) ProtoReflect() protoreflect.Message
- func (x *GetMeshIPResponse) Reset()
- func (x *GetMeshIPResponse) String() string
- func (this *GetMeshIPResponse) Validate() error
- type GetNodeIPRequest
- func (*GetNodeIPRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeIPRequest) GetNodeId() string
- func (*GetNodeIPRequest) ProtoMessage()
- func (x *GetNodeIPRequest) ProtoReflect() protoreflect.Message
- func (x *GetNodeIPRequest) Reset()
- func (x *GetNodeIPRequest) String() string
- func (this *GetNodeIPRequest) Validate() error
- type GetNodeIPResponse
- func (*GetNodeIPResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeIPResponse) GetIp() string
- func (*GetNodeIPResponse) ProtoMessage()
- func (x *GetNodeIPResponse) ProtoReflect() protoreflect.Message
- func (x *GetNodeIPResponse) Reset()
- func (x *GetNodeIPResponse) String() string
- func (this *GetNodeIPResponse) Validate() error
- type ListNodeIPRequest
- type ListNodeIPResponse
- func (*ListNodeIPResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListNodeIPResponse) GetIps() []string
- func (*ListNodeIPResponse) ProtoMessage()
- func (x *ListNodeIPResponse) ProtoReflect() protoreflect.Message
- func (x *ListNodeIPResponse) Reset()
- func (x *ListNodeIPResponse) String() string
- func (this *ListNodeIPResponse) Validate() error
- type NnsClient
- type NnsServer
- type NodeIPMap
- func (*NodeIPMap) Descriptor() ([]byte, []int)deprecated
- func (x *NodeIPMap) GetNodeId() string
- func (x *NodeIPMap) GetNodeIp() string
- func (*NodeIPMap) ProtoMessage()
- func (x *NodeIPMap) ProtoReflect() protoreflect.Message
- func (x *NodeIPMap) Reset()
- func (x *NodeIPMap) String() string
- func (this *NodeIPMap) Validate() error
- type NodeIPMapListRequest
- func (*NodeIPMapListRequest) Descriptor() ([]byte, []int)deprecated
- func (*NodeIPMapListRequest) ProtoMessage()
- func (x *NodeIPMapListRequest) ProtoReflect() protoreflect.Message
- func (x *NodeIPMapListRequest) Reset()
- func (x *NodeIPMapListRequest) String() string
- func (this *NodeIPMapListRequest) Validate() error
- type NodeIPMapListResponse
- func (*NodeIPMapListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NodeIPMapListResponse) GetMap() []*NodeIPMap
- func (*NodeIPMapListResponse) ProtoMessage()
- func (x *NodeIPMapListResponse) ProtoReflect() protoreflect.Message
- func (x *NodeIPMapListResponse) Reset()
- func (x *NodeIPMapListResponse) String() string
- func (this *NodeIPMapListResponse) Validate() error
- type NodeOrgMap
- func (*NodeOrgMap) Descriptor() ([]byte, []int)deprecated
- func (x *NodeOrgMap) GetDomainname() string
- func (x *NodeOrgMap) GetMeshHostName() string
- func (x *NodeOrgMap) GetMeshPort() int32
- func (x *NodeOrgMap) GetNetwork() string
- func (x *NodeOrgMap) GetNodeId() string
- func (x *NodeOrgMap) GetNodeIp() string
- func (x *NodeOrgMap) GetNodePort() int32
- func (x *NodeOrgMap) GetOrg() string
- func (x *NodeOrgMap) GetSite() string
- func (*NodeOrgMap) ProtoMessage()
- func (x *NodeOrgMap) ProtoReflect() protoreflect.Message
- func (x *NodeOrgMap) Reset()
- func (x *NodeOrgMap) String() string
- func (this *NodeOrgMap) Validate() error
- type NodeOrgMapListRequest
- func (*NodeOrgMapListRequest) Descriptor() ([]byte, []int)deprecated
- func (*NodeOrgMapListRequest) ProtoMessage()
- func (x *NodeOrgMapListRequest) ProtoReflect() protoreflect.Message
- func (x *NodeOrgMapListRequest) Reset()
- func (x *NodeOrgMapListRequest) String() string
- func (this *NodeOrgMapListRequest) Validate() error
- type NodeOrgMapListResponse
- func (*NodeOrgMapListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *NodeOrgMapListResponse) GetMap() []*NodeOrgMap
- func (*NodeOrgMapListResponse) ProtoMessage()
- func (x *NodeOrgMapListResponse) ProtoReflect() protoreflect.Message
- func (x *NodeOrgMapListResponse) Reset()
- func (x *NodeOrgMapListResponse) String() string
- func (this *NodeOrgMapListResponse) Validate() error
- type SetNodeIPRequest
- func (*SetNodeIPRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetNodeIPRequest) GetMeshHostName() string
- func (x *SetNodeIPRequest) GetMeshIp() string
- func (x *SetNodeIPRequest) GetMeshPort() int32
- func (x *SetNodeIPRequest) GetNetwork() string
- func (x *SetNodeIPRequest) GetNodeId() string
- func (x *SetNodeIPRequest) GetNodeIp() string
- func (x *SetNodeIPRequest) GetNodePort() int32
- func (x *SetNodeIPRequest) GetOrg() string
- func (x *SetNodeIPRequest) GetSite() string
- func (*SetNodeIPRequest) ProtoMessage()
- func (x *SetNodeIPRequest) ProtoReflect() protoreflect.Message
- func (x *SetNodeIPRequest) Reset()
- func (x *SetNodeIPRequest) String() string
- func (this *SetNodeIPRequest) Validate() error
- type SetNodeIPResponse
- type UnimplementedNnsServer
- func (UnimplementedNnsServer) Delete(context.Context, *DeleteNodeIPRequest) (*DeleteNodeIPResponse, error)
- func (UnimplementedNnsServer) Get(context.Context, *GetNodeIPRequest) (*GetNodeIPResponse, error)
- func (UnimplementedNnsServer) GetMesh(context.Context, *GetMeshIPRequest) (*GetMeshIPResponse, error)
- func (UnimplementedNnsServer) GetNodeIPMapList(context.Context, *NodeIPMapListRequest) (*NodeIPMapListResponse, error)
- func (UnimplementedNnsServer) GetNodeOrgMapList(context.Context, *NodeOrgMapListRequest) (*NodeOrgMapListResponse, error)
- func (UnimplementedNnsServer) List(context.Context, *ListNodeIPRequest) (*ListNodeIPResponse, error)
- func (UnimplementedNnsServer) Set(context.Context, *SetNodeIPRequest) (*SetNodeIPResponse, error)
- type UnsafeNnsServer
Constants ¶
const ( Nns_Get_FullMethodName = "/ukama.messaging.nns.v1.Nns/Get" Nns_Set_FullMethodName = "/ukama.messaging.nns.v1.Nns/Set" Nns_List_FullMethodName = "/ukama.messaging.nns.v1.Nns/List" Nns_Delete_FullMethodName = "/ukama.messaging.nns.v1.Nns/Delete" Nns_GetNodeOrgMapList_FullMethodName = "/ukama.messaging.nns.v1.Nns/GetNodeOrgMapList" Nns_GetNodeIPMapList_FullMethodName = "/ukama.messaging.nns.v1.Nns/GetNodeIPMapList" Nns_GetMesh_FullMethodName = "/ukama.messaging.nns.v1.Nns/GetMesh" )
Variables ¶
var File_nns_proto protoreflect.FileDescriptor
var Nns_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ukama.messaging.nns.v1.Nns", HandlerType: (*NnsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Get", Handler: _Nns_Get_Handler, }, { MethodName: "Set", Handler: _Nns_Set_Handler, }, { MethodName: "List", Handler: _Nns_List_Handler, }, { MethodName: "Delete", Handler: _Nns_Delete_Handler, }, { MethodName: "GetNodeOrgMapList", Handler: _Nns_GetNodeOrgMapList_Handler, }, { MethodName: "GetNodeIPMapList", Handler: _Nns_GetNodeIPMapList_Handler, }, { MethodName: "GetMesh", Handler: _Nns_GetMesh_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "nns.proto", }
Nns_ServiceDesc is the grpc.ServiceDesc for Nns service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterNnsHandler ¶
RegisterNnsHandler registers the http handlers for service Nns to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterNnsHandlerClient ¶
RegisterNnsHandlerClient registers the http handlers for service Nns to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "NnsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "NnsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "NnsClient" to call the correct interceptors.
func RegisterNnsHandlerFromEndpoint ¶
func RegisterNnsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterNnsHandlerFromEndpoint is same as RegisterNnsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterNnsHandlerServer ¶
RegisterNnsHandlerServer registers the http handlers for service Nns to "mux". UnaryRPC :call NnsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterNnsHandlerFromEndpoint instead.
func RegisterNnsServer ¶
func RegisterNnsServer(s grpc.ServiceRegistrar, srv NnsServer)
Types ¶
type DeleteNodeIPRequest ¶
type DeleteNodeIPRequest struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // contains filtered or unexported fields }
func (*DeleteNodeIPRequest) Descriptor
deprecated
func (*DeleteNodeIPRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNodeIPRequest.ProtoReflect.Descriptor instead.
func (*DeleteNodeIPRequest) GetNodeId ¶
func (x *DeleteNodeIPRequest) GetNodeId() string
func (*DeleteNodeIPRequest) ProtoMessage ¶
func (*DeleteNodeIPRequest) ProtoMessage()
func (*DeleteNodeIPRequest) ProtoReflect ¶
func (x *DeleteNodeIPRequest) ProtoReflect() protoreflect.Message
func (*DeleteNodeIPRequest) Reset ¶
func (x *DeleteNodeIPRequest) Reset()
func (*DeleteNodeIPRequest) String ¶
func (x *DeleteNodeIPRequest) String() string
func (*DeleteNodeIPRequest) Validate ¶
func (this *DeleteNodeIPRequest) Validate() error
type DeleteNodeIPResponse ¶
type DeleteNodeIPResponse struct {
// contains filtered or unexported fields
}
func (*DeleteNodeIPResponse) Descriptor
deprecated
func (*DeleteNodeIPResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNodeIPResponse.ProtoReflect.Descriptor instead.
func (*DeleteNodeIPResponse) ProtoMessage ¶
func (*DeleteNodeIPResponse) ProtoMessage()
func (*DeleteNodeIPResponse) ProtoReflect ¶
func (x *DeleteNodeIPResponse) ProtoReflect() protoreflect.Message
func (*DeleteNodeIPResponse) Reset ¶
func (x *DeleteNodeIPResponse) Reset()
func (*DeleteNodeIPResponse) String ¶
func (x *DeleteNodeIPResponse) String() string
func (*DeleteNodeIPResponse) Validate ¶
func (this *DeleteNodeIPResponse) Validate() error
type GetMeshIPRequest ¶
type GetMeshIPRequest struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // contains filtered or unexported fields }
func (*GetMeshIPRequest) Descriptor
deprecated
func (*GetMeshIPRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMeshIPRequest.ProtoReflect.Descriptor instead.
func (*GetMeshIPRequest) GetNodeId ¶
func (x *GetMeshIPRequest) GetNodeId() string
func (*GetMeshIPRequest) ProtoMessage ¶
func (*GetMeshIPRequest) ProtoMessage()
func (*GetMeshIPRequest) ProtoReflect ¶
func (x *GetMeshIPRequest) ProtoReflect() protoreflect.Message
func (*GetMeshIPRequest) Reset ¶
func (x *GetMeshIPRequest) Reset()
func (*GetMeshIPRequest) String ¶
func (x *GetMeshIPRequest) String() string
func (*GetMeshIPRequest) Validate ¶
func (this *GetMeshIPRequest) Validate() error
type GetMeshIPResponse ¶
type GetMeshIPResponse struct { Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
func (*GetMeshIPResponse) Descriptor
deprecated
func (*GetMeshIPResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMeshIPResponse.ProtoReflect.Descriptor instead.
func (*GetMeshIPResponse) GetIp ¶
func (x *GetMeshIPResponse) GetIp() string
func (*GetMeshIPResponse) GetPort ¶
func (x *GetMeshIPResponse) GetPort() int32
func (*GetMeshIPResponse) ProtoMessage ¶
func (*GetMeshIPResponse) ProtoMessage()
func (*GetMeshIPResponse) ProtoReflect ¶
func (x *GetMeshIPResponse) ProtoReflect() protoreflect.Message
func (*GetMeshIPResponse) Reset ¶
func (x *GetMeshIPResponse) Reset()
func (*GetMeshIPResponse) String ¶
func (x *GetMeshIPResponse) String() string
func (*GetMeshIPResponse) Validate ¶
func (this *GetMeshIPResponse) Validate() error
type GetNodeIPRequest ¶
type GetNodeIPRequest struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` // contains filtered or unexported fields }
func (*GetNodeIPRequest) Descriptor
deprecated
func (*GetNodeIPRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeIPRequest.ProtoReflect.Descriptor instead.
func (*GetNodeIPRequest) GetNodeId ¶
func (x *GetNodeIPRequest) GetNodeId() string
func (*GetNodeIPRequest) ProtoMessage ¶
func (*GetNodeIPRequest) ProtoMessage()
func (*GetNodeIPRequest) ProtoReflect ¶
func (x *GetNodeIPRequest) ProtoReflect() protoreflect.Message
func (*GetNodeIPRequest) Reset ¶
func (x *GetNodeIPRequest) Reset()
func (*GetNodeIPRequest) String ¶
func (x *GetNodeIPRequest) String() string
func (*GetNodeIPRequest) Validate ¶
func (this *GetNodeIPRequest) Validate() error
type GetNodeIPResponse ¶
type GetNodeIPResponse struct { Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"` // contains filtered or unexported fields }
func (*GetNodeIPResponse) Descriptor
deprecated
func (*GetNodeIPResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeIPResponse.ProtoReflect.Descriptor instead.
func (*GetNodeIPResponse) GetIp ¶
func (x *GetNodeIPResponse) GetIp() string
func (*GetNodeIPResponse) ProtoMessage ¶
func (*GetNodeIPResponse) ProtoMessage()
func (*GetNodeIPResponse) ProtoReflect ¶
func (x *GetNodeIPResponse) ProtoReflect() protoreflect.Message
func (*GetNodeIPResponse) Reset ¶
func (x *GetNodeIPResponse) Reset()
func (*GetNodeIPResponse) String ¶
func (x *GetNodeIPResponse) String() string
func (*GetNodeIPResponse) Validate ¶
func (this *GetNodeIPResponse) Validate() error
type ListNodeIPRequest ¶
type ListNodeIPRequest struct {
// contains filtered or unexported fields
}
func (*ListNodeIPRequest) Descriptor
deprecated
func (*ListNodeIPRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListNodeIPRequest.ProtoReflect.Descriptor instead.
func (*ListNodeIPRequest) ProtoMessage ¶
func (*ListNodeIPRequest) ProtoMessage()
func (*ListNodeIPRequest) ProtoReflect ¶
func (x *ListNodeIPRequest) ProtoReflect() protoreflect.Message
func (*ListNodeIPRequest) Reset ¶
func (x *ListNodeIPRequest) Reset()
func (*ListNodeIPRequest) String ¶
func (x *ListNodeIPRequest) String() string
func (*ListNodeIPRequest) Validate ¶
func (this *ListNodeIPRequest) Validate() error
type ListNodeIPResponse ¶
type ListNodeIPResponse struct { Ips []string `protobuf:"bytes,1,rep,name=ips,proto3" json:"ips,omitempty"` // contains filtered or unexported fields }
func (*ListNodeIPResponse) Descriptor
deprecated
func (*ListNodeIPResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListNodeIPResponse.ProtoReflect.Descriptor instead.
func (*ListNodeIPResponse) GetIps ¶
func (x *ListNodeIPResponse) GetIps() []string
func (*ListNodeIPResponse) ProtoMessage ¶
func (*ListNodeIPResponse) ProtoMessage()
func (*ListNodeIPResponse) ProtoReflect ¶
func (x *ListNodeIPResponse) ProtoReflect() protoreflect.Message
func (*ListNodeIPResponse) Reset ¶
func (x *ListNodeIPResponse) Reset()
func (*ListNodeIPResponse) String ¶
func (x *ListNodeIPResponse) String() string
func (*ListNodeIPResponse) Validate ¶
func (this *ListNodeIPResponse) Validate() error
type NnsClient ¶
type NnsClient interface { Get(ctx context.Context, in *GetNodeIPRequest, opts ...grpc.CallOption) (*GetNodeIPResponse, error) Set(ctx context.Context, in *SetNodeIPRequest, opts ...grpc.CallOption) (*SetNodeIPResponse, error) List(ctx context.Context, in *ListNodeIPRequest, opts ...grpc.CallOption) (*ListNodeIPResponse, error) Delete(ctx context.Context, in *DeleteNodeIPRequest, opts ...grpc.CallOption) (*DeleteNodeIPResponse, error) GetNodeOrgMapList(ctx context.Context, in *NodeOrgMapListRequest, opts ...grpc.CallOption) (*NodeOrgMapListResponse, error) GetNodeIPMapList(ctx context.Context, in *NodeIPMapListRequest, opts ...grpc.CallOption) (*NodeIPMapListResponse, error) GetMesh(ctx context.Context, in *GetMeshIPRequest, opts ...grpc.CallOption) (*GetMeshIPResponse, error) }
NnsClient is the client API for Nns 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 NewNnsClient ¶
func NewNnsClient(cc grpc.ClientConnInterface) NnsClient
type NnsServer ¶
type NnsServer interface { Get(context.Context, *GetNodeIPRequest) (*GetNodeIPResponse, error) Set(context.Context, *SetNodeIPRequest) (*SetNodeIPResponse, error) List(context.Context, *ListNodeIPRequest) (*ListNodeIPResponse, error) Delete(context.Context, *DeleteNodeIPRequest) (*DeleteNodeIPResponse, error) GetNodeOrgMapList(context.Context, *NodeOrgMapListRequest) (*NodeOrgMapListResponse, error) GetNodeIPMapList(context.Context, *NodeIPMapListRequest) (*NodeIPMapListResponse, error) GetMesh(context.Context, *GetMeshIPRequest) (*GetMeshIPResponse, error) // contains filtered or unexported methods }
NnsServer is the server API for Nns service. All implementations must embed UnimplementedNnsServer for forward compatibility
type NodeIPMap ¶
type NodeIPMap struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` NodeIp string `protobuf:"bytes,2,opt,name=nodeIp,proto3" json:"nodeIp,omitempty"` // contains filtered or unexported fields }
func (*NodeIPMap) Descriptor
deprecated
func (*NodeIPMap) ProtoMessage ¶
func (*NodeIPMap) ProtoMessage()
func (*NodeIPMap) ProtoReflect ¶
func (x *NodeIPMap) ProtoReflect() protoreflect.Message
type NodeIPMapListRequest ¶
type NodeIPMapListRequest struct {
// contains filtered or unexported fields
}
func (*NodeIPMapListRequest) Descriptor
deprecated
func (*NodeIPMapListRequest) Descriptor() ([]byte, []int)
Deprecated: Use NodeIPMapListRequest.ProtoReflect.Descriptor instead.
func (*NodeIPMapListRequest) ProtoMessage ¶
func (*NodeIPMapListRequest) ProtoMessage()
func (*NodeIPMapListRequest) ProtoReflect ¶
func (x *NodeIPMapListRequest) ProtoReflect() protoreflect.Message
func (*NodeIPMapListRequest) Reset ¶
func (x *NodeIPMapListRequest) Reset()
func (*NodeIPMapListRequest) String ¶
func (x *NodeIPMapListRequest) String() string
func (*NodeIPMapListRequest) Validate ¶
func (this *NodeIPMapListRequest) Validate() error
type NodeIPMapListResponse ¶
type NodeIPMapListResponse struct { Map []*NodeIPMap `protobuf:"bytes,1,rep,name=map,proto3" json:"map,omitempty"` // contains filtered or unexported fields }
func (*NodeIPMapListResponse) Descriptor
deprecated
func (*NodeIPMapListResponse) Descriptor() ([]byte, []int)
Deprecated: Use NodeIPMapListResponse.ProtoReflect.Descriptor instead.
func (*NodeIPMapListResponse) GetMap ¶
func (x *NodeIPMapListResponse) GetMap() []*NodeIPMap
func (*NodeIPMapListResponse) ProtoMessage ¶
func (*NodeIPMapListResponse) ProtoMessage()
func (*NodeIPMapListResponse) ProtoReflect ¶
func (x *NodeIPMapListResponse) ProtoReflect() protoreflect.Message
func (*NodeIPMapListResponse) Reset ¶
func (x *NodeIPMapListResponse) Reset()
func (*NodeIPMapListResponse) String ¶
func (x *NodeIPMapListResponse) String() string
func (*NodeIPMapListResponse) Validate ¶
func (this *NodeIPMapListResponse) Validate() error
type NodeOrgMap ¶
type NodeOrgMap struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` NodeIp string `protobuf:"bytes,2,opt,name=nodeIp,proto3" json:"nodeIp,omitempty"` NodePort int32 `protobuf:"varint,3,opt,name=nodePort,proto3" json:"nodePort,omitempty"` MeshPort int32 `protobuf:"varint,4,opt,name=meshPort,proto3" json:"meshPort,omitempty"` Org string `protobuf:"bytes,5,opt,name=org,proto3" json:"org,omitempty"` Network string `protobuf:"bytes,6,opt,name=network,proto3" json:"network,omitempty"` Site string `protobuf:"bytes,7,opt,name=site,proto3" json:"site,omitempty"` Domainname string `protobuf:"bytes,8,opt,name=domainname,proto3" json:"domainname,omitempty"` MeshHostName string `protobuf:"bytes,9,opt,name=meshHostName,proto3" json:"meshHostName,omitempty"` // contains filtered or unexported fields }
func (*NodeOrgMap) Descriptor
deprecated
func (*NodeOrgMap) Descriptor() ([]byte, []int)
Deprecated: Use NodeOrgMap.ProtoReflect.Descriptor instead.
func (*NodeOrgMap) GetDomainname ¶
func (x *NodeOrgMap) GetDomainname() string
func (*NodeOrgMap) GetMeshHostName ¶
func (x *NodeOrgMap) GetMeshHostName() string
func (*NodeOrgMap) GetMeshPort ¶
func (x *NodeOrgMap) GetMeshPort() int32
func (*NodeOrgMap) GetNetwork ¶
func (x *NodeOrgMap) GetNetwork() string
func (*NodeOrgMap) GetNodeId ¶
func (x *NodeOrgMap) GetNodeId() string
func (*NodeOrgMap) GetNodeIp ¶
func (x *NodeOrgMap) GetNodeIp() string
func (*NodeOrgMap) GetNodePort ¶
func (x *NodeOrgMap) GetNodePort() int32
func (*NodeOrgMap) GetOrg ¶
func (x *NodeOrgMap) GetOrg() string
func (*NodeOrgMap) GetSite ¶
func (x *NodeOrgMap) GetSite() string
func (*NodeOrgMap) ProtoMessage ¶
func (*NodeOrgMap) ProtoMessage()
func (*NodeOrgMap) ProtoReflect ¶
func (x *NodeOrgMap) ProtoReflect() protoreflect.Message
func (*NodeOrgMap) Reset ¶
func (x *NodeOrgMap) Reset()
func (*NodeOrgMap) String ¶
func (x *NodeOrgMap) String() string
func (*NodeOrgMap) Validate ¶
func (this *NodeOrgMap) Validate() error
type NodeOrgMapListRequest ¶
type NodeOrgMapListRequest struct {
// contains filtered or unexported fields
}
func (*NodeOrgMapListRequest) Descriptor
deprecated
func (*NodeOrgMapListRequest) Descriptor() ([]byte, []int)
Deprecated: Use NodeOrgMapListRequest.ProtoReflect.Descriptor instead.
func (*NodeOrgMapListRequest) ProtoMessage ¶
func (*NodeOrgMapListRequest) ProtoMessage()
func (*NodeOrgMapListRequest) ProtoReflect ¶
func (x *NodeOrgMapListRequest) ProtoReflect() protoreflect.Message
func (*NodeOrgMapListRequest) Reset ¶
func (x *NodeOrgMapListRequest) Reset()
func (*NodeOrgMapListRequest) String ¶
func (x *NodeOrgMapListRequest) String() string
func (*NodeOrgMapListRequest) Validate ¶
func (this *NodeOrgMapListRequest) Validate() error
type NodeOrgMapListResponse ¶
type NodeOrgMapListResponse struct { Map []*NodeOrgMap `protobuf:"bytes,1,rep,name=map,proto3" json:"map,omitempty"` // contains filtered or unexported fields }
func (*NodeOrgMapListResponse) Descriptor
deprecated
func (*NodeOrgMapListResponse) Descriptor() ([]byte, []int)
Deprecated: Use NodeOrgMapListResponse.ProtoReflect.Descriptor instead.
func (*NodeOrgMapListResponse) GetMap ¶
func (x *NodeOrgMapListResponse) GetMap() []*NodeOrgMap
func (*NodeOrgMapListResponse) ProtoMessage ¶
func (*NodeOrgMapListResponse) ProtoMessage()
func (*NodeOrgMapListResponse) ProtoReflect ¶
func (x *NodeOrgMapListResponse) ProtoReflect() protoreflect.Message
func (*NodeOrgMapListResponse) Reset ¶
func (x *NodeOrgMapListResponse) Reset()
func (*NodeOrgMapListResponse) String ¶
func (x *NodeOrgMapListResponse) String() string
func (*NodeOrgMapListResponse) Validate ¶
func (this *NodeOrgMapListResponse) Validate() error
type SetNodeIPRequest ¶
type SetNodeIPRequest struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` NodeIp string `protobuf:"bytes,2,opt,name=nodeIp,proto3" json:"nodeIp,omitempty"` MeshIp string `protobuf:"bytes,3,opt,name=meshIp,proto3" json:"meshIp,omitempty"` NodePort int32 `protobuf:"varint,4,opt,name=nodePort,proto3" json:"nodePort,omitempty"` MeshPort int32 `protobuf:"varint,5,opt,name=meshPort,proto3" json:"meshPort,omitempty"` Org string `protobuf:"bytes,6,opt,name=org,proto3" json:"org,omitempty"` Network string `protobuf:"bytes,7,opt,name=network,proto3" json:"network,omitempty"` Site string `protobuf:"bytes,8,opt,name=site,proto3" json:"site,omitempty"` MeshHostName string `protobuf:"bytes,9,opt,name=meshHostName,proto3" json:"meshHostName,omitempty"` // contains filtered or unexported fields }
func (*SetNodeIPRequest) Descriptor
deprecated
func (*SetNodeIPRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetNodeIPRequest.ProtoReflect.Descriptor instead.
func (*SetNodeIPRequest) GetMeshHostName ¶
func (x *SetNodeIPRequest) GetMeshHostName() string
func (*SetNodeIPRequest) GetMeshIp ¶
func (x *SetNodeIPRequest) GetMeshIp() string
func (*SetNodeIPRequest) GetMeshPort ¶
func (x *SetNodeIPRequest) GetMeshPort() int32
func (*SetNodeIPRequest) GetNetwork ¶
func (x *SetNodeIPRequest) GetNetwork() string
func (*SetNodeIPRequest) GetNodeId ¶
func (x *SetNodeIPRequest) GetNodeId() string
func (*SetNodeIPRequest) GetNodeIp ¶
func (x *SetNodeIPRequest) GetNodeIp() string
func (*SetNodeIPRequest) GetNodePort ¶
func (x *SetNodeIPRequest) GetNodePort() int32
func (*SetNodeIPRequest) GetOrg ¶
func (x *SetNodeIPRequest) GetOrg() string
func (*SetNodeIPRequest) GetSite ¶
func (x *SetNodeIPRequest) GetSite() string
func (*SetNodeIPRequest) ProtoMessage ¶
func (*SetNodeIPRequest) ProtoMessage()
func (*SetNodeIPRequest) ProtoReflect ¶
func (x *SetNodeIPRequest) ProtoReflect() protoreflect.Message
func (*SetNodeIPRequest) Reset ¶
func (x *SetNodeIPRequest) Reset()
func (*SetNodeIPRequest) String ¶
func (x *SetNodeIPRequest) String() string
func (*SetNodeIPRequest) Validate ¶
func (this *SetNodeIPRequest) Validate() error
type SetNodeIPResponse ¶
type SetNodeIPResponse struct {
// contains filtered or unexported fields
}
func (*SetNodeIPResponse) Descriptor
deprecated
func (*SetNodeIPResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetNodeIPResponse.ProtoReflect.Descriptor instead.
func (*SetNodeIPResponse) ProtoMessage ¶
func (*SetNodeIPResponse) ProtoMessage()
func (*SetNodeIPResponse) ProtoReflect ¶
func (x *SetNodeIPResponse) ProtoReflect() protoreflect.Message
func (*SetNodeIPResponse) Reset ¶
func (x *SetNodeIPResponse) Reset()
func (*SetNodeIPResponse) String ¶
func (x *SetNodeIPResponse) String() string
func (*SetNodeIPResponse) Validate ¶
func (this *SetNodeIPResponse) Validate() error
type UnimplementedNnsServer ¶
type UnimplementedNnsServer struct { }
UnimplementedNnsServer must be embedded to have forward compatible implementations.
func (UnimplementedNnsServer) Delete ¶
func (UnimplementedNnsServer) Delete(context.Context, *DeleteNodeIPRequest) (*DeleteNodeIPResponse, error)
func (UnimplementedNnsServer) Get ¶
func (UnimplementedNnsServer) Get(context.Context, *GetNodeIPRequest) (*GetNodeIPResponse, error)
func (UnimplementedNnsServer) GetMesh ¶
func (UnimplementedNnsServer) GetMesh(context.Context, *GetMeshIPRequest) (*GetMeshIPResponse, error)
func (UnimplementedNnsServer) GetNodeIPMapList ¶
func (UnimplementedNnsServer) GetNodeIPMapList(context.Context, *NodeIPMapListRequest) (*NodeIPMapListResponse, error)
func (UnimplementedNnsServer) GetNodeOrgMapList ¶
func (UnimplementedNnsServer) GetNodeOrgMapList(context.Context, *NodeOrgMapListRequest) (*NodeOrgMapListResponse, error)
func (UnimplementedNnsServer) List ¶
func (UnimplementedNnsServer) List(context.Context, *ListNodeIPRequest) (*ListNodeIPResponse, error)
func (UnimplementedNnsServer) Set ¶
func (UnimplementedNnsServer) Set(context.Context, *SetNodeIPRequest) (*SetNodeIPResponse, error)
type UnsafeNnsServer ¶
type UnsafeNnsServer interface {
// contains filtered or unexported methods
}
UnsafeNnsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NnsServer will result in compilation errors.