node

module
v0.0.0-...-6854bef Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 20, 2024 License: MPL-2.0

README

Node Registry

Node operations within the Registry System.

Description

The Node Registry is a sub system that handle various directory operations regarding Nodes within the Registry System. Nodes incoming requests to the Registry System are forwarded to this module for fulfillment.

Service definition

The Node Registry exposes the following RPC definitions:

service NodeService {
    rpc AttachNodes(AttachNodesRequest) returns (AttachNodesResponse);
    rpc DetachNode(DetachNodeRequest) returns (DetachNodeResponse);
    rpc UpdateNodeState(UpdateNodeStateRequest) returns (UpdateNodeStateResponse);
    rpc UpdateNode(UpdateNodeRequest) returns (UpdateNodeResponse);
    rpc GetNode(GetNodeRequest) returns (GetNodeResponse);
    rpc AddNode(AddNodeRequest) returns (AddNodeResponse);
    rpc Delete(DeleteRequest) returns (DeleteResponse);
}

How to use

From within the Registry System

Just grab and instrument the Node Registry client stub and make the desired service calls.

From outside the Registry System

Use the Registry System's API Gateway interface to perform the desired RESTful operations. See the Registry System API Gateway documentatiion for more.

Directories

Path Synopsis
cmd
pb
gen
pkg
db

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL