From 7147531e9dd2d65bae1d7eaea931aa723a30f811 Mon Sep 17 00:00:00 2001 From: pb Date: Wed, 19 Feb 2025 12:28:48 +0100 Subject: [PATCH] Started the implementation of new routes for admiralty --- controllers/admiralty.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/controllers/admiralty.go b/controllers/admiralty.go index a1149a0..fa67144 100644 --- a/controllers/admiralty.go +++ b/controllers/admiralty.go @@ -62,6 +62,9 @@ type KubeconfigToken struct { } `yaml:"users"` } + beego "github.com/beego/beego/v2/server/web" +) + // Operations about the admiralty objects of the datacenter type AdmiraltyController struct { beego.Controller @@ -521,4 +524,3 @@ func NewHostKubeWithToken(token string) (*models.KubeConfigValue, error){ } return &hostKube, nil -} \ No newline at end of file