package
1.9.2
Repository: https://github.com/kubecube-io/kubecube.git
Documentation: pkg.go.dev

# Functions

BatchCreateUser import users @Summary import user @Description import and create users from CSV file in batches @Tags user @Accept multipart/form-data @Param userInfoFile formData file true "file" @Produce json @Success 200 {object} response.SuccessInfo @Failure 500 {object} errcode.ErrorInfo @Router /api/v1/cube/user/users [post].
No description provided by the author
No description provided by the author
CheckUserValid check username @Summary check username @Description check username when update user password @Tags user @Param username path string true "user name" @Success 200 {object} NameValid @Failure 500 {object} errcode.ErrorInfo @Router /api/v1/cube/user/:username [get].
CreateUser create a user @Summary create user @Description create user manually @Tags user @Accept json @Produce json @Param user body userv1.User true "user information" @Success 200 {object} response.SuccessInfo @Failure 500 {object} errcode.ErrorInfo @Router /api/v1/cube/user [post].
No description provided by the author
DownloadTemplate get import template @Summary get import template @Description get user information import template @Tags user @Success 200 {string} string @Router /api/v1/cube/user/template [get].
GetKubeConfig fetch kubeConfig for specified user @Summary fetch kubeConfigs @Description fetch kubeConfig for specified user @Tags user @Param user query string true "specified user for kubeconfig" @Produce plain @Success 200 string string @Failure 500 {object} errcode.ErrorInfo @Router /api/v1/cube/user/kubeconfigs [get].
GetMembersByNS show members who in specified namespace.
No description provided by the author
No description provided by the author
ListUsers list users @Summary list user @Description fuzzy query user by name or displayName @Tags user @Param query query string false "keyword for query" @Param pageSize query int false "page size" @Param pageNum query int false "page num" @Success 200 {object} UserList @Failure 500 {object} errcode.ErrorInfo @Router /api/v1/cube/user [get].
Login kubecube login @Summary login @Description user login by password or ldap @Tags user @Accept json @Produce json @Param loginInfo body LoginInfo true "user login information" @Success 200 {object} response.SuccessInfo @Failure 500 {object} errcode.ErrorInfo @Router /api/v1/cube/login [post].
UpdatePwd update user password @Summary update password @Description update user password @Tags user @Param resetPwd body ResetPwd true "user old and new password" @Success 200 {object} response.SuccessInfo @Failure 500 {object} errcode.ErrorInfo @Router /api/v1/cube/user/pwd [put].
UpdateUser update a user info @Summary update user @Description update user information @Tags user @Accept json @Produce json @Param user body userv1.User true "user information" @Param username path string true "user name" @Success 200 {object} response.SuccessInfo @Failure 500 {object} errcode.ErrorInfo @Router /api/v1/cube/user/:username [put].
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author