Documentation
¶
Index ¶
- func AddAccount(c *gin.Context)
- func AddInfo(c *gin.Context)
- func AddSSHKeys(c *gin.Context)
- func AddUnit(c *gin.Context)
- func AddUnitGroup(c *gin.Context)
- func CheckTokenValidation(username string, token string) bool
- func Del2FAStatus(c *gin.Context)
- func DelTokenValidation(username string, token string) bool
- func DeleteAccount(c *gin.Context)
- func DeleteSSHKeys(c *gin.Context)
- func DeleteUnit(c *gin.Context)
- func DeleteUnitGroup(c *gin.Context)
- func Get2FAStatus(c *gin.Context)
- func GetAccount(c *gin.Context)
- func GetAccounts(c *gin.Context)
- func GetDefaults(c *gin.Context)
- func GetPlatformInfo(c *gin.Context)
- func GetPrometheusTargets(c *gin.Context)
- func GetRemoteInfo(unitId string) (models.UnitInfo, error)
- func GetSSHKeys(c *gin.Context)
- func GetToken(c *gin.Context)
- func GetUnit(c *gin.Context)
- func GetUnitGroup(c *gin.Context)
- func GetUnitInfo(c *gin.Context)
- func GetUnits(c *gin.Context)
- func HandelMonitoring(c *gin.Context)
- func ListConnectedUnits() ([]string, error)
- func ListUnitGroups(c *gin.Context)
- func OTPVerify(c *gin.Context)
- func QRCode(c *gin.Context)
- func RegisterUnit(c *gin.Context)
- func SetTokenValidation(username string, token string) bool
- func SetUserSecret(username string, secret string) (bool, string)
- func UpdateAccount(c *gin.Context)
- func UpdatePassword(c *gin.Context)
- func UpdateRecoveryCodes(username string, codes []string) bool
- func UpdateUnitGroup(c *gin.Context)
- func UserCanAccessUnit(user string, unitID string) bool
- func ValidateAuth(tokenString string, ensureTokenExists bool) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddAccount ¶
func AddSSHKeys ¶
func AddUnitGroup ¶
func CheckTokenValidation ¶
func Del2FAStatus ¶
func DelTokenValidation ¶
func DeleteAccount ¶
func DeleteSSHKeys ¶
func DeleteUnit ¶
func DeleteUnitGroup ¶
func Get2FAStatus ¶
func GetAccount ¶
func GetAccounts ¶
func GetDefaults ¶
func GetPlatformInfo ¶
func GetPrometheusTargets ¶
func GetSSHKeys ¶
func GetUnitGroup ¶
func GetUnitInfo ¶
func HandelMonitoring ¶
func ListConnectedUnits ¶
func ListUnitGroups ¶
func RegisterUnit ¶
func SetTokenValidation ¶
func UpdateAccount ¶
func UpdatePassword ¶
func UpdateRecoveryCodes ¶
func UpdateUnitGroup ¶
func UserCanAccessUnit ¶
func ValidateAuth ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.