Documentation
¶
Overview ¶
Package schema contains the ent schema
Index ¶
- Constants
- Variables
- type APIToken
- func (a APIToken) Annotations() []schema.Annotation
- func (APIToken) Fields() []ent.Field
- func (APIToken) GetType() any
- func (APIToken) Hooks() []ent.Hook
- func (APIToken) Indexes() []ent.Index
- func (a APIToken) Interceptors() []ent.Interceptor
- func (a APIToken) Mixin() []ent.Mixin
- func (APIToken) Modules() []models.OrgModule
- func (APIToken) Name() string
- func (APIToken) PluralName() string
- func (a APIToken) Policy() ent.Policy
- type ActionPlan
- func (a ActionPlan) Annotations() []schema.Annotation
- func (a ActionPlan) Edges() []ent.Edge
- func (ActionPlan) Fields() []ent.Field
- func (ActionPlan) GetType() any
- func (a ActionPlan) Mixin() []ent.Mixin
- func (ActionPlan) Modules() []models.OrgModule
- func (ActionPlan) Name() string
- func (ActionPlan) PluralName() string
- func (a ActionPlan) Policy() ent.Policy
- type Assessment
- func (Assessment) Annotations() []schema.Annotation
- func (a Assessment) Edges() []ent.Edge
- func (Assessment) Fields() []ent.Field
- func (Assessment) GetType() any
- func (Assessment) Hooks() []ent.Hook
- func (Assessment) Indexes() []ent.Index
- func (Assessment) Interceptors() []ent.Interceptor
- func (a Assessment) Mixin() []ent.Mixin
- func (Assessment) Modules() []models.OrgModule
- func (Assessment) Name() string
- func (Assessment) PluralName() string
- func (Assessment) Policy() ent.Policy
- type AssessmentResponse
- func (AssessmentResponse) Annotations() []schema.Annotation
- func (ar AssessmentResponse) Edges() []ent.Edge
- func (AssessmentResponse) Fields() []ent.Field
- func (AssessmentResponse) GetType() any
- func (AssessmentResponse) Hooks() []ent.Hook
- func (AssessmentResponse) Indexes() []ent.Index
- func (AssessmentResponse) Interceptors() []ent.Interceptor
- func (ar AssessmentResponse) Mixin() []ent.Mixin
- func (AssessmentResponse) Modules() []models.OrgModule
- func (AssessmentResponse) Name() string
- func (AssessmentResponse) PluralName() string
- func (AssessmentResponse) Policy() ent.Policy
- type Asset
- func (a Asset) Annotations() []schema.Annotation
- func (a Asset) Edges() []ent.Edge
- func (Asset) Fields() []ent.Field
- func (Asset) GetType() any
- func (Asset) Indexes() []ent.Index
- func (a Asset) Mixin() []ent.Mixin
- func (a Asset) Modules() []models.OrgModule
- func (Asset) Name() string
- func (Asset) PluralName() string
- func (a Asset) Policy() ent.Policy
- type Contact
- func (c Contact) Annotations() []schema.Annotation
- func (c Contact) Edges() []ent.Edge
- func (Contact) Fields() []ent.Field
- func (Contact) GetType() any
- func (Contact) Hooks() []ent.Hook
- func (c Contact) Mixin() []ent.Mixin
- func (Contact) Modules() []models.OrgModule
- func (Contact) Name() string
- func (Contact) PluralName() string
- func (c Contact) Policy() ent.Policy
- type Control
- func (c Control) Annotations() []schema.Annotation
- func (c Control) Edges() []ent.Edge
- func (Control) Fields() []ent.Field
- func (Control) GetType() any
- func (Control) Hooks() []ent.Hook
- func (Control) Indexes() []ent.Index
- func (c Control) Mixin() []ent.Mixin
- func (Control) Modules() []models.OrgModule
- func (Control) Name() string
- func (Control) PluralName() string
- func (c Control) Policy() ent.Policy
- type ControlImplementation
- func (c ControlImplementation) Annotations() []schema.Annotation
- func (c ControlImplementation) Edges() []ent.Edge
- func (ControlImplementation) Fields() []ent.Field
- func (ControlImplementation) GetType() any
- func (ControlImplementation) Hooks() []ent.Hook
- func (c ControlImplementation) Mixin() []ent.Mixin
- func (ControlImplementation) Modules() []models.OrgModule
- func (ControlImplementation) Name() string
- func (ControlImplementation) PluralName() string
- func (c ControlImplementation) Policy() ent.Policy
- type ControlMixin
- type ControlObjective
- func (c ControlObjective) Annotations() []schema.Annotation
- func (c ControlObjective) Edges() []ent.Edge
- func (ControlObjective) Fields() []ent.Field
- func (ControlObjective) GetType() any
- func (c ControlObjective) Mixin() []ent.Mixin
- func (ControlObjective) Modules() []models.OrgModule
- func (ControlObjective) Name() string
- func (ControlObjective) PluralName() string
- func (c ControlObjective) Policy() ent.Policy
- type CustomDomain
- func (e CustomDomain) Edges() []ent.Edge
- func (CustomDomain) Fields() []ent.Field
- func (CustomDomain) GetType() any
- func (CustomDomain) Hooks() []ent.Hook
- func (CustomDomain) Indexes() []ent.Index
- func (e CustomDomain) Mixin() []ent.Mixin
- func (CustomDomain) Modules() []models.OrgModule
- func (CustomDomain) Name() string
- func (CustomDomain) PluralName() string
- func (e CustomDomain) Policy() ent.Policy
- type CustomEnumMixin
- type CustomTypeEnum
- func (CustomTypeEnum) Annotations() []schema.Annotation
- func (t CustomTypeEnum) Edges() []ent.Edge
- func (CustomTypeEnum) Fields() []ent.Field
- func (CustomTypeEnum) GetType() any
- func (CustomTypeEnum) Hooks() []ent.Hook
- func (CustomTypeEnum) Indexes() []ent.Index
- func (CustomTypeEnum) Interceptors() []ent.Interceptor
- func (t CustomTypeEnum) Mixin() []ent.Mixin
- func (CustomTypeEnum) Modules() []models.OrgModule
- func (CustomTypeEnum) Name() string
- func (CustomTypeEnum) PluralName() string
- func (CustomTypeEnum) Policy() ent.Policy
- type DNSVerification
- func (e DNSVerification) Edges() []ent.Edge
- func (DNSVerification) Fields() []ent.Field
- func (DNSVerification) GetType() any
- func (DNSVerification) Hooks() []ent.Hook
- func (DNSVerification) Indexes() []ent.Index
- func (e DNSVerification) Mixin() []ent.Mixin
- func (DNSVerification) Modules() []models.OrgModule
- func (DNSVerification) Name() string
- func (DNSVerification) PluralName() string
- func (DNSVerification) Policy() ent.Policy
- type DirectoryAccount
- func (d DirectoryAccount) Annotations() []schema.Annotation
- func (d DirectoryAccount) Edges() []ent.Edge
- func (DirectoryAccount) Fields() []ent.Field
- func (DirectoryAccount) GetType() any
- func (DirectoryAccount) Indexes() []ent.Index
- func (d DirectoryAccount) Mixin() []ent.Mixin
- func (DirectoryAccount) Name() string
- func (DirectoryAccount) PluralName() string
- func (d DirectoryAccount) Policy() ent.Policy
- type DirectoryGroup
- func (g DirectoryGroup) Annotations() []schema.Annotation
- func (g DirectoryGroup) Edges() []ent.Edge
- func (DirectoryGroup) Fields() []ent.Field
- func (DirectoryGroup) GetType() any
- func (DirectoryGroup) Indexes() []ent.Index
- func (g DirectoryGroup) Mixin() []ent.Mixin
- func (DirectoryGroup) Name() string
- func (DirectoryGroup) PluralName() string
- func (g DirectoryGroup) Policy() ent.Policy
- type DirectoryMembership
- func (DirectoryMembership) Annotations() []schema.Annotation
- func (m DirectoryMembership) Edges() []ent.Edge
- func (DirectoryMembership) Fields() []ent.Field
- func (DirectoryMembership) GetType() any
- func (DirectoryMembership) Indexes() []ent.Index
- func (m DirectoryMembership) Mixin() []ent.Mixin
- func (DirectoryMembership) Name() string
- func (DirectoryMembership) PluralName() string
- func (m DirectoryMembership) Policy() ent.Policy
- type DirectorySyncRun
- func (DirectorySyncRun) Annotations() []schema.Annotation
- func (r DirectorySyncRun) Edges() []ent.Edge
- func (DirectorySyncRun) Fields() []ent.Field
- func (DirectorySyncRun) GetType() any
- func (DirectorySyncRun) Indexes() []ent.Index
- func (r DirectorySyncRun) Mixin() []ent.Mixin
- func (DirectorySyncRun) Name() string
- func (DirectorySyncRun) PluralName() string
- func (r DirectorySyncRun) Policy() ent.Policy
- type Discussion
- func (Discussion) Annotations() []schema.Annotation
- func (d Discussion) Edges() []ent.Edge
- func (Discussion) Fields() []ent.Field
- func (Discussion) GetType() any
- func (Discussion) Hooks() []ent.Hook
- func (Discussion) Indexes() []ent.Index
- func (Discussion) Interceptors() []ent.Interceptor
- func (d Discussion) Mixin() []ent.Mixin
- func (Discussion) Modules() []models.OrgModule
- func (Discussion) Name() string
- func (Discussion) PluralName() string
- func (Discussion) Policy() ent.Policy
- type DocumentData
- func (d DocumentData) Annotations() []schema.Annotation
- func (d DocumentData) Edges() []ent.Edge
- func (DocumentData) Fields() []ent.Field
- func (DocumentData) GetType() any
- func (d DocumentData) Hooks() []ent.Hook
- func (d DocumentData) Mixin() []ent.Mixin
- func (DocumentData) Modules() []models.OrgModule
- func (DocumentData) Name() string
- func (DocumentData) PluralName() string
- func (d DocumentData) Policy() ent.Policy
- type DocumentMixin
- type EdgeInfo
- type EmailVerificationToken
- func (e EmailVerificationToken) Annotations() []schema.Annotation
- func (EmailVerificationToken) Edges() []ent.Edge
- func (EmailVerificationToken) Fields() []ent.Field
- func (EmailVerificationToken) GetType() any
- func (EmailVerificationToken) Hooks() []ent.Hook
- func (EmailVerificationToken) Indexes() []ent.Index
- func (e EmailVerificationToken) Mixin() []ent.Mixin
- func (EmailVerificationToken) Modules() []models.OrgModule
- func (EmailVerificationToken) Name() string
- func (EmailVerificationToken) PluralName() string
- func (e EmailVerificationToken) Policy() ent.Policy
- type Entity
- func (e Entity) Annotations() []schema.Annotation
- func (e Entity) Edges() []ent.Edge
- func (Entity) Fields() []ent.Field
- func (Entity) GetType() any
- func (Entity) Hooks() []ent.Hook
- func (Entity) Indexes() []ent.Index
- func (e Entity) Mixin() []ent.Mixin
- func (Entity) Modules() []models.OrgModule
- func (Entity) Name() string
- func (Entity) PluralName() string
- func (e Entity) Policy() ent.Policy
- type EntityType
- func (e EntityType) Edges() []ent.Edge
- func (EntityType) Fields() []ent.Field
- func (EntityType) GetType() any
- func (EntityType) Indexes() []ent.Index
- func (e EntityType) Mixin() []ent.Mixin
- func (EntityType) Modules() []models.OrgModule
- func (EntityType) Name() string
- func (EntityType) PluralName() string
- func (e EntityType) Policy() ent.Policy
- type Event
- func (e Event) Annotations() []schema.Annotation
- func (e Event) Edges() []ent.Edge
- func (Event) Fields() []ent.Field
- func (Event) GetType() any
- func (Event) Mixin() []ent.Mixin
- func (Event) Modules() []models.OrgModule
- func (Event) Name() string
- func (Event) PluralName() string
- func (e Event) Policy() ent.Policy
- type Evidence
- func (e Evidence) Annotations() []schema.Annotation
- func (e Evidence) Edges() []ent.Edge
- func (Evidence) Fields() []ent.Field
- func (Evidence) GetType() any
- func (Evidence) Hooks() []ent.Hook
- func (e Evidence) Mixin() []ent.Mixin
- func (Evidence) Modules() []models.OrgModule
- func (Evidence) Name() string
- func (Evidence) PluralName() string
- func (Evidence) Policy() ent.Policy
- type Export
- func (e Export) Annotations() []schema.Annotation
- func (e Export) Edges() []ent.Edge
- func (Export) Fields() []ent.Field
- func (Export) GetType() any
- func (Export) Hooks() []ent.Hook
- func (e Export) Mixin() []ent.Mixin
- func (Export) Modules() []models.OrgModule
- func (Export) Name() string
- func (Export) PluralName() string
- func (e Export) Policy() ent.Policy
- type File
- func (f File) Annotations() []schema.Annotation
- func (f File) Edges() []ent.Edge
- func (File) Fields() []ent.Field
- func (File) GetType() any
- func (File) Hooks() []ent.Hook
- func (f File) Interceptors() []ent.Interceptor
- func (f File) Mixin() []ent.Mixin
- func (File) Modules() []models.OrgModule
- func (File) Name() string
- func (File) PluralName() string
- func (f File) Policy() ent.Policy
- type FileDownloadToken
- func (p FileDownloadToken) Annotations() []schema.Annotation
- func (FileDownloadToken) Fields() []ent.Field
- func (FileDownloadToken) GetType() any
- func (FileDownloadToken) Hooks() []ent.Hook
- func (FileDownloadToken) Indexes() []ent.Index
- func (p FileDownloadToken) Mixin() []ent.Mixin
- func (FileDownloadToken) Name() string
- func (FileDownloadToken) PluralName() string
- func (p FileDownloadToken) Policy() ent.Policy
- type Finding
- func (Finding) Annotations() []schema.Annotation
- func (f Finding) Edges() []ent.Edge
- func (Finding) Fields() []ent.Field
- func (Finding) GetType() any
- func (Finding) Indexes() []ent.Index
- func (f Finding) Mixin() []ent.Mixin
- func (Finding) Modules() []models.OrgModule
- func (Finding) Name() string
- func (Finding) PluralName() string
- func (f Finding) Policy() ent.Policy
- type FindingControl
- func (FindingControl) Annotations() []schema.Annotation
- func (fc FindingControl) Edges() []ent.Edge
- func (FindingControl) Fields() []ent.Field
- func (FindingControl) GetType() any
- func (FindingControl) Indexes() []ent.Index
- func (FindingControl) Mixin() []ent.Mixin
- func (FindingControl) Modules() []models.OrgModule
- func (FindingControl) Name() string
- func (FindingControl) PluralName() string
- func (FindingControl) Policy() ent.Policy
- type Group
- func (g Group) Annotations() []schema.Annotation
- func (g Group) Edges() []ent.Edge
- func (Group) Fields() []ent.Field
- func (Group) GetType() any
- func (Group) Hooks() []ent.Hook
- func (Group) Indexes() []ent.Index
- func (g Group) Interceptors() []ent.Interceptor
- func (g Group) Mixin() []ent.Mixin
- func (Group) Modules() []models.OrgModule
- func (Group) Name() string
- func (Group) PluralName() string
- func (g Group) Policy() ent.Policy
- type GroupBasedCreateAccessMixin
- type GroupMembership
- func (g GroupMembership) Annotations() []schema.Annotation
- func (g GroupMembership) Edges() []ent.Edge
- func (GroupMembership) Fields() []ent.Field
- func (GroupMembership) GetType() any
- func (GroupMembership) Hooks() []ent.Hook
- func (GroupMembership) Indexes() []ent.Index
- func (g GroupMembership) Interceptors() []ent.Interceptor
- func (GroupMembership) Mixin() []ent.Mixin
- func (GroupMembership) Modules() []models.OrgModule
- func (GroupMembership) Name() string
- func (GroupMembership) PluralName() string
- func (GroupMembership) Policy() ent.Policy
- type GroupPermissionsEdgesMixin
- type GroupPermissionsMixin
- type GroupSetting
- func (g GroupSetting) Annotations() []schema.Annotation
- func (g GroupSetting) Edges() []ent.Edge
- func (GroupSetting) Fields() []ent.Field
- func (GroupSetting) GetType() any
- func (GroupSetting) Hooks() []ent.Hook
- func (g GroupSetting) Interceptors() []ent.Interceptor
- func (GroupSetting) Mixin() []ent.Mixin
- func (GroupSetting) Modules() []models.OrgModule
- func (GroupSetting) Name() string
- func (GroupSetting) PluralName() string
- type HookFunc
- type Hush
- type ImpersonationEvent
- func (ImpersonationEvent) Annotations() []schema.Annotation
- func (i ImpersonationEvent) Edges() []ent.Edge
- func (ImpersonationEvent) Fields() []ent.Field
- func (ImpersonationEvent) GetType() any
- func (ImpersonationEvent) Hooks() []ent.Hook
- func (ImpersonationEvent) Indexes() []ent.Index
- func (ImpersonationEvent) Interceptors() []ent.Interceptor
- func (i ImpersonationEvent) Mixin() []ent.Mixin
- func (ImpersonationEvent) Modules() []models.OrgModule
- func (ImpersonationEvent) Name() string
- func (ImpersonationEvent) PluralName() string
- type Integration
- func (Integration) Annotations() []schema.Annotation
- func (i Integration) Edges() []ent.Edge
- func (Integration) Fields() []ent.Field
- func (Integration) GetType() any
- func (i Integration) Mixin() []ent.Mixin
- func (Integration) Modules() []models.OrgModule
- func (Integration) Name() string
- func (Integration) PluralName() string
- func (i Integration) Policy() ent.Policy
- type InterceptorFunc
- type InternalPolicy
- func (i InternalPolicy) Annotations() []schema.Annotation
- func (i InternalPolicy) Edges() []ent.Edge
- func (InternalPolicy) Fields() []ent.Field
- func (InternalPolicy) GetType() any
- func (InternalPolicy) Hooks() []ent.Hook
- func (InternalPolicy) Interceptors() []ent.Interceptor
- func (i InternalPolicy) Mixin() []ent.Mixin
- func (InternalPolicy) Modules() []models.OrgModule
- func (InternalPolicy) Name() string
- func (InternalPolicy) PluralName() string
- func (i InternalPolicy) Policy() ent.Policy
- type Invite
- func (i Invite) Annotations() []schema.Annotation
- func (i Invite) Edges() []ent.Edge
- func (Invite) Fields() []ent.Field
- func (Invite) GetType() any
- func (Invite) Hooks() []ent.Hook
- func (Invite) Indexes() []ent.Index
- func (i Invite) Mixin() []ent.Mixin
- func (Invite) Modules() []models.OrgModule
- func (Invite) Name() string
- func (Invite) PluralName() string
- func (i Invite) Policy() ent.Policy
- type JobResult
- func (j JobResult) Annotations() []schema.Annotation
- func (j JobResult) Edges() []ent.Edge
- func (JobResult) Fields() []ent.Field
- func (JobResult) GetType() any
- func (JobResult) Hooks() []ent.Hook
- func (JobResult) Indexes() []ent.Index
- func (JobResult) Interceptors() []ent.Interceptor
- func (j JobResult) Mixin() []ent.Mixin
- func (JobResult) Modules() []models.OrgModule
- func (JobResult) Name() string
- func (JobResult) PluralName() string
- func (JobResult) Policy() ent.Policy
- type JobRunner
- func (j JobRunner) Annotations() []schema.Annotation
- func (j JobRunner) Edges() []ent.Edge
- func (JobRunner) Fields() []ent.Field
- func (JobRunner) GetType() any
- func (JobRunner) Hooks() []ent.Hook
- func (JobRunner) Indexes() []ent.Index
- func (j JobRunner) Interceptors() []ent.Interceptor
- func (j JobRunner) Mixin() []ent.Mixin
- func (JobRunner) Modules() []models.OrgModule
- func (JobRunner) Name() string
- func (JobRunner) PluralName() string
- func (j JobRunner) Policy() ent.Policy
- type JobRunnerRegistrationToken
- func (j JobRunnerRegistrationToken) Annotations() []schema.Annotation
- func (j JobRunnerRegistrationToken) Edges() []ent.Edge
- func (JobRunnerRegistrationToken) Fields() []ent.Field
- func (JobRunnerRegistrationToken) GetType() any
- func (JobRunnerRegistrationToken) Hooks() []ent.Hook
- func (JobRunnerRegistrationToken) Indexes() []ent.Index
- func (j JobRunnerRegistrationToken) Interceptors() []ent.Interceptor
- func (j JobRunnerRegistrationToken) Mixin() []ent.Mixin
- func (JobRunnerRegistrationToken) Modules() []models.OrgModule
- func (JobRunnerRegistrationToken) Name() string
- func (JobRunnerRegistrationToken) PluralName() string
- func (j JobRunnerRegistrationToken) Policy() ent.Policy
- type JobRunnerToken
- func (j JobRunnerToken) Annotations() []schema.Annotation
- func (j JobRunnerToken) Edges() []ent.Edge
- func (JobRunnerToken) Fields() []ent.Field
- func (JobRunnerToken) GetType() any
- func (JobRunnerToken) Hooks() []ent.Hook
- func (JobRunnerToken) Indexes() []ent.Index
- func (JobRunnerToken) Interceptors() []ent.Interceptor
- func (j JobRunnerToken) Mixin() []ent.Mixin
- func (JobRunnerToken) Modules() []models.OrgModule
- func (JobRunnerToken) Name() string
- func (JobRunnerToken) PluralName() string
- func (j JobRunnerToken) Policy() ent.Policy
- type JobTemplate
- func (JobTemplate) Annotations() []schema.Annotation
- func (j JobTemplate) Edges() []ent.Edge
- func (JobTemplate) Fields() []ent.Field
- func (JobTemplate) GetType() any
- func (JobTemplate) Hooks() []ent.Hook
- func (j JobTemplate) Mixin() []ent.Mixin
- func (JobTemplate) Modules() []models.OrgModule
- func (JobTemplate) Name() string
- func (JobTemplate) PluralName() string
- func (JobTemplate) Policy() ent.Policy
- type MappableDomain
- func (e MappableDomain) Edges() []ent.Edge
- func (MappableDomain) Fields() []ent.Field
- func (MappableDomain) GetType() any
- func (MappableDomain) Hooks() []ent.Hook
- func (MappableDomain) Indexes() []ent.Index
- func (e MappableDomain) Mixin() []ent.Mixin
- func (MappableDomain) Modules() []models.OrgModule
- func (MappableDomain) Name() string
- func (MappableDomain) PluralName() string
- func (e MappableDomain) Policy() ent.Policy
- type MappedControl
- func (MappedControl) Annotations() []schema.Annotation
- func (m MappedControl) Edges() []ent.Edge
- func (MappedControl) Fields() []ent.Field
- func (MappedControl) GetType() any
- func (MappedControl) Hooks() []ent.Hook
- func (m MappedControl) Mixin() []ent.Mixin
- func (MappedControl) Modules() []models.OrgModule
- func (MappedControl) Name() string
- func (MappedControl) PluralName() string
- func (MappedControl) Policy() ent.Policy
- type Narrative
- func (n Narrative) Annotations() []schema.Annotation
- func (n Narrative) Edges() []ent.Edge
- func (Narrative) Fields() []ent.Field
- func (Narrative) GetType() any
- func (n Narrative) Mixin() []ent.Mixin
- func (Narrative) Modules() []models.OrgModule
- func (Narrative) Name() string
- func (Narrative) PluralName() string
- func (n Narrative) Policy() ent.Policy
- type Note
- func (n Note) Annotations() []schema.Annotation
- func (n Note) Edges() []ent.Edge
- func (Note) Fields() []ent.Field
- func (Note) GetType() any
- func (Note) Hooks() []ent.Hook
- func (n Note) Mixin() []ent.Mixin
- func (Note) Modules() []models.OrgModule
- func (Note) Name() string
- func (Note) PluralName() string
- func (n Note) Policy() ent.Policy
- type Notification
- func (Notification) Annotations() []schema.Annotation
- func (n Notification) Edges() []ent.Edge
- func (Notification) Fields() []ent.Field
- func (Notification) GetType() any
- func (Notification) Hooks() []ent.Hook
- func (Notification) Indexes() []ent.Index
- func (Notification) Interceptors() []ent.Interceptor
- func (n Notification) Mixin() []ent.Mixin
- func (Notification) Modules() []models.OrgModule
- func (Notification) Name() string
- func (Notification) PluralName() string
- func (Notification) Policy() ent.Policy
- type ObjectOwnedMixin
- func (o ObjectOwnedMixin) Edges() []ent.Edge
- func (o ObjectOwnedMixin) Fields() []ent.Field
- func (o ObjectOwnedMixin) Hooks() []ent.Hook
- func (o ObjectOwnedMixin) Indexes() []ent.Index
- func (o ObjectOwnedMixin) Interceptors() []ent.Interceptor
- func (o ObjectOwnedMixin) P(w interface{ ... }, objectIDs []string)
- func (o ObjectOwnedMixin) PWithField(w interface{ ... }, fieldName string, objectIDs []string)
- type Onboarding
- func (o Onboarding) Annotations() []schema.Annotation
- func (o Onboarding) Edges() []ent.Edge
- func (Onboarding) Fields() []ent.Field
- func (Onboarding) GetType() any
- func (Onboarding) Hooks() []ent.Hook
- func (Onboarding) Mixin() []ent.Mixin
- func (Onboarding) Modules() []models.OrgModule
- func (Onboarding) Name() string
- func (Onboarding) PluralName() string
- func (o Onboarding) Policy() ent.Policy
- type OrgMembership
- func (OrgMembership) Annotations() []schema.Annotation
- func (o OrgMembership) Edges() []ent.Edge
- func (OrgMembership) Fields() []ent.Field
- func (OrgMembership) GetType() any
- func (OrgMembership) Hooks() []ent.Hook
- func (OrgMembership) Indexes() []ent.Index
- func (OrgMembership) Interceptors() []ent.Interceptor
- func (OrgMembership) Mixin() []ent.Mixin
- func (OrgMembership) Modules() []models.OrgModule
- func (OrgMembership) Name() string
- func (OrgMembership) PluralName() string
- func (OrgMembership) Policy() ent.Policy
- type OrgModule
- func (OrgModule) Annotations() []schema.Annotation
- func (o OrgModule) Edges() []ent.Edge
- func (OrgModule) Fields() []ent.Field
- func (OrgModule) GetType() any
- func (OrgModule) Hooks() []ent.Hook
- func (o OrgModule) Mixin() []ent.Mixin
- func (OrgModule) Name() string
- func (OrgModule) PluralName() string
- type OrgPrice
- func (OrgPrice) Annotations() []schema.Annotation
- func (o OrgPrice) Edges() []ent.Edge
- func (OrgPrice) Fields() []ent.Field
- func (OrgPrice) GetType() any
- func (o OrgPrice) Mixin() []ent.Mixin
- func (OrgPrice) Modules() []models.OrgModule
- func (OrgPrice) Name() string
- func (OrgPrice) PluralName() string
- type OrgProduct
- func (OrgProduct) Annotations() []schema.Annotation
- func (o OrgProduct) Edges() []ent.Edge
- func (OrgProduct) Fields() []ent.Field
- func (OrgProduct) GetType() any
- func (o OrgProduct) Mixin() []ent.Mixin
- func (OrgProduct) Modules() []models.OrgModule
- func (OrgProduct) Name() string
- func (OrgProduct) PluralName() string
- type OrgSubscription
- func (o OrgSubscription) Annotations() []schema.Annotation
- func (o OrgSubscription) Edges() []ent.Edge
- func (OrgSubscription) Fields() []ent.Field
- func (OrgSubscription) GetType() any
- func (o OrgSubscription) Interceptors() []ent.Interceptor
- func (o OrgSubscription) Mixin() []ent.Mixin
- func (OrgSubscription) Name() string
- func (OrgSubscription) PluralName() string
- type Organization
- func (o Organization) Annotations() []schema.Annotation
- func (o Organization) Edges() []ent.Edge
- func (Organization) Fields() []ent.Field
- func (Organization) GetType() any
- func (Organization) Hooks() []ent.Hook
- func (Organization) Indexes() []ent.Index
- func (o Organization) Interceptors() []ent.Interceptor
- func (Organization) Mixin() []ent.Mixin
- func (Organization) Name() string
- func (Organization) PluralName() string
- func (Organization) Policy() ent.Policy
- type OrganizationSetting
- func (o OrganizationSetting) Annotations() []schema.Annotation
- func (o OrganizationSetting) Edges() []ent.Edge
- func (OrganizationSetting) Fields() []ent.Field
- func (OrganizationSetting) GetType() any
- func (OrganizationSetting) Hooks() []ent.Hook
- func (o OrganizationSetting) Interceptors() []ent.Interceptor
- func (OrganizationSetting) Mixin() []ent.Mixin
- func (OrganizationSetting) Modules() []models.OrgModule
- func (OrganizationSetting) Name() string
- func (OrganizationSetting) PluralName() string
- func (OrganizationSetting) Policy() ent.Policy
- type PasswordResetToken
- func (p PasswordResetToken) Annotations() []schema.Annotation
- func (PasswordResetToken) Fields() []ent.Field
- func (PasswordResetToken) GetType() any
- func (PasswordResetToken) Hooks() []ent.Hook
- func (PasswordResetToken) Indexes() []ent.Index
- func (p PasswordResetToken) Mixin() []ent.Mixin
- func (PasswordResetToken) Name() string
- func (PasswordResetToken) PluralName() string
- func (p PasswordResetToken) Policy() ent.Policy
- type PersonalAccessToken
- func (p PersonalAccessToken) Annotations() []schema.Annotation
- func (p PersonalAccessToken) Edges() []ent.Edge
- func (PersonalAccessToken) Fields() []ent.Field
- func (PersonalAccessToken) GetType() any
- func (PersonalAccessToken) Hooks() []ent.Hook
- func (PersonalAccessToken) Indexes() []ent.Index
- func (p PersonalAccessToken) Interceptors() []ent.Interceptor
- func (p PersonalAccessToken) Mixin() []ent.Mixin
- func (p PersonalAccessToken) Modules() []models.OrgModule
- func (PersonalAccessToken) Name() string
- func (PersonalAccessToken) PluralName() string
- func (p PersonalAccessToken) Policy() ent.Policy
- type Procedure
- func (p Procedure) Annotations() []schema.Annotation
- func (p Procedure) Edges() []ent.Edge
- func (Procedure) Fields() []ent.Field
- func (Procedure) GetType() any
- func (Procedure) Hooks() []ent.Hook
- func (p Procedure) Interceptors() []ent.Interceptor
- func (p Procedure) Mixin() []ent.Mixin
- func (Procedure) Modules() []models.OrgModule
- func (Procedure) Name() string
- func (Procedure) PluralName() string
- func (p Procedure) Policy() ent.Policy
- type Program
- func (p Program) Annotations() []schema.Annotation
- func (p Program) Edges() []ent.Edge
- func (Program) Fields() []ent.Field
- func (Program) GetType() any
- func (Program) Hooks() []ent.Hook
- func (p Program) Interceptors() []ent.Interceptor
- func (p Program) Mixin() []ent.Mixin
- func (Program) Modules() []models.OrgModule
- func (Program) Name() string
- func (Program) PluralName() string
- func (p Program) Policy() ent.Policy
- type ProgramMembership
- func (ProgramMembership) Annotations() []schema.Annotation
- func (p ProgramMembership) Edges() []ent.Edge
- func (ProgramMembership) Fields() []ent.Field
- func (ProgramMembership) GetType() any
- func (ProgramMembership) Hooks() []ent.Hook
- func (ProgramMembership) Indexes() []ent.Index
- func (ProgramMembership) Interceptors() []ent.Interceptor
- func (ProgramMembership) Mixin() []ent.Mixin
- func (ProgramMembership) Modules() []models.OrgModule
- func (ProgramMembership) Name() string
- func (ProgramMembership) PluralName() string
- func (ProgramMembership) Policy() ent.Policy
- type Remediation
- func (Remediation) Annotations() []schema.Annotation
- func (r Remediation) Edges() []ent.Edge
- func (Remediation) Fields() []ent.Field
- func (Remediation) GetType() any
- func (Remediation) Indexes() []ent.Index
- func (r Remediation) Mixin() []ent.Mixin
- func (Remediation) Modules() []models.OrgModule
- func (Remediation) Name() string
- func (Remediation) PluralName() string
- func (r Remediation) Policy() ent.Policy
- type Review
- func (Review) Annotations() []schema.Annotation
- func (r Review) Edges() []ent.Edge
- func (Review) Fields() []ent.Field
- func (Review) GetType() any
- func (Review) Indexes() []ent.Index
- func (r Review) Mixin() []ent.Mixin
- func (Review) Modules() []models.OrgModule
- func (Review) Name() string
- func (Review) PluralName() string
- func (r Review) Policy() ent.Policy
- type Risk
- func (r Risk) Annotations() []schema.Annotation
- func (r Risk) Edges() []ent.Edge
- func (Risk) Fields() []ent.Field
- func (Risk) GetType() any
- func (Risk) Hooks() []ent.Hook
- func (r Risk) Mixin() []ent.Mixin
- func (Risk) Modules() []models.OrgModule
- func (Risk) Name() string
- func (Risk) PluralName() string
- func (r Risk) Policy() ent.Policy
- type Scan
- func (Scan) Annotations() []schema.Annotation
- func (s Scan) Edges() []ent.Edge
- func (Scan) Fields() []ent.Field
- func (Scan) GetType() any
- func (s Scan) Mixin() []ent.Mixin
- func (Scan) Modules() []models.OrgModule
- func (Scan) Name() string
- func (Scan) PluralName() string
- func (s Scan) Policy() ent.Policy
- type ScheduledJob
- func (ScheduledJob) Annotations() []schema.Annotation
- func (c ScheduledJob) Edges() []ent.Edge
- func (ScheduledJob) Fields() []ent.Field
- func (ScheduledJob) GetType() any
- func (ScheduledJob) Hooks() []ent.Hook
- func (ScheduledJob) Indexes() []ent.Index
- func (ScheduledJob) Interceptors() []ent.Interceptor
- func (c ScheduledJob) Mixin() []ent.Mixin
- func (ScheduledJob) Modules() []models.OrgModule
- func (ScheduledJob) Name() string
- func (ScheduledJob) PluralName() string
- func (ScheduledJob) Policy() ent.Policy
- type ScheduledJobRun
- func (s ScheduledJobRun) Annotations() []schema.Annotation
- func (s ScheduledJobRun) Edges() []ent.Edge
- func (ScheduledJobRun) Fields() []ent.Field
- func (ScheduledJobRun) GetType() any
- func (ScheduledJobRun) Hooks() []ent.Hook
- func (ScheduledJobRun) Indexes() []ent.Index
- func (s ScheduledJobRun) Mixin() []ent.Mixin
- func (ScheduledJobRun) Modules() []models.OrgModule
- func (ScheduledJobRun) Name() string
- func (ScheduledJobRun) PluralName() string
- func (s ScheduledJobRun) Policy() ent.Policy
- type SchemaFuncs
- type Standard
- func (s Standard) Edges() []ent.Edge
- func (Standard) Fields() []ent.Field
- func (Standard) GetType() any
- func (Standard) Hooks() []ent.Hook
- func (s Standard) Interceptors() []ent.Interceptor
- func (s Standard) Mixin() []ent.Mixin
- func (Standard) Modules() []models.OrgModule
- func (Standard) Name() string
- func (Standard) PluralName() string
- func (s Standard) Policy() ent.Policy
- type Subcontrol
- func (s Subcontrol) Edges() []ent.Edge
- func (Subcontrol) Fields() []ent.Field
- func (Subcontrol) GetType() any
- func (Subcontrol) Hooks() []ent.Hook
- func (Subcontrol) Indexes() []ent.Index
- func (s Subcontrol) Mixin() []ent.Mixin
- func (Subcontrol) Modules() []models.OrgModule
- func (Subcontrol) Name() string
- func (Subcontrol) PluralName() string
- func (s Subcontrol) Policy() ent.Policy
- type Subprocessor
- func (Subprocessor) Annotations() []schema.Annotation
- func (t Subprocessor) Edges() []ent.Edge
- func (Subprocessor) Fields() []ent.Field
- func (Subprocessor) GetType() any
- func (Subprocessor) Hooks() []ent.Hook
- func (Subprocessor) Indexes() []ent.Index
- func (t Subprocessor) Interceptors() []ent.Interceptor
- func (t Subprocessor) Mixin() []ent.Mixin
- func (Subprocessor) Modules() []models.OrgModule
- func (Subprocessor) Name() string
- func (Subprocessor) PluralName() string
- func (t Subprocessor) Policy() ent.Policy
- type Subscriber
- func (Subscriber) Annotations() []schema.Annotation
- func (s Subscriber) Edges() []ent.Edge
- func (Subscriber) Fields() []ent.Field
- func (Subscriber) GetType() any
- func (Subscriber) Hooks() []ent.Hook
- func (Subscriber) Indexes() []ent.Index
- func (s Subscriber) Mixin() []ent.Mixin
- func (Subscriber) Modules() []models.OrgModule
- func (Subscriber) Name() string
- func (Subscriber) PluralName() string
- func (Subscriber) Policy() ent.Policy
- type TFASetting
- func (t TFASetting) Annotations() []schema.Annotation
- func (TFASetting) Fields() []ent.Field
- func (TFASetting) GetType() any
- func (TFASetting) Hooks() []ent.Hook
- func (t TFASetting) Mixin() []ent.Mixin
- func (TFASetting) Modules() []models.OrgModule
- func (TFASetting) Name() string
- func (TFASetting) PluralName() string
- func (t TFASetting) Policy() ent.Policy
- type TagDefinition
- func (TagDefinition) Annotations() []schema.Annotation
- func (t TagDefinition) Edges() []ent.Edge
- func (TagDefinition) Fields() []ent.Field
- func (TagDefinition) GetType() any
- func (TagDefinition) Hooks() []ent.Hook
- func (TagDefinition) Indexes() []ent.Index
- func (TagDefinition) Interceptors() []ent.Interceptor
- func (t TagDefinition) Mixin() []ent.Mixin
- func (TagDefinition) Modules() []models.OrgModule
- func (TagDefinition) Name() string
- func (TagDefinition) PluralName() string
- func (TagDefinition) Policy() ent.Policy
- type Task
- func (Task) Annotations() []schema.Annotation
- func (t Task) Edges() []ent.Edge
- func (Task) Fields() []ent.Field
- func (Task) GetType() any
- func (Task) Hooks() []ent.Hook
- func (t Task) Mixin() []ent.Mixin
- func (Task) Modules() []models.OrgModule
- func (Task) Name() string
- func (Task) PluralName() string
- func (Task) Policy() ent.Policy
- type Template
- func (Template) Annotations() []schema.Annotation
- func (t Template) Edges() []ent.Edge
- func (Template) Fields() []ent.Field
- func (Template) GetType() any
- func (Template) Hooks() []ent.Hook
- func (Template) Indexes() []ent.Index
- func (t Template) Mixin() []ent.Mixin
- func (Template) Name() string
- func (Template) PluralName() string
- func (Template) Policy() ent.Policy
- type TrustCenter
- func (t TrustCenter) Annotations() []schema.Annotation
- func (t TrustCenter) Edges() []ent.Edge
- func (TrustCenter) Fields() []ent.Field
- func (TrustCenter) GetType() any
- func (TrustCenter) Hooks() []ent.Hook
- func (TrustCenter) Indexes() []ent.Index
- func (t TrustCenter) Interceptors() []ent.Interceptor
- func (t TrustCenter) Mixin() []ent.Mixin
- func (TrustCenter) Modules() []models.OrgModule
- func (TrustCenter) Name() string
- func (TrustCenter) PluralName() string
- func (t TrustCenter) Policy() ent.Policy
- type TrustCenterCompliance
- func (TrustCenterCompliance) Annotations() []schema.Annotation
- func (t TrustCenterCompliance) Edges() []ent.Edge
- func (TrustCenterCompliance) Fields() []ent.Field
- func (TrustCenterCompliance) GetType() any
- func (TrustCenterCompliance) Hooks() []ent.Hook
- func (TrustCenterCompliance) Indexes() []ent.Index
- func (TrustCenterCompliance) Interceptors() []ent.Interceptor
- func (t TrustCenterCompliance) Mixin() []ent.Mixin
- func (TrustCenterCompliance) Name() string
- func (TrustCenterCompliance) PluralName() string
- func (TrustCenterCompliance) Policy() ent.Policy
- type TrustCenterDoc
- func (TrustCenterDoc) Annotations() []schema.Annotation
- func (t TrustCenterDoc) Edges() []ent.Edge
- func (TrustCenterDoc) Fields() []ent.Field
- func (TrustCenterDoc) GetType() any
- func (TrustCenterDoc) Hooks() []ent.Hook
- func (TrustCenterDoc) Indexes() []ent.Index
- func (TrustCenterDoc) Interceptors() []ent.Interceptor
- func (t TrustCenterDoc) Mixin() []ent.Mixin
- func (TrustCenterDoc) Modules() []models.OrgModule
- func (TrustCenterDoc) Name() string
- func (TrustCenterDoc) PluralName() string
- func (TrustCenterDoc) Policy() ent.Policy
- type TrustCenterSetting
- func (t TrustCenterSetting) Annotations() []schema.Annotation
- func (t TrustCenterSetting) Edges() []ent.Edge
- func (TrustCenterSetting) Fields() []ent.Field
- func (TrustCenterSetting) GetType() any
- func (TrustCenterSetting) Hooks() []ent.Hook
- func (TrustCenterSetting) Indexes() []ent.Index
- func (t TrustCenterSetting) Interceptors() []ent.Interceptor
- func (t TrustCenterSetting) Mixin() []ent.Mixin
- func (TrustCenterSetting) Modules() []models.OrgModule
- func (TrustCenterSetting) Name() string
- func (TrustCenterSetting) PluralName() string
- func (t TrustCenterSetting) Policy() ent.Policy
- type TrustCenterSubprocessor
- func (t TrustCenterSubprocessor) Annotations() []schema.Annotation
- func (t TrustCenterSubprocessor) Edges() []ent.Edge
- func (TrustCenterSubprocessor) Fields() []ent.Field
- func (TrustCenterSubprocessor) GetType() any
- func (TrustCenterSubprocessor) Hooks() []ent.Hook
- func (TrustCenterSubprocessor) Indexes() []ent.Index
- func (t TrustCenterSubprocessor) Interceptors() []ent.Interceptor
- func (t TrustCenterSubprocessor) Mixin() []ent.Mixin
- func (TrustCenterSubprocessor) Modules() []models.OrgModule
- func (TrustCenterSubprocessor) Name() string
- func (TrustCenterSubprocessor) PluralName() string
- func (t TrustCenterSubprocessor) Policy() ent.Policy
- type TrustCenterWatermarkConfig
- func (TrustCenterWatermarkConfig) Annotations() []schema.Annotation
- func (t TrustCenterWatermarkConfig) Edges() []ent.Edge
- func (TrustCenterWatermarkConfig) Fields() []ent.Field
- func (TrustCenterWatermarkConfig) GetType() any
- func (TrustCenterWatermarkConfig) Hooks() []ent.Hook
- func (TrustCenterWatermarkConfig) Indexes() []ent.Index
- func (TrustCenterWatermarkConfig) Interceptors() []ent.Interceptor
- func (t TrustCenterWatermarkConfig) Mixin() []ent.Mixin
- func (TrustCenterWatermarkConfig) Modules() []models.OrgModule
- func (TrustCenterWatermarkConfig) Name() string
- func (TrustCenterWatermarkConfig) PluralName() string
- func (TrustCenterWatermarkConfig) Policy() ent.Policy
- type TrustcenterEntity
- func (TrustcenterEntity) Annotations() []schema.Annotation
- func (t TrustcenterEntity) Edges() []ent.Edge
- func (TrustcenterEntity) Fields() []ent.Field
- func (TrustcenterEntity) GetType() any
- func (TrustcenterEntity) Hooks() []ent.Hook
- func (TrustcenterEntity) Indexes() []ent.Index
- func (TrustcenterEntity) Interceptors() []ent.Interceptor
- func (t TrustcenterEntity) Mixin() []ent.Mixin
- func (TrustcenterEntity) Modules() []models.OrgModule
- func (TrustcenterEntity) Name() string
- func (TrustcenterEntity) PluralName() string
- func (TrustcenterEntity) Policy() ent.Policy
- type User
- func (u User) Annotations() []schema.Annotation
- func (u User) Edges() []ent.Edge
- func (User) Fields() []ent.Field
- func (User) GetType() any
- func (User) Hooks() []ent.Hook
- func (User) Indexes() []ent.Index
- func (u User) Interceptors() []ent.Interceptor
- func (User) Mixin() []ent.Mixin
- func (User) Name() string
- func (User) PluralName() string
- func (User) Policy() ent.Policy
- type UserOwnedMixin
- func (userOwned UserOwnedMixin) Edges() []ent.Edge
- func (userOwned UserOwnedMixin) Fields() []ent.Field
- func (userOwned UserOwnedMixin) Hooks() []ent.Hook
- func (userOwned UserOwnedMixin) Indexes() []ent.Index
- func (userOwned UserOwnedMixin) Interceptors() []ent.Interceptor
- func (userOwned UserOwnedMixin) P(w interface{ ... }, userID string)
- type UserSetting
- func (u UserSetting) Edges() []ent.Edge
- func (UserSetting) Fields() []ent.Field
- func (UserSetting) GetType() any
- func (UserSetting) Hooks() []ent.Hook
- func (UserSetting) Interceptors() []ent.Interceptor
- func (UserSetting) Mixin() []ent.Mixin
- func (UserSetting) Name() string
- func (UserSetting) PluralName() string
- func (UserSetting) Policy() ent.Policy
- type Vulnerability
- func (Vulnerability) Annotations() []schema.Annotation
- func (v Vulnerability) Edges() []ent.Edge
- func (Vulnerability) Fields() []ent.Field
- func (Vulnerability) GetType() any
- func (Vulnerability) Indexes() []ent.Index
- func (v Vulnerability) Mixin() []ent.Mixin
- func (Vulnerability) Modules() []models.OrgModule
- func (Vulnerability) Name() string
- func (Vulnerability) PluralName() string
- func (v Vulnerability) Policy() ent.Policy
- type Webauthn
- func (w Webauthn) Annotations() []schema.Annotation
- func (Webauthn) Fields() []ent.Field
- func (Webauthn) GetType() any
- func (Webauthn) Hooks() []ent.Hook
- func (w Webauthn) Mixin() []ent.Mixin
- func (Webauthn) Modules() []models.OrgModule
- func (Webauthn) Name() string
- func (Webauthn) PluralName() string
- func (w Webauthn) Policy() ent.Policy
- type WorkflowApprovalMixin
- type WorkflowAssignment
- func (WorkflowAssignment) Annotations() []schema.Annotation
- func (w WorkflowAssignment) Edges() []ent.Edge
- func (WorkflowAssignment) Fields() []ent.Field
- func (WorkflowAssignment) GetType() any
- func (WorkflowAssignment) Indexes() []ent.Index
- func (WorkflowAssignment) Mixin() []ent.Mixin
- func (WorkflowAssignment) Modules() []models.OrgModule
- func (WorkflowAssignment) Name() string
- func (WorkflowAssignment) PluralName() string
- func (WorkflowAssignment) Policy() ent.Policy
- type WorkflowAssignmentTarget
- func (w WorkflowAssignmentTarget) Edges() []ent.Edge
- func (WorkflowAssignmentTarget) Fields() []ent.Field
- func (WorkflowAssignmentTarget) GetType() any
- func (WorkflowAssignmentTarget) Indexes() []ent.Index
- func (WorkflowAssignmentTarget) Mixin() []ent.Mixin
- func (WorkflowAssignmentTarget) Modules() []models.OrgModule
- func (WorkflowAssignmentTarget) Name() string
- func (WorkflowAssignmentTarget) PluralName() string
- func (WorkflowAssignmentTarget) Policy() ent.Policy
- type WorkflowDefinition
- func (WorkflowDefinition) Annotations() []schema.Annotation
- func (WorkflowDefinition) Edges() []ent.Edge
- func (WorkflowDefinition) Fields() []ent.Field
- func (WorkflowDefinition) GetType() any
- func (w WorkflowDefinition) Mixin() []ent.Mixin
- func (WorkflowDefinition) Modules() []models.OrgModule
- func (WorkflowDefinition) Name() string
- func (WorkflowDefinition) PluralName() string
- func (WorkflowDefinition) Policy() ent.Policy
- type WorkflowEvent
- func (WorkflowEvent) Edges() []ent.Edge
- func (WorkflowEvent) Fields() []ent.Field
- func (WorkflowEvent) GetType() any
- func (WorkflowEvent) Mixin() []ent.Mixin
- func (WorkflowEvent) Modules() []models.OrgModule
- func (WorkflowEvent) Name() string
- func (WorkflowEvent) PluralName() string
- func (WorkflowEvent) Policy() ent.Policy
- type WorkflowInstance
- func (WorkflowInstance) Annotations() []schema.Annotation
- func (w WorkflowInstance) Edges() []ent.Edge
- func (WorkflowInstance) Fields() []ent.Field
- func (WorkflowInstance) GetType() any
- func (WorkflowInstance) Indexes() []ent.Index
- func (WorkflowInstance) Mixin() []ent.Mixin
- func (WorkflowInstance) Modules() []models.OrgModule
- func (WorkflowInstance) Name() string
- func (WorkflowInstance) PluralName() string
- func (WorkflowInstance) Policy() ent.Policy
- type WorkflowObjectRef
- func (WorkflowObjectRef) Annotations() []schema.Annotation
- func (w WorkflowObjectRef) Edges() []ent.Edge
- func (WorkflowObjectRef) Fields() []ent.Field
- func (WorkflowObjectRef) GetType() any
- func (WorkflowObjectRef) Indexes() []ent.Index
- func (w WorkflowObjectRef) Mixin() []ent.Mixin
- func (WorkflowObjectRef) Modules() []models.OrgModule
- func (WorkflowObjectRef) Name() string
- func (WorkflowObjectRef) PluralName() string
- func (WorkflowObjectRef) Policy() ent.Policy
- type WorkflowProposal
- func (WorkflowProposal) Annotations() []schema.Annotation
- func (w WorkflowProposal) Edges() []ent.Edge
- func (WorkflowProposal) Fields() []ent.Field
- func (WorkflowProposal) GetType() any
- func (WorkflowProposal) Indexes() []ent.Index
- func (w WorkflowProposal) Mixin() []ent.Mixin
- func (WorkflowProposal) Modules() []models.OrgModule
- func (WorkflowProposal) Name() string
- func (WorkflowProposal) PluralName() string
Constants ¶
const SchemaAPIToken = "api_token"
SchemaAPIToken is the name of the APIToken schema.
const SchemaActionPlan = "action_plan"
SchemaActionPlan is the name of the action plan schema.
const SchemaAssessment = "assessment"
const SchemaAssessmentResponse = "assessment_response"
const SchemaAsset = "asset"
const SchemaContact = "contact"
SchemaContact is the name of the Contact schema.
const SchemaControl = "control"
SchemaControl is the name of the control schema.
const SchemaControlObjective = "control_objective"
SchemaControlObjective is the name of the controlobjective schema.
const (
// SchemaCustomDomain is the name of the CustomDomain schema.
SchemaCustomDomain = "custom_domain"
)
const SchemaCustomTypeEnum = "custom_type_enum"
SchemaCustomTypeEnum is the name of the schema in snake case
const (
// SchemaDNSVerification is the name of the DNSVerification schema.
SchemaDNSVerification = "dns_verification"
)
const SchemaDirectoryAccount = "directory_account"
SchemaDirectoryAccount is the canonical schema name
const SchemaDirectoryGroup = "directory_group"
SchemaDirectoryGroup is the canonical schema name
const SchemaDirectoryMembership = "directory_membership"
SchemaDirectoryMembership is the canonical schema name
const SchemaDirectorySyncRun = "directory_sync_run"
SchemaDirectorySyncRun is the canonical schema name
const SchemaDiscussion = "discussion"
SchemaDiscussionis the name of the schema in snake case
const SchemaDocumentData = "document"
SchemaDocumentData is the name of the DocumentData schema.
const SchemaEmailVerificationToken = "email_verification_token" //nolint:gosec
SchemaEmailVerificationToken is the name of the EmailVerificationToken schema.
const SchemaEntity = "entity"
SchemaEntity is the name of the Entity schema.
const SchemaEntityType = "entity_type"
SchemaEntityType is the name of the EntityType schema.
const SchemaEvent = "event"
SchemaEvent is the name of the Event schema.
const SchemaEvidence = "evidence"
SchemaEvidence is the name of the Evidence schema.
const SchemaExport = "export"
const SchemaFile = "file"
const SchemaFileDownloadToken = "file_download_token"
SchemaFileDownloadToken is the name of the FileDownloadToken schema.
const SchemaFinding = "finding"
SchemaFinding is the name of the finding schema.
const SchemaFindingControl = "finding_control"
SchemaFindingControl is the name of the finding control schema.
const SchemaGroup = "group"
SchemaGroup is the name of the Group schema.
const SchemaGroupMembership = "group_membership"
SchemaGroupMembership is the name of the GroupMembership schema.
const SchemaGroupSetting = "group_setting"
const SchemaHush = "secret"
SchemaHush is the name of the Hush schema.
const SchemaImpersonationEvent = "impersonation_event"
SchemaImpersonationEventis the name of the schema in snake case
const SchemaImplementation = "control_implementation"
SchemaImplementation is the name of the ControlImplementation schema.
const SchemaIntegration = "integration"
SchemaIntegration is the name of the Integration schema.
const SchemaInternalPolicy = "internal_policy"
SchemaInternalPolicy is the name of the internal policy schema.
const SchemaInvite = "invite"
const SchemaJobResult = "job_result"
SchemaJobResultis the name of the schema in snake case
const SchemaJobRunner = "job_runner"
SchemaJobRunneris the name of the schema in snake case
const SchemaJobRunnerRegistrationToken = "job_runner_registration_token"
SchemaJobRunnerRegistrationTokenis the name of the schema in snake case
const SchemaJobRunnerToken = "job_runner_token"
SchemaJobRunnerTokenis the name of the schema in snake case
const SchemaJobTemplate = "job_template"
SchemaJobTemplate is the name of the schema in snake case
const (
// SchemaMappableDomain is the name of the MappableDomain schema.
SchemaMappableDomain = "mappable_domain"
)
const SchemaMappedControl = "mapped_control"
const SchemaNarrative = "narrative"
const SchemaNote = "note"
const SchemaNotification = "notification"
const SchemaOnboarding = "onboarding"
SchemaOnboarding is the name of the Onboarding schema.
const SchemaOrgMembership = "org_membership"
const SchemaOrgModule = "org_module"
const SchemaOrgPrice = "org_price"
const SchemaOrgProduct = "org_product"
const SchemaOrgSubscription = "org_subscription"
SchemaOrgSubscription is the name of the OrgSubscription schema.
const SchemaOrganization = "organization"
const SchemaOrganizationSetting = "organization_setting"
SchemaOrganizationSetting is the name of the OrganizationSetting schema.
const SchemaPasswordResetToken = "password_reset_token"
SchemaPasswordResetToken is the name of the PasswordResetToken schema.
const SchemaPersonalAccessToken = "personal_access_token"
SchemaPersonalAccessToken is the name of the PersonalAccessToken schema.
const SchemaProcedure = "procedure"
SchemaProcedure is the name of the procedure schema.
const SchemaProgram = "program"
SchemaProgram is the name of the Program schema.
const SchemaProgramMembership = "program_membership"
SchemaProgramMembership is the name of the ProgramMembership schema.
const SchemaRemediation = "remediation"
SchemaRemediation is the name of the remediation schema.
const SchemaReview = "review"
SchemaReview is the name of the review schema.
const SchemaRisk = "risk"
SchemaRisk is the name of the risk schema.
const SchemaScan = "scan"
const SchemaScheduledJob = "scheduled_job"
SchemaScheduledJob is the name of the schema in snake case
const SchemaScheduledJobRun = "scheduled_job_run"
SchemaScheduledJobRunis the name of the schema in snake case
const SchemaStandard = "standard"
SchemaStandard is the name of the standard schema.
const SchemaSubcontrol = "subcontrol"
SchemaSubcontrol is the name of the Subcontrol schema.
const SchemaSubprocessor = "subprocessor"
SchemaSubprocessor is the name of the Subprocessor schema.
const SchemaSubscriber = "subscriber"
SchemaSubscriber is the name of the Subscriber schema.
const SchemaTFASetting = "tfa_setting"
SchemaTFASetting is the name of the TFASetting schema.
const SchemaTagDefinition = "tag_definition"
SchemaTagDefinitionis the name of the schema in snake case
const SchemaTask = "task"
SchemaTask is the name of the Task schema.
const SchemaTemplate = "template"
SchemaTemplate is the name of the Template schema.
const SchemaTrustCenter = "trust_center"
SchemaTrustCenter is the name of the TrustCenter schema.
const SchemaTrustCenterCompliance = "trust_center_compliance"
SchemaTrustCenterCompliance is the name of the TrustCenterCompliance schema.
const SchemaTrustCenterDoc = "trust_center_doc"
SchemaTrustCenterDoc is the name of the TrustCenterDoc schema.
const SchemaTrustCenterSetting = "trust_center_setting"
const SchemaTrustCenterSubprocessor = "trust_center_subprocessor"
SchemaTrustCenterSubprocessor is the name of the TrustCenterSubprocessor schema.
const SchemaTrustCenterWatermarkConfig = "trust_center_watermark_config"
SchemaTrustCenterWatermarkConfig is the name of the TrustCenterWatermarkConfig schema.
const SchemaTrustcenterEntity = "trustcenter_entity"
SchemaTrustcenterEntityis the name of the schema in snake case
const SchemaUser = "user"
SchemaUser is the name of the User schema.
const SchemaUserSetting = "user_setting"
SchemaUserSetting is the name of the UserSetting schema.
const SchemaVulnerability = "vulnerability"
SchemaVulnerability is the name of the vulnerability schema.
const SchemaWebauthn = "webauthn"
SchemaWebauthn is the name of the Webauthn schema.
Variables ¶
var ( // ErrInvalidTokenSize is returned when session token size is invalid ErrInvalidTokenSize = errors.New("invalid token size") // ErrContainsSpaces is returned when field contains spaces ErrContainsSpaces = errors.New("field should not contain spaces") // ErrUnexpectedMutationType is returned when an unexpected mutation type is encountered ErrUnexpectedMutationType = errors.New("unexpected mutation type") )
Functions ¶
This section is empty.
Types ¶
type APIToken ¶
type APIToken struct {
SchemaFuncs
ent.Schema
}
APIToken holds the schema definition for the APIToken entity.
func (APIToken) Annotations ¶
func (a APIToken) Annotations() []schema.Annotation
Annotations of the APIToken
func (APIToken) Interceptors ¶
func (a APIToken) Interceptors() []ent.Interceptor
Interceptors of the APIToken
func (APIToken) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the APIToken schema.
type ActionPlan ¶ added in v0.3.3
type ActionPlan struct {
SchemaFuncs
ent.Schema
}
ActionPlan defines the action plan schema.
func (ActionPlan) Annotations ¶ added in v0.3.3
func (a ActionPlan) Annotations() []schema.Annotation
Annotations of the ActionPlan
func (ActionPlan) Edges ¶ added in v0.3.3
func (a ActionPlan) Edges() []ent.Edge
Edges of the ActionPlan
func (ActionPlan) Fields ¶ added in v0.3.3
func (ActionPlan) Fields() []ent.Field
Fields returns action plan fields.
func (ActionPlan) GetType ¶ added in v0.8.2
func (ActionPlan) GetType() any
GetType returns the type of the action plan schema.
func (ActionPlan) Mixin ¶ added in v0.3.3
func (a ActionPlan) Mixin() []ent.Mixin
Mixin of the ActionPlan
func (ActionPlan) Modules ¶ added in v0.28.0
func (ActionPlan) Modules() []models.OrgModule
func (ActionPlan) Name ¶ added in v0.8.2
func (ActionPlan) Name() string
Name returns the name of the action plan schema.
func (ActionPlan) PluralName ¶ added in v0.8.2
func (ActionPlan) PluralName() string
PluralName returns the plural name of the action plan schema.
func (ActionPlan) Policy ¶ added in v0.7.5
func (a ActionPlan) Policy() ent.Policy
Policy of the ActionPlan
type Assessment ¶ added in v0.42.6
type Assessment struct {
SchemaFuncs
ent.Schema
}
Assessment stores information about an questionnaire filled out
func (Assessment) Annotations ¶ added in v0.42.6
func (Assessment) Annotations() []schema.Annotation
Annotations of the Assessment
func (Assessment) Edges ¶ added in v0.42.6
func (a Assessment) Edges() []ent.Edge
func (Assessment) Fields ¶ added in v0.42.6
func (Assessment) Fields() []ent.Field
func (Assessment) GetType ¶ added in v0.42.6
func (Assessment) GetType() any
func (Assessment) Hooks ¶ added in v0.42.6
func (Assessment) Hooks() []ent.Hook
func (Assessment) Indexes ¶ added in v0.42.6
func (Assessment) Indexes() []ent.Index
Indexes of the Assessment
func (Assessment) Interceptors ¶ added in v0.42.6
func (Assessment) Interceptors() []ent.Interceptor
Interceptors of the Assessment
func (Assessment) Mixin ¶ added in v0.42.6
func (a Assessment) Mixin() []ent.Mixin
func (Assessment) Modules ¶ added in v0.42.6
func (Assessment) Modules() []models.OrgModule
func (Assessment) Name ¶ added in v0.42.6
func (Assessment) Name() string
func (Assessment) PluralName ¶ added in v0.42.6
func (Assessment) PluralName() string
func (Assessment) Policy ¶ added in v0.42.6
func (Assessment) Policy() ent.Policy
type AssessmentResponse ¶ added in v0.42.6
type AssessmentResponse struct {
SchemaFuncs
ent.Schema
}
AssessmentResponse stores information about a user's response to an assessment including status, completion, and answers
func (AssessmentResponse) Annotations ¶ added in v0.42.6
func (AssessmentResponse) Annotations() []schema.Annotation
Annotations of the AssessmentResponse
func (AssessmentResponse) Edges ¶ added in v0.42.6
func (ar AssessmentResponse) Edges() []ent.Edge
func (AssessmentResponse) Fields ¶ added in v0.42.6
func (AssessmentResponse) Fields() []ent.Field
func (AssessmentResponse) GetType ¶ added in v0.42.6
func (AssessmentResponse) GetType() any
func (AssessmentResponse) Hooks ¶ added in v0.46.3
func (AssessmentResponse) Hooks() []ent.Hook
func (AssessmentResponse) Indexes ¶ added in v0.42.6
func (AssessmentResponse) Indexes() []ent.Index
Indexes of the AssessmentResponse
func (AssessmentResponse) Interceptors ¶ added in v0.42.6
func (AssessmentResponse) Interceptors() []ent.Interceptor
Interceptors of the AssessmentResponse
func (AssessmentResponse) Mixin ¶ added in v0.42.6
func (ar AssessmentResponse) Mixin() []ent.Mixin
func (AssessmentResponse) Modules ¶ added in v0.42.6
func (AssessmentResponse) Modules() []models.OrgModule
func (AssessmentResponse) Name ¶ added in v0.42.6
func (AssessmentResponse) Name() string
func (AssessmentResponse) PluralName ¶ added in v0.42.6
func (AssessmentResponse) PluralName() string
func (AssessmentResponse) Policy ¶ added in v0.42.6
func (AssessmentResponse) Policy() ent.Policy
type Asset ¶ added in v0.19.0
type Asset struct {
SchemaFuncs
ent.Schema
}
Asset stores information about a discovered asset such as technology, domain, or device.
func (Asset) Annotations ¶ added in v0.19.0
func (a Asset) Annotations() []schema.Annotation
Annotations of the Asset
func (Asset) PluralName ¶ added in v0.19.0
type Contact ¶
type Contact struct {
SchemaFuncs
ent.Schema
}
Contact holds the schema definition for the Contact entity
func (Contact) Annotations ¶
func (c Contact) Annotations() []schema.Annotation
Annotations of the Contact
func (Contact) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the Contact schema.
type Control ¶ added in v0.3.3
type Control struct {
SchemaFuncs
ent.Schema
}
Control defines the control schema.
func (Control) Annotations ¶ added in v0.3.3
func (c Control) Annotations() []schema.Annotation
Annotations of the Control
func (Control) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the control schema.
type ControlImplementation ¶ added in v0.7.3
type ControlImplementation struct {
SchemaFuncs
ent.Schema
}
ControlImplementation holds the schema definition for the ControlImplementation entity
func (ControlImplementation) Annotations ¶ added in v0.7.3
func (c ControlImplementation) Annotations() []schema.Annotation
Annotations of the ControlImplementation
func (ControlImplementation) Edges ¶ added in v0.7.3
func (c ControlImplementation) Edges() []ent.Edge
Edges of the ControlImplementation
func (ControlImplementation) Fields ¶ added in v0.7.3
func (ControlImplementation) Fields() []ent.Field
Fields of the ControlImplementation
func (ControlImplementation) GetType ¶ added in v0.8.2
func (ControlImplementation) GetType() any
GetType returns the type of the ControlImplementation schema.
func (ControlImplementation) Hooks ¶ added in v0.8.10
func (ControlImplementation) Hooks() []ent.Hook
Hooks of the ControlImplementation
func (ControlImplementation) Mixin ¶ added in v0.7.3
func (c ControlImplementation) Mixin() []ent.Mixin
Mixin of the ControlImplementation
func (ControlImplementation) Modules ¶ added in v0.28.0
func (ControlImplementation) Modules() []models.OrgModule
func (ControlImplementation) Name ¶ added in v0.8.2
func (ControlImplementation) Name() string
Name returns the name of the ControlImplementation schema.
func (ControlImplementation) PluralName ¶ added in v0.8.2
func (ControlImplementation) PluralName() string
PluralName returns the plural name of the ControlImplementation schema.
func (ControlImplementation) Policy ¶ added in v0.7.3
func (c ControlImplementation) Policy() ent.Policy
Policy of the ControlImplementation
type ControlMixin ¶ added in v0.8.9
type ControlMixin struct {
mixin.Schema
// SchemaType is the schema that implements the SchemaFuncs interface that is using
// this mixin
SchemaType any
}
ControlMixin implements the control pattern fields for different schemas.
func (ControlMixin) Annotations ¶ added in v0.8.9
func (ControlMixin) Annotations() []schema.Annotation
Annotations of the Control
func (ControlMixin) Edges ¶ added in v0.8.9
func (m ControlMixin) Edges() []ent.Edge
Edges of the ControlMixin.
func (ControlMixin) Fields ¶ added in v0.8.9
func (ControlMixin) Fields() []ent.Field
Fields of the ControlMixin.
func (ControlMixin) Hooks ¶ added in v0.8.9
func (ControlMixin) Hooks() []ent.Hook
Hooks of the ControlMixin
func (ControlMixin) Interceptors ¶ added in v0.34.3
func (ControlMixin) Interceptors() []ent.Interceptor
Interceptors of the ControlMixin
type ControlObjective ¶ added in v0.3.3
type ControlObjective struct {
SchemaFuncs
ent.Schema
}
ControlObjective defines the controlobjective schema.
func (ControlObjective) Annotations ¶ added in v0.3.3
func (c ControlObjective) Annotations() []schema.Annotation
Annotations of the ControlObjective
func (ControlObjective) Edges ¶ added in v0.3.3
func (c ControlObjective) Edges() []ent.Edge
Edges of the ControlObjective
func (ControlObjective) Fields ¶ added in v0.3.3
func (ControlObjective) Fields() []ent.Field
Fields returns controlobjective fields.
func (ControlObjective) GetType ¶ added in v0.8.2
func (ControlObjective) GetType() any
GetType returns the type of the controlobjective schema.
func (ControlObjective) Mixin ¶ added in v0.3.3
func (c ControlObjective) Mixin() []ent.Mixin
Mixin of the ControlObjective
func (ControlObjective) Modules ¶ added in v0.28.0
func (ControlObjective) Modules() []models.OrgModule
func (ControlObjective) Name ¶ added in v0.8.2
func (ControlObjective) Name() string
Name returns the name of the controlobjective schema.
func (ControlObjective) PluralName ¶ added in v0.8.2
func (ControlObjective) PluralName() string
PluralName returns the plural name of the controlobjective schema.
func (ControlObjective) Policy ¶ added in v0.4.4
func (c ControlObjective) Policy() ent.Policy
Policy of the ControlObjective
type CustomDomain ¶ added in v0.12.1
type CustomDomain struct {
SchemaFuncs
ent.Schema
}
CustomDomain holds the schema definition for the CustomDomain
func (CustomDomain) Edges ¶ added in v0.12.1
func (e CustomDomain) Edges() []ent.Edge
Edges of the CustomDomain
func (CustomDomain) Fields ¶ added in v0.12.1
func (CustomDomain) Fields() []ent.Field
Fields of the CustomDomain
func (CustomDomain) GetType ¶ added in v0.12.1
func (CustomDomain) GetType() any
GetType returns the type of the CustomDomain schema.
func (CustomDomain) Hooks ¶ added in v0.12.1
func (CustomDomain) Hooks() []ent.Hook
Hooks of the CustomDomain
func (CustomDomain) Indexes ¶ added in v0.12.1
func (CustomDomain) Indexes() []ent.Index
Indexes of the CustomDomain
func (CustomDomain) Mixin ¶ added in v0.12.1
func (e CustomDomain) Mixin() []ent.Mixin
Mixin of the CustomDomain
func (CustomDomain) Modules ¶ added in v0.28.0
func (CustomDomain) Modules() []models.OrgModule
func (CustomDomain) Name ¶ added in v0.12.1
func (CustomDomain) Name() string
Name returns the name of the CustomDomain schema.
func (CustomDomain) PluralName ¶ added in v0.12.1
func (CustomDomain) PluralName() string
PluralName returns the plural name of the CustomDomain schema.
func (CustomDomain) Policy ¶ added in v0.12.1
func (e CustomDomain) Policy() ent.Policy
Policy of the CustomDomain
type CustomEnumMixin ¶ added in v0.43.0
type CustomEnumMixin struct {
mixin.Schema
// WorkflowEdgeEligible marks the enum edge as workflow-eligible
WorkflowEdgeEligible bool
// contains filtered or unexported fields
}
CustomEnumMixin holds the schema definition for the custom enums
func (CustomEnumMixin) Edges ¶ added in v0.43.0
func (c CustomEnumMixin) Edges() []ent.Edge
Edges of the CustomEnumMixin
func (CustomEnumMixin) Fields ¶ added in v0.43.0
func (c CustomEnumMixin) Fields() []ent.Field
Fields of the CustomEnumMixin.
func (CustomEnumMixin) Hooks ¶ added in v0.43.0
func (c CustomEnumMixin) Hooks() []ent.Hook
Hooks of the CustomEnumMixin
type CustomTypeEnum ¶ added in v0.43.0
type CustomTypeEnum struct {
SchemaFuncs
ent.Schema
}
CustomTypeEnum holds the schema definition for the CustomTypeEnum entity
func (CustomTypeEnum) Annotations ¶ added in v0.43.0
func (CustomTypeEnum) Annotations() []schema.Annotation
Annotations of the CustomTypeEnum
func (CustomTypeEnum) Edges ¶ added in v0.43.0
func (t CustomTypeEnum) Edges() []ent.Edge
Edges of the CustomTypeEnum
func (CustomTypeEnum) Fields ¶ added in v0.43.0
func (CustomTypeEnum) Fields() []ent.Field
Fields of the CustomTypeEnum
func (CustomTypeEnum) GetType ¶ added in v0.43.0
func (CustomTypeEnum) GetType() any
GetType returns the type of the schema
func (CustomTypeEnum) Hooks ¶ added in v0.43.0
func (CustomTypeEnum) Hooks() []ent.Hook
Hooks of the CustomTypeEnum
func (CustomTypeEnum) Indexes ¶ added in v0.43.0
func (CustomTypeEnum) Indexes() []ent.Index
Indexes of the CustomTypeEnum
func (CustomTypeEnum) Interceptors ¶ added in v0.43.0
func (CustomTypeEnum) Interceptors() []ent.Interceptor
Interceptors of the CustomTypeEnum
func (CustomTypeEnum) Mixin ¶ added in v0.43.0
func (t CustomTypeEnum) Mixin() []ent.Mixin
Mixin of the CustomTypeEnum
func (CustomTypeEnum) Modules ¶ added in v0.43.0
func (CustomTypeEnum) Modules() []models.OrgModule
Modules this schema has access to
func (CustomTypeEnum) Name ¶ added in v0.43.0
func (CustomTypeEnum) Name() string
Name is the name of the schema in snake case
func (CustomTypeEnum) PluralName ¶ added in v0.43.0
func (CustomTypeEnum) PluralName() string
PluralName returns the plural name of the schema
func (CustomTypeEnum) Policy ¶ added in v0.43.0
func (CustomTypeEnum) Policy() ent.Policy
Policy of the CustomTypeEnum
type DNSVerification ¶ added in v0.15.0
type DNSVerification struct {
SchemaFuncs
ent.Schema
}
DNSVerification holds the schema definition for the DNSVerification
func (DNSVerification) Edges ¶ added in v0.15.0
func (e DNSVerification) Edges() []ent.Edge
Edges of the DNSVerification
func (DNSVerification) Fields ¶ added in v0.15.0
func (DNSVerification) Fields() []ent.Field
Fields of the DNSVerification
func (DNSVerification) GetType ¶ added in v0.15.0
func (DNSVerification) GetType() any
GetType returns the type of the DNSVerification schema.
func (DNSVerification) Hooks ¶ added in v0.15.0
func (DNSVerification) Hooks() []ent.Hook
Hooks of the DNSVerification
func (DNSVerification) Indexes ¶ added in v0.15.0
func (DNSVerification) Indexes() []ent.Index
Indexes of the DNSVerification
func (DNSVerification) Mixin ¶ added in v0.15.0
func (e DNSVerification) Mixin() []ent.Mixin
Mixin of the DNSVerification
func (DNSVerification) Modules ¶ added in v0.28.0
func (DNSVerification) Modules() []models.OrgModule
Modules of the DNSVerification
func (DNSVerification) Name ¶ added in v0.15.0
func (DNSVerification) Name() string
Name returns the name of the DNSVerification schema.
func (DNSVerification) PluralName ¶ added in v0.15.0
func (DNSVerification) PluralName() string
PluralName returns the plural name of the DNSVerification schema.
func (DNSVerification) Policy ¶ added in v0.15.0
func (DNSVerification) Policy() ent.Policy
Policy of the DNSVerification
type DirectoryAccount ¶ added in v0.46.3
type DirectoryAccount struct {
SchemaFuncs
ent.Schema
}
DirectoryAccount captures one normalized identity fetched from an external directory provider
func (DirectoryAccount) Annotations ¶ added in v0.46.3
func (d DirectoryAccount) Annotations() []schema.Annotation
Annotations of the DirectoryAccount
func (DirectoryAccount) Edges ¶ added in v0.46.3
func (d DirectoryAccount) Edges() []ent.Edge
Edges of the DirectoryAccount
func (DirectoryAccount) Fields ¶ added in v0.46.3
func (DirectoryAccount) Fields() []ent.Field
Fields of the DirectoryAccount
func (DirectoryAccount) GetType ¶ added in v0.46.3
func (DirectoryAccount) GetType() any
GetType returns the ent type for DirectoryAccount
func (DirectoryAccount) Indexes ¶ added in v0.46.3
func (DirectoryAccount) Indexes() []ent.Index
Indexes of the DirectoryAccount
func (DirectoryAccount) Mixin ¶ added in v0.46.3
func (d DirectoryAccount) Mixin() []ent.Mixin
Mixin of the DirectoryAccount
func (DirectoryAccount) Name ¶ added in v0.46.3
func (DirectoryAccount) Name() string
Name returns the schema name.
func (DirectoryAccount) PluralName ¶ added in v0.46.3
func (DirectoryAccount) PluralName() string
PluralName returns the pluralized schema name
func (DirectoryAccount) Policy ¶ added in v0.46.3
func (d DirectoryAccount) Policy() ent.Policy
Policy of the DirectoryAccount
type DirectoryGroup ¶ added in v0.46.3
type DirectoryGroup struct {
SchemaFuncs
ent.Schema
}
DirectoryGroup mirrors group metadata from an external directory provider
func (DirectoryGroup) Annotations ¶ added in v0.46.3
func (g DirectoryGroup) Annotations() []schema.Annotation
Annotations of the DirectoryGroup
func (DirectoryGroup) Edges ¶ added in v0.46.3
func (g DirectoryGroup) Edges() []ent.Edge
Edges of the DirectoryGroup
func (DirectoryGroup) Fields ¶ added in v0.46.3
func (DirectoryGroup) Fields() []ent.Field
Fields of the DirectoryGroup
func (DirectoryGroup) GetType ¶ added in v0.46.3
func (DirectoryGroup) GetType() any
GetType returns the ent type
func (DirectoryGroup) Indexes ¶ added in v0.46.3
func (DirectoryGroup) Indexes() []ent.Index
Indexes of the DirectoryGroup
func (DirectoryGroup) Mixin ¶ added in v0.46.3
func (g DirectoryGroup) Mixin() []ent.Mixin
Mixin of the DirectoryGroup
func (DirectoryGroup) Name ¶ added in v0.46.3
func (DirectoryGroup) Name() string
Name returns the schema name
func (DirectoryGroup) PluralName ¶ added in v0.46.3
func (DirectoryGroup) PluralName() string
PluralName returns the pluralized name
func (DirectoryGroup) Policy ¶ added in v0.46.3
func (g DirectoryGroup) Policy() ent.Policy
Policy of the DirectoryGroup
type DirectoryMembership ¶ added in v0.46.3
type DirectoryMembership struct {
SchemaFuncs
ent.Schema
}
DirectoryMembership associates a DirectoryAccount with a DirectoryGroup snapshot
func (DirectoryMembership) Annotations ¶ added in v0.46.3
func (DirectoryMembership) Annotations() []schema.Annotation
Annotations of the DirectoryMembership
func (DirectoryMembership) Edges ¶ added in v0.46.3
func (m DirectoryMembership) Edges() []ent.Edge
Edges of the DirectoryMembership
func (DirectoryMembership) Fields ¶ added in v0.46.3
func (DirectoryMembership) Fields() []ent.Field
Fields of the DirectoryMembership
func (DirectoryMembership) GetType ¶ added in v0.46.3
func (DirectoryMembership) GetType() any
GetType returns the ent type
func (DirectoryMembership) Indexes ¶ added in v0.46.3
func (DirectoryMembership) Indexes() []ent.Index
Indexes of the DirectoryMembership
func (DirectoryMembership) Mixin ¶ added in v0.46.3
func (m DirectoryMembership) Mixin() []ent.Mixin
Mixin of the DirectoryMembership
func (DirectoryMembership) Name ¶ added in v0.46.3
func (DirectoryMembership) Name() string
Name returns the schema name
func (DirectoryMembership) PluralName ¶ added in v0.46.3
func (DirectoryMembership) PluralName() string
PluralName returns the pluralized schema name
func (DirectoryMembership) Policy ¶ added in v0.46.3
func (m DirectoryMembership) Policy() ent.Policy
Policy of the DirectoryMembership
type DirectorySyncRun ¶ added in v0.46.3
type DirectorySyncRun struct {
SchemaFuncs
ent.Schema
}
DirectorySyncRun captures the execution metadata for a directory ingestion job
func (DirectorySyncRun) Annotations ¶ added in v0.46.3
func (DirectorySyncRun) Annotations() []schema.Annotation
Annotations of the DirectorySyncRun
func (DirectorySyncRun) Edges ¶ added in v0.46.3
func (r DirectorySyncRun) Edges() []ent.Edge
Edges of the DirectorySyncRun
func (DirectorySyncRun) Fields ¶ added in v0.46.3
func (DirectorySyncRun) Fields() []ent.Field
Fields defines the DirectorySyncRun attributes
func (DirectorySyncRun) GetType ¶ added in v0.46.3
func (DirectorySyncRun) GetType() any
GetType returns the ent type
func (DirectorySyncRun) Indexes ¶ added in v0.46.3
func (DirectorySyncRun) Indexes() []ent.Index
Indexes of the DirectorySyncRun
func (DirectorySyncRun) Mixin ¶ added in v0.46.3
func (r DirectorySyncRun) Mixin() []ent.Mixin
Mixin of the DirectorySyncRun
func (DirectorySyncRun) Name ¶ added in v0.46.3
func (DirectorySyncRun) Name() string
Name returns the schema name
func (DirectorySyncRun) PluralName ¶ added in v0.46.3
func (DirectorySyncRun) PluralName() string
PluralName returns the pluralized name
func (DirectorySyncRun) Policy ¶ added in v0.46.3
func (r DirectorySyncRun) Policy() ent.Policy
Policy constrains access to DirectorySyncRun
type Discussion ¶ added in v0.49.3
type Discussion struct {
SchemaFuncs
ent.Schema
}
Discussion holds the schema definition for the Discussion entity
func (Discussion) Annotations ¶ added in v0.49.3
func (Discussion) Annotations() []schema.Annotation
Annotations of the Discussion
func (Discussion) Edges ¶ added in v0.49.3
func (d Discussion) Edges() []ent.Edge
Edges of the Discussion
func (Discussion) Fields ¶ added in v0.49.3
func (Discussion) Fields() []ent.Field
Fields of the Discussion
func (Discussion) GetType ¶ added in v0.49.3
func (Discussion) GetType() any
GetType returns the type of the schema
func (Discussion) Hooks ¶ added in v0.49.3
func (Discussion) Hooks() []ent.Hook
Hooks of the Discussion
func (Discussion) Indexes ¶ added in v0.49.3
func (Discussion) Indexes() []ent.Index
Indexes of the Discussion
func (Discussion) Interceptors ¶ added in v0.49.3
func (Discussion) Interceptors() []ent.Interceptor
Interceptors of the Discussion
func (Discussion) Mixin ¶ added in v0.49.3
func (d Discussion) Mixin() []ent.Mixin
Mixin of the Discussion
func (Discussion) Modules ¶ added in v0.49.3
func (Discussion) Modules() []models.OrgModule
Modules this schema has access to
func (Discussion) Name ¶ added in v0.49.3
func (Discussion) Name() string
Name is the name of the schema in snake case
func (Discussion) PluralName ¶ added in v0.49.3
func (Discussion) PluralName() string
PluralName returns the plural name of the schema
func (Discussion) Policy ¶ added in v0.49.3
func (Discussion) Policy() ent.Policy
Policy of the Discussion
type DocumentData ¶
type DocumentData struct {
SchemaFuncs
ent.Schema
}
DocumentData holds the schema definition for the DocumentData entity
func (DocumentData) Annotations ¶
func (d DocumentData) Annotations() []schema.Annotation
Annotations of the DocumentData
func (DocumentData) GetType ¶ added in v0.8.2
func (DocumentData) GetType() any
GetType returns the type of the DocumentData schema.
func (DocumentData) Hooks ¶ added in v0.34.5
func (d DocumentData) Hooks() []ent.Hook
func (DocumentData) Modules ¶ added in v0.28.0
func (DocumentData) Modules() []models.OrgModule
func (DocumentData) Name ¶ added in v0.8.2
func (DocumentData) Name() string
Name returns the name of the DocumentData schema.
func (DocumentData) PluralName ¶ added in v0.8.2
func (DocumentData) PluralName() string
PluralName returns the plural name of the DocumentData schema.
type DocumentMixin ¶ added in v0.7.5
DocumentMixin implements the document pattern with approver for schemas.
func NewDocumentMixin ¶ added in v0.8.3
func NewDocumentMixin(schema any) DocumentMixin
NewDocumentMixin creates a new DocumentMixin with the given schema the schema must implement the SchemaFuncs interface
func (DocumentMixin) Edges ¶ added in v0.7.5
func (d DocumentMixin) Edges() []ent.Edge
Edges of the DocumentMixin.
func (DocumentMixin) Fields ¶ added in v0.7.5
func (d DocumentMixin) Fields() []ent.Field
Fields of the DocumentMixin.
func (DocumentMixin) Hooks ¶ added in v0.7.5
func (d DocumentMixin) Hooks() []ent.Hook
Hooks of the DocumentMixin.
type EdgeInfo ¶ added in v0.5.0
EdgeInfo is used to define the edge information for the reverse edges (group schema)
type EmailVerificationToken ¶
type EmailVerificationToken struct {
SchemaFuncs
ent.Schema
}
EmailVerificationToken holds the schema definition for the EmailVerificationToken entity
func (EmailVerificationToken) Annotations ¶
func (e EmailVerificationToken) Annotations() []schema.Annotation
Annotations of the EmailVerificationToken
func (EmailVerificationToken) Edges ¶
func (EmailVerificationToken) Edges() []ent.Edge
Edges of the EmailVerificationToken
func (EmailVerificationToken) Fields ¶
func (EmailVerificationToken) Fields() []ent.Field
Fields of the EmailVerificationToken
func (EmailVerificationToken) GetType ¶ added in v0.8.2
func (EmailVerificationToken) GetType() any
GetType returns the type of the EmailVerificationToken schema.
func (EmailVerificationToken) Hooks ¶
func (EmailVerificationToken) Hooks() []ent.Hook
Hooks of the EmailVerificationToken
func (EmailVerificationToken) Indexes ¶
func (EmailVerificationToken) Indexes() []ent.Index
Indexes of the EmailVerificationToken
func (EmailVerificationToken) Mixin ¶
func (e EmailVerificationToken) Mixin() []ent.Mixin
Mixin of the EmailVerificationToken
func (EmailVerificationToken) Modules ¶ added in v0.28.0
func (EmailVerificationToken) Modules() []models.OrgModule
func (EmailVerificationToken) Name ¶ added in v0.8.2
func (EmailVerificationToken) Name() string
Name returns the name of the EmailVerificationToken schema.
func (EmailVerificationToken) PluralName ¶ added in v0.8.2
func (EmailVerificationToken) PluralName() string
PluralName returns the plural name of the EmailVerificationToken schema.
func (EmailVerificationToken) Policy ¶
func (e EmailVerificationToken) Policy() ent.Policy
Policy of the EmailVerificationToken
type Entity ¶
type Entity struct {
SchemaFuncs
ent.Schema
}
Entity holds the schema definition for the Entity entity
func (Entity) Annotations ¶
func (e Entity) Annotations() []schema.Annotation
Annotations of the Entity
func (Entity) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the Entity schema.
type EntityType ¶
type EntityType struct {
SchemaFuncs
ent.Schema
}
EntityType holds the schema definition for the EntityType entity
func (EntityType) GetType ¶ added in v0.8.2
func (EntityType) GetType() any
GetType returns the type of the EntityType schema.
func (EntityType) Modules ¶ added in v0.28.0
func (EntityType) Modules() []models.OrgModule
func (EntityType) Name ¶ added in v0.8.2
func (EntityType) Name() string
Name returns the name of the EntityType schema.
func (EntityType) PluralName ¶ added in v0.8.2
func (EntityType) PluralName() string
PluralName returns the plural name of the EntityType schema.
type Event ¶
type Event struct {
SchemaFuncs
ent.Schema
}
Event holds the schema definition for the Event entity
func (Event) Annotations ¶
func (e Event) Annotations() []schema.Annotation
Annotations of the Event
func (Event) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the Event schema.
type Evidence ¶ added in v0.6.19
type Evidence struct {
SchemaFuncs
ent.Schema
}
Evidence holds the schema definition for the Evidence entity
func (Evidence) Annotations ¶ added in v0.6.19
func (e Evidence) Annotations() []schema.Annotation
Annotations of the Evidence
func (Evidence) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the Evidence schema.
type Export ¶ added in v0.22.3
type Export struct {
SchemaFuncs
ent.Schema
}
Export holds the schema definition for export records used for exporting various content types.
func (Export) Annotations ¶ added in v0.22.3
func (e Export) Annotations() []schema.Annotation
Annotations of the Export
func (Export) PluralName ¶ added in v0.22.3
type File ¶
type File struct {
SchemaFuncs
ent.Schema
}
File defines the file schema.
func (File) Interceptors ¶ added in v0.6.10
func (f File) Interceptors() []ent.Interceptor
Interceptors of the File
func (File) PluralName ¶ added in v0.8.2
type FileDownloadToken ¶ added in v0.39.2
type FileDownloadToken struct {
SchemaFuncs
ent.Schema
}
FileDownloadToken holds the schema definition for the FileDownloadToken entity
func (FileDownloadToken) Annotations ¶ added in v0.39.2
func (p FileDownloadToken) Annotations() []schema.Annotation
Annotations of the FileDownloadToken
func (FileDownloadToken) Fields ¶ added in v0.39.2
func (FileDownloadToken) Fields() []ent.Field
Fields of the FileDownloadToken
func (FileDownloadToken) GetType ¶ added in v0.39.2
func (FileDownloadToken) GetType() any
GetType returns the type of the FileDownloadToken schema.
func (FileDownloadToken) Hooks ¶ added in v0.39.2
func (FileDownloadToken) Hooks() []ent.Hook
Hooks of the FileDownloadToken
func (FileDownloadToken) Indexes ¶ added in v0.39.2
func (FileDownloadToken) Indexes() []ent.Index
Indexes of the FileDownloadToken
func (FileDownloadToken) Mixin ¶ added in v0.39.2
func (p FileDownloadToken) Mixin() []ent.Mixin
Mixin of the FileDownloadToken
func (FileDownloadToken) Name ¶ added in v0.39.2
func (FileDownloadToken) Name() string
Name returns the name of the FileDownloadToken schema.
func (FileDownloadToken) PluralName ¶ added in v0.39.2
func (FileDownloadToken) PluralName() string
PluralName returns the plural name of the FileDownloadToken schema.
func (FileDownloadToken) Policy ¶ added in v0.39.2
func (p FileDownloadToken) Policy() ent.Policy
Policy of the FileDownloadToken
type Finding ¶ added in v0.43.3
type Finding struct {
SchemaFuncs
ent.Schema
}
Finding defines the finding schema.
func (Finding) Annotations ¶ added in v0.43.3
func (Finding) Annotations() []schema.Annotation
Annotations of the Finding
func (Finding) PluralName ¶ added in v0.43.3
PluralName returns the plural name of the finding schema.
type FindingControl ¶ added in v0.43.3
type FindingControl struct {
SchemaFuncs
ent.Schema
}
FindingControl defines the mapping between findings and controls.
func (FindingControl) Annotations ¶ added in v0.43.3
func (FindingControl) Annotations() []schema.Annotation
Annotations of the FindingControl
func (FindingControl) Edges ¶ added in v0.43.3
func (fc FindingControl) Edges() []ent.Edge
Edges of the FindingControl
func (FindingControl) Fields ¶ added in v0.43.3
func (FindingControl) Fields() []ent.Field
Fields returns finding control fields.
func (FindingControl) GetType ¶ added in v0.43.3
func (FindingControl) GetType() any
GetType returns the type of the finding control schema.
func (FindingControl) Indexes ¶ added in v0.43.3
func (FindingControl) Indexes() []ent.Index
Indexes of the FindingControl
func (FindingControl) Mixin ¶ added in v0.43.3
func (FindingControl) Mixin() []ent.Mixin
Mixin of the FindingControl
func (FindingControl) Modules ¶ added in v0.43.3
func (FindingControl) Modules() []models.OrgModule
Modules of the FindingControl
func (FindingControl) Name ¶ added in v0.43.3
func (FindingControl) Name() string
Name returns the name of the finding control schema.
func (FindingControl) PluralName ¶ added in v0.43.3
func (FindingControl) PluralName() string
PluralName returns the plural name of the finding control schema.
func (FindingControl) Policy ¶ added in v0.43.3
func (FindingControl) Policy() ent.Policy
Policy of the FindingControl
type Group ¶
type Group struct {
SchemaFuncs
ent.Schema
}
Group holds the schema definition for the Group entity
func (Group) Annotations ¶
func (g Group) Annotations() []schema.Annotation
Annotations of the Group
func (Group) Interceptors ¶
func (g Group) Interceptors() []ent.Interceptor
Interceptors of the Group
func (Group) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the Group schema.
type GroupBasedCreateAccessMixin ¶ added in v0.5.0
GroupBasedCreateAccessMixin is a mixin for group permissions for creation of an entity that should be added to both the to schema (Group) and the from schema (Organization) the object type must be included in the fga model for this to work:
# define [object]_creator: [group#member] # define can_create_[object]: can_edit or [object]_creator
once these exist in the model, the object type can be added to the createObjectTypes list above and the mixin will automatically add the edges and hooks to the schema that will create the tuples upon association with the organization
func NewGroupBasedCreateAccessMixin ¶ added in v0.5.0
func NewGroupBasedCreateAccessMixin() GroupBasedCreateAccessMixin
NewGroupBasedCreateAccessMixin creates a new GroupBasedCreateAccessMixin with the specified edges
func (GroupBasedCreateAccessMixin) Edges ¶ added in v0.5.0
func (c GroupBasedCreateAccessMixin) Edges() []ent.Edge
Edges of the GroupBasedCreateAccessMixin
func (GroupBasedCreateAccessMixin) Hooks ¶ added in v0.5.0
func (c GroupBasedCreateAccessMixin) Hooks() []ent.Hook
Hooks of the GroupBasedCreateAccessMixin
type GroupMembership ¶
type GroupMembership struct {
SchemaFuncs
ent.Schema
}
GroupMembership holds the schema definition for the GroupMembership entity
func (GroupMembership) Annotations ¶
func (g GroupMembership) Annotations() []schema.Annotation
Annotations of the GroupMembership
func (GroupMembership) Edges ¶
func (g GroupMembership) Edges() []ent.Edge
Edges of the GroupMembership
func (GroupMembership) Fields ¶
func (GroupMembership) Fields() []ent.Field
Fields of the GroupMembership
func (GroupMembership) GetType ¶ added in v0.8.2
func (GroupMembership) GetType() any
GetType returns the type of the GroupMembership schema.
func (GroupMembership) Hooks ¶
func (GroupMembership) Hooks() []ent.Hook
Hooks of the GroupMembership
func (GroupMembership) Indexes ¶
func (GroupMembership) Indexes() []ent.Index
Indexes of the GroupMembership
func (GroupMembership) Interceptors ¶ added in v0.7.0
func (g GroupMembership) Interceptors() []ent.Interceptor
Interceptors of the GroupMembership
func (GroupMembership) Mixin ¶
func (GroupMembership) Mixin() []ent.Mixin
Mixin of the GroupMembership
func (GroupMembership) Modules ¶ added in v0.28.0
func (GroupMembership) Modules() []models.OrgModule
func (GroupMembership) Name ¶ added in v0.8.2
func (GroupMembership) Name() string
Name returns the name of the GroupMembership schema.
func (GroupMembership) PluralName ¶ added in v0.8.2
func (GroupMembership) PluralName() string
PluralName returns the plural name of the GroupMembership schema.
func (GroupMembership) Policy ¶
func (GroupMembership) Policy() ent.Policy
Policy of the GroupMembership
type GroupPermissionsEdgesMixin ¶ added in v0.5.0
GroupPermissionsEdgesMixin is a mixin for the reverse edges on the group schema this should be used in conjunction with the GroupPermissionsMixin on the entity schema
func (GroupPermissionsEdgesMixin) Edges ¶ added in v0.5.0
func (g GroupPermissionsEdgesMixin) Edges() []ent.Edge
Edges of the GroupPermissionsEdgesMixin
func (GroupPermissionsEdgesMixin) Hooks ¶ added in v0.6.21
func (g GroupPermissionsEdgesMixin) Hooks() []ent.Hook
Hooks of the GroupPermissionsEdgesMixin
type GroupPermissionsMixin ¶ added in v0.4.4
type GroupPermissionsMixin struct {
mixin.Schema
// ViewPermissions adds view permission for a group
ViewPermissions bool
// IncludeInterceptorFilter is used to skip the interceptor filter
// this is used for more complex view permissions that are not solely based
// on the group membership
IncludeInterceptorFilter bool
// WorkflowEdgeEligible marks group permission edges as workflow-eligible.
WorkflowEdgeEligible bool
}
GroupPermissionsMixin is a mixin for group permissions on an entity This allows for editor + blocked_groups, and optionally viewer groups to be added as edges to the entity. The hooks are added to create the tuples in FGA for the groups After adding this mixin to a schema, you must also update the EdgeInfo to include the reverse edges on the group schema
func (GroupPermissionsMixin) Edges ¶ added in v0.4.4
func (g GroupPermissionsMixin) Edges() []ent.Edge
Edges of the GroupPermissionsMixin
func (GroupPermissionsMixin) Hooks ¶ added in v0.4.4
func (g GroupPermissionsMixin) Hooks() (hooks []ent.Hook)
Hooks of the GroupPermissionsMixin
func (GroupPermissionsMixin) Interceptors ¶ added in v0.26.0
func (g GroupPermissionsMixin) Interceptors() []ent.Interceptor
Interceptors of the GroupPermissionsMixin
type GroupSetting ¶
type GroupSetting struct {
SchemaFuncs
ent.Schema
}
GroupSetting holds the schema definition for the GroupSetting entity
func (GroupSetting) Annotations ¶
func (g GroupSetting) Annotations() []schema.Annotation
Annotations of the GroupSetting
func (GroupSetting) GetType ¶ added in v0.8.2
func (GroupSetting) GetType() any
func (GroupSetting) Hooks ¶ added in v0.7.0
func (GroupSetting) Hooks() []ent.Hook
Hooks of the GroupSetting
func (GroupSetting) Interceptors ¶ added in v0.7.0
func (g GroupSetting) Interceptors() []ent.Interceptor
Interceptors of the GroupSetting
func (GroupSetting) Modules ¶ added in v0.28.0
func (GroupSetting) Modules() []models.OrgModule
func (GroupSetting) Name ¶ added in v0.8.2
func (GroupSetting) Name() string
func (GroupSetting) PluralName ¶ added in v0.8.2
func (GroupSetting) PluralName() string
type HookFunc ¶ added in v0.3.1
type HookFunc func(o ObjectOwnedMixin) ent.Hook
type Hush ¶
type Hush struct {
SchemaFuncs
ent.Schema
}
Hush maps configured integrations (github, slack, etc.) to organizations
func (Hush) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the Hush schema.
type ImpersonationEvent ¶ added in v0.38.1
type ImpersonationEvent struct {
SchemaFuncs
ent.Schema
}
ImpersonationEvent holds the schema definition for the ImpersonationEvent entity
func (ImpersonationEvent) Annotations ¶ added in v0.38.1
func (ImpersonationEvent) Annotations() []schema.Annotation
Annotations of the ImpersonationEvent
func (ImpersonationEvent) Edges ¶ added in v0.38.1
func (i ImpersonationEvent) Edges() []ent.Edge
Edges of the ImpersonationEvent
func (ImpersonationEvent) Fields ¶ added in v0.38.1
func (ImpersonationEvent) Fields() []ent.Field
Fields of the ImpersonationEvent
func (ImpersonationEvent) GetType ¶ added in v0.38.1
func (ImpersonationEvent) GetType() any
GetType returns the type of the schema
func (ImpersonationEvent) Hooks ¶ added in v0.38.1
func (ImpersonationEvent) Hooks() []ent.Hook
Hooks of the ImpersonationEvent
func (ImpersonationEvent) Indexes ¶ added in v0.38.1
func (ImpersonationEvent) Indexes() []ent.Index
Indexes of the ImpersonationEvent
func (ImpersonationEvent) Interceptors ¶ added in v0.38.1
func (ImpersonationEvent) Interceptors() []ent.Interceptor
Interceptors of the ImpersonationEvent
func (ImpersonationEvent) Mixin ¶ added in v0.38.1
func (i ImpersonationEvent) Mixin() []ent.Mixin
Mixin of the ImpersonationEvent
func (ImpersonationEvent) Modules ¶ added in v0.38.1
func (ImpersonationEvent) Modules() []models.OrgModule
Modules this schema has access to
func (ImpersonationEvent) Name ¶ added in v0.38.1
func (ImpersonationEvent) Name() string
Name is the name of the schema in snake case
func (ImpersonationEvent) PluralName ¶ added in v0.38.1
func (ImpersonationEvent) PluralName() string
PluralName returns the plural name of the schema
type Integration ¶
type Integration struct {
SchemaFuncs
ent.Schema
}
Integration maps configured integrations (github, slack, etc.) to organizations
func (Integration) Annotations ¶
func (Integration) Annotations() []schema.Annotation
Annotations of the Integration
func (Integration) GetType ¶ added in v0.8.2
func (Integration) GetType() any
GetType returns the type of the Integration schema.
func (Integration) Modules ¶ added in v0.28.0
func (Integration) Modules() []models.OrgModule
func (Integration) Name ¶ added in v0.8.2
func (Integration) Name() string
Name returns the name of the Integration schema.
func (Integration) PluralName ¶ added in v0.8.2
func (Integration) PluralName() string
PluralName returns the plural name of the Integration schema.
type InterceptorFunc ¶ added in v0.3.1
type InterceptorFunc func(o ObjectOwnedMixin) ent.Interceptor
type InternalPolicy ¶ added in v0.3.3
type InternalPolicy struct {
SchemaFuncs
ent.Schema
}
InternalPolicy defines the policy schema.
func (InternalPolicy) Annotations ¶ added in v0.3.3
func (i InternalPolicy) Annotations() []schema.Annotation
Annotations of the InternalPolicy
func (InternalPolicy) Edges ¶ added in v0.3.3
func (i InternalPolicy) Edges() []ent.Edge
Edges of the InternalPolicy
func (InternalPolicy) Fields ¶ added in v0.3.3
func (InternalPolicy) Fields() []ent.Field
Fields returns policy fields.
func (InternalPolicy) GetType ¶ added in v0.8.2
func (InternalPolicy) GetType() any
GetType returns the type of the internal policy schema.
func (InternalPolicy) Hooks ¶ added in v0.4.2
func (InternalPolicy) Hooks() []ent.Hook
Hooks of the InternalPolicy
func (InternalPolicy) Interceptors ¶ added in v0.4.2
func (InternalPolicy) Interceptors() []ent.Interceptor
Interceptors of the InternalPolicy
func (InternalPolicy) Mixin ¶ added in v0.3.3
func (i InternalPolicy) Mixin() []ent.Mixin
Mixin of the InternalPolicy
func (InternalPolicy) Modules ¶ added in v0.28.0
func (InternalPolicy) Modules() []models.OrgModule
func (InternalPolicy) Name ¶ added in v0.8.2
func (InternalPolicy) Name() string
Name returns the name of the internal policy schema.
func (InternalPolicy) PluralName ¶ added in v0.8.2
func (InternalPolicy) PluralName() string
PluralName returns the plural name of the internal policy schema.
func (InternalPolicy) Policy ¶ added in v0.4.2
func (i InternalPolicy) Policy() ent.Policy
Policy of the InternalPolicy
type Invite ¶
type Invite struct {
SchemaFuncs
ent.Schema
}
Invite holds the schema definition for the Invite entity
func (Invite) Annotations ¶
func (i Invite) Annotations() []schema.Annotation
Annotations of the Invite
func (Invite) PluralName ¶ added in v0.8.2
type JobResult ¶ added in v0.15.0
type JobResult struct {
SchemaFuncs
ent.Schema
}
JobResult holds the schema definition for the JobResult entity
func (JobResult) Annotations ¶ added in v0.15.0
func (j JobResult) Annotations() []schema.Annotation
Annotations of the JobResult
func (JobResult) Interceptors ¶ added in v0.15.0
func (JobResult) Interceptors() []ent.Interceptor
Interceptors of the JobResult
func (JobResult) PluralName ¶ added in v0.15.0
PluralName returns the plural name of the schema
type JobRunner ¶ added in v0.14.1
type JobRunner struct {
SchemaFuncs
ent.Schema
}
JobRunner holds the schema definition for the JobRunner entity
func (JobRunner) Annotations ¶ added in v0.14.1
func (j JobRunner) Annotations() []schema.Annotation
Annotations of the JobRunner
func (JobRunner) Interceptors ¶ added in v0.14.1
func (j JobRunner) Interceptors() []ent.Interceptor
Interceptors of the JobRunner
func (JobRunner) PluralName ¶ added in v0.14.1
PluralName returns the plural name of the schema
type JobRunnerRegistrationToken ¶ added in v0.14.1
type JobRunnerRegistrationToken struct {
SchemaFuncs
ent.Schema
}
JobRunnerRegistrationToken holds the schema definition for the JobRunnerRegistrationToken entity
func (JobRunnerRegistrationToken) Annotations ¶ added in v0.14.1
func (j JobRunnerRegistrationToken) Annotations() []schema.Annotation
Annotations of the JobRunnerRegistrationToken
func (JobRunnerRegistrationToken) Edges ¶ added in v0.14.1
func (j JobRunnerRegistrationToken) Edges() []ent.Edge
Edges of the JobRunnerRegistrationToken
func (JobRunnerRegistrationToken) Fields ¶ added in v0.14.1
func (JobRunnerRegistrationToken) Fields() []ent.Field
Fields of the JobRunnerRegistrationToken
func (JobRunnerRegistrationToken) GetType ¶ added in v0.14.1
func (JobRunnerRegistrationToken) GetType() any
GetType returns the type of the schema
func (JobRunnerRegistrationToken) Hooks ¶ added in v0.14.1
func (JobRunnerRegistrationToken) Hooks() []ent.Hook
Hooks of the JobRunnerRegistrationToken
func (JobRunnerRegistrationToken) Indexes ¶ added in v0.14.1
func (JobRunnerRegistrationToken) Indexes() []ent.Index
Indexes of the JobRunnerRegistrationToken
func (JobRunnerRegistrationToken) Interceptors ¶ added in v0.14.1
func (j JobRunnerRegistrationToken) Interceptors() []ent.Interceptor
Interceptors of the JobRunnerRegistrationToken
func (JobRunnerRegistrationToken) Mixin ¶ added in v0.14.1
func (j JobRunnerRegistrationToken) Mixin() []ent.Mixin
Mixin of the JobRunnerRegistrationToken
func (JobRunnerRegistrationToken) Modules ¶ added in v0.28.0
func (JobRunnerRegistrationToken) Modules() []models.OrgModule
func (JobRunnerRegistrationToken) Name ¶ added in v0.14.1
func (JobRunnerRegistrationToken) Name() string
Name is the name of the schema in snake case
func (JobRunnerRegistrationToken) PluralName ¶ added in v0.14.1
func (JobRunnerRegistrationToken) PluralName() string
PluralName returns the plural name of the schema
func (JobRunnerRegistrationToken) Policy ¶ added in v0.14.1
func (j JobRunnerRegistrationToken) Policy() ent.Policy
Policy of the JobRunnerRegistrationToken
type JobRunnerToken ¶ added in v0.14.1
type JobRunnerToken struct {
SchemaFuncs
ent.Schema
}
JobRunnerToken holds the schema definition for the JobRunnerToken entity
func (JobRunnerToken) Annotations ¶ added in v0.14.1
func (j JobRunnerToken) Annotations() []schema.Annotation
Annotations of the JobRunnerToken
func (JobRunnerToken) Edges ¶ added in v0.14.1
func (j JobRunnerToken) Edges() []ent.Edge
Edges of the JobRunnerToken
func (JobRunnerToken) Fields ¶ added in v0.14.1
func (JobRunnerToken) Fields() []ent.Field
Fields of the JobRunnerToken
func (JobRunnerToken) GetType ¶ added in v0.14.1
func (JobRunnerToken) GetType() any
GetType returns the type of the schema
func (JobRunnerToken) Hooks ¶ added in v0.14.1
func (JobRunnerToken) Hooks() []ent.Hook
Hooks of the JobRunnerToken
func (JobRunnerToken) Indexes ¶ added in v0.14.1
func (JobRunnerToken) Indexes() []ent.Index
Indexes of the JobRunnerToken
func (JobRunnerToken) Interceptors ¶ added in v0.14.1
func (JobRunnerToken) Interceptors() []ent.Interceptor
Interceptors of the JobRunnerToken
func (JobRunnerToken) Mixin ¶ added in v0.14.1
func (j JobRunnerToken) Mixin() []ent.Mixin
Mixin of the JobRunnerToken
func (JobRunnerToken) Modules ¶ added in v0.28.0
func (JobRunnerToken) Modules() []models.OrgModule
func (JobRunnerToken) Name ¶ added in v0.14.1
func (JobRunnerToken) Name() string
Name is the name of the schema in snake case
func (JobRunnerToken) PluralName ¶ added in v0.14.1
func (JobRunnerToken) PluralName() string
PluralName returns the plural name of the schema
func (JobRunnerToken) Policy ¶ added in v0.14.1
func (j JobRunnerToken) Policy() ent.Policy
Policy of the JobRunnerToken
type JobTemplate ¶ added in v0.24.0
type JobTemplate struct {
SchemaFuncs
ent.Schema
}
JobTemplate holds the schema definition for the JobTemplate entity
func (JobTemplate) Annotations ¶ added in v0.24.0
func (JobTemplate) Annotations() []schema.Annotation
Annotations of the JobTemplate
func (JobTemplate) Edges ¶ added in v0.24.0
func (j JobTemplate) Edges() []ent.Edge
Edges of the JobTemplate
func (JobTemplate) Fields ¶ added in v0.24.0
func (JobTemplate) Fields() []ent.Field
Fields of the JobTemplate
func (JobTemplate) GetType ¶ added in v0.24.0
func (JobTemplate) GetType() any
func (JobTemplate) Hooks ¶ added in v0.24.0
func (JobTemplate) Hooks() []ent.Hook
Hooks of the JobTemplate
func (JobTemplate) Mixin ¶ added in v0.24.0
func (j JobTemplate) Mixin() []ent.Mixin
Mixin of the JobTemplate
func (JobTemplate) Modules ¶ added in v0.28.0
func (JobTemplate) Modules() []models.OrgModule
func (JobTemplate) Name ¶ added in v0.24.0
func (JobTemplate) Name() string
func (JobTemplate) PluralName ¶ added in v0.24.0
func (JobTemplate) PluralName() string
func (JobTemplate) Policy ¶ added in v0.24.0
func (JobTemplate) Policy() ent.Policy
Policy of the JobTemplate
type MappableDomain ¶ added in v0.12.1
type MappableDomain struct {
SchemaFuncs
ent.Schema
}
MappableDomain holds the schema definition for the MappableDomain entity
func (MappableDomain) Edges ¶ added in v0.12.1
func (e MappableDomain) Edges() []ent.Edge
Edges of the MappableDomain
func (MappableDomain) Fields ¶ added in v0.12.1
func (MappableDomain) Fields() []ent.Field
Fields of the MappableDomain
func (MappableDomain) GetType ¶ added in v0.12.1
func (MappableDomain) GetType() any
GetType returns the type of the schema
func (MappableDomain) Hooks ¶ added in v0.12.1
func (MappableDomain) Hooks() []ent.Hook
Hooks of the MappableDomain
func (MappableDomain) Indexes ¶ added in v0.12.1
func (MappableDomain) Indexes() []ent.Index
Indexes of the MappableDomain
func (MappableDomain) Mixin ¶ added in v0.12.1
func (e MappableDomain) Mixin() []ent.Mixin
Mixin of the MappableDomain
func (MappableDomain) Modules ¶ added in v0.28.0
func (MappableDomain) Modules() []models.OrgModule
func (MappableDomain) Name ¶ added in v0.12.1
func (MappableDomain) Name() string
Name returns the name of the schema
func (MappableDomain) PluralName ¶ added in v0.12.1
func (MappableDomain) PluralName() string
PluralName returns the plural name of the schema
func (MappableDomain) Policy ¶ added in v0.12.1
func (e MappableDomain) Policy() ent.Policy
Policy of the MappableDomain
type MappedControl ¶ added in v0.7.3
type MappedControl struct {
SchemaFuncs
ent.Schema
}
MappedControl holds the schema definition for the MappedControl entity
func (MappedControl) Annotations ¶ added in v0.7.3
func (MappedControl) Annotations() []schema.Annotation
Annotations of the MappedControl
func (MappedControl) Edges ¶ added in v0.7.3
func (m MappedControl) Edges() []ent.Edge
Edges of the MappedControl
func (MappedControl) Fields ¶ added in v0.7.3
func (MappedControl) Fields() []ent.Field
Fields of the MappedControl
func (MappedControl) GetType ¶ added in v0.8.2
func (MappedControl) GetType() any
func (MappedControl) Hooks ¶ added in v0.7.3
func (MappedControl) Hooks() []ent.Hook
Hooks of the MappedControl
func (MappedControl) Mixin ¶ added in v0.7.3
func (m MappedControl) Mixin() []ent.Mixin
Mixin of the MappedControl
func (MappedControl) Modules ¶ added in v0.28.0
func (MappedControl) Modules() []models.OrgModule
func (MappedControl) Name ¶ added in v0.8.2
func (MappedControl) Name() string
func (MappedControl) PluralName ¶ added in v0.8.2
func (MappedControl) PluralName() string
func (MappedControl) Policy ¶ added in v0.7.3
func (MappedControl) Policy() ent.Policy
Policy of the MappedControl
type Narrative ¶ added in v0.3.3
type Narrative struct {
SchemaFuncs
ent.Schema
}
Narrative defines the narrative schema
func (Narrative) Annotations ¶ added in v0.3.3
func (n Narrative) Annotations() []schema.Annotation
Annotations of the Narrative
func (Narrative) PluralName ¶ added in v0.8.2
type Note ¶
type Note struct {
SchemaFuncs
ent.Schema
}
Note holds the schema definition for the Note entity
func (Note) PluralName ¶ added in v0.8.2
type Notification ¶ added in v0.45.13
type Notification struct {
SchemaFuncs
ent.Schema
}
Notification holds the schema definition for the Notification entity
func (Notification) Annotations ¶ added in v0.45.13
func (Notification) Annotations() []schema.Annotation
Annotations of the Notification
func (Notification) Edges ¶ added in v0.45.13
func (n Notification) Edges() []ent.Edge
Edges of the Notification
func (Notification) Fields ¶ added in v0.45.13
func (Notification) Fields() []ent.Field
Fields of the Notification
func (Notification) GetType ¶ added in v0.45.13
func (Notification) GetType() any
func (Notification) Hooks ¶ added in v0.45.13
func (Notification) Hooks() []ent.Hook
Hooks of the Notification
func (Notification) Indexes ¶ added in v0.45.13
func (Notification) Indexes() []ent.Index
Indexes of the Notification
func (Notification) Interceptors ¶ added in v0.51.0
func (Notification) Interceptors() []ent.Interceptor
Interceptors of the Notification
func (Notification) Mixin ¶ added in v0.45.13
func (n Notification) Mixin() []ent.Mixin
Mixin of the Notification
func (Notification) Modules ¶ added in v0.45.13
func (Notification) Modules() []models.OrgModule
Modules of the Notification
func (Notification) Name ¶ added in v0.45.13
func (Notification) Name() string
func (Notification) PluralName ¶ added in v0.45.13
func (Notification) PluralName() string
func (Notification) Policy ¶ added in v0.45.13
func (Notification) Policy() ent.Policy
Policy of the Notification
type ObjectOwnedMixin ¶ added in v0.3.1
type ObjectOwnedMixin struct {
mixin.Schema
// Ref table for the id
Ref string
// Kind of the object, only used for Organization owned flavors, its set by default either
// with the OrgOwnedMixin or using the withOrganizationOwner option
Kind any
// FieldNames are the name of the field in the schema that can own / controls permissions of the object, e.g. "owner_id" or "program_id"
FieldNames []string
// OwnerRelation is the relation of the owner (user or service) that created the object, defaults to "parent"
OwnerRelation string
// AllowEmptyForSystemAdmin allows the owner id field to be empty for system admins
AllowEmptyForSystemAdmin bool
// SkipOrgInterceptorType skips the org interceptor for that schema for all queries, or specific types,
// this is useful for tokens, etc
SkipOrgInterceptorType interceptors.SkipMode
// SkipListFilterInterceptor skips the the filter for list queries, this can be used to bypass fga checks
// when permissions can be determined solely based on the organization filter and group permissions
SkipListFilterInterceptor interceptors.SkipMode
// SkipListFilterInterceptorSkipperFunc is a custom function to determine if the list filter interceptor should be skipped
SkipListFilterInterceptorSkipperFunc func(ctx context.Context) bool
// SkipTokenType skips the traverser or hook if the token type is found in the context
SkipTokenType []token.PrivacyToken
// IncludeOrganizationOwner adds the organization owner_id field and hooks to the schema
IncludeOrganizationOwner bool
// HookFuncs is the hook functions for the object owned mixin
// that will be called on all mutations
HookFuncs []HookFunc
// InterceptorFunc is the interceptor function for the object owned mixin
// that will be called on all queries
InterceptorFuncs []InterceptorFunc
// AllowAnonymousTrustCenterAccess allows anonymous users from the trust center to access the object
AllowAnonymousTrustCenterAccess bool
// UseListObjectsFilter allows to use the list objects filter for the object owned mixin instead of batch checks
// use sparingly, as list objects can be expensive
UseListObjectsFilter bool
// OwnerFieldName is the field name for the owner, defaults to "owner_id"
OwnerFieldName string
// SkipDeletedAt indicates if the schema has not included the soft delete mixin
SkipDeletedAt bool
// WorkflowEdgeEligible marks owner edges as workflow-eligible for trigger detection.
WorkflowEdgeEligible bool
}
ObjectOwnedMixin is a mixin for object owned entities
func (ObjectOwnedMixin) Edges ¶ added in v0.3.1
func (o ObjectOwnedMixin) Edges() []ent.Edge
Edges of the ObjectOwnedMixin
func (ObjectOwnedMixin) Fields ¶ added in v0.3.1
func (o ObjectOwnedMixin) Fields() []ent.Field
Fields of the ObjectOwnedMixin
func (ObjectOwnedMixin) Hooks ¶ added in v0.3.1
func (o ObjectOwnedMixin) Hooks() []ent.Hook
Hooks of the ObjectOwnedMixin
func (ObjectOwnedMixin) Indexes ¶ added in v0.18.3
func (o ObjectOwnedMixin) Indexes() []ent.Index
Indexes of the ObjectOwnedMixin
func (ObjectOwnedMixin) Interceptors ¶ added in v0.3.1
func (o ObjectOwnedMixin) Interceptors() []ent.Interceptor
Interceptors of the ObjectOwnedMixin
func (ObjectOwnedMixin) P ¶ added in v0.3.1
func (o ObjectOwnedMixin) P(w interface{ WhereP(...func(*sql.Selector)) }, objectIDs []string)
P adds the predicate to the queries, using the "id" field
func (ObjectOwnedMixin) PWithField ¶ added in v0.7.5
func (o ObjectOwnedMixin) PWithField(w interface{ WhereP(...func(*sql.Selector)) }, fieldName string, objectIDs []string)
P adds a storage-level predicate to the queries and mutations for the provided field name
type Onboarding ¶ added in v0.6.24
type Onboarding struct {
SchemaFuncs
ent.Schema
}
Onboarding holds the schema definition for the Onboarding entity
func (Onboarding) Annotations ¶ added in v0.6.24
func (o Onboarding) Annotations() []schema.Annotation
Annotations of the Onboarding
func (Onboarding) Edges ¶ added in v0.6.24
func (o Onboarding) Edges() []ent.Edge
Edges of the Onboarding
func (Onboarding) Fields ¶ added in v0.6.24
func (Onboarding) Fields() []ent.Field
Fields of the Onboarding
func (Onboarding) GetType ¶ added in v0.8.2
func (Onboarding) GetType() any
GetType returns the type of the Onboarding schema.
func (Onboarding) Hooks ¶ added in v0.6.24
func (Onboarding) Hooks() []ent.Hook
Hooks of the Onboarding
func (Onboarding) Mixin ¶ added in v0.6.24
func (Onboarding) Mixin() []ent.Mixin
Mixin of the Onboarding
func (Onboarding) Modules ¶ added in v0.28.0
func (Onboarding) Modules() []models.OrgModule
func (Onboarding) Name ¶ added in v0.8.2
func (Onboarding) Name() string
Name returns the name of the Onboarding schema.
func (Onboarding) PluralName ¶ added in v0.8.2
func (Onboarding) PluralName() string
PluralName returns the plural name of the Onboarding schema.
func (Onboarding) Policy ¶ added in v0.6.24
func (o Onboarding) Policy() ent.Policy
Policy of the Onboarding
type OrgMembership ¶
type OrgMembership struct {
SchemaFuncs
ent.Schema
}
OrgMembership holds the schema definition for the OrgMembership entity
func (OrgMembership) Annotations ¶
func (OrgMembership) Annotations() []schema.Annotation
Annotations of the OrgMembership
func (OrgMembership) GetType ¶ added in v0.8.2
func (OrgMembership) GetType() any
func (OrgMembership) Indexes ¶
func (OrgMembership) Indexes() []ent.Index
func (OrgMembership) Interceptors ¶
func (OrgMembership) Interceptors() []ent.Interceptor
Interceptors of the OrgMembership
func (OrgMembership) Modules ¶ added in v0.28.0
func (OrgMembership) Modules() []models.OrgModule
func (OrgMembership) Name ¶ added in v0.8.2
func (OrgMembership) Name() string
func (OrgMembership) PluralName ¶ added in v0.8.2
func (OrgMembership) PluralName() string
type OrgModule ¶ added in v0.18.4
type OrgModule struct {
SchemaFuncs
ent.Schema
}
OrgModule holds module subscription info for an organization each enabled module is stored as a separate row
func (OrgModule) Annotations ¶ added in v0.18.4
func (OrgModule) Annotations() []schema.Annotation
Annotations returns the annotations for the OrgModule schema
func (OrgModule) PluralName ¶ added in v0.18.4
PluralName returns the plural name of the OrgModule schema
type OrgPrice ¶ added in v0.18.4
type OrgPrice struct {
SchemaFuncs
ent.Schema
}
OrgPrice represents a price attached to a subscription product
func (OrgPrice) Annotations ¶ added in v0.18.4
func (OrgPrice) Annotations() []schema.Annotation
Annotations returns the annotations for the OrgPrice schema
func (OrgPrice) PluralName ¶ added in v0.18.4
PluralName returns the plural name of the OrgPrice schema
type OrgProduct ¶ added in v0.18.4
type OrgProduct struct {
SchemaFuncs
ent.Schema
}
OrgProduct represents a module product linked to a subscription.
func (OrgProduct) Annotations ¶ added in v0.18.4
func (OrgProduct) Annotations() []schema.Annotation
Annotations returns the annotations for the OrgProduct schema
func (OrgProduct) Edges ¶ added in v0.18.4
func (o OrgProduct) Edges() []ent.Edge
Edges returns the edges for the OrgProduct schema
func (OrgProduct) Fields ¶ added in v0.18.4
func (OrgProduct) Fields() []ent.Field
Fields returns the fields for the OrgProduct schema
func (OrgProduct) GetType ¶ added in v0.18.4
func (OrgProduct) GetType() any
GetType returns the type of the OrgProduct schema
func (OrgProduct) Mixin ¶ added in v0.18.4
func (o OrgProduct) Mixin() []ent.Mixin
Mixin returns the mixins for the OrgProduct schema
func (OrgProduct) Modules ¶ added in v0.28.0
func (OrgProduct) Modules() []models.OrgModule
func (OrgProduct) Name ¶ added in v0.18.4
func (OrgProduct) Name() string
Name returns the name of the OrgProduct schema
func (OrgProduct) PluralName ¶ added in v0.18.4
func (OrgProduct) PluralName() string
PluralName returns the plural name of the OrgProduct schema
type OrgSubscription ¶ added in v0.5.1
type OrgSubscription struct {
SchemaFuncs
ent.Schema
}
OrgSubscription holds the schema definition for the OrgSubscription entity
func (OrgSubscription) Annotations ¶ added in v0.5.1
func (o OrgSubscription) Annotations() []schema.Annotation
Annotations of the OrgSubscription
func (OrgSubscription) Edges ¶ added in v0.5.1
func (o OrgSubscription) Edges() []ent.Edge
Edges of the OrgSubscription
func (OrgSubscription) Fields ¶ added in v0.5.1
func (OrgSubscription) Fields() []ent.Field
Fields of the OrgSubscription
func (OrgSubscription) GetType ¶ added in v0.8.2
func (OrgSubscription) GetType() any
GetType returns the type of the OrgSubscription schema.
func (OrgSubscription) Interceptors ¶ added in v0.5.1
func (o OrgSubscription) Interceptors() []ent.Interceptor
Interceptors of the OrgSubscription
func (OrgSubscription) Mixin ¶ added in v0.5.1
func (o OrgSubscription) Mixin() []ent.Mixin
Mixin of the OrgSubscription
func (OrgSubscription) Name ¶ added in v0.8.2
func (OrgSubscription) Name() string
Name returns the name of the OrgSubscription schema.
func (OrgSubscription) PluralName ¶ added in v0.8.2
func (OrgSubscription) PluralName() string
PluralName returns the plural name of the OrgSubscription schema.
type Organization ¶
type Organization struct {
SchemaFuncs
ent.Schema
}
Organization holds the schema definition for the Organization entity - organizations are the top level tenancy construct in the system
func (Organization) Annotations ¶
func (o Organization) Annotations() []schema.Annotation
Annotations of the Organization
func (Organization) GetType ¶ added in v0.8.2
func (Organization) GetType() any
func (Organization) Indexes ¶
func (Organization) Indexes() []ent.Index
func (Organization) Interceptors ¶
func (o Organization) Interceptors() []ent.Interceptor
Interceptors of the Organization
func (Organization) Name ¶ added in v0.8.2
func (Organization) Name() string
func (Organization) PluralName ¶ added in v0.8.2
func (Organization) PluralName() string
func (Organization) Policy ¶
func (Organization) Policy() ent.Policy
Policy defines the privacy policy of the Organization.
type OrganizationSetting ¶
type OrganizationSetting struct {
SchemaFuncs
ent.Schema
}
OrganizationSetting holds the schema definition for the OrganizationSetting entity
func (OrganizationSetting) Annotations ¶
func (o OrganizationSetting) Annotations() []schema.Annotation
Annotations of the OrganizationSetting
func (OrganizationSetting) Edges ¶
func (o OrganizationSetting) Edges() []ent.Edge
Edges of the OrganizationSetting
func (OrganizationSetting) Fields ¶
func (OrganizationSetting) Fields() []ent.Field
Fields of the OrganizationSetting
func (OrganizationSetting) GetType ¶ added in v0.8.2
func (OrganizationSetting) GetType() any
GetType returns the type of the OrganizationSetting schema.
func (OrganizationSetting) Hooks ¶ added in v0.7.0
func (OrganizationSetting) Hooks() []ent.Hook
Hooks of the OrganizationSetting
func (OrganizationSetting) Interceptors ¶
func (o OrganizationSetting) Interceptors() []ent.Interceptor
Interceptors of the OrganizationSetting
func (OrganizationSetting) Mixin ¶
func (OrganizationSetting) Mixin() []ent.Mixin
Mixin of the OrganizationSetting
func (OrganizationSetting) Modules ¶ added in v0.28.0
func (OrganizationSetting) Modules() []models.OrgModule
func (OrganizationSetting) Name ¶ added in v0.8.2
func (OrganizationSetting) Name() string
Name returns the name of the OrganizationSetting schema.
func (OrganizationSetting) PluralName ¶ added in v0.8.2
func (OrganizationSetting) PluralName() string
PluralName returns the plural name of the OrganizationSetting schema.
func (OrganizationSetting) Policy ¶
func (OrganizationSetting) Policy() ent.Policy
Policy defines the privacy policy of the OrganizationSetting
type PasswordResetToken ¶
type PasswordResetToken struct {
SchemaFuncs
ent.Schema
}
PasswordResetToken holds the schema definition for the PasswordResetToken entity
func (PasswordResetToken) Annotations ¶
func (p PasswordResetToken) Annotations() []schema.Annotation
Annotations of the PasswordResetToken
func (PasswordResetToken) Fields ¶
func (PasswordResetToken) Fields() []ent.Field
Fields of the PasswordResetToken
func (PasswordResetToken) GetType ¶ added in v0.8.2
func (PasswordResetToken) GetType() any
GetType returns the type of the PasswordResetToken schema.
func (PasswordResetToken) Hooks ¶
func (PasswordResetToken) Hooks() []ent.Hook
Hooks of the PasswordResetToken
func (PasswordResetToken) Indexes ¶
func (PasswordResetToken) Indexes() []ent.Index
Indexes of the PasswordResetToken
func (PasswordResetToken) Mixin ¶
func (p PasswordResetToken) Mixin() []ent.Mixin
Mixin of the PasswordResetToken
func (PasswordResetToken) Name ¶ added in v0.8.2
func (PasswordResetToken) Name() string
Name returns the name of the PasswordResetToken schema.
func (PasswordResetToken) PluralName ¶ added in v0.8.2
func (PasswordResetToken) PluralName() string
PluralName returns the plural name of the PasswordResetToken schema.
func (PasswordResetToken) Policy ¶
func (p PasswordResetToken) Policy() ent.Policy
Policy of the PasswordResetToken
type PersonalAccessToken ¶
type PersonalAccessToken struct {
SchemaFuncs
ent.Schema
}
PersonalAccessToken holds the schema definition for the PersonalAccessToken entity.
func (PersonalAccessToken) Annotations ¶
func (p PersonalAccessToken) Annotations() []schema.Annotation
Annotations of the PersonalAccessToken
func (PersonalAccessToken) Edges ¶
func (p PersonalAccessToken) Edges() []ent.Edge
Edges of the PersonalAccessToken
func (PersonalAccessToken) Fields ¶
func (PersonalAccessToken) Fields() []ent.Field
Fields of the PersonalAccessToken
func (PersonalAccessToken) GetType ¶ added in v0.8.2
func (PersonalAccessToken) GetType() any
GetType returns the type of the PersonalAccessToken schema.
func (PersonalAccessToken) Hooks ¶
func (PersonalAccessToken) Hooks() []ent.Hook
Hooks of the PersonalAccessToken
func (PersonalAccessToken) Indexes ¶
func (PersonalAccessToken) Indexes() []ent.Index
Indexes of the PersonalAccessToken
func (PersonalAccessToken) Interceptors ¶
func (p PersonalAccessToken) Interceptors() []ent.Interceptor
Interceptors of the PersonalAccessToken
func (PersonalAccessToken) Mixin ¶
func (p PersonalAccessToken) Mixin() []ent.Mixin
Mixin of the PersonalAccessToken
func (PersonalAccessToken) Modules ¶ added in v0.28.0
func (p PersonalAccessToken) Modules() []models.OrgModule
func (PersonalAccessToken) Name ¶ added in v0.8.2
func (PersonalAccessToken) Name() string
Name returns the name of the PersonalAccessToken schema.
func (PersonalAccessToken) PluralName ¶ added in v0.8.2
func (PersonalAccessToken) PluralName() string
PluralName returns the plural name of the PersonalAccessToken schema.
func (PersonalAccessToken) Policy ¶
func (p PersonalAccessToken) Policy() ent.Policy
Policy of the PersonalAccessToken
type Procedure ¶ added in v0.3.3
type Procedure struct {
SchemaFuncs
ent.Schema
}
Procedure defines the procedure schema.
func (Procedure) Annotations ¶ added in v0.3.3
func (p Procedure) Annotations() []schema.Annotation
Annotations of the Procedure
func (Procedure) Interceptors ¶ added in v0.4.2
func (p Procedure) Interceptors() []ent.Interceptor
Interceptors of the Procedure
func (Procedure) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the procedure schema.
type Program ¶ added in v0.3.5
type Program struct {
SchemaFuncs
ent.Schema
}
Program holds the schema definition for the Program entity
func (Program) Annotations ¶ added in v0.3.5
func (p Program) Annotations() []schema.Annotation
Annotations of the Program
func (Program) Interceptors ¶ added in v0.3.5
func (p Program) Interceptors() []ent.Interceptor
Interceptors of the Program
func (Program) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the Program schema.
type ProgramMembership ¶ added in v0.3.5
type ProgramMembership struct {
SchemaFuncs
ent.Schema
}
ProgramMembership holds the schema definition for the ProgramMembership entity
func (ProgramMembership) Annotations ¶ added in v0.3.5
func (ProgramMembership) Annotations() []schema.Annotation
Annotations of the ProgramMembership
func (ProgramMembership) Edges ¶ added in v0.3.5
func (p ProgramMembership) Edges() []ent.Edge
Edges of the ProgramMembership
func (ProgramMembership) Fields ¶ added in v0.3.5
func (ProgramMembership) Fields() []ent.Field
Fields of the ProgramMembership
func (ProgramMembership) GetType ¶ added in v0.8.2
func (ProgramMembership) GetType() any
GetType returns the type of the ProgramMembership schema.
func (ProgramMembership) Hooks ¶ added in v0.3.5
func (ProgramMembership) Hooks() []ent.Hook
Hooks of the ProgramMembership
func (ProgramMembership) Indexes ¶ added in v0.3.5
func (ProgramMembership) Indexes() []ent.Index
Indexes of the ProgramMembership
func (ProgramMembership) Interceptors ¶ added in v0.7.0
func (ProgramMembership) Interceptors() []ent.Interceptor
Interceptors of the ProgramMembership
func (ProgramMembership) Mixin ¶ added in v0.3.5
func (ProgramMembership) Mixin() []ent.Mixin
Mixin of the ProgramMembership
func (ProgramMembership) Modules ¶ added in v0.28.0
func (ProgramMembership) Modules() []models.OrgModule
func (ProgramMembership) Name ¶ added in v0.8.2
func (ProgramMembership) Name() string
Name returns the name of the ProgramMembership schema.
func (ProgramMembership) PluralName ¶ added in v0.8.2
func (ProgramMembership) PluralName() string
PluralName returns the plural name of the ProgramMembership schema.
func (ProgramMembership) Policy ¶ added in v0.3.5
func (ProgramMembership) Policy() ent.Policy
// Policy of the ProgramMembership
type Remediation ¶ added in v0.43.3
type Remediation struct {
SchemaFuncs
ent.Schema
}
Remediation defines the remediation schema.
func (Remediation) Annotations ¶ added in v0.43.3
func (Remediation) Annotations() []schema.Annotation
Annotations of the Remediation
func (Remediation) Edges ¶ added in v0.43.3
func (r Remediation) Edges() []ent.Edge
Edges of the Remediation
func (Remediation) Fields ¶ added in v0.43.3
func (Remediation) Fields() []ent.Field
Fields returns remediation fields.
func (Remediation) GetType ¶ added in v0.43.3
func (Remediation) GetType() any
GetType returns the type of the remediation schema.
func (Remediation) Indexes ¶ added in v0.43.3
func (Remediation) Indexes() []ent.Index
Indexes of the Remediation
func (Remediation) Mixin ¶ added in v0.43.3
func (r Remediation) Mixin() []ent.Mixin
Mixin of the Remediation
func (Remediation) Modules ¶ added in v0.43.3
func (Remediation) Modules() []models.OrgModule
func (Remediation) Name ¶ added in v0.43.3
func (Remediation) Name() string
Name returns the name of the remediation schema.
func (Remediation) PluralName ¶ added in v0.43.3
func (Remediation) PluralName() string
PluralName returns the plural name of the remediation schema.
func (Remediation) Policy ¶ added in v0.43.3
func (r Remediation) Policy() ent.Policy
Policy of the Remediation
type Review ¶ added in v0.43.3
type Review struct {
SchemaFuncs
ent.Schema
}
Review defines the review schema.
func (Review) Annotations ¶ added in v0.43.3
func (Review) Annotations() []schema.Annotation
Annotations of the Review
func (Review) PluralName ¶ added in v0.43.3
PluralName returns the plural name of the review schema.
type Risk ¶ added in v0.3.3
type Risk struct {
SchemaFuncs
ent.Schema
}
Risk defines the risk schema.
func (Risk) Annotations ¶ added in v0.3.3
func (r Risk) Annotations() []schema.Annotation
Annotations of the Risk
func (Risk) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the risk schema.
type Scan ¶ added in v0.19.0
type Scan struct {
SchemaFuncs
ent.Schema
}
Scan holds the schema definition for scan records used for domain, vulnerability, or provider scans.
func (Scan) Annotations ¶ added in v0.19.0
func (Scan) Annotations() []schema.Annotation
Annotations of the Scan
func (Scan) PluralName ¶ added in v0.19.0
type ScheduledJob ¶ added in v0.15.0
type ScheduledJob struct {
SchemaFuncs
ent.Schema
}
ScheduledJob holds the schema definition for the ScheduledJob entity
func (ScheduledJob) Annotations ¶ added in v0.15.0
func (ScheduledJob) Annotations() []schema.Annotation
Annotations of the ScheduledJob
func (ScheduledJob) Edges ¶ added in v0.15.0
func (c ScheduledJob) Edges() []ent.Edge
Edges of the ScheduledJob
func (ScheduledJob) Fields ¶ added in v0.15.0
func (ScheduledJob) Fields() []ent.Field
Fields of the ScheduledJob
func (ScheduledJob) GetType ¶ added in v0.15.0
func (ScheduledJob) GetType() any
func (ScheduledJob) Hooks ¶ added in v0.15.0
func (ScheduledJob) Hooks() []ent.Hook
Hooks of the ScheduledJob
func (ScheduledJob) Indexes ¶ added in v0.15.0
func (ScheduledJob) Indexes() []ent.Index
Indexes of the ScheduledJob
func (ScheduledJob) Interceptors ¶ added in v0.15.0
func (ScheduledJob) Interceptors() []ent.Interceptor
Interceptors of the ScheduledJob
func (ScheduledJob) Mixin ¶ added in v0.15.0
func (c ScheduledJob) Mixin() []ent.Mixin
Mixin of the ScheduledJob
func (ScheduledJob) Modules ¶ added in v0.28.0
func (ScheduledJob) Modules() []models.OrgModule
func (ScheduledJob) Name ¶ added in v0.15.0
func (ScheduledJob) Name() string
func (ScheduledJob) PluralName ¶ added in v0.15.0
func (ScheduledJob) PluralName() string
func (ScheduledJob) Policy ¶ added in v0.15.0
func (ScheduledJob) Policy() ent.Policy
Policy of the ScheduledJob
type ScheduledJobRun ¶ added in v0.15.0
type ScheduledJobRun struct {
SchemaFuncs
ent.Schema
}
ScheduledJobRun holds the schema definition for the ScheduledJobRun entity
func (ScheduledJobRun) Annotations ¶ added in v0.15.0
func (s ScheduledJobRun) Annotations() []schema.Annotation
Annotations of the ScheduledJobRun
func (ScheduledJobRun) Edges ¶ added in v0.15.0
func (s ScheduledJobRun) Edges() []ent.Edge
Edges of the ScheduledJobRun
func (ScheduledJobRun) Fields ¶ added in v0.15.0
func (ScheduledJobRun) Fields() []ent.Field
Fields of the ScheduledJobRun
func (ScheduledJobRun) GetType ¶ added in v0.15.0
func (ScheduledJobRun) GetType() any
GetType returns the type of the schema
func (ScheduledJobRun) Hooks ¶ added in v0.15.0
func (ScheduledJobRun) Hooks() []ent.Hook
Hooks of the ScheduledJobRun
func (ScheduledJobRun) Indexes ¶ added in v0.15.0
func (ScheduledJobRun) Indexes() []ent.Index
Indexes of the ScheduledJobRun
func (ScheduledJobRun) Mixin ¶ added in v0.15.0
func (s ScheduledJobRun) Mixin() []ent.Mixin
Mixin of the ScheduledJobRun
func (ScheduledJobRun) Modules ¶ added in v0.28.0
func (ScheduledJobRun) Modules() []models.OrgModule
func (ScheduledJobRun) Name ¶ added in v0.15.0
func (ScheduledJobRun) Name() string
Name is the name of the schema in snake case
func (ScheduledJobRun) PluralName ¶ added in v0.15.0
func (ScheduledJobRun) PluralName() string
PluralName returns the plural name of the schema
func (ScheduledJobRun) Policy ¶ added in v0.15.0
func (s ScheduledJobRun) Policy() ent.Policy
Policy of the ScheduledJobRun
type SchemaFuncs ¶ added in v0.8.2
SchemaFuncs defines the methods that a custom schema must implement in order to use the helper functions provided by this file including Name(), PluralName(), and GetType()
type Standard ¶ added in v0.3.3
type Standard struct {
SchemaFuncs
ent.Schema
}
Standard defines the standard schema.
func (Standard) Interceptors ¶ added in v0.7.3
func (s Standard) Interceptors() []ent.Interceptor
Interceptors of the Standard
func (Standard) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the standard schema.
type Subcontrol ¶ added in v0.3.3
type Subcontrol struct {
SchemaFuncs
ent.Schema
}
Subcontrol defines the file schema.
func (Subcontrol) Edges ¶ added in v0.3.3
func (s Subcontrol) Edges() []ent.Edge
Edges of the Subcontrol
func (Subcontrol) Fields ¶ added in v0.3.3
func (Subcontrol) Fields() []ent.Field
Fields returns file fields.
func (Subcontrol) GetType ¶ added in v0.8.2
func (Subcontrol) GetType() any
GetType returns the type of the Subcontrol schema.
func (Subcontrol) Hooks ¶ added in v0.5.0
func (Subcontrol) Hooks() []ent.Hook
Hooks of the Subcontrol
func (Subcontrol) Indexes ¶ added in v0.7.3
func (Subcontrol) Indexes() []ent.Index
Indexes of the Subcontrol
func (Subcontrol) Mixin ¶ added in v0.3.3
func (s Subcontrol) Mixin() []ent.Mixin
Mixin of the Subcontrol
func (Subcontrol) Modules ¶ added in v0.28.0
func (Subcontrol) Modules() []models.OrgModule
Annotations of the Standard
func (Subcontrol) Name ¶ added in v0.8.2
func (Subcontrol) Name() string
Name returns the name of the Subcontrol schema.
func (Subcontrol) PluralName ¶ added in v0.8.2
func (Subcontrol) PluralName() string
PluralName returns the plural name of the Subcontrol schema.
func (Subcontrol) Policy ¶ added in v0.5.0
func (s Subcontrol) Policy() ent.Policy
Policy of the Subcontrol
type Subprocessor ¶ added in v0.22.2
type Subprocessor struct {
SchemaFuncs
ent.Schema
}
Subprocessor holds the schema definition for the Subprocessor entity
func (Subprocessor) Annotations ¶ added in v0.22.2
func (Subprocessor) Annotations() []schema.Annotation
Annotations of the Subprocessor
func (Subprocessor) Edges ¶ added in v0.22.2
func (t Subprocessor) Edges() []ent.Edge
Edges of the Subprocessor
func (Subprocessor) Fields ¶ added in v0.22.2
func (Subprocessor) Fields() []ent.Field
Fields of the Subprocessor
func (Subprocessor) GetType ¶ added in v0.22.2
func (Subprocessor) GetType() any
GetType returns the type of the Subprocessor schema.
func (Subprocessor) Hooks ¶ added in v0.22.2
func (Subprocessor) Hooks() []ent.Hook
Hooks of the Subprocessor
func (Subprocessor) Indexes ¶ added in v0.22.2
func (Subprocessor) Indexes() []ent.Index
Indexes of the Subprocessor
func (Subprocessor) Interceptors ¶ added in v0.22.2
func (t Subprocessor) Interceptors() []ent.Interceptor
Interceptors of the Subprocessor
func (Subprocessor) Mixin ¶ added in v0.22.2
func (t Subprocessor) Mixin() []ent.Mixin
Mixin of the Subprocessor
func (Subprocessor) Modules ¶ added in v0.28.0
func (Subprocessor) Modules() []models.OrgModule
func (Subprocessor) Name ¶ added in v0.22.2
func (Subprocessor) Name() string
Name returns the name of the Subprocessor schema.
func (Subprocessor) PluralName ¶ added in v0.22.2
func (Subprocessor) PluralName() string
PluralName returns the plural name of the Subprocessor schema.
func (Subprocessor) Policy ¶ added in v0.22.2
func (t Subprocessor) Policy() ent.Policy
Policy of the Subprocessor
type Subscriber ¶
type Subscriber struct {
SchemaFuncs
ent.Schema
}
Subscriber holds the schema definition for the Subscriber entity
func (Subscriber) Annotations ¶
func (Subscriber) Annotations() []schema.Annotation
Annotations of the Subscriber
func (Subscriber) GetType ¶ added in v0.8.2
func (Subscriber) GetType() any
GetType returns the type of the Subscriber schema.
func (Subscriber) Hooks ¶
func (Subscriber) Hooks() []ent.Hook
func (Subscriber) Modules ¶ added in v0.28.0
func (Subscriber) Modules() []models.OrgModule
func (Subscriber) Name ¶ added in v0.8.2
func (Subscriber) Name() string
Name returns the name of the Subscriber schema.
func (Subscriber) PluralName ¶ added in v0.8.2
func (Subscriber) PluralName() string
PluralName returns the plural name of the Subscriber schema.
type TFASetting ¶
type TFASetting struct {
SchemaFuncs
ent.Schema
}
TFASetting holds the schema definition for the TFASetting entity
func (TFASetting) Annotations ¶
func (t TFASetting) Annotations() []schema.Annotation
Annotations of the TFASetting
func (TFASetting) GetType ¶ added in v0.8.2
func (TFASetting) GetType() any
GetType returns the type of the TFASetting schema.
func (TFASetting) Modules ¶ added in v0.28.0
func (TFASetting) Modules() []models.OrgModule
func (TFASetting) Name ¶ added in v0.8.2
func (TFASetting) Name() string
Name returns the name of the TFASetting schema.
func (TFASetting) PluralName ¶ added in v0.8.2
func (TFASetting) PluralName() string
PluralName returns the plural name of the TFASetting schema.
func (TFASetting) Policy ¶ added in v0.6.11
func (t TFASetting) Policy() ent.Policy
Policy of the TFASetting
type TagDefinition ¶ added in v0.43.0
type TagDefinition struct {
SchemaFuncs
ent.Schema
}
TagDefinition holds the schema definition for the TagDefinition entity
func (TagDefinition) Annotations ¶ added in v0.43.0
func (TagDefinition) Annotations() []schema.Annotation
Annotations of the TagDefinition
func (TagDefinition) Edges ¶ added in v0.43.0
func (t TagDefinition) Edges() []ent.Edge
Edges of the TagDefinition
func (TagDefinition) Fields ¶ added in v0.43.0
func (TagDefinition) Fields() []ent.Field
Fields of the TagDefinition
func (TagDefinition) GetType ¶ added in v0.43.0
func (TagDefinition) GetType() any
GetType returns the type of the schema
func (TagDefinition) Hooks ¶ added in v0.43.0
func (TagDefinition) Hooks() []ent.Hook
Hooks of the TagDefinition
func (TagDefinition) Indexes ¶ added in v0.43.0
func (TagDefinition) Indexes() []ent.Index
Indexes of the TagDefinition
func (TagDefinition) Interceptors ¶ added in v0.43.0
func (TagDefinition) Interceptors() []ent.Interceptor
Interceptors of the TagDefinition
func (TagDefinition) Mixin ¶ added in v0.43.0
func (t TagDefinition) Mixin() []ent.Mixin
Mixin of the TagDefinition
func (TagDefinition) Modules ¶ added in v0.43.0
func (TagDefinition) Modules() []models.OrgModule
Modules this schema has access to
func (TagDefinition) Name ¶ added in v0.43.0
func (TagDefinition) Name() string
Name is the name of the schema in snake case
func (TagDefinition) PluralName ¶ added in v0.43.0
func (TagDefinition) PluralName() string
PluralName returns the plural name of the schema
func (TagDefinition) Policy ¶ added in v0.43.0
func (TagDefinition) Policy() ent.Policy
Policy of the TagDefinition
type Task ¶ added in v0.3.4
type Task struct {
SchemaFuncs
ent.Schema
}
Task holds the schema definition for the Task entity
func (Task) Annotations ¶ added in v0.3.4
func (Task) Annotations() []schema.Annotation
Annotations of the Task
func (Task) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the Task schema.
type Template ¶
type Template struct {
SchemaFuncs
ent.Schema
}
Template holds the schema definition for the Template entity
func (Template) Annotations ¶
func (Template) Annotations() []schema.Annotation
func (Template) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the Template schema.
type TrustCenter ¶ added in v0.19.0
type TrustCenter struct {
SchemaFuncs
ent.Schema
}
TrustCenter holds the schema definition for the TrustCenter entity
func (TrustCenter) Annotations ¶ added in v0.20.1
func (t TrustCenter) Annotations() []schema.Annotation
Annotations of the TrustCenter
func (TrustCenter) Edges ¶ added in v0.19.0
func (t TrustCenter) Edges() []ent.Edge
Edges of the TrustCenter
func (TrustCenter) Fields ¶ added in v0.19.0
func (TrustCenter) Fields() []ent.Field
Fields of the TrustCenter
func (TrustCenter) GetType ¶ added in v0.19.0
func (TrustCenter) GetType() any
GetType returns the type of the TrustCenter schema.
func (TrustCenter) Hooks ¶ added in v0.19.0
func (TrustCenter) Hooks() []ent.Hook
Hooks of the TrustCenter
func (TrustCenter) Indexes ¶ added in v0.19.0
func (TrustCenter) Indexes() []ent.Index
Indexes of the TrustCenter
func (TrustCenter) Interceptors ¶ added in v0.20.5
func (t TrustCenter) Interceptors() []ent.Interceptor
Interceptors of the TrustCenter
func (TrustCenter) Mixin ¶ added in v0.19.0
func (t TrustCenter) Mixin() []ent.Mixin
Mixin of the TrustCenter
func (TrustCenter) Modules ¶ added in v0.28.0
func (TrustCenter) Modules() []models.OrgModule
func (TrustCenter) Name ¶ added in v0.19.0
func (TrustCenter) Name() string
Name returns the name of the TrustCenter schema.
func (TrustCenter) PluralName ¶ added in v0.19.0
func (TrustCenter) PluralName() string
PluralName returns the plural name of the TrustCenter schema.
func (TrustCenter) Policy ¶ added in v0.19.0
func (t TrustCenter) Policy() ent.Policy
Policy of the TrustCenter
type TrustCenterCompliance ¶ added in v0.23.1
type TrustCenterCompliance struct {
SchemaFuncs
ent.Schema
}
TrustCenterCompliance holds the schema definition for the TrustCenterCompliance entity
func (TrustCenterCompliance) Annotations ¶ added in v0.23.1
func (TrustCenterCompliance) Annotations() []schema.Annotation
Annotations of the TrustCenterCompliance
func (TrustCenterCompliance) Edges ¶ added in v0.23.1
func (t TrustCenterCompliance) Edges() []ent.Edge
Edges of the TrustCenterCompliance
func (TrustCenterCompliance) Fields ¶ added in v0.23.1
func (TrustCenterCompliance) Fields() []ent.Field
Fields of the TrustCenterCompliance
func (TrustCenterCompliance) GetType ¶ added in v0.23.1
func (TrustCenterCompliance) GetType() any
GetType returns the type of the TrustCenterCompliance schema.
func (TrustCenterCompliance) Hooks ¶ added in v0.23.1
func (TrustCenterCompliance) Hooks() []ent.Hook
Hooks of the TrustCenterCompliance
func (TrustCenterCompliance) Indexes ¶ added in v0.23.1
func (TrustCenterCompliance) Indexes() []ent.Index
Indexes of the TrustCenterCompliance
func (TrustCenterCompliance) Interceptors ¶ added in v0.23.1
func (TrustCenterCompliance) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterCompliance
func (TrustCenterCompliance) Mixin ¶ added in v0.23.1
func (t TrustCenterCompliance) Mixin() []ent.Mixin
Mixin of the TrustCenterCompliance
func (TrustCenterCompliance) Name ¶ added in v0.23.1
func (TrustCenterCompliance) Name() string
Name returns the name of the TrustCenterCompliance schema.
func (TrustCenterCompliance) PluralName ¶ added in v0.23.1
func (TrustCenterCompliance) PluralName() string
PluralName returns the plural name of the TrustCenterCompliance schema.
func (TrustCenterCompliance) Policy ¶ added in v0.23.1
func (TrustCenterCompliance) Policy() ent.Policy
Policy of the TrustCenterCompliance
type TrustCenterDoc ¶ added in v0.33.6
type TrustCenterDoc struct {
SchemaFuncs
ent.Schema
}
TrustCenterDoc holds the schema definition for the TrustCenterDoc entity
func (TrustCenterDoc) Annotations ¶ added in v0.33.6
func (TrustCenterDoc) Annotations() []schema.Annotation
Annotations of the TrustCenterDoc
func (TrustCenterDoc) Edges ¶ added in v0.33.6
func (t TrustCenterDoc) Edges() []ent.Edge
Edges of the TrustCenterDoc
func (TrustCenterDoc) Fields ¶ added in v0.33.6
func (TrustCenterDoc) Fields() []ent.Field
Fields of the TrustCenterDoc
func (TrustCenterDoc) GetType ¶ added in v0.33.6
func (TrustCenterDoc) GetType() any
GetType returns the type of the TrustCenterDoc schema.
func (TrustCenterDoc) Hooks ¶ added in v0.33.6
func (TrustCenterDoc) Hooks() []ent.Hook
Hooks of the TrustCenterDoc
func (TrustCenterDoc) Indexes ¶ added in v0.33.6
func (TrustCenterDoc) Indexes() []ent.Index
Indexes of the TrustCenterDoc
func (TrustCenterDoc) Interceptors ¶ added in v0.33.6
func (TrustCenterDoc) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterDoc
func (TrustCenterDoc) Mixin ¶ added in v0.33.6
func (t TrustCenterDoc) Mixin() []ent.Mixin
Mixin of the TrustCenterDoc
func (TrustCenterDoc) Modules ¶ added in v0.34.0
func (TrustCenterDoc) Modules() []models.OrgModule
func (TrustCenterDoc) Name ¶ added in v0.33.6
func (TrustCenterDoc) Name() string
Name returns the name of the TrustCenterDoc schema.
func (TrustCenterDoc) PluralName ¶ added in v0.33.6
func (TrustCenterDoc) PluralName() string
PluralName returns the plural name of the TrustCenterDoc schema.
func (TrustCenterDoc) Policy ¶ added in v0.33.6
func (TrustCenterDoc) Policy() ent.Policy
Policy of the TrustCenterDoc
type TrustCenterSetting ¶ added in v0.19.0
type TrustCenterSetting struct {
SchemaFuncs
ent.Schema
}
TrustCenterSetting holds the schema definition for the TrustCenterSetting entity
func (TrustCenterSetting) Annotations ¶ added in v0.19.0
func (t TrustCenterSetting) Annotations() []schema.Annotation
func (TrustCenterSetting) Edges ¶ added in v0.19.0
func (t TrustCenterSetting) Edges() []ent.Edge
Edges of the TrustCenterSetting
func (TrustCenterSetting) Fields ¶ added in v0.19.0
func (TrustCenterSetting) Fields() []ent.Field
Fields of the TrustCenterSetting
func (TrustCenterSetting) GetType ¶ added in v0.19.0
func (TrustCenterSetting) GetType() any
func (TrustCenterSetting) Hooks ¶ added in v0.19.0
func (TrustCenterSetting) Hooks() []ent.Hook
Hooks of the TrustCenterSetting
func (TrustCenterSetting) Indexes ¶ added in v0.19.0
func (TrustCenterSetting) Indexes() []ent.Index
func (TrustCenterSetting) Interceptors ¶ added in v0.19.0
func (t TrustCenterSetting) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterSetting
func (TrustCenterSetting) Mixin ¶ added in v0.19.0
func (t TrustCenterSetting) Mixin() []ent.Mixin
Mixin of the TrustCenterSetting
func (TrustCenterSetting) Modules ¶ added in v0.28.0
func (TrustCenterSetting) Modules() []models.OrgModule
func (TrustCenterSetting) Name ¶ added in v0.19.0
func (TrustCenterSetting) Name() string
func (TrustCenterSetting) PluralName ¶ added in v0.19.0
func (TrustCenterSetting) PluralName() string
func (TrustCenterSetting) Policy ¶ added in v0.19.0
func (t TrustCenterSetting) Policy() ent.Policy
Policy of the TrustCenterSetting
type TrustCenterSubprocessor ¶ added in v0.22.2
type TrustCenterSubprocessor struct {
SchemaFuncs
ent.Schema
}
TrustCenterSubprocessor holds the schema definition for the TrustCenterSubprocessor entity
func (TrustCenterSubprocessor) Annotations ¶ added in v0.22.2
func (t TrustCenterSubprocessor) Annotations() []schema.Annotation
Annotations of the TrustCenterSubprocessor
func (TrustCenterSubprocessor) Edges ¶ added in v0.22.2
func (t TrustCenterSubprocessor) Edges() []ent.Edge
Edges of the TrustCenterSubprocessor
func (TrustCenterSubprocessor) Fields ¶ added in v0.22.2
func (TrustCenterSubprocessor) Fields() []ent.Field
Fields of the TrustCenterSubprocessor
func (TrustCenterSubprocessor) GetType ¶ added in v0.22.2
func (TrustCenterSubprocessor) GetType() any
GetType returns the type of the TrustCenterSubprocessor schema.
func (TrustCenterSubprocessor) Hooks ¶ added in v0.22.2
func (TrustCenterSubprocessor) Hooks() []ent.Hook
Hooks of the TrustCenterSubprocessor
func (TrustCenterSubprocessor) Indexes ¶ added in v0.22.2
func (TrustCenterSubprocessor) Indexes() []ent.Index
Indexes of the TrustCenterSubprocessor
func (TrustCenterSubprocessor) Interceptors ¶ added in v0.22.2
func (t TrustCenterSubprocessor) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterSubprocessor
func (TrustCenterSubprocessor) Mixin ¶ added in v0.22.2
func (t TrustCenterSubprocessor) Mixin() []ent.Mixin
Mixin of the TrustCenterSubprocessor
func (TrustCenterSubprocessor) Modules ¶ added in v0.28.0
func (TrustCenterSubprocessor) Modules() []models.OrgModule
func (TrustCenterSubprocessor) Name ¶ added in v0.22.2
func (TrustCenterSubprocessor) Name() string
Name returns the name of the TrustCenterSubprocessor schema.
func (TrustCenterSubprocessor) PluralName ¶ added in v0.22.2
func (TrustCenterSubprocessor) PluralName() string
PluralName returns the plural name of the TrustCenterSubprocessor schema.
func (TrustCenterSubprocessor) Policy ¶ added in v0.22.2
func (t TrustCenterSubprocessor) Policy() ent.Policy
Policy of the TrustCenterSubprocessor
type TrustCenterWatermarkConfig ¶ added in v0.34.5
type TrustCenterWatermarkConfig struct {
SchemaFuncs
ent.Schema
}
TrustCenterWatermarkConfig holds the schema definition for the TrustCenterWatermarkConfig entity
func (TrustCenterWatermarkConfig) Annotations ¶ added in v0.34.5
func (TrustCenterWatermarkConfig) Annotations() []schema.Annotation
Annotations of the TrustCenterWatermarkConfig
func (TrustCenterWatermarkConfig) Edges ¶ added in v0.34.5
func (t TrustCenterWatermarkConfig) Edges() []ent.Edge
Edges of the TrustCenterWatermarkConfig
func (TrustCenterWatermarkConfig) Fields ¶ added in v0.34.5
func (TrustCenterWatermarkConfig) Fields() []ent.Field
Fields of the TrustCenterWatermarkConfig
func (TrustCenterWatermarkConfig) GetType ¶ added in v0.34.5
func (TrustCenterWatermarkConfig) GetType() any
GetType returns the type of the TrustCenterWatermarkConfig schema.
func (TrustCenterWatermarkConfig) Hooks ¶ added in v0.34.5
func (TrustCenterWatermarkConfig) Hooks() []ent.Hook
Hooks of the TrustCenterWatermarkConfig
func (TrustCenterWatermarkConfig) Indexes ¶ added in v0.34.5
func (TrustCenterWatermarkConfig) Indexes() []ent.Index
Indexes of the TrustCenterWatermarkConfig
func (TrustCenterWatermarkConfig) Interceptors ¶ added in v0.34.5
func (TrustCenterWatermarkConfig) Interceptors() []ent.Interceptor
Interceptors of the TrustCenterWatermarkConfig
func (TrustCenterWatermarkConfig) Mixin ¶ added in v0.34.5
func (t TrustCenterWatermarkConfig) Mixin() []ent.Mixin
Mixin of the TrustCenterWatermarkConfig
func (TrustCenterWatermarkConfig) Modules ¶ added in v0.34.5
func (TrustCenterWatermarkConfig) Modules() []models.OrgModule
func (TrustCenterWatermarkConfig) Name ¶ added in v0.34.5
func (TrustCenterWatermarkConfig) Name() string
Name returns the name of the TrustCenterWatermarkConfig schema.
func (TrustCenterWatermarkConfig) PluralName ¶ added in v0.34.5
func (TrustCenterWatermarkConfig) PluralName() string
PluralName returns the plural name of the TrustCenterWatermarkConfig schema.
func (TrustCenterWatermarkConfig) Policy ¶ added in v0.34.5
func (TrustCenterWatermarkConfig) Policy() ent.Policy
Policy of the TrustCenterWatermarkConfig
type TrustcenterEntity ¶ added in v0.47.5
type TrustcenterEntity struct {
SchemaFuncs
ent.Schema
}
TrustcenterEntity holds the schema definition for the TrustcenterEntity entity
func (TrustcenterEntity) Annotations ¶ added in v0.47.5
func (TrustcenterEntity) Annotations() []schema.Annotation
Annotations of the TrustcenterEntity
func (TrustcenterEntity) Edges ¶ added in v0.47.5
func (t TrustcenterEntity) Edges() []ent.Edge
Edges of the TrustcenterEntity
func (TrustcenterEntity) Fields ¶ added in v0.47.5
func (TrustcenterEntity) Fields() []ent.Field
Fields of the TrustcenterEntity
func (TrustcenterEntity) GetType ¶ added in v0.47.5
func (TrustcenterEntity) GetType() any
GetType returns the type of the schema
func (TrustcenterEntity) Hooks ¶ added in v0.47.5
func (TrustcenterEntity) Hooks() []ent.Hook
Hooks of the TrustcenterEntity
func (TrustcenterEntity) Indexes ¶ added in v0.47.5
func (TrustcenterEntity) Indexes() []ent.Index
Indexes of the TrustcenterEntity
func (TrustcenterEntity) Interceptors ¶ added in v0.47.5
func (TrustcenterEntity) Interceptors() []ent.Interceptor
Interceptors of the TrustcenterEntity
func (TrustcenterEntity) Mixin ¶ added in v0.47.5
func (t TrustcenterEntity) Mixin() []ent.Mixin
Mixin of the TrustcenterEntity
func (TrustcenterEntity) Modules ¶ added in v0.47.5
func (TrustcenterEntity) Modules() []models.OrgModule
Modules this schema has access to
func (TrustcenterEntity) Name ¶ added in v0.47.5
func (TrustcenterEntity) Name() string
Name is the name of the schema in snake case
func (TrustcenterEntity) PluralName ¶ added in v0.47.5
func (TrustcenterEntity) PluralName() string
PluralName returns the plural name of the schema
func (TrustcenterEntity) Policy ¶ added in v0.47.5
func (TrustcenterEntity) Policy() ent.Policy
Policy of the TrustcenterEntity
type User ¶
type User struct {
SchemaFuncs
ent.Schema
}
User holds the schema definition for the User entity.
func (User) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the User schema.
type UserOwnedMixin ¶
type UserOwnedMixin struct {
mixin.Schema
// Ref table for the id
Ref string
// Optional makes the owner id field not required
Optional bool
// SoftDeleteIndex creates a unique index on the owner id field where deleted_at is null
SoftDeleteIndex bool
// SkipInterceptor skips the interceptor for that schema for all queries, or specific types,
// this is useful for tokens, etc
SkipInterceptor interceptors.SkipMode
// SkipTokenType skips the traverser or hook if the token type is found in the context
SkipTokenType []token.PrivacyToken
}
UserOwnedMixin defines a mixin for user-owned entities.
func (UserOwnedMixin) Edges ¶
func (userOwned UserOwnedMixin) Edges() []ent.Edge
Edges of the UserOwnedMixin
func (UserOwnedMixin) Fields ¶
func (userOwned UserOwnedMixin) Fields() []ent.Field
Fields of the UserOwnedMixin
func (UserOwnedMixin) Hooks ¶
func (userOwned UserOwnedMixin) Hooks() []ent.Hook
Hooks of the UserOwnedMixin
func (UserOwnedMixin) Indexes ¶
func (userOwned UserOwnedMixin) Indexes() []ent.Index
Indexes of the UserOwnedMixin
func (UserOwnedMixin) Interceptors ¶
func (userOwned UserOwnedMixin) Interceptors() []ent.Interceptor
Interceptors of the UserOwnedMixin
type UserSetting ¶
type UserSetting struct {
SchemaFuncs
ent.Schema
}
UserSetting holds the schema definition for the User entity.
func (UserSetting) GetType ¶ added in v0.8.2
func (UserSetting) GetType() any
GetType returns the type of the UserSetting schema.
func (UserSetting) Interceptors ¶
func (UserSetting) Interceptors() []ent.Interceptor
Interceptors of the UserSetting.
func (UserSetting) Name ¶ added in v0.8.2
func (UserSetting) Name() string
Name returns the name of the UserSetting schema.
func (UserSetting) PluralName ¶ added in v0.8.2
func (UserSetting) PluralName() string
PluralName returns the plural name of the UserSetting schema.
func (UserSetting) Policy ¶
func (UserSetting) Policy() ent.Policy
type Vulnerability ¶ added in v0.43.3
type Vulnerability struct {
SchemaFuncs
ent.Schema
}
Vulnerability defines the vulnerability schema.
func (Vulnerability) Annotations ¶ added in v0.43.3
func (Vulnerability) Annotations() []schema.Annotation
Annotations of the Vulnerability
func (Vulnerability) Edges ¶ added in v0.43.3
func (v Vulnerability) Edges() []ent.Edge
Edges of the Vulnerability
func (Vulnerability) Fields ¶ added in v0.43.3
func (Vulnerability) Fields() []ent.Field
Fields returns vulnerability fields.
func (Vulnerability) GetType ¶ added in v0.43.3
func (Vulnerability) GetType() any
GetType returns the type of the vulnerability schema.
func (Vulnerability) Indexes ¶ added in v0.43.3
func (Vulnerability) Indexes() []ent.Index
Indexes of the Vulnerability
func (Vulnerability) Mixin ¶ added in v0.43.3
func (v Vulnerability) Mixin() []ent.Mixin
Mixin of the Vulnerability
func (Vulnerability) Modules ¶ added in v0.43.3
func (Vulnerability) Modules() []models.OrgModule
func (Vulnerability) Name ¶ added in v0.43.3
func (Vulnerability) Name() string
Name returns the name of the vulnerability schema.
func (Vulnerability) PluralName ¶ added in v0.43.3
func (Vulnerability) PluralName() string
PluralName returns the plural name of the vulnerability schema.
func (Vulnerability) Policy ¶ added in v0.43.3
func (v Vulnerability) Policy() ent.Policy
Policy of the Vulnerability
type Webauthn ¶
type Webauthn struct {
SchemaFuncs
ent.Schema
}
Webauthn holds the schema definition for the Webauthn entity
func (Webauthn) Annotations ¶
func (w Webauthn) Annotations() []schema.Annotation
Annotations of the Webauthn
func (Webauthn) PluralName ¶ added in v0.8.2
PluralName returns the plural name of the Webauthn schema.
type WorkflowApprovalMixin ¶ added in v0.49.5
WorkflowApprovalMixin adds fields for storing proposed changes that require approval. This enables the "proposed changes" pattern where mutations are intercepted and stored for workflow approval before being applied to the actual entity.
func (WorkflowApprovalMixin) Fields ¶ added in v0.49.5
func (WorkflowApprovalMixin) Fields() []ent.Field
Fields of the WorkflowApprovalMixin
type WorkflowAssignment ¶ added in v0.46.3
type WorkflowAssignment struct {
SchemaFuncs
ent.Schema
}
WorkflowAssignment stores approval assignment records for workflow instances
func (WorkflowAssignment) Annotations ¶ added in v0.49.5
func (WorkflowAssignment) Annotations() []schema.Annotation
Annotations of the WorkflowAssignment
func (WorkflowAssignment) Edges ¶ added in v0.46.3
func (w WorkflowAssignment) Edges() []ent.Edge
Edges of the WorkflowAssignment
func (WorkflowAssignment) Fields ¶ added in v0.46.3
func (WorkflowAssignment) Fields() []ent.Field
Fields of the WorkflowAssignment
func (WorkflowAssignment) GetType ¶ added in v0.46.3
func (WorkflowAssignment) GetType() any
GetType returns the type of the WorkflowAssignment schema
func (WorkflowAssignment) Indexes ¶ added in v0.46.3
func (WorkflowAssignment) Indexes() []ent.Index
Indexes of the WorkflowAssignment
func (WorkflowAssignment) Mixin ¶ added in v0.46.3
func (WorkflowAssignment) Mixin() []ent.Mixin
Mixin of the WorkflowAssignment
func (WorkflowAssignment) Modules ¶ added in v0.46.3
func (WorkflowAssignment) Modules() []models.OrgModule
Modules this schema has access to
func (WorkflowAssignment) Name ¶ added in v0.46.3
func (WorkflowAssignment) Name() string
Name returns the name of the WorkflowAssignment schema
func (WorkflowAssignment) PluralName ¶ added in v0.46.3
func (WorkflowAssignment) PluralName() string
PluralName returns the plural name of the WorkflowAssignment schema
func (WorkflowAssignment) Policy ¶ added in v0.46.3
func (WorkflowAssignment) Policy() ent.Policy
Policy of the WorkflowAssignment
type WorkflowAssignmentTarget ¶ added in v0.46.3
type WorkflowAssignmentTarget struct {
SchemaFuncs
ent.Schema
}
WorkflowAssignmentTarget links an assignment to specific targets (user/group/resolver)
func (WorkflowAssignmentTarget) Edges ¶ added in v0.46.3
func (w WorkflowAssignmentTarget) Edges() []ent.Edge
Edges of the WorkflowAssignmentTarget
func (WorkflowAssignmentTarget) Fields ¶ added in v0.46.3
func (WorkflowAssignmentTarget) Fields() []ent.Field
Fields of the WorkflowAssignmentTarget
func (WorkflowAssignmentTarget) GetType ¶ added in v0.46.3
func (WorkflowAssignmentTarget) GetType() any
GetType returns the type of the WorkflowAssignmentTarget schema
func (WorkflowAssignmentTarget) Indexes ¶ added in v0.46.3
func (WorkflowAssignmentTarget) Indexes() []ent.Index
Indexes of the WorkflowAssignmentTarget
func (WorkflowAssignmentTarget) Mixin ¶ added in v0.46.3
func (WorkflowAssignmentTarget) Mixin() []ent.Mixin
Mixin of the WorkflowAssignmentTarget
func (WorkflowAssignmentTarget) Modules ¶ added in v0.46.3
func (WorkflowAssignmentTarget) Modules() []models.OrgModule
Modules this schema has access to
func (WorkflowAssignmentTarget) Name ¶ added in v0.46.3
func (WorkflowAssignmentTarget) Name() string
Name returns the name of the WorkflowAssignmentTarget schema
func (WorkflowAssignmentTarget) PluralName ¶ added in v0.46.3
func (WorkflowAssignmentTarget) PluralName() string
PluralName returns the plural name of the WorkflowAssignmentTarget schema
func (WorkflowAssignmentTarget) Policy ¶ added in v0.46.3
func (WorkflowAssignmentTarget) Policy() ent.Policy
Policy of the WorkflowAssignmentTarget
type WorkflowDefinition ¶ added in v0.46.3
type WorkflowDefinition struct {
SchemaFuncs
ent.Schema
}
WorkflowDefinition stores workflow configurations, both system-provided templates and organization-specific instances
func (WorkflowDefinition) Annotations ¶ added in v0.49.5
func (WorkflowDefinition) Annotations() []schema.Annotation
Annotations of the WorkflowDefinition
func (WorkflowDefinition) Edges ¶ added in v0.46.3
func (WorkflowDefinition) Edges() []ent.Edge
Edges of the WorkflowDefinition
func (WorkflowDefinition) Fields ¶ added in v0.46.3
func (WorkflowDefinition) Fields() []ent.Field
Fields of the WorkflowDefinition
func (WorkflowDefinition) GetType ¶ added in v0.46.3
func (WorkflowDefinition) GetType() any
GetType returns the type of the WorkflowDefinition schema
func (WorkflowDefinition) Mixin ¶ added in v0.46.3
func (w WorkflowDefinition) Mixin() []ent.Mixin
Mixin of the WorkflowDefinition.
func (WorkflowDefinition) Modules ¶ added in v0.46.3
func (WorkflowDefinition) Modules() []models.OrgModule
Modules this schema has access to.
func (WorkflowDefinition) Name ¶ added in v0.46.3
func (WorkflowDefinition) Name() string
Name returns the name of the WorkflowDefinition schema
func (WorkflowDefinition) PluralName ¶ added in v0.46.3
func (WorkflowDefinition) PluralName() string
PluralName returns the plural name of the WorkflowDefinition schema
func (WorkflowDefinition) Policy ¶ added in v0.46.3
func (WorkflowDefinition) Policy() ent.Policy
Policy of the WorkflowDefinition.
type WorkflowEvent ¶ added in v0.46.3
type WorkflowEvent struct {
SchemaFuncs
ent.Schema
}
WorkflowEvent stores events executed within a workflow instance
func (WorkflowEvent) Edges ¶ added in v0.46.3
func (WorkflowEvent) Edges() []ent.Edge
Edges of the WorkflowEvent
func (WorkflowEvent) Fields ¶ added in v0.46.3
func (WorkflowEvent) Fields() []ent.Field
Fields of the WorkflowEvent
func (WorkflowEvent) GetType ¶ added in v0.46.3
func (WorkflowEvent) GetType() any
GetType returns the type of the WorkflowEvent schema
func (WorkflowEvent) Mixin ¶ added in v0.46.3
func (WorkflowEvent) Mixin() []ent.Mixin
Mixin of the WorkflowEvent
func (WorkflowEvent) Modules ¶ added in v0.46.3
func (WorkflowEvent) Modules() []models.OrgModule
Modules this schema has access to
func (WorkflowEvent) Name ¶ added in v0.46.3
func (WorkflowEvent) Name() string
Name returns the name of the WorkflowEvent schema
func (WorkflowEvent) PluralName ¶ added in v0.46.3
func (WorkflowEvent) PluralName() string
PluralName returns the plural name of the WorkflowEvent schema
func (WorkflowEvent) Policy ¶ added in v0.46.3
func (WorkflowEvent) Policy() ent.Policy
Policy of the WorkflowEvent
type WorkflowInstance ¶ added in v0.46.3
type WorkflowInstance struct {
SchemaFuncs
ent.Schema
}
WorkflowInstance tracks execution of a workflow definition for a specific object
func (WorkflowInstance) Annotations ¶ added in v0.49.5
func (WorkflowInstance) Annotations() []schema.Annotation
Annotations of the WorkflowInstance
func (WorkflowInstance) Edges ¶ added in v0.46.3
func (w WorkflowInstance) Edges() []ent.Edge
Edges of the WorkflowInstance
func (WorkflowInstance) Fields ¶ added in v0.46.3
func (WorkflowInstance) Fields() []ent.Field
Fields of the WorkflowInstance
func (WorkflowInstance) GetType ¶ added in v0.46.3
func (WorkflowInstance) GetType() any
GetType returns the type of the WorkflowInstance schema
func (WorkflowInstance) Indexes ¶ added in v0.46.3
func (WorkflowInstance) Indexes() []ent.Index
Indexes of the WorkflowInstance
func (WorkflowInstance) Mixin ¶ added in v0.46.3
func (WorkflowInstance) Mixin() []ent.Mixin
Mixin of the WorkflowInstance
func (WorkflowInstance) Modules ¶ added in v0.46.3
func (WorkflowInstance) Modules() []models.OrgModule
Modules this schema has access to
func (WorkflowInstance) Name ¶ added in v0.46.3
func (WorkflowInstance) Name() string
Name returns the name of the WorkflowInstance schema
func (WorkflowInstance) PluralName ¶ added in v0.46.3
func (WorkflowInstance) PluralName() string
PluralName returns the plural name of the WorkflowInstance schema
func (WorkflowInstance) Policy ¶ added in v0.46.3
func (WorkflowInstance) Policy() ent.Policy
Policy of the WorkflowInstance
type WorkflowObjectRef ¶ added in v0.46.3
type WorkflowObjectRef struct {
SchemaFuncs
ent.Schema
}
WorkflowObjectRef is a through table linking workflow instances to workflow-addressable objects.
func (WorkflowObjectRef) Annotations ¶ added in v0.46.3
func (WorkflowObjectRef) Annotations() []schema.Annotation
Annotations of the WorkflowObjectRef
func (WorkflowObjectRef) Edges ¶ added in v0.46.3
func (w WorkflowObjectRef) Edges() []ent.Edge
Edges of the WorkflowObjectRef
func (WorkflowObjectRef) Fields ¶ added in v0.46.3
func (WorkflowObjectRef) Fields() []ent.Field
Fields of the WorkflowObjectRef
func (WorkflowObjectRef) GetType ¶ added in v0.46.3
func (WorkflowObjectRef) GetType() any
GetType returns the type of the WorkflowObjectRef schema
func (WorkflowObjectRef) Indexes ¶ added in v0.46.3
func (WorkflowObjectRef) Indexes() []ent.Index
Indexes of the WorkflowObjectRef
func (WorkflowObjectRef) Mixin ¶ added in v0.46.3
func (w WorkflowObjectRef) Mixin() []ent.Mixin
Mixin of the WorkflowObjectRef
func (WorkflowObjectRef) Modules ¶ added in v0.46.3
func (WorkflowObjectRef) Modules() []models.OrgModule
Modules this schema has access to
func (WorkflowObjectRef) Name ¶ added in v0.46.3
func (WorkflowObjectRef) Name() string
Name returns the name of the WorkflowObjectRef schema
func (WorkflowObjectRef) PluralName ¶ added in v0.46.3
func (WorkflowObjectRef) PluralName() string
PluralName returns the plural name of the WorkflowObjectRef schema
func (WorkflowObjectRef) Policy ¶ added in v0.46.3
func (WorkflowObjectRef) Policy() ent.Policy
Policy of the WorkflowObjectRef
type WorkflowProposal ¶ added in v0.52.0
type WorkflowProposal struct {
SchemaFuncs
ent.Schema
}
WorkflowProposal stores staged changes for a single object+domain that require approvals.
func (WorkflowProposal) Annotations ¶ added in v0.52.0
func (WorkflowProposal) Annotations() []schema.Annotation
Annotations returns the annotations for the WorkflowProposal schema
func (WorkflowProposal) Edges ¶ added in v0.52.0
func (w WorkflowProposal) Edges() []ent.Edge
Edges of the WorkflowProposal.
func (WorkflowProposal) Fields ¶ added in v0.52.0
func (WorkflowProposal) Fields() []ent.Field
Fields of the WorkflowProposal.
func (WorkflowProposal) GetType ¶ added in v0.52.0
func (WorkflowProposal) GetType() any
GetType returns the type of the WorkflowProposal schema.
func (WorkflowProposal) Indexes ¶ added in v0.52.0
func (WorkflowProposal) Indexes() []ent.Index
Indexes of the WorkflowProposal.
func (WorkflowProposal) Mixin ¶ added in v0.52.0
func (w WorkflowProposal) Mixin() []ent.Mixin
Mixin of the Integration
func (WorkflowProposal) Modules ¶ added in v0.52.0
func (WorkflowProposal) Modules() []models.OrgModule
Modules this schema has access to.
func (WorkflowProposal) Name ¶ added in v0.52.0
func (WorkflowProposal) Name() string
Name returns the name of the WorkflowProposal schema.
func (WorkflowProposal) PluralName ¶ added in v0.52.0
func (WorkflowProposal) PluralName() string
PluralName returns the plural name of the WorkflowProposal schema.
Source Files
¶
- actionplan.go
- apitoken.go
- assessment.go
- assessment_response.go
- asset.go
- basecolors.go
- contact.go
- control.go
- controlimplementation.go
- controlobjective.go
- customdomain.go
- customtypeenum.go
- defaults.go
- directoryaccount.go
- directorygroup.go
- directorymembership.go
- directorysyncrun.go
- discussion.go
- dnsverification.go
- doc.go
- documentdata.go
- emailverificationtoken.go
- entity.go
- entitytype.go
- errors.go
- event.go
- evidence.go
- export.go
- file.go
- filedownload.go
- finding.go
- findingcontrol.go
- group.go
- groupmembership.go
- groupsetting.go
- hush.go
- impersonationevent.go
- integration.go
- internalpolicy.go
- invite.go
- jobresult.go
- jobrunner.go
- jobrunner_registration_token.go
- jobrunner_token.go
- jobtemplate.go
- mappable_domain.go
- mappedcontrol.go
- mixin_controls.go
- mixin_createacess.go
- mixin_customenums.go
- mixin_document.go
- mixin_grouppermissions.go
- mixin_objectowned.go
- mixin_orgowned.go
- mixin_userowned.go
- mixin_wf_approval.go
- narrative.go
- note.go
- notification.go
- onboarding.go
- organization.go
- organizationsetting.go
- orgmembership.go
- orgmodule.go
- orgprice.go
- orgproduct.go
- orgsubscription.go
- passwordresettoken.go
- personalaccesstoken.go
- procedure.go
- program.go
- programmembership.go
- remediation.go
- review.go
- risk.go
- scan.go
- scheduledjob.go
- scheduledjobrun.go
- standard.go
- subcontrol.go
- subprocessor.go
- subscriber.go
- tagdefinition.go
- task.go
- template.go
- tfasetting.go
- trustcenter.go
- trustcenter_compliance.go
- trustcenter_settings.go
- trustcenter_subprocessor.go
- trustcenterdocument.go
- trustcenterentity.go
- trustcenterwatermarkconfig.go
- user.go
- usersetting.go
- vulnerability.go
- webauthn.go
- workflowassignment.go
- workflowassignmenttarget.go
- workflowdefinition.go
- workflowevent.go
- workflowinstance.go
- workflowobjectref.go
- workflowproposal.go