Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterNodeServiceServer(s grpc.ServiceRegistrar, srv NodeServiceServer)
- type AddNodeRequest
- func (*AddNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddNodeRequest) GetName() string
- func (x *AddNodeRequest) GetNodeId() string
- func (x *AddNodeRequest) GetOrgId() string
- func (*AddNodeRequest) ProtoMessage()
- func (x *AddNodeRequest) ProtoReflect() protoreflect.Message
- func (x *AddNodeRequest) Reset()
- func (x *AddNodeRequest) String() string
- func (this *AddNodeRequest) Validate() error
- type AddNodeResponse
- func (*AddNodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddNodeResponse) GetNode() *Node
- func (*AddNodeResponse) ProtoMessage()
- func (x *AddNodeResponse) ProtoReflect() protoreflect.Message
- func (x *AddNodeResponse) Reset()
- func (x *AddNodeResponse) String() string
- func (this *AddNodeResponse) Validate() error
- type AddNodeToSiteRequest
- func (*AddNodeToSiteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddNodeToSiteRequest) GetNetworkId() string
- func (x *AddNodeToSiteRequest) GetNodeId() string
- func (x *AddNodeToSiteRequest) GetSiteId() string
- func (*AddNodeToSiteRequest) ProtoMessage()
- func (x *AddNodeToSiteRequest) ProtoReflect() protoreflect.Message
- func (x *AddNodeToSiteRequest) Reset()
- func (x *AddNodeToSiteRequest) String() string
- func (this *AddNodeToSiteRequest) Validate() error
- type AddNodeToSiteResponse
- func (*AddNodeToSiteResponse) Descriptor() ([]byte, []int)deprecated
- func (*AddNodeToSiteResponse) ProtoMessage()
- func (x *AddNodeToSiteResponse) ProtoReflect() protoreflect.Message
- func (x *AddNodeToSiteResponse) Reset()
- func (x *AddNodeToSiteResponse) String() string
- func (this *AddNodeToSiteResponse) Validate() error
- type AttachNodesRequest
- func (*AttachNodesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AttachNodesRequest) GetAttachedNodes() []string
- func (x *AttachNodesRequest) GetNodeId() string
- func (*AttachNodesRequest) ProtoMessage()
- func (x *AttachNodesRequest) ProtoReflect() protoreflect.Message
- func (x *AttachNodesRequest) Reset()
- func (x *AttachNodesRequest) String() string
- func (this *AttachNodesRequest) Validate() error
- type AttachNodesResponse
- func (*AttachNodesResponse) Descriptor() ([]byte, []int)deprecated
- func (*AttachNodesResponse) ProtoMessage()
- func (x *AttachNodesResponse) ProtoReflect() protoreflect.Message
- func (x *AttachNodesResponse) Reset()
- func (x *AttachNodesResponse) String() string
- func (this *AttachNodesResponse) Validate() error
- type DeleteNodeRequest
- func (*DeleteNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteNodeRequest) GetNodeId() string
- func (*DeleteNodeRequest) ProtoMessage()
- func (x *DeleteNodeRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteNodeRequest) Reset()
- func (x *DeleteNodeRequest) String() string
- func (this *DeleteNodeRequest) Validate() error
- type DeleteNodeResponse
- func (*DeleteNodeResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteNodeResponse) ProtoMessage()
- func (x *DeleteNodeResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteNodeResponse) Reset()
- func (x *DeleteNodeResponse) String() string
- func (this *DeleteNodeResponse) Validate() error
- type DetachNodeRequest
- func (*DetachNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DetachNodeRequest) GetNodeId() string
- func (*DetachNodeRequest) ProtoMessage()
- func (x *DetachNodeRequest) ProtoReflect() protoreflect.Message
- func (x *DetachNodeRequest) Reset()
- func (x *DetachNodeRequest) String() string
- func (this *DetachNodeRequest) Validate() error
- type DetachNodeResponse
- func (*DetachNodeResponse) Descriptor() ([]byte, []int)deprecated
- func (*DetachNodeResponse) ProtoMessage()
- func (x *DetachNodeResponse) ProtoReflect() protoreflect.Message
- func (x *DetachNodeResponse) Reset()
- func (x *DetachNodeResponse) String() string
- func (this *DetachNodeResponse) Validate() error
- type GetByNetworkRequest
- func (*GetByNetworkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetByNetworkRequest) GetNetworkId() string
- func (*GetByNetworkRequest) ProtoMessage()
- func (x *GetByNetworkRequest) ProtoReflect() protoreflect.Message
- func (x *GetByNetworkRequest) Reset()
- func (x *GetByNetworkRequest) String() string
- func (this *GetByNetworkRequest) Validate() error
- type GetByNetworkResponse
- func (*GetByNetworkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetByNetworkResponse) GetNetworkId() string
- func (x *GetByNetworkResponse) GetNodes() []*Node
- func (*GetByNetworkResponse) ProtoMessage()
- func (x *GetByNetworkResponse) ProtoReflect() protoreflect.Message
- func (x *GetByNetworkResponse) Reset()
- func (x *GetByNetworkResponse) String() string
- func (this *GetByNetworkResponse) Validate() error
- type GetByOrgRequest
- func (*GetByOrgRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetByOrgRequest) GetFree() bool
- func (x *GetByOrgRequest) GetOrgId() string
- func (*GetByOrgRequest) ProtoMessage()
- func (x *GetByOrgRequest) ProtoReflect() protoreflect.Message
- func (x *GetByOrgRequest) Reset()
- func (x *GetByOrgRequest) String() string
- func (this *GetByOrgRequest) Validate() error
- type GetByOrgResponse
- func (*GetByOrgResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetByOrgResponse) GetNodes() []*Node
- func (x *GetByOrgResponse) GetOrgId() string
- func (*GetByOrgResponse) ProtoMessage()
- func (x *GetByOrgResponse) ProtoReflect() protoreflect.Message
- func (x *GetByOrgResponse) Reset()
- func (x *GetByOrgResponse) String() string
- func (this *GetByOrgResponse) Validate() error
- type GetBySiteRequest
- func (*GetBySiteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBySiteRequest) GetSiteId() string
- func (*GetBySiteRequest) ProtoMessage()
- func (x *GetBySiteRequest) ProtoReflect() protoreflect.Message
- func (x *GetBySiteRequest) Reset()
- func (x *GetBySiteRequest) String() string
- func (this *GetBySiteRequest) Validate() error
- type GetBySiteResponse
- func (*GetBySiteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBySiteResponse) GetNodes() []*Node
- func (x *GetBySiteResponse) GetSiteId() string
- func (*GetBySiteResponse) ProtoMessage()
- func (x *GetBySiteResponse) ProtoReflect() protoreflect.Message
- func (x *GetBySiteResponse) Reset()
- func (x *GetBySiteResponse) String() string
- func (this *GetBySiteResponse) Validate() error
- type GetNodeRequest
- func (*GetNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeRequest) GetNodeId() string
- func (*GetNodeRequest) ProtoMessage()
- func (x *GetNodeRequest) ProtoReflect() protoreflect.Message
- func (x *GetNodeRequest) Reset()
- func (x *GetNodeRequest) String() string
- func (this *GetNodeRequest) Validate() error
- type GetNodeResponse
- func (*GetNodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodeResponse) GetNode() *Node
- func (*GetNodeResponse) ProtoMessage()
- func (x *GetNodeResponse) ProtoReflect() protoreflect.Message
- func (x *GetNodeResponse) Reset()
- func (x *GetNodeResponse) String() string
- func (this *GetNodeResponse) Validate() error
- type GetNodesRequest
- func (*GetNodesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodesRequest) GetFree() bool
- func (*GetNodesRequest) ProtoMessage()
- func (x *GetNodesRequest) ProtoReflect() protoreflect.Message
- func (x *GetNodesRequest) Reset()
- func (x *GetNodesRequest) String() string
- func (this *GetNodesRequest) Validate() error
- type GetNodesResponse
- func (*GetNodesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNodesResponse) GetNodes() []*Node
- func (*GetNodesResponse) ProtoMessage()
- func (x *GetNodesResponse) ProtoReflect() protoreflect.Message
- func (x *GetNodesResponse) Reset()
- func (x *GetNodesResponse) String() string
- func (this *GetNodesResponse) Validate() error
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetAttached() []*Node
- func (x *Node) GetCreatedAt() *timestamppb.Timestamp
- func (x *Node) GetId() string
- func (x *Node) GetName() string
- func (x *Node) GetOrgId() string
- func (x *Node) GetSite() *Site
- func (x *Node) GetStatus() *NodeStatus
- func (x *Node) GetType() string
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- func (this *Node) Validate() error
- type NodeServiceClient
- type NodeServiceServer
- type NodeStatus
- func (*NodeStatus) Descriptor() ([]byte, []int)deprecated
- func (x *NodeStatus) GetConnectivity() string
- func (x *NodeStatus) GetState() string
- func (*NodeStatus) ProtoMessage()
- func (x *NodeStatus) ProtoReflect() protoreflect.Message
- func (x *NodeStatus) Reset()
- func (x *NodeStatus) String() string
- func (this *NodeStatus) Validate() error
- type ReleaseNodeFromSiteRequest
- func (*ReleaseNodeFromSiteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReleaseNodeFromSiteRequest) GetNodeId() string
- func (*ReleaseNodeFromSiteRequest) ProtoMessage()
- func (x *ReleaseNodeFromSiteRequest) ProtoReflect() protoreflect.Message
- func (x *ReleaseNodeFromSiteRequest) Reset()
- func (x *ReleaseNodeFromSiteRequest) String() string
- func (this *ReleaseNodeFromSiteRequest) Validate() error
- type ReleaseNodeFromSiteResponse
- func (*ReleaseNodeFromSiteResponse) Descriptor() ([]byte, []int)deprecated
- func (*ReleaseNodeFromSiteResponse) ProtoMessage()
- func (x *ReleaseNodeFromSiteResponse) ProtoReflect() protoreflect.Message
- func (x *ReleaseNodeFromSiteResponse) Reset()
- func (x *ReleaseNodeFromSiteResponse) String() string
- func (this *ReleaseNodeFromSiteResponse) Validate() error
- type Site
- func (*Site) Descriptor() ([]byte, []int)deprecated
- func (x *Site) GetAddedAt() *timestamppb.Timestamp
- func (x *Site) GetNetworkId() string
- func (x *Site) GetNodeId() string
- func (x *Site) GetSiteId() string
- func (*Site) ProtoMessage()
- func (x *Site) ProtoReflect() protoreflect.Message
- func (x *Site) Reset()
- func (x *Site) String() string
- func (this *Site) Validate() error
- type UnimplementedNodeServiceServer
- func (UnimplementedNodeServiceServer) AddNode(context.Context, *AddNodeRequest) (*AddNodeResponse, error)
- func (UnimplementedNodeServiceServer) AddNodeToSite(context.Context, *AddNodeToSiteRequest) (*AddNodeToSiteResponse, error)
- func (UnimplementedNodeServiceServer) AttachNodes(context.Context, *AttachNodesRequest) (*AttachNodesResponse, error)
- func (UnimplementedNodeServiceServer) DeleteNode(context.Context, *DeleteNodeRequest) (*DeleteNodeResponse, error)
- func (UnimplementedNodeServiceServer) DetachNode(context.Context, *DetachNodeRequest) (*DetachNodeResponse, error)
- func (UnimplementedNodeServiceServer) GetNode(context.Context, *GetNodeRequest) (*GetNodeResponse, error)
- func (UnimplementedNodeServiceServer) GetNodes(context.Context, *GetNodesRequest) (*GetNodesResponse, error)
- func (UnimplementedNodeServiceServer) GetNodesForNetwork(context.Context, *GetByNetworkRequest) (*GetByNetworkResponse, error)
- func (UnimplementedNodeServiceServer) GetNodesForOrg(context.Context, *GetByOrgRequest) (*GetByOrgResponse, error)
- func (UnimplementedNodeServiceServer) GetNodesForSite(context.Context, *GetBySiteRequest) (*GetBySiteResponse, error)
- func (UnimplementedNodeServiceServer) ReleaseNodeFromSite(context.Context, *ReleaseNodeFromSiteRequest) (*ReleaseNodeFromSiteResponse, error)
- func (UnimplementedNodeServiceServer) UpdateNode(context.Context, *UpdateNodeRequest) (*UpdateNodeResponse, error)
- func (UnimplementedNodeServiceServer) UpdateNodeState(context.Context, *UpdateNodeStateRequest) (*UpdateNodeResponse, error)
- type UnsafeNodeServiceServer
- type UpdateNodeRequest
- func (*UpdateNodeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNodeRequest) GetName() string
- func (x *UpdateNodeRequest) GetNodeId() string
- func (*UpdateNodeRequest) ProtoMessage()
- func (x *UpdateNodeRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNodeRequest) Reset()
- func (x *UpdateNodeRequest) String() string
- func (this *UpdateNodeRequest) Validate() error
- type UpdateNodeResponse
- func (*UpdateNodeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNodeResponse) GetNode() *Node
- func (*UpdateNodeResponse) ProtoMessage()
- func (x *UpdateNodeResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateNodeResponse) Reset()
- func (x *UpdateNodeResponse) String() string
- func (this *UpdateNodeResponse) Validate() error
- type UpdateNodeStateRequest
- func (*UpdateNodeStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateNodeStateRequest) GetConnectivity() string
- func (x *UpdateNodeStateRequest) GetNodeId() string
- func (x *UpdateNodeStateRequest) GetState() string
- func (*UpdateNodeStateRequest) ProtoMessage()
- func (x *UpdateNodeStateRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateNodeStateRequest) Reset()
- func (x *UpdateNodeStateRequest) String() string
- func (this *UpdateNodeStateRequest) Validate() error
Constants ¶
const ( NodeService_AddNode_FullMethodName = "/ukama.registry.node.v1.NodeService/AddNode" NodeService_GetNode_FullMethodName = "/ukama.registry.node.v1.NodeService/GetNode" NodeService_GetNodesForSite_FullMethodName = "/ukama.registry.node.v1.NodeService/GetNodesForSite" NodeService_GetNodesForNetwork_FullMethodName = "/ukama.registry.node.v1.NodeService/GetNodesForNetwork" NodeService_GetNodesForOrg_FullMethodName = "/ukama.registry.node.v1.NodeService/GetNodesForOrg" NodeService_GetNodes_FullMethodName = "/ukama.registry.node.v1.NodeService/GetNodes" NodeService_UpdateNodeState_FullMethodName = "/ukama.registry.node.v1.NodeService/UpdateNodeState" NodeService_UpdateNode_FullMethodName = "/ukama.registry.node.v1.NodeService/UpdateNode" NodeService_DeleteNode_FullMethodName = "/ukama.registry.node.v1.NodeService/DeleteNode" NodeService_AttachNodes_FullMethodName = "/ukama.registry.node.v1.NodeService/AttachNodes" NodeService_DetachNode_FullMethodName = "/ukama.registry.node.v1.NodeService/DetachNode" NodeService_AddNodeToSite_FullMethodName = "/ukama.registry.node.v1.NodeService/AddNodeToSite" NodeService_ReleaseNodeFromSite_FullMethodName = "/ukama.registry.node.v1.NodeService/ReleaseNodeFromSite" )
Variables ¶
var File_node_proto protoreflect.FileDescriptor
var NodeService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ukama.registry.node.v1.NodeService", HandlerType: (*NodeServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddNode", Handler: _NodeService_AddNode_Handler, }, { MethodName: "GetNode", Handler: _NodeService_GetNode_Handler, }, { MethodName: "GetNodesForSite", Handler: _NodeService_GetNodesForSite_Handler, }, { MethodName: "GetNodesForNetwork", Handler: _NodeService_GetNodesForNetwork_Handler, }, { MethodName: "GetNodesForOrg", Handler: _NodeService_GetNodesForOrg_Handler, }, { MethodName: "GetNodes", Handler: _NodeService_GetNodes_Handler, }, { MethodName: "UpdateNodeState", Handler: _NodeService_UpdateNodeState_Handler, }, { MethodName: "UpdateNode", Handler: _NodeService_UpdateNode_Handler, }, { MethodName: "DeleteNode", Handler: _NodeService_DeleteNode_Handler, }, { MethodName: "AttachNodes", Handler: _NodeService_AttachNodes_Handler, }, { MethodName: "DetachNode", Handler: _NodeService_DetachNode_Handler, }, { MethodName: "AddNodeToSite", Handler: _NodeService_AddNodeToSite_Handler, }, { MethodName: "ReleaseNodeFromSite", Handler: _NodeService_ReleaseNodeFromSite_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "node.proto", }
NodeService_ServiceDesc is the grpc.ServiceDesc for NodeService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterNodeServiceServer ¶
func RegisterNodeServiceServer(s grpc.ServiceRegistrar, srv NodeServiceServer)
Types ¶
type AddNodeRequest ¶
type AddNodeRequest struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` OrgId string `protobuf:"bytes,2,opt,name=orgId,json=org_id,proto3" json:"orgId,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*AddNodeRequest) Descriptor
deprecated
func (*AddNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddNodeRequest.ProtoReflect.Descriptor instead.
func (*AddNodeRequest) GetName ¶
func (x *AddNodeRequest) GetName() string
func (*AddNodeRequest) GetNodeId ¶
func (x *AddNodeRequest) GetNodeId() string
func (*AddNodeRequest) GetOrgId ¶
func (x *AddNodeRequest) GetOrgId() string
func (*AddNodeRequest) ProtoMessage ¶
func (*AddNodeRequest) ProtoMessage()
func (*AddNodeRequest) ProtoReflect ¶
func (x *AddNodeRequest) ProtoReflect() protoreflect.Message
func (*AddNodeRequest) Reset ¶
func (x *AddNodeRequest) Reset()
func (*AddNodeRequest) String ¶
func (x *AddNodeRequest) String() string
func (*AddNodeRequest) Validate ¶
func (this *AddNodeRequest) Validate() error
type AddNodeResponse ¶
type AddNodeResponse struct { Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` // contains filtered or unexported fields }
func (*AddNodeResponse) Descriptor
deprecated
func (*AddNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddNodeResponse.ProtoReflect.Descriptor instead.
func (*AddNodeResponse) GetNode ¶
func (x *AddNodeResponse) GetNode() *Node
func (*AddNodeResponse) ProtoMessage ¶
func (*AddNodeResponse) ProtoMessage()
func (*AddNodeResponse) ProtoReflect ¶
func (x *AddNodeResponse) ProtoReflect() protoreflect.Message
func (*AddNodeResponse) Reset ¶
func (x *AddNodeResponse) Reset()
func (*AddNodeResponse) String ¶
func (x *AddNodeResponse) String() string
func (*AddNodeResponse) Validate ¶
func (this *AddNodeResponse) Validate() error
type AddNodeToSiteRequest ¶
type AddNodeToSiteRequest struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,json=node_id,proto3" json:"nodeId,omitempty"` NetworkId string `protobuf:"bytes,2,opt,name=networkId,proto3" json:"networkId,omitempty"` SiteId string `protobuf:"bytes,3,opt,name=siteId,proto3" json:"siteId,omitempty"` // contains filtered or unexported fields }
func (*AddNodeToSiteRequest) Descriptor
deprecated
func (*AddNodeToSiteRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddNodeToSiteRequest.ProtoReflect.Descriptor instead.
func (*AddNodeToSiteRequest) GetNetworkId ¶
func (x *AddNodeToSiteRequest) GetNetworkId() string
func (*AddNodeToSiteRequest) GetNodeId ¶
func (x *AddNodeToSiteRequest) GetNodeId() string
func (*AddNodeToSiteRequest) GetSiteId ¶
func (x *AddNodeToSiteRequest) GetSiteId() string
func (*AddNodeToSiteRequest) ProtoMessage ¶
func (*AddNodeToSiteRequest) ProtoMessage()
func (*AddNodeToSiteRequest) ProtoReflect ¶
func (x *AddNodeToSiteRequest) ProtoReflect() protoreflect.Message
func (*AddNodeToSiteRequest) Reset ¶
func (x *AddNodeToSiteRequest) Reset()
func (*AddNodeToSiteRequest) String ¶
func (x *AddNodeToSiteRequest) String() string
func (*AddNodeToSiteRequest) Validate ¶
func (this *AddNodeToSiteRequest) Validate() error
type AddNodeToSiteResponse ¶
type AddNodeToSiteResponse struct {
// contains filtered or unexported fields
}
func (*AddNodeToSiteResponse) Descriptor
deprecated
func (*AddNodeToSiteResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddNodeToSiteResponse.ProtoReflect.Descriptor instead.
func (*AddNodeToSiteResponse) ProtoMessage ¶
func (*AddNodeToSiteResponse) ProtoMessage()
func (*AddNodeToSiteResponse) ProtoReflect ¶
func (x *AddNodeToSiteResponse) ProtoReflect() protoreflect.Message
func (*AddNodeToSiteResponse) Reset ¶
func (x *AddNodeToSiteResponse) Reset()
func (*AddNodeToSiteResponse) String ¶
func (x *AddNodeToSiteResponse) String() string
func (*AddNodeToSiteResponse) Validate ¶
func (this *AddNodeToSiteResponse) Validate() error
type AttachNodesRequest ¶
type AttachNodesRequest struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,json=node_id,proto3" json:"nodeId,omitempty"` AttachedNodes []string `protobuf:"bytes,2,rep,name=attachedNodes,proto3" json:"attachedNodes,omitempty"` // contains filtered or unexported fields }
func (*AttachNodesRequest) Descriptor
deprecated
func (*AttachNodesRequest) Descriptor() ([]byte, []int)
Deprecated: Use AttachNodesRequest.ProtoReflect.Descriptor instead.
func (*AttachNodesRequest) GetAttachedNodes ¶
func (x *AttachNodesRequest) GetAttachedNodes() []string
func (*AttachNodesRequest) GetNodeId ¶
func (x *AttachNodesRequest) GetNodeId() string
func (*AttachNodesRequest) ProtoMessage ¶
func (*AttachNodesRequest) ProtoMessage()
func (*AttachNodesRequest) ProtoReflect ¶
func (x *AttachNodesRequest) ProtoReflect() protoreflect.Message
func (*AttachNodesRequest) Reset ¶
func (x *AttachNodesRequest) Reset()
func (*AttachNodesRequest) String ¶
func (x *AttachNodesRequest) String() string
func (*AttachNodesRequest) Validate ¶
func (this *AttachNodesRequest) Validate() error
type AttachNodesResponse ¶
type AttachNodesResponse struct {
// contains filtered or unexported fields
}
func (*AttachNodesResponse) Descriptor
deprecated
func (*AttachNodesResponse) Descriptor() ([]byte, []int)
Deprecated: Use AttachNodesResponse.ProtoReflect.Descriptor instead.
func (*AttachNodesResponse) ProtoMessage ¶
func (*AttachNodesResponse) ProtoMessage()
func (*AttachNodesResponse) ProtoReflect ¶
func (x *AttachNodesResponse) ProtoReflect() protoreflect.Message
func (*AttachNodesResponse) Reset ¶
func (x *AttachNodesResponse) Reset()
func (*AttachNodesResponse) String ¶
func (x *AttachNodesResponse) String() string
func (*AttachNodesResponse) Validate ¶
func (this *AttachNodesResponse) Validate() error
type DeleteNodeRequest ¶
type DeleteNodeRequest struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,json=node_id,proto3" json:"nodeId,omitempty"` // contains filtered or unexported fields }
func (*DeleteNodeRequest) Descriptor
deprecated
func (*DeleteNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNodeRequest.ProtoReflect.Descriptor instead.
func (*DeleteNodeRequest) GetNodeId ¶
func (x *DeleteNodeRequest) GetNodeId() string
func (*DeleteNodeRequest) ProtoMessage ¶
func (*DeleteNodeRequest) ProtoMessage()
func (*DeleteNodeRequest) ProtoReflect ¶
func (x *DeleteNodeRequest) ProtoReflect() protoreflect.Message
func (*DeleteNodeRequest) Reset ¶
func (x *DeleteNodeRequest) Reset()
func (*DeleteNodeRequest) String ¶
func (x *DeleteNodeRequest) String() string
func (*DeleteNodeRequest) Validate ¶
func (this *DeleteNodeRequest) Validate() error
type DeleteNodeResponse ¶
type DeleteNodeResponse struct {
// contains filtered or unexported fields
}
func (*DeleteNodeResponse) Descriptor
deprecated
func (*DeleteNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteNodeResponse.ProtoReflect.Descriptor instead.
func (*DeleteNodeResponse) ProtoMessage ¶
func (*DeleteNodeResponse) ProtoMessage()
func (*DeleteNodeResponse) ProtoReflect ¶
func (x *DeleteNodeResponse) ProtoReflect() protoreflect.Message
func (*DeleteNodeResponse) Reset ¶
func (x *DeleteNodeResponse) Reset()
func (*DeleteNodeResponse) String ¶
func (x *DeleteNodeResponse) String() string
func (*DeleteNodeResponse) Validate ¶
func (this *DeleteNodeResponse) Validate() error
type DetachNodeRequest ¶
type DetachNodeRequest struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,json=node_id,proto3" json:"nodeId,omitempty"` // contains filtered or unexported fields }
func (*DetachNodeRequest) Descriptor
deprecated
func (*DetachNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DetachNodeRequest.ProtoReflect.Descriptor instead.
func (*DetachNodeRequest) GetNodeId ¶
func (x *DetachNodeRequest) GetNodeId() string
func (*DetachNodeRequest) ProtoMessage ¶
func (*DetachNodeRequest) ProtoMessage()
func (*DetachNodeRequest) ProtoReflect ¶
func (x *DetachNodeRequest) ProtoReflect() protoreflect.Message
func (*DetachNodeRequest) Reset ¶
func (x *DetachNodeRequest) Reset()
func (*DetachNodeRequest) String ¶
func (x *DetachNodeRequest) String() string
func (*DetachNodeRequest) Validate ¶
func (this *DetachNodeRequest) Validate() error
type DetachNodeResponse ¶
type DetachNodeResponse struct {
// contains filtered or unexported fields
}
func (*DetachNodeResponse) Descriptor
deprecated
func (*DetachNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use DetachNodeResponse.ProtoReflect.Descriptor instead.
func (*DetachNodeResponse) ProtoMessage ¶
func (*DetachNodeResponse) ProtoMessage()
func (*DetachNodeResponse) ProtoReflect ¶
func (x *DetachNodeResponse) ProtoReflect() protoreflect.Message
func (*DetachNodeResponse) Reset ¶
func (x *DetachNodeResponse) Reset()
func (*DetachNodeResponse) String ¶
func (x *DetachNodeResponse) String() string
func (*DetachNodeResponse) Validate ¶
func (this *DetachNodeResponse) Validate() error
type GetByNetworkRequest ¶
type GetByNetworkRequest struct { NetworkId string `protobuf:"bytes,1,opt,name=networkId,json=network_id,proto3" json:"networkId,omitempty"` // contains filtered or unexported fields }
func (*GetByNetworkRequest) Descriptor
deprecated
func (*GetByNetworkRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetByNetworkRequest.ProtoReflect.Descriptor instead.
func (*GetByNetworkRequest) GetNetworkId ¶
func (x *GetByNetworkRequest) GetNetworkId() string
func (*GetByNetworkRequest) ProtoMessage ¶
func (*GetByNetworkRequest) ProtoMessage()
func (*GetByNetworkRequest) ProtoReflect ¶
func (x *GetByNetworkRequest) ProtoReflect() protoreflect.Message
func (*GetByNetworkRequest) Reset ¶
func (x *GetByNetworkRequest) Reset()
func (*GetByNetworkRequest) String ¶
func (x *GetByNetworkRequest) String() string
func (*GetByNetworkRequest) Validate ¶
func (this *GetByNetworkRequest) Validate() error
type GetByNetworkResponse ¶
type GetByNetworkResponse struct { NetworkId string `protobuf:"bytes,1,opt,name=networkId,json=network_id,proto3" json:"networkId,omitempty"` Nodes []*Node `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
func (*GetByNetworkResponse) Descriptor
deprecated
func (*GetByNetworkResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetByNetworkResponse.ProtoReflect.Descriptor instead.
func (*GetByNetworkResponse) GetNetworkId ¶
func (x *GetByNetworkResponse) GetNetworkId() string
func (*GetByNetworkResponse) GetNodes ¶
func (x *GetByNetworkResponse) GetNodes() []*Node
func (*GetByNetworkResponse) ProtoMessage ¶
func (*GetByNetworkResponse) ProtoMessage()
func (*GetByNetworkResponse) ProtoReflect ¶
func (x *GetByNetworkResponse) ProtoReflect() protoreflect.Message
func (*GetByNetworkResponse) Reset ¶
func (x *GetByNetworkResponse) Reset()
func (*GetByNetworkResponse) String ¶
func (x *GetByNetworkResponse) String() string
func (*GetByNetworkResponse) Validate ¶
func (this *GetByNetworkResponse) Validate() error
type GetByOrgRequest ¶
type GetByOrgRequest struct { OrgId string `protobuf:"bytes,1,opt,name=orgId,json=org_id,proto3" json:"orgId,omitempty"` Free bool `protobuf:"varint,2,opt,name=free,proto3" json:"free,omitempty"` // contains filtered or unexported fields }
func (*GetByOrgRequest) Descriptor
deprecated
func (*GetByOrgRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetByOrgRequest.ProtoReflect.Descriptor instead.
func (*GetByOrgRequest) GetFree ¶
func (x *GetByOrgRequest) GetFree() bool
func (*GetByOrgRequest) GetOrgId ¶
func (x *GetByOrgRequest) GetOrgId() string
func (*GetByOrgRequest) ProtoMessage ¶
func (*GetByOrgRequest) ProtoMessage()
func (*GetByOrgRequest) ProtoReflect ¶
func (x *GetByOrgRequest) ProtoReflect() protoreflect.Message
func (*GetByOrgRequest) Reset ¶
func (x *GetByOrgRequest) Reset()
func (*GetByOrgRequest) String ¶
func (x *GetByOrgRequest) String() string
func (*GetByOrgRequest) Validate ¶
func (this *GetByOrgRequest) Validate() error
type GetByOrgResponse ¶
type GetByOrgResponse struct { OrgId string `protobuf:"bytes,1,opt,name=orgId,json=org_id,proto3" json:"orgId,omitempty"` Nodes []*Node `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
func (*GetByOrgResponse) Descriptor
deprecated
func (*GetByOrgResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetByOrgResponse.ProtoReflect.Descriptor instead.
func (*GetByOrgResponse) GetNodes ¶
func (x *GetByOrgResponse) GetNodes() []*Node
func (*GetByOrgResponse) GetOrgId ¶
func (x *GetByOrgResponse) GetOrgId() string
func (*GetByOrgResponse) ProtoMessage ¶
func (*GetByOrgResponse) ProtoMessage()
func (*GetByOrgResponse) ProtoReflect ¶
func (x *GetByOrgResponse) ProtoReflect() protoreflect.Message
func (*GetByOrgResponse) Reset ¶
func (x *GetByOrgResponse) Reset()
func (*GetByOrgResponse) String ¶
func (x *GetByOrgResponse) String() string
func (*GetByOrgResponse) Validate ¶
func (this *GetByOrgResponse) Validate() error
type GetBySiteRequest ¶
type GetBySiteRequest struct { SiteId string `protobuf:"bytes,1,opt,name=siteId,json=site_id,proto3" json:"siteId,omitempty"` // contains filtered or unexported fields }
func (*GetBySiteRequest) Descriptor
deprecated
func (*GetBySiteRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBySiteRequest.ProtoReflect.Descriptor instead.
func (*GetBySiteRequest) GetSiteId ¶
func (x *GetBySiteRequest) GetSiteId() string
func (*GetBySiteRequest) ProtoMessage ¶
func (*GetBySiteRequest) ProtoMessage()
func (*GetBySiteRequest) ProtoReflect ¶
func (x *GetBySiteRequest) ProtoReflect() protoreflect.Message
func (*GetBySiteRequest) Reset ¶
func (x *GetBySiteRequest) Reset()
func (*GetBySiteRequest) String ¶
func (x *GetBySiteRequest) String() string
func (*GetBySiteRequest) Validate ¶
func (this *GetBySiteRequest) Validate() error
type GetBySiteResponse ¶
type GetBySiteResponse struct { SiteId string `protobuf:"bytes,1,opt,name=siteId,json=site_id,proto3" json:"siteId,omitempty"` Nodes []*Node `protobuf:"bytes,2,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
func (*GetBySiteResponse) Descriptor
deprecated
func (*GetBySiteResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBySiteResponse.ProtoReflect.Descriptor instead.
func (*GetBySiteResponse) GetNodes ¶
func (x *GetBySiteResponse) GetNodes() []*Node
func (*GetBySiteResponse) GetSiteId ¶
func (x *GetBySiteResponse) GetSiteId() string
func (*GetBySiteResponse) ProtoMessage ¶
func (*GetBySiteResponse) ProtoMessage()
func (*GetBySiteResponse) ProtoReflect ¶
func (x *GetBySiteResponse) ProtoReflect() protoreflect.Message
func (*GetBySiteResponse) Reset ¶
func (x *GetBySiteResponse) Reset()
func (*GetBySiteResponse) String ¶
func (x *GetBySiteResponse) String() string
func (*GetBySiteResponse) Validate ¶
func (this *GetBySiteResponse) Validate() error
type GetNodeRequest ¶
type GetNodeRequest struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,json=node_id,proto3" json:"nodeId,omitempty"` // contains filtered or unexported fields }
func (*GetNodeRequest) Descriptor
deprecated
func (*GetNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeRequest.ProtoReflect.Descriptor instead.
func (*GetNodeRequest) GetNodeId ¶
func (x *GetNodeRequest) GetNodeId() string
func (*GetNodeRequest) ProtoMessage ¶
func (*GetNodeRequest) ProtoMessage()
func (*GetNodeRequest) ProtoReflect ¶
func (x *GetNodeRequest) ProtoReflect() protoreflect.Message
func (*GetNodeRequest) Reset ¶
func (x *GetNodeRequest) Reset()
func (*GetNodeRequest) String ¶
func (x *GetNodeRequest) String() string
func (*GetNodeRequest) Validate ¶
func (this *GetNodeRequest) Validate() error
type GetNodeResponse ¶
type GetNodeResponse struct { Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` // contains filtered or unexported fields }
func (*GetNodeResponse) Descriptor
deprecated
func (*GetNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNodeResponse.ProtoReflect.Descriptor instead.
func (*GetNodeResponse) GetNode ¶
func (x *GetNodeResponse) GetNode() *Node
func (*GetNodeResponse) ProtoMessage ¶
func (*GetNodeResponse) ProtoMessage()
func (*GetNodeResponse) ProtoReflect ¶
func (x *GetNodeResponse) ProtoReflect() protoreflect.Message
func (*GetNodeResponse) Reset ¶
func (x *GetNodeResponse) Reset()
func (*GetNodeResponse) String ¶
func (x *GetNodeResponse) String() string
func (*GetNodeResponse) Validate ¶
func (this *GetNodeResponse) Validate() error
type GetNodesRequest ¶
type GetNodesRequest struct { Free bool `protobuf:"varint,1,opt,name=free,proto3" json:"free,omitempty"` // contains filtered or unexported fields }
func (*GetNodesRequest) Descriptor
deprecated
func (*GetNodesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetNodesRequest.ProtoReflect.Descriptor instead.
func (*GetNodesRequest) GetFree ¶
func (x *GetNodesRequest) GetFree() bool
func (*GetNodesRequest) ProtoMessage ¶
func (*GetNodesRequest) ProtoMessage()
func (*GetNodesRequest) ProtoReflect ¶
func (x *GetNodesRequest) ProtoReflect() protoreflect.Message
func (*GetNodesRequest) Reset ¶
func (x *GetNodesRequest) Reset()
func (*GetNodesRequest) String ¶
func (x *GetNodesRequest) String() string
func (*GetNodesRequest) Validate ¶
func (this *GetNodesRequest) Validate() error
type GetNodesResponse ¶
type GetNodesResponse struct { Nodes []*Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty"` // contains filtered or unexported fields }
func (*GetNodesResponse) Descriptor
deprecated
func (*GetNodesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNodesResponse.ProtoReflect.Descriptor instead.
func (*GetNodesResponse) GetNodes ¶
func (x *GetNodesResponse) GetNodes() []*Node
func (*GetNodesResponse) ProtoMessage ¶
func (*GetNodesResponse) ProtoMessage()
func (*GetNodesResponse) ProtoReflect ¶
func (x *GetNodesResponse) ProtoReflect() protoreflect.Message
func (*GetNodesResponse) Reset ¶
func (x *GetNodesResponse) Reset()
func (*GetNodesResponse) String ¶
func (x *GetNodesResponse) String() string
func (*GetNodesResponse) Validate ¶
func (this *GetNodesResponse) Validate() error
type Node ¶
type Node struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` OrgId string `protobuf:"bytes,3,opt,name=orgId,json=org_id,proto3" json:"orgId,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` Status *NodeStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` Site *Site `protobuf:"bytes,6,opt,name=site,proto3" json:"site,omitempty"` Attached []*Node `protobuf:"bytes,7,rep,name=attached,proto3" json:"attached,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=createdAt,json=created_at,proto3" json:"createdAt,omitempty"` // contains filtered or unexported fields }
func (*Node) Descriptor
deprecated
func (*Node) GetAttached ¶
func (*Node) GetCreatedAt ¶
func (x *Node) GetCreatedAt() *timestamppb.Timestamp
func (*Node) GetStatus ¶
func (x *Node) GetStatus() *NodeStatus
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type NodeServiceClient ¶
type NodeServiceClient interface { AddNode(ctx context.Context, in *AddNodeRequest, opts ...grpc.CallOption) (*AddNodeResponse, error) GetNode(ctx context.Context, in *GetNodeRequest, opts ...grpc.CallOption) (*GetNodeResponse, error) GetNodesForSite(ctx context.Context, in *GetBySiteRequest, opts ...grpc.CallOption) (*GetBySiteResponse, error) GetNodesForNetwork(ctx context.Context, in *GetByNetworkRequest, opts ...grpc.CallOption) (*GetByNetworkResponse, error) GetNodesForOrg(ctx context.Context, in *GetByOrgRequest, opts ...grpc.CallOption) (*GetByOrgResponse, error) GetNodes(ctx context.Context, in *GetNodesRequest, opts ...grpc.CallOption) (*GetNodesResponse, error) UpdateNodeState(ctx context.Context, in *UpdateNodeStateRequest, opts ...grpc.CallOption) (*UpdateNodeResponse, error) UpdateNode(ctx context.Context, in *UpdateNodeRequest, opts ...grpc.CallOption) (*UpdateNodeResponse, error) DeleteNode(ctx context.Context, in *DeleteNodeRequest, opts ...grpc.CallOption) (*DeleteNodeResponse, error) AttachNodes(ctx context.Context, in *AttachNodesRequest, opts ...grpc.CallOption) (*AttachNodesResponse, error) DetachNode(ctx context.Context, in *DetachNodeRequest, opts ...grpc.CallOption) (*DetachNodeResponse, error) AddNodeToSite(ctx context.Context, in *AddNodeToSiteRequest, opts ...grpc.CallOption) (*AddNodeToSiteResponse, error) ReleaseNodeFromSite(ctx context.Context, in *ReleaseNodeFromSiteRequest, opts ...grpc.CallOption) (*ReleaseNodeFromSiteResponse, error) }
NodeServiceClient is the client API for NodeService 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 NewNodeServiceClient ¶
func NewNodeServiceClient(cc grpc.ClientConnInterface) NodeServiceClient
type NodeServiceServer ¶
type NodeServiceServer interface { AddNode(context.Context, *AddNodeRequest) (*AddNodeResponse, error) GetNode(context.Context, *GetNodeRequest) (*GetNodeResponse, error) GetNodesForSite(context.Context, *GetBySiteRequest) (*GetBySiteResponse, error) GetNodesForNetwork(context.Context, *GetByNetworkRequest) (*GetByNetworkResponse, error) GetNodesForOrg(context.Context, *GetByOrgRequest) (*GetByOrgResponse, error) GetNodes(context.Context, *GetNodesRequest) (*GetNodesResponse, error) UpdateNodeState(context.Context, *UpdateNodeStateRequest) (*UpdateNodeResponse, error) UpdateNode(context.Context, *UpdateNodeRequest) (*UpdateNodeResponse, error) DeleteNode(context.Context, *DeleteNodeRequest) (*DeleteNodeResponse, error) AttachNodes(context.Context, *AttachNodesRequest) (*AttachNodesResponse, error) DetachNode(context.Context, *DetachNodeRequest) (*DetachNodeResponse, error) AddNodeToSite(context.Context, *AddNodeToSiteRequest) (*AddNodeToSiteResponse, error) ReleaseNodeFromSite(context.Context, *ReleaseNodeFromSiteRequest) (*ReleaseNodeFromSiteResponse, error) // contains filtered or unexported methods }
NodeServiceServer is the server API for NodeService service. All implementations must embed UnimplementedNodeServiceServer for forward compatibility
type NodeStatus ¶
type NodeStatus struct { Connectivity string `protobuf:"bytes,1,opt,name=connectivity,proto3" json:"connectivity,omitempty"` State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*NodeStatus) Descriptor
deprecated
func (*NodeStatus) Descriptor() ([]byte, []int)
Deprecated: Use NodeStatus.ProtoReflect.Descriptor instead.
func (*NodeStatus) GetConnectivity ¶
func (x *NodeStatus) GetConnectivity() string
func (*NodeStatus) GetState ¶
func (x *NodeStatus) GetState() string
func (*NodeStatus) ProtoMessage ¶
func (*NodeStatus) ProtoMessage()
func (*NodeStatus) ProtoReflect ¶
func (x *NodeStatus) ProtoReflect() protoreflect.Message
func (*NodeStatus) Reset ¶
func (x *NodeStatus) Reset()
func (*NodeStatus) String ¶
func (x *NodeStatus) String() string
func (*NodeStatus) Validate ¶
func (this *NodeStatus) Validate() error
type ReleaseNodeFromSiteRequest ¶
type ReleaseNodeFromSiteRequest struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,json=node_id,proto3" json:"nodeId,omitempty"` // contains filtered or unexported fields }
func (*ReleaseNodeFromSiteRequest) Descriptor
deprecated
func (*ReleaseNodeFromSiteRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseNodeFromSiteRequest.ProtoReflect.Descriptor instead.
func (*ReleaseNodeFromSiteRequest) GetNodeId ¶
func (x *ReleaseNodeFromSiteRequest) GetNodeId() string
func (*ReleaseNodeFromSiteRequest) ProtoMessage ¶
func (*ReleaseNodeFromSiteRequest) ProtoMessage()
func (*ReleaseNodeFromSiteRequest) ProtoReflect ¶
func (x *ReleaseNodeFromSiteRequest) ProtoReflect() protoreflect.Message
func (*ReleaseNodeFromSiteRequest) Reset ¶
func (x *ReleaseNodeFromSiteRequest) Reset()
func (*ReleaseNodeFromSiteRequest) String ¶
func (x *ReleaseNodeFromSiteRequest) String() string
func (*ReleaseNodeFromSiteRequest) Validate ¶
func (this *ReleaseNodeFromSiteRequest) Validate() error
type ReleaseNodeFromSiteResponse ¶
type ReleaseNodeFromSiteResponse struct {
// contains filtered or unexported fields
}
func (*ReleaseNodeFromSiteResponse) Descriptor
deprecated
func (*ReleaseNodeFromSiteResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReleaseNodeFromSiteResponse.ProtoReflect.Descriptor instead.
func (*ReleaseNodeFromSiteResponse) ProtoMessage ¶
func (*ReleaseNodeFromSiteResponse) ProtoMessage()
func (*ReleaseNodeFromSiteResponse) ProtoReflect ¶
func (x *ReleaseNodeFromSiteResponse) ProtoReflect() protoreflect.Message
func (*ReleaseNodeFromSiteResponse) Reset ¶
func (x *ReleaseNodeFromSiteResponse) Reset()
func (*ReleaseNodeFromSiteResponse) String ¶
func (x *ReleaseNodeFromSiteResponse) String() string
func (*ReleaseNodeFromSiteResponse) Validate ¶
func (this *ReleaseNodeFromSiteResponse) Validate() error
type Site ¶
type Site struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,proto3" json:"nodeId,omitempty"` SiteId string `protobuf:"bytes,2,opt,name=siteId,json=site_id,proto3" json:"siteId,omitempty"` NetworkId string `protobuf:"bytes,3,opt,name=networkId,json=network_id,proto3" json:"networkId,omitempty"` AddedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=addedAt,json=added_at,proto3" json:"addedAt,omitempty"` // contains filtered or unexported fields }
func (*Site) Descriptor
deprecated
func (*Site) GetAddedAt ¶
func (x *Site) GetAddedAt() *timestamppb.Timestamp
func (*Site) GetNetworkId ¶
func (*Site) ProtoMessage ¶
func (*Site) ProtoMessage()
func (*Site) ProtoReflect ¶
func (x *Site) ProtoReflect() protoreflect.Message
type UnimplementedNodeServiceServer ¶
type UnimplementedNodeServiceServer struct { }
UnimplementedNodeServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedNodeServiceServer) AddNode ¶
func (UnimplementedNodeServiceServer) AddNode(context.Context, *AddNodeRequest) (*AddNodeResponse, error)
func (UnimplementedNodeServiceServer) AddNodeToSite ¶
func (UnimplementedNodeServiceServer) AddNodeToSite(context.Context, *AddNodeToSiteRequest) (*AddNodeToSiteResponse, error)
func (UnimplementedNodeServiceServer) AttachNodes ¶
func (UnimplementedNodeServiceServer) AttachNodes(context.Context, *AttachNodesRequest) (*AttachNodesResponse, error)
func (UnimplementedNodeServiceServer) DeleteNode ¶
func (UnimplementedNodeServiceServer) DeleteNode(context.Context, *DeleteNodeRequest) (*DeleteNodeResponse, error)
func (UnimplementedNodeServiceServer) DetachNode ¶
func (UnimplementedNodeServiceServer) DetachNode(context.Context, *DetachNodeRequest) (*DetachNodeResponse, error)
func (UnimplementedNodeServiceServer) GetNode ¶
func (UnimplementedNodeServiceServer) GetNode(context.Context, *GetNodeRequest) (*GetNodeResponse, error)
func (UnimplementedNodeServiceServer) GetNodes ¶
func (UnimplementedNodeServiceServer) GetNodes(context.Context, *GetNodesRequest) (*GetNodesResponse, error)
func (UnimplementedNodeServiceServer) GetNodesForNetwork ¶
func (UnimplementedNodeServiceServer) GetNodesForNetwork(context.Context, *GetByNetworkRequest) (*GetByNetworkResponse, error)
func (UnimplementedNodeServiceServer) GetNodesForOrg ¶
func (UnimplementedNodeServiceServer) GetNodesForOrg(context.Context, *GetByOrgRequest) (*GetByOrgResponse, error)
func (UnimplementedNodeServiceServer) GetNodesForSite ¶
func (UnimplementedNodeServiceServer) GetNodesForSite(context.Context, *GetBySiteRequest) (*GetBySiteResponse, error)
func (UnimplementedNodeServiceServer) ReleaseNodeFromSite ¶
func (UnimplementedNodeServiceServer) ReleaseNodeFromSite(context.Context, *ReleaseNodeFromSiteRequest) (*ReleaseNodeFromSiteResponse, error)
func (UnimplementedNodeServiceServer) UpdateNode ¶
func (UnimplementedNodeServiceServer) UpdateNode(context.Context, *UpdateNodeRequest) (*UpdateNodeResponse, error)
func (UnimplementedNodeServiceServer) UpdateNodeState ¶
func (UnimplementedNodeServiceServer) UpdateNodeState(context.Context, *UpdateNodeStateRequest) (*UpdateNodeResponse, error)
type UnsafeNodeServiceServer ¶
type UnsafeNodeServiceServer interface {
// contains filtered or unexported methods
}
UnsafeNodeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to NodeServiceServer will result in compilation errors.
type UpdateNodeRequest ¶
type UpdateNodeRequest struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,json=node_id,proto3" json:"nodeId,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*UpdateNodeRequest) Descriptor
deprecated
func (*UpdateNodeRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNodeRequest.ProtoReflect.Descriptor instead.
func (*UpdateNodeRequest) GetName ¶
func (x *UpdateNodeRequest) GetName() string
func (*UpdateNodeRequest) GetNodeId ¶
func (x *UpdateNodeRequest) GetNodeId() string
func (*UpdateNodeRequest) ProtoMessage ¶
func (*UpdateNodeRequest) ProtoMessage()
func (*UpdateNodeRequest) ProtoReflect ¶
func (x *UpdateNodeRequest) ProtoReflect() protoreflect.Message
func (*UpdateNodeRequest) Reset ¶
func (x *UpdateNodeRequest) Reset()
func (*UpdateNodeRequest) String ¶
func (x *UpdateNodeRequest) String() string
func (*UpdateNodeRequest) Validate ¶
func (this *UpdateNodeRequest) Validate() error
type UpdateNodeResponse ¶
type UpdateNodeResponse struct { Node *Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` // contains filtered or unexported fields }
func (*UpdateNodeResponse) Descriptor
deprecated
func (*UpdateNodeResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNodeResponse.ProtoReflect.Descriptor instead.
func (*UpdateNodeResponse) GetNode ¶
func (x *UpdateNodeResponse) GetNode() *Node
func (*UpdateNodeResponse) ProtoMessage ¶
func (*UpdateNodeResponse) ProtoMessage()
func (*UpdateNodeResponse) ProtoReflect ¶
func (x *UpdateNodeResponse) ProtoReflect() protoreflect.Message
func (*UpdateNodeResponse) Reset ¶
func (x *UpdateNodeResponse) Reset()
func (*UpdateNodeResponse) String ¶
func (x *UpdateNodeResponse) String() string
func (*UpdateNodeResponse) Validate ¶
func (this *UpdateNodeResponse) Validate() error
type UpdateNodeStateRequest ¶
type UpdateNodeStateRequest struct { NodeId string `protobuf:"bytes,1,opt,name=nodeId,json=node_id,proto3" json:"nodeId,omitempty"` Connectivity string `protobuf:"bytes,2,opt,name=connectivity,proto3" json:"connectivity,omitempty"` State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*UpdateNodeStateRequest) Descriptor
deprecated
func (*UpdateNodeStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateNodeStateRequest.ProtoReflect.Descriptor instead.
func (*UpdateNodeStateRequest) GetConnectivity ¶
func (x *UpdateNodeStateRequest) GetConnectivity() string
func (*UpdateNodeStateRequest) GetNodeId ¶
func (x *UpdateNodeStateRequest) GetNodeId() string
func (*UpdateNodeStateRequest) GetState ¶
func (x *UpdateNodeStateRequest) GetState() string
func (*UpdateNodeStateRequest) ProtoMessage ¶
func (*UpdateNodeStateRequest) ProtoMessage()
func (*UpdateNodeStateRequest) ProtoReflect ¶
func (x *UpdateNodeStateRequest) ProtoReflect() protoreflect.Message
func (*UpdateNodeStateRequest) Reset ¶
func (x *UpdateNodeStateRequest) Reset()
func (*UpdateNodeStateRequest) String ¶
func (x *UpdateNodeStateRequest) String() string
func (*UpdateNodeStateRequest) Validate ¶
func (this *UpdateNodeStateRequest) Validate() error