Started the implementation of new routes for admiralty
This commit is contained in:
parent
fa97228e2b
commit
7147531e9d
@ -62,6 +62,9 @@ type KubeconfigToken struct {
|
|||||||
} `yaml:"users"`
|
} `yaml:"users"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
beego "github.com/beego/beego/v2/server/web"
|
||||||
|
)
|
||||||
|
|
||||||
// Operations about the admiralty objects of the datacenter
|
// Operations about the admiralty objects of the datacenter
|
||||||
type AdmiraltyController struct {
|
type AdmiraltyController struct {
|
||||||
beego.Controller
|
beego.Controller
|
||||||
@ -521,4 +524,3 @@ func NewHostKubeWithToken(token string) (*models.KubeConfigValue, error){
|
|||||||
}
|
}
|
||||||
|
|
||||||
return &hostKube, nil
|
return &hostKube, nil
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user