Documentation ¶
Index ¶
- Constants
- Variables
- func BackupList(ctx *gin.Context)
- func EtcdKeyList(ctx *gin.Context)
- func FeatureList(ctx *gin.Context)
- func Login(ctx *gin.Context)
- func NewRouter() *gin.Engine
- func ReverseProxy() gin.HandlerFunc
- func SetWorkNamespace(namespace string)
- func UserAdd(ctx *gin.Context)
- func UserDelete(ctx *gin.Context)
- func UserList(ctx *gin.Context)
- func UserUpdate(ctx *gin.Context)
Constants ¶
View Source
const ( GroupName = "kstone.tkestack.io" VersionName = "v1alpha2" )
Variables ¶
View Source
var ( KubeScheme = "https" KubeTarget = os.Getenv("KUBE_TARGET") KubeToken = os.Getenv("KUBE_TOKEN") WorkNamespace = "kstone" )
Functions ¶
func ReverseProxy ¶
func ReverseProxy() gin.HandlerFunc
ReverseProxy reverses proxy to kubernetes api
func SetWorkNamespace ¶
func SetWorkNamespace(namespace string)
SetWorkNamespace sets work namespace
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.