//
pkg.gl
Category
github.com/influxdata/kapacitor
auth
package
1.7.6
Repository:
https://github.com/influxdata/kapacitor.git
Documentation:
pkg.go.dev
Versions
1
Dependencies
3
Dependents
50
Files
181 SLOC
#
Functions
APIResource
DatabaseResource
NewUser
Create a user with the given privileges.
#
Constants
AllPrivileges
DeletePrivilege
NoPrivileges
ReadPrivilege
WritePrivilege
#
Variables
AdminUser
This user has all privileges for all resources.
PrivilegeList
#
Structs
Action
User
This structure is designed to be immutable, to avoid bugs/exploits where the user could be modified by external code.
#
Interfaces
Interface
Interface for authenticating and retrieving users.
#
Type aliases
Privilege