add rpc method for moving node
This commit is contained in:
parent
02a78e5a45
commit
47c72a4e2e
7 changed files with 510 additions and 151 deletions
|
@ -104,6 +104,12 @@ service HeadscaleService {
|
|||
get: "/api/v1/machine"
|
||||
};
|
||||
}
|
||||
|
||||
rpc MoveMachine(MoveMachineRequest) returns (MoveMachineResponse) {
|
||||
option (google.api.http) = {
|
||||
post: "/api/v1/machine/{machine_id}/namespace"
|
||||
};
|
||||
}
|
||||
// --- Machine end ---
|
||||
|
||||
// --- Route start ---
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue