criadb
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Overview¶
Package criadb provides a wrapper around the CrIA authorization database. Thedatabase is replicated from a GCP Cloud Storage bucket, and is updated every30 + rand.Intn(10) seconds. This database is used to check whether a user isa member of a specified mdb (or other) group.
Index¶
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeAuthDatabase¶
type AuthDatabase struct {// contains filtered or unexported fields}funcNewDatabase¶
func NewDatabase(serviceNamestring) (*AuthDatabase,error)
funcNewDevDatabase¶
func NewDevDatabase() *AuthDatabase
funcNewTestDatabase¶
func NewTestDatabase(memberships [][2]string) *AuthDatabase