Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
Kristoffer Dalby 2023-01-17 20:36:46 +01:00 committed by Juan Font
parent fb3e2dcf10
commit 90287a6735
25 changed files with 284 additions and 344 deletions

View file

@ -110,10 +110,10 @@ var createNodeCmd = &cobra.Command{
}
request := &v1.DebugCreateMachineRequest{
Key: machineKey,
Name: name,
User: user,
Routes: routes,
Key: machineKey,
Name: name,
User: user,
Routes: routes,
}
response, err := client.DebugCreateMachine(ctx, request)

View file

@ -116,7 +116,7 @@ var registerNodeCmd = &cobra.Command{
}
request := &v1.RegisterMachineRequest{
Key: machineKey,
Key: machineKey,
User: user,
}
@ -439,7 +439,7 @@ var moveNodeCmd = &cobra.Command{
moveRequest := &v1.MoveMachineRequest{
MachineId: identifier,
User: user,
User: user,
}
moveResponse, err := client.MoveMachine(ctx, moveRequest)

View file

@ -166,7 +166,7 @@ var createPreAuthKeyCmd = &cobra.Command{
Msg("Preparing to create preauthkey")
request := &v1.CreatePreAuthKeyRequest{
User: user,
User: user,
Reusable: reusable,
Ephemeral: ephemeral,
AclTags: tags,
@ -238,7 +238,7 @@ var expirePreAuthKeyCmd = &cobra.Command{
request := &v1.ExpirePreAuthKeyRequest{
User: user,
Key: args[0],
Key: args[0],
}
response, err := client.ExpirePreAuthKey(ctx, request)