You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the separation of the proc and app concepts (Where a proc is an instance of a running app), the interfaces; node.RPC and node.RPCClient (as well as their implementations) need an update. And consequently, also the endpoints of manager.Node and skywire-cli.
Tasks
Replace the commented out methods of node.RPC/node.RPCClient with the following methods:
Apps() []app.Meta obtains all available apps.
StartProc(appName string, args []string, port uint16) (router.ProcID, error) runs a proc.
StopProc(pid router.ProcID) error stops a proc.
ListProcs() []router.ProcInfo lists all running procs. Note that ProcInfo is not implemented; it should be a combination of router.ProcID ,app.Meta and app.ExecConfig.
Write sub-commands for the aforementioned calls in skywire-cli.
Write endpoints for the aforementioned calls in manager.Node.
The text was updated successfully, but these errors were encountered:
Background
After the separation of the proc and app concepts (Where a proc is an instance of a running app), the interfaces;
node.RPC
andnode.RPCClient
(as well as their implementations) need an update. And consequently, also the endpoints ofmanager.Node
andskywire-cli
.Tasks
Replace the commented out methods of
node.RPC
/node.RPCClient
with the following methods:Apps() []app.Meta
obtains all available apps.StartProc(appName string, args []string, port uint16) (router.ProcID, error)
runs a proc.StopProc(pid router.ProcID) error
stops a proc.ListProcs() []router.ProcInfo
lists all running procs. Note thatProcInfo
is not implemented; it should be a combination ofrouter.ProcID
,app.Meta
andapp.ExecConfig
.Write sub-commands for the aforementioned calls in
skywire-cli
.Write endpoints for the aforementioned calls in
manager.Node
.The text was updated successfully, but these errors were encountered: