mirror of
https://github.com/GlueOps/autoglue.git
synced 2026-02-13 04:40:05 +01:00
feat: sdk migration in progress
This commit is contained in:
37
main.go
Normal file
37
main.go
Normal file
@@ -0,0 +1,37 @@
|
||||
package main
|
||||
|
||||
import "github.com/glueops/autoglue/cmd"
|
||||
|
||||
// @title AutoGlue API
|
||||
// @version 1.0
|
||||
// @description API for managing K3s clusters across cloud providers
|
||||
|
||||
// @contact.name GlueOps
|
||||
|
||||
// @BasePath /api/v1
|
||||
// @schemes http https
|
||||
// @host localhost:8080
|
||||
|
||||
// @securityDefinitions.apikey BearerAuth
|
||||
// @in header
|
||||
// @name Authorization
|
||||
// @description Bearer token authentication
|
||||
|
||||
// @securityDefinitions.apikey ApiKeyAuth
|
||||
// @in header
|
||||
// @name X-API-KEY
|
||||
// @description User API key
|
||||
|
||||
// @securityDefinitions.apikey OrgKeyAuth
|
||||
// @in header
|
||||
// @name X-ORG-KEY
|
||||
// @description Org-level key/secret authentication
|
||||
|
||||
// @securityDefinitions.apikey OrgSecretAuth
|
||||
// @in header
|
||||
// @name X-ORG-SECRET
|
||||
// @description Org-level secret
|
||||
|
||||
func main() {
|
||||
cmd.Execute()
|
||||
}
|
||||
Reference in New Issue
Block a user