schema

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 31, 2025 License: Apache-2.0 Imports: 52 Imported by: 0

Documentation

Overview

Package schema contains the ent schema

Index

Constants

View Source
const SchemaAPIToken = "api_token"

SchemaAPIToken is the name of the APIToken schema.

View Source
const SchemaActionPlan = "action_plan"

SchemaActionPlan is the name of the action plan schema.

View Source
const SchemaAssessment = "assessment"
View Source
const SchemaAssessmentResponse = "assessment_response"
View Source
const SchemaAsset = "asset"
View Source
const SchemaContact = "contact"

SchemaContact is the name of the Contact schema.

View Source
const SchemaControl = "control"

SchemaControl is the name of the control schema.

View Source
const SchemaControlObjective = "control_objective"

SchemaControlObjective is the name of the controlobjective schema.

View Source
const (
	// SchemaCustomDomain is the name of the CustomDomain schema.
	SchemaCustomDomain = "custom_domain"
)
View Source
const SchemaCustomTypeEnum = "custom_type_enum"

SchemaCustomTypeEnum is the name of the schema in snake case

View Source
const (
	// SchemaDNSVerification is the name of the DNSVerification schema.
	SchemaDNSVerification = "dns_verification"
)
View Source
const SchemaDirectoryAccount = "directory_account"

SchemaDirectoryAccount is the canonical schema name

View Source
const SchemaDirectoryGroup = "directory_group"

SchemaDirectoryGroup is the canonical schema name

View Source
const SchemaDirectoryMembership = "directory_membership"

SchemaDirectoryMembership is the canonical schema name

View Source
const SchemaDirectorySyncRun = "directory_sync_run"

SchemaDirectorySyncRun is the canonical schema name

View Source
const SchemaDiscussion = "discussion"

SchemaDiscussionis the name of the schema in snake case

View Source
const SchemaDocumentData = "document"

SchemaDocumentData is the name of the DocumentData schema.

View Source
const SchemaEmailVerificationToken = "email_verification_token" //nolint:gosec

SchemaEmailVerificationToken is the name of the EmailVerificationToken schema.

View Source
const SchemaEntity = "entity"

SchemaEntity is the name of the Entity schema.

View Source
const SchemaEntityType = "entity_type"

SchemaEntityType is the name of the EntityType schema.

View Source
const SchemaEvent = "event"

SchemaEvent is the name of the Event schema.

View Source
const SchemaEvidence = "evidence"

SchemaEvidence is the name of the Evidence schema.

View Source
const SchemaExport = "export"
View Source
const SchemaFile = "file"
View Source
const SchemaFileDownloadToken = "file_download_token"

SchemaFileDownloadToken is the name of the FileDownloadToken schema.

View Source
const SchemaFinding = "finding"

SchemaFinding is the name of the finding schema.

View Source
const SchemaFindingControl = "finding_control"

SchemaFindingControl is the name of the finding control schema.

View Source
const SchemaGroup = "group"

SchemaGroup is the name of the Group schema.

View Source
const SchemaGroupMembership = "group_membership"

SchemaGroupMembership is the name of the GroupMembership schema.

View Source
const SchemaGroupSetting = "group_setting"
View Source
const SchemaHush = "secret"

SchemaHush is the name of the Hush schema.

View Source
const SchemaImpersonationEvent = "impersonation_event"

SchemaImpersonationEventis the name of the schema in snake case

View Source
const SchemaImplementation = "control_implementation"

SchemaImplementation is the name of the ControlImplementation schema.

View Source
const SchemaIntegration = "integration"

SchemaIntegration is the name of the Integration schema.

View Source
const SchemaInternalPolicy = "internal_policy"

SchemaInternalPolicy is the name of the internal policy schema.

View Source
const SchemaInvite = "invite"
View Source
const SchemaJobResult = "job_result"

SchemaJobResultis the name of the schema in snake case

View Source
const SchemaJobRunner = "job_runner"

SchemaJobRunneris the name of the schema in snake case

View Source
const SchemaJobRunnerRegistrationToken = "job_runner_registration_token"

SchemaJobRunnerRegistrationTokenis the name of the schema in snake case

View Source
const SchemaJobRunnerToken = "job_runner_token"

SchemaJobRunnerTokenis the name of the schema in snake case

View Source
const SchemaJobTemplate = "job_template"

SchemaJobTemplate is the name of the schema in snake case

View Source
const (
	// SchemaMappableDomain is the name of the MappableDomain schema.
	SchemaMappableDomain = "mappable_domain"
)
View Source
const SchemaMappedControl = "mapped_control"
View Source
const SchemaNarrative = "narrative"
View Source
const SchemaNote = "note"
View Source
const SchemaNotification = "notification"
View Source
const SchemaOnboarding = "onboarding"

SchemaOnboarding is the name of the Onboarding schema.

View Source
const SchemaOrgMembership = "org_membership"
View Source
const SchemaOrgModule = "org_module"
View Source
const SchemaOrgPrice = "org_price"
View Source
const SchemaOrgProduct = "org_product"
View Source
const SchemaOrgSubscription = "org_subscription"

SchemaOrgSubscription is the name of the OrgSubscription schema.

View Source
const SchemaOrganization = "organization"
View Source
const SchemaOrganizationSetting = "organization_setting"

SchemaOrganizationSetting is the name of the OrganizationSetting schema.

View Source
const SchemaPasswordResetToken = "password_reset_token"

SchemaPasswordResetToken is the name of the PasswordResetToken schema.

View Source
const SchemaPersonalAccessToken = "personal_access_token"

SchemaPersonalAccessToken is the name of the PersonalAccessToken schema.

View Source
const SchemaProcedure = "procedure"

SchemaProcedure is the name of the procedure schema.

View Source
const SchemaProgram = "program"

SchemaProgram is the name of the Program schema.

View Source
const SchemaProgramMembership = "program_membership"

SchemaProgramMembership is the name of the ProgramMembership schema.

View Source
const SchemaRemediation = "remediation"

SchemaRemediation is the name of the remediation schema.

View Source
const SchemaReview = "review"

SchemaReview is the name of the review schema.

View Source
const SchemaRisk = "risk"

SchemaRisk is the name of the risk schema.

View Source
const SchemaScan = "scan"
View Source
const SchemaScheduledJob = "scheduled_job"

SchemaScheduledJob is the name of the schema in snake case

View Source
const SchemaScheduledJobRun = "scheduled_job_run"

SchemaScheduledJobRunis the name of the schema in snake case

View Source
const SchemaStandard = "standard"

SchemaStandard is the name of the standard schema.

View Source
const SchemaSubcontrol = "subcontrol"

SchemaSubcontrol is the name of the Subcontrol schema.

View Source
const SchemaSubprocessor = "subprocessor"

SchemaSubprocessor is the name of the Subprocessor schema.

View Source
const SchemaSubscriber = "subscriber"

SchemaSubscriber is the name of the Subscriber schema.

View Source
const SchemaTFASetting = "tfa_setting"

SchemaTFASetting is the name of the TFASetting schema.

View Source
const SchemaTagDefinition = "tag_definition"

SchemaTagDefinitionis the name of the schema in snake case

View Source
const SchemaTask = "task"

SchemaTask is the name of the Task schema.

View Source
const SchemaTemplate = "template"

SchemaTemplate is the name of the Template schema.

View Source
const SchemaTrustCenter = "trust_center"

SchemaTrustCenter is the name of the TrustCenter schema.

View Source
const SchemaTrustCenterCompliance = "trust_center_compliance"

SchemaTrustCenterCompliance is the name of the TrustCenterCompliance schema.

View Source
const SchemaTrustCenterDoc = "trust_center_doc"

SchemaTrustCenterDoc is the name of the TrustCenterDoc schema.

View Source
const SchemaTrustCenterSetting = "trust_center_setting"
View Source
const SchemaTrustCenterSubprocessor = "trust_center_subprocessor"

SchemaTrustCenterSubprocessor is the name of the TrustCenterSubprocessor schema.

View Source
const SchemaTrustCenterWatermarkConfig = "trust_center_watermark_config"

SchemaTrustCenterWatermarkConfig is the name of the TrustCenterWatermarkConfig schema.

View Source
const SchemaTrustcenterEntity = "trustcenter_entity"

SchemaTrustcenterEntityis the name of the schema in snake case

View Source
const SchemaUser = "user"

SchemaUser is the name of the User schema.

View Source
const SchemaUserSetting = "user_setting"

SchemaUserSetting is the name of the UserSetting schema.

View Source
const SchemaVulnerability = "vulnerability"

SchemaVulnerability is the name of the vulnerability schema.

View Source
const SchemaWebauthn = "webauthn"

SchemaWebauthn is the name of the Webauthn schema.

Variables

View Source
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) Fields

func (APIToken) Fields() []ent.Field

Fields of the APIToken

func (APIToken) GetType added in v0.8.2

func (APIToken) GetType() any

GetType returns the type of the APIToken schema.

func (APIToken) Hooks

func (APIToken) Hooks() []ent.Hook

Hooks of the APIToken

func (APIToken) Indexes

func (APIToken) Indexes() []ent.Index

Indexes of the APIToken

func (APIToken) Interceptors

func (a APIToken) Interceptors() []ent.Interceptor

Interceptors of the APIToken

func (APIToken) Mixin

func (a APIToken) Mixin() []ent.Mixin

Mixin of the APIToken

func (APIToken) Modules added in v0.28.0

func (APIToken) Modules() []models.OrgModule

func (APIToken) Name added in v0.8.2

func (APIToken) Name() string

Name returns the name of the APIToken schema.

func (APIToken) PluralName added in v0.8.2

func (APIToken) PluralName() string

PluralName returns the plural name of the APIToken schema.

func (APIToken) Policy

func (a APIToken) Policy() ent.Policy

Policy of the APIToken

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) Edges added in v0.19.0

func (a Asset) Edges() []ent.Edge

func (Asset) Fields added in v0.19.0

func (Asset) Fields() []ent.Field

func (Asset) GetType added in v0.19.0

func (Asset) GetType() any

func (Asset) Indexes added in v0.19.0

func (Asset) Indexes() []ent.Index

Indexes of the Asset

func (Asset) Mixin added in v0.19.0

func (a Asset) Mixin() []ent.Mixin

func (Asset) Modules added in v0.28.0

func (a Asset) Modules() []models.OrgModule

func (Asset) Name added in v0.19.0

func (Asset) Name() string

func (Asset) PluralName added in v0.19.0

func (Asset) PluralName() string

func (Asset) Policy added in v0.19.0

func (a Asset) Policy() ent.Policy

Policy of the Asset

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) Edges

func (c Contact) Edges() []ent.Edge

Edges of the Contact

func (Contact) Fields

func (Contact) Fields() []ent.Field

Fields of the Contact

func (Contact) GetType added in v0.8.2

func (Contact) GetType() any

GetType returns the type of the Contact schema.

func (Contact) Hooks

func (Contact) Hooks() []ent.Hook

Hooks of the Contact

func (Contact) Mixin

func (c Contact) Mixin() []ent.Mixin

Mixin of the Contact

func (Contact) Modules added in v0.28.0

func (Contact) Modules() []models.OrgModule

func (Contact) Name added in v0.8.2

func (Contact) Name() string

Name returns the name of the Contact schema.

func (Contact) PluralName added in v0.8.2

func (Contact) PluralName() string

PluralName returns the plural name of the Contact schema.

func (Contact) Policy

func (c Contact) Policy() ent.Policy

Policy of the Contact

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) Edges added in v0.3.3

func (c Control) Edges() []ent.Edge

Edges of the Control

func (Control) Fields added in v0.3.3

func (Control) Fields() []ent.Field

Fields returns control fields.

func (Control) GetType added in v0.8.2

func (Control) GetType() any

GetType returns the type of the control schema.

func (Control) Hooks added in v0.18.3

func (Control) Hooks() []ent.Hook

func (Control) Indexes added in v0.7.3

func (Control) Indexes() []ent.Index

func (Control) Mixin added in v0.3.3

func (c Control) Mixin() []ent.Mixin

Mixin of the Control

func (Control) Modules added in v0.28.0

func (Control) Modules() []models.OrgModule

func (Control) Name added in v0.8.2

func (Control) Name() string

Name returns the name of the control schema.

func (Control) PluralName added in v0.8.2

func (Control) PluralName() string

PluralName returns the plural name of the control schema.

func (Control) Policy added in v0.5.0

func (c Control) Policy() ent.Policy

Policy of the Control

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) Name added in v0.8.2

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) Edges

func (d DocumentData) Edges() []ent.Edge

Edges of the DocumentData

func (DocumentData) Fields

func (DocumentData) Fields() []ent.Field

Fields 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) Mixin

func (d DocumentData) Mixin() []ent.Mixin

Mixin of the DocumentData

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.

func (DocumentData) Policy

func (d DocumentData) Policy() ent.Policy

Policy of the DocumentData

type DocumentMixin added in v0.7.5

type DocumentMixin struct {
	mixin.Schema

	DocumentType string
}

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

type EdgeInfo struct {
	Schema          any
	ViewPermissions bool
}

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) Name added in v0.8.2

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) Edges

func (e Entity) Edges() []ent.Edge

Edges of the Entity

func (Entity) Fields

func (Entity) Fields() []ent.Field

Fields of the Entity

func (Entity) GetType added in v0.8.2

func (Entity) GetType() any

GetType returns the type of the Entity schema.

func (Entity) Hooks

func (Entity) Hooks() []ent.Hook

Hooks of the Entity

func (Entity) Indexes

func (Entity) Indexes() []ent.Index

Indexes of the Entity

func (Entity) Mixin

func (e Entity) Mixin() []ent.Mixin

Mixin of the Entity

func (Entity) Modules added in v0.28.0

func (Entity) Modules() []models.OrgModule

func (Entity) Name added in v0.8.2

func (Entity) Name() string

Name returns the name of the Entity schema.

func (Entity) PluralName added in v0.8.2

func (Entity) PluralName() string

PluralName returns the plural name of the Entity schema.

func (Entity) Policy

func (e Entity) Policy() ent.Policy

Policy of the Entity

type EntityType

type EntityType struct {
	SchemaFuncs

	ent.Schema
}

EntityType holds the schema definition for the EntityType entity

func (EntityType) Edges

func (e EntityType) Edges() []ent.Edge

Edges of the EntityType

func (EntityType) Fields

func (EntityType) Fields() []ent.Field

Fields of the EntityType

func (EntityType) GetType added in v0.8.2

func (EntityType) GetType() any

GetType returns the type of the EntityType schema.

func (EntityType) Indexes

func (EntityType) Indexes() []ent.Index

Indexes of the EntityType

func (EntityType) Mixin

func (e EntityType) Mixin() []ent.Mixin

Mixin of the EntityType

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.

func (EntityType) Policy

func (e EntityType) Policy() ent.Policy

Policy of the EntityType

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) Edges

func (e Event) Edges() []ent.Edge

Edges of the Event

func (Event) Fields

func (Event) Fields() []ent.Field

Fields of the Event

func (Event) GetType added in v0.8.2

func (Event) GetType() any

GetType returns the type of the Event schema.

func (Event) Mixin

func (Event) Mixin() []ent.Mixin

Mixin of the Event

func (Event) Modules added in v0.28.0

func (Event) Modules() []models.OrgModule

func (Event) Name added in v0.8.2

func (Event) Name() string

Name returns the name of the Event schema.

func (Event) PluralName added in v0.8.2

func (Event) PluralName() string

PluralName returns the plural name of the Event schema.

func (Event) Policy added in v0.23.1

func (e Event) Policy() ent.Policy

Policy of the Event

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) Edges added in v0.6.19

func (e Evidence) Edges() []ent.Edge

Edges of the Evidence

func (Evidence) Fields added in v0.6.19

func (Evidence) Fields() []ent.Field

Fields of the Evidence

func (Evidence) GetType added in v0.8.2

func (Evidence) GetType() any

GetType returns the type of the Evidence schema.

func (Evidence) Hooks added in v0.6.19

func (Evidence) Hooks() []ent.Hook

Hooks of the Evidence

func (Evidence) Mixin added in v0.6.19

func (e Evidence) Mixin() []ent.Mixin

Mixin of the Evidence

func (Evidence) Modules added in v0.28.0

func (Evidence) Modules() []models.OrgModule

func (Evidence) Name added in v0.8.2

func (Evidence) Name() string

Name returns the name of the Evidence schema.

func (Evidence) PluralName added in v0.8.2

func (Evidence) PluralName() string

PluralName returns the plural name of the Evidence schema.

func (Evidence) Policy added in v0.6.19

func (Evidence) Policy() ent.Policy

Policy of the Evidence

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) Edges added in v0.22.3

func (e Export) Edges() []ent.Edge

Edges of the Export

func (Export) Fields added in v0.22.3

func (Export) Fields() []ent.Field

Fields returns export fields.

func (Export) GetType added in v0.22.3

func (Export) GetType() any

func (Export) Hooks added in v0.22.3

func (Export) Hooks() []ent.Hook

Hooks of the Export

func (Export) Mixin added in v0.22.3

func (e Export) Mixin() []ent.Mixin

Mixin of the Export

func (Export) Modules added in v0.28.0

func (Export) Modules() []models.OrgModule

func (Export) Name added in v0.22.3

func (Export) Name() string

func (Export) PluralName added in v0.22.3

func (Export) PluralName() string

func (Export) Policy added in v0.22.3

func (e Export) Policy() ent.Policy

Policy of the Export

type File

type File struct {
	SchemaFuncs

	ent.Schema
}

File defines the file schema.

func (File) Annotations

func (f File) Annotations() []schema.Annotation

Annotations of the File

func (File) Edges

func (f File) Edges() []ent.Edge

Edges of the File

func (File) Fields

func (File) Fields() []ent.Field

Fields returns file fields.

func (File) GetType added in v0.8.2

func (File) GetType() any

func (File) Hooks added in v0.22.3

func (File) Hooks() []ent.Hook

Hooks of the File

func (File) Interceptors added in v0.6.10

func (f File) Interceptors() []ent.Interceptor

Interceptors of the File

func (File) Mixin

func (f File) Mixin() []ent.Mixin

Mixin of the File

func (File) Modules added in v0.28.0

func (File) Modules() []models.OrgModule

func (File) Name added in v0.8.2

func (File) Name() string

func (File) PluralName added in v0.8.2

func (File) PluralName() string

func (File) Policy added in v0.3.1

func (f File) Policy() ent.Policy

Policy of the File

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) Edges added in v0.43.3

func (f Finding) Edges() []ent.Edge

Edges of the Finding

func (Finding) Fields added in v0.43.3

func (Finding) Fields() []ent.Field

Fields returns finding fields.

func (Finding) GetType added in v0.43.3

func (Finding) GetType() any

GetType returns the type of the finding schema.

func (Finding) Indexes added in v0.43.3

func (Finding) Indexes() []ent.Index

Indexes of the Finding

func (Finding) Mixin added in v0.43.3

func (f Finding) Mixin() []ent.Mixin

Mixin of the Finding

func (Finding) Modules added in v0.43.3

func (Finding) Modules() []models.OrgModule

func (Finding) Name added in v0.43.3

func (Finding) Name() string

Name returns the name of the finding schema.

func (Finding) PluralName added in v0.43.3

func (Finding) PluralName() string

PluralName returns the plural name of the finding schema.

func (Finding) Policy added in v0.43.3

func (f Finding) Policy() ent.Policy

Policy of the Finding

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) Edges

func (g Group) Edges() []ent.Edge

Edges of the Group

func (Group) Fields

func (Group) Fields() []ent.Field

Fields of the Group

func (Group) GetType added in v0.8.2

func (Group) GetType() any

GetType returns the type of the Group schema.

func (Group) Hooks

func (Group) Hooks() []ent.Hook

Hooks of the Group

func (Group) Indexes

func (Group) Indexes() []ent.Index

Indexes of the Group

func (Group) Interceptors

func (g Group) Interceptors() []ent.Interceptor

Interceptors of the Group

func (Group) Mixin

func (g Group) Mixin() []ent.Mixin

Mixin of the Group

func (Group) Modules added in v0.28.0

func (Group) Modules() []models.OrgModule

func (Group) Name added in v0.8.2

func (Group) Name() string

Name returns the name of the Group schema.

func (Group) PluralName added in v0.8.2

func (Group) PluralName() string

PluralName returns the plural name of the Group schema.

func (Group) Policy

func (g Group) Policy() ent.Policy

Policy of the Group

type GroupBasedCreateAccessMixin added in v0.5.0

type GroupBasedCreateAccessMixin struct {
	mixin.Schema
}

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

type GroupPermissionsEdgesMixin struct {
	mixin.Schema

	EdgeInfo []EdgeInfo
}

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) Edges

func (g GroupSetting) Edges() []ent.Edge

Edges of the GroupSetting

func (GroupSetting) Fields

func (GroupSetting) Fields() []ent.Field

Fields 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) Mixin

func (GroupSetting) Mixin() []ent.Mixin

Mixin 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) Edges

func (h Hush) Edges() []ent.Edge

Edges of the Hush

func (Hush) Fields

func (Hush) Fields() []ent.Field

Fields of the Hush

func (Hush) GetType added in v0.8.2

func (Hush) GetType() any

GetType returns the type of the Hush schema.

func (Hush) Mixin

func (h Hush) Mixin() []ent.Mixin

Mixin of the Hush shhhh

func (Hush) Modules added in v0.28.0

func (Hush) Modules() []models.OrgModule

func (Hush) Name added in v0.8.2

func (Hush) Name() string

Name returns the name of the Hush schema.

func (Hush) PluralName added in v0.8.2

func (Hush) PluralName() string

PluralName returns the plural name of the Hush schema.

func (Hush) Policy added in v0.24.1

func (Hush) Policy() ent.Policy

Policy of the Hush - restricts access to organization members with write access

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) Edges

func (i Integration) Edges() []ent.Edge

Edges of the Integration

func (Integration) Fields

func (Integration) Fields() []ent.Field

Fields 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) Mixin

func (i Integration) Mixin() []ent.Mixin

Mixin of the Integration

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.

func (Integration) Policy

func (i Integration) Policy() ent.Policy

Policy of the Integration

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) Edges

func (i Invite) Edges() []ent.Edge

Edges of the Invite

func (Invite) Fields

func (Invite) Fields() []ent.Field

Fields of the Invite

func (Invite) GetType added in v0.8.2

func (Invite) GetType() any

func (Invite) Hooks

func (Invite) Hooks() []ent.Hook

Hooks of the Invite

func (Invite) Indexes

func (Invite) Indexes() []ent.Index

Indexes of the Invite

func (Invite) Mixin

func (i Invite) Mixin() []ent.Mixin

Mixin of the Invite

func (Invite) Modules added in v0.28.0

func (Invite) Modules() []models.OrgModule

func (Invite) Name added in v0.8.2

func (Invite) Name() string

func (Invite) PluralName added in v0.8.2

func (Invite) PluralName() string

func (Invite) Policy

func (i Invite) Policy() ent.Policy

Policy of the Invite

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) Edges added in v0.15.0

func (j JobResult) Edges() []ent.Edge

Edges of the JobResult

func (JobResult) Fields added in v0.15.0

func (JobResult) Fields() []ent.Field

Fields of the JobResult

func (JobResult) GetType added in v0.15.0

func (JobResult) GetType() any

GetType returns the type of the schema

func (JobResult) Hooks added in v0.15.0

func (JobResult) Hooks() []ent.Hook

Hooks of the JobResult

func (JobResult) Indexes added in v0.15.0

func (JobResult) Indexes() []ent.Index

Indexes of the JobResult

func (JobResult) Interceptors added in v0.15.0

func (JobResult) Interceptors() []ent.Interceptor

Interceptors of the JobResult

func (JobResult) Mixin added in v0.15.0

func (j JobResult) Mixin() []ent.Mixin

Mixin of the JobResult

func (JobResult) Modules added in v0.28.0

func (JobResult) Modules() []models.OrgModule

func (JobResult) Name added in v0.15.0

func (JobResult) Name() string

Name is the name of the schema in snake case

func (JobResult) PluralName added in v0.15.0

func (JobResult) PluralName() string

PluralName returns the plural name of the schema

func (JobResult) Policy added in v0.15.0

func (JobResult) Policy() ent.Policy

Policy of the JobResult

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) Edges added in v0.14.1

func (j JobRunner) Edges() []ent.Edge

Edges of the JobRunner

func (JobRunner) Fields added in v0.14.1

func (JobRunner) Fields() []ent.Field

Fields of the JobRunner

func (JobRunner) GetType added in v0.14.1

func (JobRunner) GetType() any

GetType returns the type of the schema

func (JobRunner) Hooks added in v0.14.1

func (JobRunner) Hooks() []ent.Hook

Hooks of the JobRunner

func (JobRunner) Indexes added in v0.14.1

func (JobRunner) Indexes() []ent.Index

Indexes of the JobRunner

func (JobRunner) Interceptors added in v0.14.1

func (j JobRunner) Interceptors() []ent.Interceptor

Interceptors of the JobRunner

func (JobRunner) Mixin added in v0.14.1

func (j JobRunner) Mixin() []ent.Mixin

Mixin of the JobRunner

func (JobRunner) Modules added in v0.28.0

func (JobRunner) Modules() []models.OrgModule

func (JobRunner) Name added in v0.14.1

func (JobRunner) Name() string

Name is the name of the schema in snake case

func (JobRunner) PluralName added in v0.14.1

func (JobRunner) PluralName() string

PluralName returns the plural name of the schema

func (JobRunner) Policy added in v0.14.1

func (j JobRunner) Policy() ent.Policy

Policy of the JobRunner

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

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

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) Name added in v0.14.1

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

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) Edges added in v0.3.3

func (n Narrative) Edges() []ent.Edge

Edges of the Narrative

func (Narrative) Fields added in v0.3.3

func (Narrative) Fields() []ent.Field

Fields returns narrative fields

func (Narrative) GetType added in v0.8.2

func (Narrative) GetType() any

func (Narrative) Mixin added in v0.3.3

func (n Narrative) Mixin() []ent.Mixin

Mixin of the Narrative

func (Narrative) Modules added in v0.28.0

func (Narrative) Modules() []models.OrgModule

func (Narrative) Name added in v0.8.2

func (Narrative) Name() string

func (Narrative) PluralName added in v0.8.2

func (Narrative) PluralName() string

func (Narrative) Policy added in v0.4.4

func (n Narrative) Policy() ent.Policy

Policy of the Narrative

type Note

type Note struct {
	SchemaFuncs

	ent.Schema
}

Note holds the schema definition for the Note entity

func (Note) Annotations

func (n Note) Annotations() []schema.Annotation

Annotations of the Note

func (Note) Edges

func (n Note) Edges() []ent.Edge

Edges of the Note

func (Note) Fields

func (Note) Fields() []ent.Field

Fields of the Note

func (Note) GetType added in v0.8.2

func (Note) GetType() any

func (Note) Hooks

func (Note) Hooks() []ent.Hook

Hooks of the Note

func (Note) Mixin

func (n Note) Mixin() []ent.Mixin

Mixin of the Note

func (Note) Modules added in v0.28.0

func (Note) Modules() []models.OrgModule

func (Note) Name added in v0.8.2

func (Note) Name() string

func (Note) PluralName added in v0.8.2

func (Note) PluralName() string

func (Note) Policy

func (n Note) Policy() ent.Policy

Policy of the Note

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) Edges

func (o OrgMembership) Edges() []ent.Edge

Edges of the OrgMembership

func (OrgMembership) Fields

func (OrgMembership) Fields() []ent.Field

Fields of the OrgMembership

func (OrgMembership) GetType added in v0.8.2

func (OrgMembership) GetType() any

func (OrgMembership) Hooks

func (OrgMembership) Hooks() []ent.Hook

Hooks of the OrgMembership

func (OrgMembership) Indexes

func (OrgMembership) Indexes() []ent.Index

func (OrgMembership) Interceptors

func (OrgMembership) Interceptors() []ent.Interceptor

Interceptors of the OrgMembership

func (OrgMembership) Mixin

func (OrgMembership) Mixin() []ent.Mixin

Mixin 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

func (OrgMembership) Policy

func (OrgMembership) Policy() ent.Policy

Policy of the OrgMembership

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) Edges added in v0.18.4

func (o OrgModule) Edges() []ent.Edge

Edges of the OrgModule

func (OrgModule) Fields added in v0.18.4

func (OrgModule) Fields() []ent.Field

Fields of the OrgModule

func (OrgModule) GetType added in v0.18.4

func (OrgModule) GetType() any

GetType returns the type of the OrgModule schema

func (OrgModule) Hooks added in v0.28.0

func (OrgModule) Hooks() []ent.Hook

Hooks of the OrgModule

func (OrgModule) Mixin added in v0.18.4

func (o OrgModule) Mixin() []ent.Mixin

Mixin returns the mixins for the OrgModule schema

func (OrgModule) Name added in v0.18.4

func (OrgModule) Name() string

Name returns the name of the OrgModule schema

func (OrgModule) PluralName added in v0.18.4

func (OrgModule) PluralName() string

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) Edges added in v0.18.4

func (o OrgPrice) Edges() []ent.Edge

Edges of the OrgPrice

func (OrgPrice) Fields added in v0.18.4

func (OrgPrice) Fields() []ent.Field

Fields of the OrgPrice

func (OrgPrice) GetType added in v0.18.4

func (OrgPrice) GetType() any

GetType returns the type of the OrgPrice schema

func (OrgPrice) Mixin added in v0.18.4

func (o OrgPrice) Mixin() []ent.Mixin

Mixin returns the mixins for the OrgPrice schema

func (OrgPrice) Modules added in v0.28.0

func (OrgPrice) Modules() []models.OrgModule

func (OrgPrice) Name added in v0.18.4

func (OrgPrice) Name() string

Name returns the name of the OrgPrice schema

func (OrgPrice) PluralName added in v0.18.4

func (OrgPrice) PluralName() string

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) Edges

func (o Organization) Edges() []ent.Edge

Edges of the Organization

func (Organization) Fields

func (Organization) Fields() []ent.Field

Fields of the Organization

func (Organization) GetType added in v0.8.2

func (Organization) GetType() any

func (Organization) Hooks

func (Organization) Hooks() []ent.Hook

Hooks of the Organization

func (Organization) Indexes

func (Organization) Indexes() []ent.Index

func (Organization) Interceptors

func (o Organization) Interceptors() []ent.Interceptor

Interceptors of the Organization

func (Organization) Mixin

func (Organization) Mixin() []ent.Mixin

Mixin 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) Edges added in v0.3.3

func (p Procedure) Edges() []ent.Edge

Edges of the Procedure

func (Procedure) Fields added in v0.3.3

func (Procedure) Fields() []ent.Field

Fields returns procedure fields.

func (Procedure) GetType added in v0.8.2

func (Procedure) GetType() any

GetType returns the type of the procedure schema.

func (Procedure) Hooks added in v0.4.2

func (Procedure) Hooks() []ent.Hook

Hooks of the Procedure

func (Procedure) Interceptors added in v0.4.2

func (p Procedure) Interceptors() []ent.Interceptor

Interceptors of the Procedure

func (Procedure) Mixin added in v0.3.3

func (p Procedure) Mixin() []ent.Mixin

Mixin of the Procedure

func (Procedure) Modules added in v0.28.0

func (Procedure) Modules() []models.OrgModule

func (Procedure) Name added in v0.8.2

func (Procedure) Name() string

Name returns the name of the procedure schema.

func (Procedure) PluralName added in v0.8.2

func (Procedure) PluralName() string

PluralName returns the plural name of the procedure schema.

func (Procedure) Policy added in v0.4.2

func (p Procedure) Policy() ent.Policy

Policy of the Procedure

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) Edges added in v0.3.5

func (p Program) Edges() []ent.Edge

Edges of the Program

func (Program) Fields added in v0.3.5

func (Program) Fields() []ent.Field

Fields of the Program

func (Program) GetType added in v0.8.2

func (Program) GetType() any

GetType returns the type of the Program schema.

func (Program) Hooks added in v0.3.5

func (Program) Hooks() []ent.Hook

Hooks of the Program

func (Program) Interceptors added in v0.3.5

func (p Program) Interceptors() []ent.Interceptor

Interceptors of the Program

func (Program) Mixin added in v0.3.5

func (p Program) Mixin() []ent.Mixin

Mixin of the Program

func (Program) Modules added in v0.28.0

func (Program) Modules() []models.OrgModule

func (Program) Name added in v0.8.2

func (Program) Name() string

Name returns the name of the Program schema.

func (Program) PluralName added in v0.8.2

func (Program) PluralName() string

PluralName returns the plural name of the Program schema.

func (Program) Policy added in v0.3.5

func (p Program) Policy() ent.Policy

Policy of the Program

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) Edges added in v0.43.3

func (r Review) Edges() []ent.Edge

Edges of the Review

func (Review) Fields added in v0.43.3

func (Review) Fields() []ent.Field

Fields returns review fields.

func (Review) GetType added in v0.43.3

func (Review) GetType() any

GetType returns the type of the review schema.

func (Review) Indexes added in v0.43.3

func (Review) Indexes() []ent.Index

Indexes of the Review

func (Review) Mixin added in v0.43.3

func (r Review) Mixin() []ent.Mixin

Mixin of the Review

func (Review) Modules added in v0.43.3

func (Review) Modules() []models.OrgModule

func (Review) Name added in v0.43.3

func (Review) Name() string

Name returns the name of the review schema.

func (Review) PluralName added in v0.43.3

func (Review) PluralName() string

PluralName returns the plural name of the review schema.

func (Review) Policy added in v0.43.3

func (r Review) Policy() ent.Policy

Policy of the Review

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) Edges added in v0.3.3

func (r Risk) Edges() []ent.Edge

Edges of the Risk

func (Risk) Fields added in v0.3.3

func (Risk) Fields() []ent.Field

Fields returns risk fields.

func (Risk) GetType added in v0.8.2

func (Risk) GetType() any

GetType returns the type of the risk schema.

func (Risk) Hooks added in v0.4.3

func (Risk) Hooks() []ent.Hook

Hooks of the Risk

func (Risk) Mixin added in v0.3.3

func (r Risk) Mixin() []ent.Mixin

Mixin of the Risk

func (Risk) Modules added in v0.28.0

func (Risk) Modules() []models.OrgModule

func (Risk) Name added in v0.8.2

func (Risk) Name() string

Name returns the name of the risk schema.

func (Risk) PluralName added in v0.8.2

func (Risk) PluralName() string

PluralName returns the plural name of the risk schema.

func (Risk) Policy added in v0.4.3

func (r Risk) Policy() ent.Policy

Policy of the Risk

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) Edges added in v0.19.0

func (s Scan) Edges() []ent.Edge

func (Scan) Fields added in v0.19.0

func (Scan) Fields() []ent.Field

func (Scan) GetType added in v0.19.0

func (Scan) GetType() any

func (Scan) Mixin added in v0.19.0

func (s Scan) Mixin() []ent.Mixin

func (Scan) Modules added in v0.28.0

func (Scan) Modules() []models.OrgModule

func (Scan) Name added in v0.19.0

func (Scan) Name() string

func (Scan) PluralName added in v0.19.0

func (Scan) PluralName() string

func (Scan) Policy added in v0.19.0

func (s Scan) Policy() ent.Policy

Policy of the Scan

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

type SchemaFuncs interface {
	Name() string
	PluralName() string
	GetType() any
}

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) Edges added in v0.3.3

func (s Standard) Edges() []ent.Edge

Edges of the Standard

func (Standard) Fields added in v0.3.3

func (Standard) Fields() []ent.Field

Fields returns standard fields.

func (Standard) GetType added in v0.8.2

func (Standard) GetType() any

GetType returns the type of the standard schema.

func (Standard) Hooks added in v0.7.3

func (Standard) Hooks() []ent.Hook

Hooks of the Standard

func (Standard) Interceptors added in v0.7.3

func (s Standard) Interceptors() []ent.Interceptor

Interceptors of the Standard

func (Standard) Mixin added in v0.3.3

func (s Standard) Mixin() []ent.Mixin

Mixin of the Standard

func (Standard) Modules added in v0.28.0

func (Standard) Modules() []models.OrgModule

func (Standard) Name added in v0.8.2

func (Standard) Name() string

Name returns the name of the standard schema.

func (Standard) PluralName added in v0.8.2

func (Standard) PluralName() string

PluralName returns the plural name of the standard schema.

func (Standard) Policy added in v0.7.3

func (s Standard) Policy() ent.Policy

Policy of the Standard

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) Edges

func (s Subscriber) Edges() []ent.Edge

Edges of the Subscriber

func (Subscriber) Fields

func (Subscriber) Fields() []ent.Field

Fields 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) Indexes

func (Subscriber) Indexes() []ent.Index

Indexes of the Subscriber

func (Subscriber) Mixin

func (s Subscriber) Mixin() []ent.Mixin

Mixin of the Subscriber

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.

func (Subscriber) Policy

func (Subscriber) Policy() ent.Policy

Policy of the Subscriber

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) Fields

func (TFASetting) Fields() []ent.Field

