mirror of
https://github.com/juanfont/headscale.git
synced 2026-01-23 02:24:10 +00:00
cli: remove node move command (#2922)
Some checks are pending
Build / build-nix (push) Waiting to run
Build / build-cross (GOARCH=amd64 GOOS=darwin) (push) Waiting to run
Build / build-cross (GOARCH=amd64 GOOS=linux) (push) Waiting to run
Build / build-cross (GOARCH=arm64 GOOS=darwin) (push) Waiting to run
Build / build-cross (GOARCH=arm64 GOOS=linux) (push) Waiting to run
Check Generated Files / check-generated (push) Waiting to run
NixOS Module Tests / nix-module-check (push) Waiting to run
Tests / test (push) Waiting to run
Some checks are pending
Build / build-nix (push) Waiting to run
Build / build-cross (GOARCH=amd64 GOOS=darwin) (push) Waiting to run
Build / build-cross (GOARCH=amd64 GOOS=linux) (push) Waiting to run
Build / build-cross (GOARCH=arm64 GOOS=darwin) (push) Waiting to run
Build / build-cross (GOARCH=arm64 GOOS=linux) (push) Waiting to run
Check Generated Files / check-generated (push) Waiting to run
NixOS Module Tests / nix-module-check (push) Waiting to run
Tests / test (push) Waiting to run
This commit is contained in:
parent
eec196d200
commit
16d811b306
14 changed files with 104 additions and 823 deletions
|
|
@ -123,13 +123,6 @@ service HeadscaleService {
|
|||
};
|
||||
}
|
||||
|
||||
rpc MoveNode(MoveNodeRequest) returns (MoveNodeResponse) {
|
||||
option (google.api.http) = {
|
||||
post : "/api/v1/node/{node_id}/user",
|
||||
body : "*"
|
||||
};
|
||||
}
|
||||
|
||||
rpc BackfillNodeIPs(BackfillNodeIPsRequest)
|
||||
returns (BackfillNodeIPsResponse) {
|
||||
option (google.api.http) = {
|
||||
|
|
|
|||
|
|
@ -100,13 +100,6 @@ message ListNodesRequest { string user = 1; }
|
|||
|
||||
message ListNodesResponse { repeated Node nodes = 1; }
|
||||
|
||||
message MoveNodeRequest {
|
||||
uint64 node_id = 1;
|
||||
uint64 user = 2;
|
||||
}
|
||||
|
||||
message MoveNodeResponse { Node node = 1; }
|
||||
|
||||
message DebugCreateNodeRequest {
|
||||
string user = 1;
|
||||
string key = 2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue