Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtraPermissions ¶
type ExtraPermissions struct {
Suitable bool `json:"suitable"`
}
type FirecloudAccount ¶
type FirecloudAccount struct { Email string `json:"email"` AcceptedGoogleTerms bool `json:"acceptedGoogleTerms"` EnrolledIn2fa bool `json:"enrolledIn2Fa"` Suspended bool `json:"suspended"` Archived bool `json:"archived"` SuspensionReason string `json:"suspensionReason,omitempty"` Groups *FirecloudGroupMembership `json:"groups"` }
type InferredUserFields ¶
type InferredUserFields struct { MatchedFirecloudAccount *FirecloudAccount `json:"matchedFirecloudAccount,omitempty"` MatchedExtraPermissions *ExtraPermissions `json:"matchedExtraPermissions,omitempty"` }
type StoredControlledUserFields ¶ added in v0.1.17
type StoredControlledUserFields struct { Email string `json:"email" form:"email" gorm:"not null;default:null;unique"` GoogleID string `json:"googleID" form:"googleID" gorm:"not null;default:null;unique"` GithubUsername *string `json:"githubUsername" form:"githubUsername"` GithubID *string `json:"githubID" form:"githubID"` }
type StoredMutableUserFields ¶ added in v0.1.17
type StoredMutableUserFields struct {
Name *string `json:"name,omitempty" form:"name"`
}
type User ¶
type User struct { ID uint `json:"id" form:"id"` StoredControlledUserFields StoredMutableUserFields InferredUserFields }
func (*User) AlphaNumericHyphenatedUsername ¶
func (*User) SuitableOrError ¶
Click to show internal directories.
Click to hide internal directories.