Documentation ¶
Index ¶
- func DeleteTemplateHash(templateId string)
- func DeleteUser(db database.IDbDriver, toDelete *model.User) error
- func GetTemplateHash(templateId string) string
- func GetTemplateHashes() map[string]string
- func LoadTemplateHashes()
- func RemoveUsersSessions(user *model.User)
- func RemoveUsersTokens(user *model.User)
- func UpdateTemplateHash(templateId, hash string)
- func UpdateUserSpaces(user *model.User)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteTemplateHash ¶
func DeleteTemplateHash(templateId string)
func GetTemplateHash ¶
func GetTemplateHashes ¶
func LoadTemplateHashes ¶
func LoadTemplateHashes()
func RemoveUsersSessions ¶
Delete the sessions owned by a user
func UpdateTemplateHash ¶
func UpdateTemplateHash(templateId, hash string)
func UpdateUserSpaces ¶
For disabled users ensure all spaces are stopped, for enabled users update the SSH key on the agents
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.