Versions in this module Expand all Collapse all v1 v1.0.2 May 5, 2022 Changes in this version + func Casbin() *casbin.Enforcer + func CreateCloudAccount(account *cmdb.CloudPlatform) (err error) + func CreateK8SCluster(cluster models.K8SCluster) (err error) + func DelCluster(ids models.ClusterIds) (err error) + func GetK8sCluster(id uint) (K8sCluster models.K8SCluster, err error) + func LdapLogin(username, pass string) (*models.User, error) + func ListK8SCluster(p *models.PaginationQ, k *[]models.K8SCluster) (err error) + func ListPlatform(info request.PageInfo) (err error, list interface{}, total int64) + func Login(l models.LoginUser) (models.User, error) + func ParamsMatch(fullNameKey1 string, key2 string) bool + func ParamsMatchFunc(args ...interface{}) (interface{}, error) + func PassLogin(username, pass string) (*models.User, error) + func UserGet(where string, args ...interface{}) (*models.User, error) + func UserGetByUsername(username string) (*models.User, error) + func UserRegister(u models.User) (userInter models.User, err error)