Versions in this module Expand all Collapse all v0 v0.0.2 Sep 11, 2022 v0.0.1 Aug 28, 2022 Changes in this version + func AddNameSpace(ctx *gin.Context) + func CreateSa(ctx *gin.Context) + func DeleteNs(ctx *gin.Context) + func DeleteSa(ctx *gin.Context) + func Gettoken(ctx *gin.Context) + func ListNs(ctx *gin.Context) + func ListSa(ctx *gin.Context) + func SaRouter(r *gin.RouterGroup) + func UpdateSa(ctx *gin.Context) + type AddSaNsRequestBody struct + ClusterName string + Namespace string + ProjectName string + SaName string + type Cluster struct + ClusterID int64 + Name string + type CreateSaRequestBody struct + ClusterName string + Namespace string + ProjectName string + SaName string + SaToken string + type ErrorResp struct + Msg string + type NameSpace struct + NsName string + type SaId struct + SaId string + type SaRes struct + CreatedAt time.Time + ID int32 + NameSpace string + SaID string + SaName string + SaToken string + UpdatedAt time.Time + type UpdateSaRequestBody struct + SaToken string