Skip to content

Apoorva64/headscale-go-client

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go API client for swagger

No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version: version not set
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.GoClientCodegen

Installation

Put the package under your project folder and add the following in import:

import "./swagger"

Documentation for API Endpoints

All URIs are relative to https://localhost

Class Method HTTP request Description
HeadscaleServiceApi HeadscaleServiceCreateApiKey Post /api/v1/apikey --- ApiKeys start ---
HeadscaleServiceApi HeadscaleServiceCreatePreAuthKey Post /api/v1/preauthkey --- PreAuthKeys start ---
HeadscaleServiceApi HeadscaleServiceCreateUser Post /api/v1/user
HeadscaleServiceApi HeadscaleServiceDebugCreateMachine Post /api/v1/debug/machine --- Machine start ---
HeadscaleServiceApi HeadscaleServiceDeleteMachine Delete /api/v1/machine/{machineId}
HeadscaleServiceApi HeadscaleServiceDeleteRoute Delete /api/v1/routes/{routeId}
HeadscaleServiceApi HeadscaleServiceDeleteUser Delete /api/v1/user/{name}
HeadscaleServiceApi HeadscaleServiceDisableRoute Post /api/v1/routes/{routeId}/disable
HeadscaleServiceApi HeadscaleServiceEnableRoute Post /api/v1/routes/{routeId}/enable
HeadscaleServiceApi HeadscaleServiceExpireApiKey Post /api/v1/apikey/expire
HeadscaleServiceApi HeadscaleServiceExpireMachine Post /api/v1/machine/{machineId}/expire
HeadscaleServiceApi HeadscaleServiceExpirePreAuthKey Post /api/v1/preauthkey/expire
HeadscaleServiceApi HeadscaleServiceGetMachine Get /api/v1/machine/{machineId}
HeadscaleServiceApi HeadscaleServiceGetMachineRoutes Get /api/v1/machine/{machineId}/routes
HeadscaleServiceApi HeadscaleServiceGetRoutes Get /api/v1/routes --- Route start ---
HeadscaleServiceApi HeadscaleServiceGetUser Get /api/v1/user/{name} --- User start ---
HeadscaleServiceApi HeadscaleServiceListApiKeys Get /api/v1/apikey
HeadscaleServiceApi HeadscaleServiceListMachines Get /api/v1/machine
HeadscaleServiceApi HeadscaleServiceListPreAuthKeys Get /api/v1/preauthkey
HeadscaleServiceApi HeadscaleServiceListUsers Get /api/v1/user
HeadscaleServiceApi HeadscaleServiceMoveMachine Post /api/v1/machine/{machineId}/user
HeadscaleServiceApi HeadscaleServiceRegisterMachine Post /api/v1/machine/register
HeadscaleServiceApi HeadscaleServiceRenameMachine Post /api/v1/machine/{machineId}/rename/{newName}
HeadscaleServiceApi HeadscaleServiceRenameUser Post /api/v1/user/{oldName}/rename/{newName}
HeadscaleServiceApi HeadscaleServiceSetTags Post /api/v1/machine/{machineId}/tags

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published