Documentation
¶
Index ¶
- type Category
- type Group
- type Role
- type Secret
- type User
- func (u *User) Exists(ctx context.Context, sess r.QueryExecutor) (bool, error)
- func (u *User) ExistsWithPasswordResetToken(ctx context.Context, sess r.QueryExecutor) (bool, error)
- func (u *User) ExistsWithVerifiedEmail(ctx context.Context, sess r.QueryExecutor) (bool, error)
- func (u *User) Load(ctx context.Context, sess r.QueryExecutor) error
- func (u *User) LoadWithoutID(ctx context.Context, sess r.QueryExecutor) error
- func (u *User) LoadWithoutOverride(u2 *User)
- func (u *User) Update(ctx context.Context, sess r.QueryExecutor) error
- func (u *User) UpdateDisclaimerAcknowledged(ctx context.Context, sess r.QueryExecutor) error
- func (u *User) UpdateEmail(ctx context.Context, sess r.QueryExecutor) error
- func (u *User) UpdatePasswordResetToken(ctx context.Context, sess r.QueryExecutor) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Category ¶
type Category struct { ID string `rethinkdb:"id"` UID string `rethinkdb:"uid"` Name string `rethinkdb:"name"` Description string `rethinkdb:"description"` Photo string `rethinkdb:"photo"` }
func (*Category) ExistsWithUID ¶
type Group ¶
type Group struct { ID string `rethinkdb:"id"` UID string `rethinkdb:"uid"` Name string `rethinkdb:"name"` Description string `rethinkdb:"description"` Category string `rethinkdb:"parent_category"` ExternalAppID string `rethinkdb:"external_app_id"` ExternalGID string `rethinkdb:"external_gid"` }
func (*Group) ExistsWithExternal ¶
func (*Group) GenerateNameExternal ¶
func (*Group) LoadExternal ¶
type Secret ¶
type User ¶
type User struct { ID string `rethinkdb:"id"` UID string `rethinkdb:"uid"` Username string `rethinkdb:"username"` Provider string `rethinkdb:"provider"` Active bool `rethinkdb:"active"` Category string `rethinkdb:"category"` Role Role `rethinkdb:"role"` Group string `rethinkdb:"group"` SecondaryGroups []string `rethinkdb:"secondary_groups"` Password string `rethinkdb:"password"` PasswordResetToken string `rethinkdb:"password_reset_token"` Name string `rethinkdb:"name"` Email string `rethinkdb:"email"` EmailVerified *float64 `rethinkdb:"email_verified"` EmailVerificationToken string `rethinkdb:"email_verification_token"` Photo string `rethinkdb:"photo"` DisclaimerAcknowledged bool `rethinkdb:"disclaimer_acknowledged"` Accessed float64 `rethinkdb:"accessed"` }
User is an user of IsardVDI
func (*User) ExistsWithPasswordResetToken ¶
func (*User) ExistsWithVerifiedEmail ¶
func (*User) LoadWithoutID ¶
func (*User) LoadWithoutOverride ¶
func (*User) UpdateDisclaimerAcknowledged ¶
func (*User) UpdateEmail ¶
func (*User) UpdatePasswordResetToken ¶
Click to show internal directories.
Click to hide internal directories.