Fields 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) Hooks

func (TFASetting) Hooks() []ent.Hook

Hooks of the TFASetting

func (TFASetting) Mixin

func (t TFASetting) Mixin() []ent.Mixin

Mixin of the TFASetting

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) Edges added in v0.3.4

func (t Task) Edges() []ent.Edge

Edges of the Task

func (Task) Fields added in v0.3.4

func (Task) Fields() []ent.Field

Fields of the Task

func (Task) GetType added in v0.8.2

func (Task) GetType() any

GetType returns the type of the Task schema.

func (Task) Hooks added in v0.3.4

func (Task) Hooks() []ent.Hook

Hooks of the Task

func (Task) Mixin added in v0.3.4

func (t Task) Mixin() []ent.Mixin

Mixin of the Task

func (Task) Modules added in v0.28.0

func (Task) Modules() []models.OrgModule

func (Task) Name added in v0.8.2

func (Task) Name() string

Name returns the name of the Task schema.

func (Task) PluralName added in v0.8.2

func (Task) PluralName() string

PluralName returns the plural name of the Task schema.

func (Task) Policy added in v0.3.4

func (Task) Policy() ent.Policy

Policy of the Task

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) Edges

func (t Template) Edges() []ent.Edge

Edges of the Template

func (Template) Fields

func (Template) Fields() []ent.Field

Fields of the Template

func (Template) GetType added in v0.8.2

func (Template) GetType() any

GetType returns the type of the Template schema.

func (Template) Hooks added in v0.32.0

func (Template) Hooks() []ent.Hook

Hooks of the Template

func (Template) Indexes

func (Template) Indexes() []ent.Index

Indexes of the Template

func (Template) Mixin

func (t Template) Mixin() []ent.Mixin

Mixin of the Template

func (Template) Name added in v0.8.2

func (Template) Name() string

SchemaTemplate is the name of the Template schema.

func (Template) PluralName added in v0.8.2

func (Template) PluralName() string

PluralName returns the plural name of the Template schema.

func (Template) Policy

func (Template) Policy() ent.Policy

Policy of the Template

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

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) Name added in v0.22.2

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

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

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

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) Name added in v0.34.5

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

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) Annotations

func (u User) Annotations() []schema.Annotation

Annotations of the User

func (User) Edges

func (u User) Edges() []ent.Edge

Edges of the User

func (User) Fields

func (User) Fields() []ent.Field

Fields of the User.

func (User) GetType added in v0.8.2

func (User) GetType() any

GetType returns the type of the User schema.

func (User) Hooks

func (User) Hooks() []ent.Hook

func (User) Indexes

func (User) Indexes() []ent.Index

Indexes of the User

func (User) Interceptors

func (u User) Interceptors() []ent.Interceptor

Interceptors of the User.

func (User) Mixin

func (User) Mixin() []ent.Mixin

Mixin of the User

func (User) Name added in v0.8.2

func (User) Name() string

Name returns the name of the User schema.

func (User) PluralName added in v0.8.2

func (User) PluralName() string

PluralName returns the plural name of the User schema.

func (User) Policy

func (User) Policy() ent.Policy

Policy of the User

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

func (UserOwnedMixin) P

func (userOwned UserOwnedMixin) P(w interface{ WhereP(...func(*sql.Selector)) }, userID string)

P adds a storage-level predicate to the queries and mutations.

type UserSetting

type UserSetting struct {
	SchemaFuncs

	ent.Schema
}

UserSetting holds the schema definition for the User entity.

func (UserSetting) Edges

func (u UserSetting) Edges() []ent.Edge

Edges of the UserSetting

func (UserSetting) Fields

func (UserSetting) Fields() []ent.Field

Fields of the UserSetting

func (UserSetting) GetType added in v0.8.2

func (UserSetting) GetType() any

GetType returns the type of the UserSetting schema.

func (UserSetting) Hooks

func (UserSetting) Hooks() []ent.Hook

Hooks of the UserSetting.

func (UserSetting) Interceptors

func (UserSetting) Interceptors() []ent.Interceptor

Interceptors of the UserSetting.

func (UserSetting) Mixin

func (UserSetting) Mixin() []ent.Mixin

Mixin 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) Fields

func (Webauthn) Fields() []ent.Field

Fields of the Webauthn

func (Webauthn) GetType added in v0.8.2

func (Webauthn) GetType() any

GetType returns the type of the Webauthn schema.

func (Webauthn) Hooks added in v0.10.9

func (Webauthn) Hooks() []ent.Hook

func (Webauthn) Mixin

func (w Webauthn) Mixin() []ent.Mixin

Mixin of the Webauthn

func (Webauthn) Modules added in v0.28.0

func (Webauthn) Modules() []models.OrgModule

func (Webauthn) Name added in v0.8.2

func (Webauthn) Name() string

Name returns the name of the Webauthn schema.

func (Webauthn) PluralName added in v0.8.2

func (Webauthn) PluralName() string

PluralName returns the plural name of the Webauthn schema.

func (Webauthn) Policy added in v0.28.0

func (w Webauthn) Policy() ent.Policy

Policy of the Webauthn

type WorkflowApprovalMixin added in v0.49.5

type WorkflowApprovalMixin struct {
	mixin.Schema
}

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

Mixin of the WorkflowAssignmentTarget

func (WorkflowAssignmentTarget) Modules added in v0.46.3

Modules this schema has access to

func (WorkflowAssignmentTarget) Name added in v0.46.3

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL