Documentation ¶
Index ¶
Constants ¶
View Source
const ( DomainTypeUndefined uint = iota DomainTypeIpa DomainTypeIpaString = "rhel-idm" DomainTypeUndefinedString = "" )
Variables ¶
View Source
var (
NilUUID = uuid.MustParse("00000000-0000-0000-0000-000000000000")
)
Functions ¶
func DomainTypeString ¶
func DomainTypeUint ¶
Types ¶
type Domain ¶
type Domain struct { gorm.Model OrgId string `gorm:"index:idx_domains_org_id"` DomainUuid uuid.UUID `gorm:"unique"` DomainName *string Title *string Description *string Type *uint AutoEnrollmentEnabled *bool IpaDomain *Ipa `gorm:"foreignKey:ID"` }
func (*Domain) AfterCreate ¶
type Ipa ¶
type Ipa struct { gorm.Model CaCerts []IpaCert Servers []IpaServer Locations []IpaLocation RealmName *string RealmDomains pq.StringArray `gorm:"type:text[]"` Domain Domain `gorm:"foreignKey:ID;references:ID"` }
Ipa represent the specific rhel-idm domain information
type IpaLocation ¶
IpaLocation represent the possible locations for a rhel-idm instance.
Click to show internal directories.
Click to hide internal directories.