control

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: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the control type in the database.
	Label = "control"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldDeletedBy holds the string denoting the deleted_by field in the database.
	FieldDeletedBy = "deleted_by"
	// FieldDisplayID holds the string denoting the display_id field in the database.
	FieldDisplayID = "display_id"
	// FieldTags holds the string denoting the tags field in the database.
	FieldTags = "tags"
	// FieldTitle holds the string denoting the title field in the database.
	FieldTitle = "title"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldDescriptionJSON holds the string denoting the description_json field in the database.
	FieldDescriptionJSON = "description_json"
	// FieldAliases holds the string denoting the aliases field in the database.
	FieldAliases = "aliases"
	// FieldReferenceID holds the string denoting the reference_id field in the database.
	FieldReferenceID = "reference_id"
	// FieldAuditorReferenceID holds the string denoting the auditor_reference_id field in the database.
	FieldAuditorReferenceID = "auditor_reference_id"
	// FieldResponsiblePartyID holds the string denoting the responsible_party_id field in the database.
	FieldResponsiblePartyID = "responsible_party_id"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldSource holds the string denoting the source field in the database.
	FieldSource = "source"
	// FieldReferenceFramework holds the string denoting the reference_framework field in the database.
	FieldReferenceFramework = "reference_framework"
	// FieldReferenceFrameworkRevision holds the string denoting the reference_framework_revision field in the database.
	FieldReferenceFrameworkRevision = "reference_framework_revision"
	// FieldControlType holds the string denoting the control_type field in the database.
	FieldControlType = "control_type"
	// FieldCategory holds the string denoting the category field in the database.
	FieldCategory = "category"
	// FieldCategoryID holds the string denoting the category_id field in the database.
	FieldCategoryID = "category_id"
	// FieldSubcategory holds the string denoting the subcategory field in the database.
	FieldSubcategory = "subcategory"
	// FieldMappedCategories holds the string denoting the mapped_categories field in the database.
	FieldMappedCategories = "mapped_categories"
	// FieldAssessmentObjectives holds the string denoting the assessment_objectives field in the database.
	FieldAssessmentObjectives = "assessment_objectives"
	// FieldAssessmentMethods holds the string denoting the assessment_methods field in the database.
	FieldAssessmentMethods = "assessment_methods"
	// FieldControlQuestions holds the string denoting the control_questions field in the database.
	FieldControlQuestions = "control_questions"
	// FieldImplementationGuidance holds the string denoting the implementation_guidance field in the database.
	FieldImplementationGuidance = "implementation_guidance"
	// FieldExampleEvidence holds the string denoting the example_evidence field in the database.
	FieldExampleEvidence = "example_evidence"
	// FieldReferences holds the string denoting the references field in the database.
	FieldReferences = "references"
	// FieldTestingProcedures holds the string denoting the testing_procedures field in the database.
	FieldTestingProcedures = "testing_procedures"
	// FieldEvidenceRequests holds the string denoting the evidence_requests field in the database.
	FieldEvidenceRequests = "evidence_requests"
	// FieldControlOwnerID holds the string denoting the control_owner_id field in the database.
	FieldControlOwnerID = "control_owner_id"
	// FieldDelegateID holds the string denoting the delegate_id field in the database.
	FieldDelegateID = "delegate_id"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// FieldSystemOwned holds the string denoting the system_owned field in the database.
	FieldSystemOwned = "system_owned"
	// FieldInternalNotes holds the string denoting the internal_notes field in the database.
	FieldInternalNotes = "internal_notes"
	// FieldSystemInternalID holds the string denoting the system_internal_id field in the database.
	FieldSystemInternalID = "system_internal_id"
	// FieldControlKindName holds the string denoting the control_kind_name field in the database.
	FieldControlKindName = "control_kind_name"
	// FieldControlKindID holds the string denoting the control_kind_id field in the database.
	FieldControlKindID = "control_kind_id"
	// FieldWorkflowEligibleMarker holds the string denoting the workflow_eligible_marker field in the database.
	FieldWorkflowEligibleMarker = "workflow_eligible_marker"
	// FieldRefCode holds the string denoting the ref_code field in the database.
	FieldRefCode = "ref_code"
	// FieldStandardID holds the string denoting the standard_id field in the database.
	FieldStandardID = "standard_id"
	// EdgeEvidence holds the string denoting the evidence edge name in mutations.
	EdgeEvidence = "evidence"
	// EdgeControlObjectives holds the string denoting the control_objectives edge name in mutations.
	EdgeControlObjectives = "control_objectives"
	// EdgeTasks holds the string denoting the tasks edge name in mutations.
	EdgeTasks = "tasks"
	// EdgeNarratives holds the string denoting the narratives edge name in mutations.
	EdgeNarratives = "narratives"
	// EdgeRisks holds the string denoting the risks edge name in mutations.
	EdgeRisks = "risks"
	// EdgeActionPlans holds the string denoting the action_plans edge name in mutations.
	EdgeActionPlans = "action_plans"
	// EdgeProcedures holds the string denoting the procedures edge name in mutations.
	EdgeProcedures = "procedures"
	// EdgeInternalPolicies holds the string denoting the internal_policies edge name in mutations.
	EdgeInternalPolicies = "internal_policies"
	// EdgeComments holds the string denoting the comments edge name in mutations.
	EdgeComments = "comments"
	// EdgeDiscussions holds the string denoting the discussions edge name in mutations.
	EdgeDiscussions = "discussions"
	// EdgeControlOwner holds the string denoting the control_owner edge name in mutations.
	EdgeControlOwner = "control_owner"
	// EdgeDelegate holds the string denoting the delegate edge name in mutations.
	EdgeDelegate = "delegate"
	// EdgeResponsibleParty holds the string denoting the responsible_party edge name in mutations.
	EdgeResponsibleParty = "responsible_party"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// EdgeBlockedGroups holds the string denoting the blocked_groups edge name in mutations.
	EdgeBlockedGroups = "blocked_groups"
	// EdgeEditors holds the string denoting the editors edge name in mutations.
	EdgeEditors = "editors"
	// EdgeControlKind holds the string denoting the control_kind edge name in mutations.
	EdgeControlKind = "control_kind"
	// EdgeStandard holds the string denoting the standard edge name in mutations.
	EdgeStandard = "standard"
	// EdgePrograms holds the string denoting the programs edge name in mutations.
	EdgePrograms = "programs"
	// EdgeAssets holds the string denoting the assets edge name in mutations.
	EdgeAssets = "assets"
	// EdgeScans holds the string denoting the scans edge name in mutations.
	EdgeScans = "scans"
	// EdgeFindings holds the string denoting the findings edge name in mutations.
	EdgeFindings = "findings"
	// EdgeControlImplementations holds the string denoting the control_implementations edge name in mutations.
	EdgeControlImplementations = "control_implementations"
	// EdgeSubcontrols holds the string denoting the subcontrols edge name in mutations.
	EdgeSubcontrols = "subcontrols"
	// EdgeScheduledJobs holds the string denoting the scheduled_jobs edge name in mutations.
	EdgeScheduledJobs = "scheduled_jobs"
	// EdgeMappedToControls holds the string denoting the mapped_to_controls edge name in mutations.
	EdgeMappedToControls = "mapped_to_controls"
	// EdgeMappedFromControls holds the string denoting the mapped_from_controls edge name in mutations.
	EdgeMappedFromControls = "mapped_from_controls"
	// EdgeWorkflowObjectRefs holds the string denoting the workflow_object_refs edge name in mutations.
	EdgeWorkflowObjectRefs = "workflow_object_refs"
	// EdgeControlMappings holds the string denoting the control_mappings edge name in mutations.
	EdgeControlMappings = "control_mappings"
	// Table holds the table name of the control in the database.
	Table = "controls"
	// EvidenceTable is the table that holds the evidence relation/edge. The primary key declared below.
	EvidenceTable = "evidence_controls"
	// EvidenceInverseTable is the table name for the Evidence entity.
	// It exists in this package in order to avoid circular dependency with the "evidence" package.
	EvidenceInverseTable = "evidences"
	// ControlObjectivesTable is the table that holds the control_objectives relation/edge. The primary key declared below.
	ControlObjectivesTable = "control_control_objectives"
	// ControlObjectivesInverseTable is the table name for the ControlObjective entity.
	// It exists in this package in order to avoid circular dependency with the "controlobjective" package.
	ControlObjectivesInverseTable = "control_objectives"
	// TasksTable is the table that holds the tasks relation/edge. The primary key declared below.
	TasksTable = "control_tasks"
	// TasksInverseTable is the table name for the Task entity.
	// It exists in this package in order to avoid circular dependency with the "task" package.
	TasksInverseTable = "tasks"
	// NarrativesTable is the table that holds the narratives relation/edge. The primary key declared below.
	NarrativesTable = "control_narratives"
	// NarrativesInverseTable is the table name for the Narrative entity.
	// It exists in this package in order to avoid circular dependency with the "narrative" package.
	NarrativesInverseTable = "narratives"
	// RisksTable is the table that holds the risks relation/edge. The primary key declared below.
	RisksTable = "control_risks"
	// RisksInverseTable is the table name for the Risk entity.
	// It exists in this package in order to avoid circular dependency with the "risk" package.
	RisksInverseTable = "risks"
	// ActionPlansTable is the table that holds the action_plans relation/edge. The primary key declared below.
	ActionPlansTable = "control_action_plans"
	// ActionPlansInverseTable is the table name for the ActionPlan entity.
	// It exists in this package in order to avoid circular dependency with the "actionplan" package.
	ActionPlansInverseTable = "action_plans"
	// ProceduresTable is the table that holds the procedures relation/edge. The primary key declared below.
	ProceduresTable = "control_procedures"
	// ProceduresInverseTable is the table name for the Procedure entity.
	// It exists in this package in order to avoid circular dependency with the "procedure" package.
	ProceduresInverseTable = "procedures"
	// InternalPoliciesTable is the table that holds the internal_policies relation/edge. The primary key declared below.
	InternalPoliciesTable = "internal_policy_controls"
	// InternalPoliciesInverseTable is the table name for the InternalPolicy entity.
	// It exists in this package in order to avoid circular dependency with the "internalpolicy" package.
	InternalPoliciesInverseTable = "internal_policies"
	// CommentsTable is the table that holds the comments relation/edge.
	CommentsTable = "notes"
	// CommentsInverseTable is the table name for the Note entity.
	// It exists in this package in order to avoid circular dependency with the "note" package.
	CommentsInverseTable = "notes"
	// CommentsColumn is the table column denoting the comments relation/edge.
	CommentsColumn = "control_comments"
	// DiscussionsTable is the table that holds the discussions relation/edge.
	DiscussionsTable = "discussions"
	// DiscussionsInverseTable is the table name for the Discussion entity.
	// It exists in this package in order to avoid circular dependency with the "discussion" package.
	DiscussionsInverseTable = "discussions"
	// DiscussionsColumn is the table column denoting the discussions relation/edge.
	DiscussionsColumn = "control_discussions"
	// ControlOwnerTable is the table that holds the control_owner relation/edge.
	ControlOwnerTable = "controls"
	// ControlOwnerInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	ControlOwnerInverseTable = "groups"
	// ControlOwnerColumn is the table column denoting the control_owner relation/edge.
	ControlOwnerColumn = "control_owner_id"
	// DelegateTable is the table that holds the delegate relation/edge.
	DelegateTable = "controls"
	// DelegateInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	DelegateInverseTable = "groups"
	// DelegateColumn is the table column denoting the delegate relation/edge.
	DelegateColumn = "delegate_id"
	// ResponsiblePartyTable is the table that holds the responsible_party relation/edge.
	ResponsiblePartyTable = "controls"
	// ResponsiblePartyInverseTable is the table name for the Entity entity.
	// It exists in this package in order to avoid circular dependency with the "entity" package.
	ResponsiblePartyInverseTable = "entities"
	// ResponsiblePartyColumn is the table column denoting the responsible_party relation/edge.
	ResponsiblePartyColumn = "responsible_party_id"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "controls"
	// OwnerInverseTable is the table name for the Organization entity.
	// It exists in this package in order to avoid circular dependency with the "organization" package.
	OwnerInverseTable = "organizations"
	// OwnerColumn is the table column denoting the owner relation/edge.
	OwnerColumn = "owner_id"
	// BlockedGroupsTable is the table that holds the blocked_groups relation/edge. The primary key declared below.
	BlockedGroupsTable = "control_blocked_groups"
	// BlockedGroupsInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	BlockedGroupsInverseTable = "groups"
	// EditorsTable is the table that holds the editors relation/edge. The primary key declared below.
	EditorsTable = "control_editors"
	// EditorsInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	EditorsInverseTable = "groups"
	// ControlKindTable is the table that holds the control_kind relation/edge.
	ControlKindTable = "controls"
	// ControlKindInverseTable is the table name for the CustomTypeEnum entity.
	// It exists in this package in order to avoid circular dependency with the "customtypeenum" package.
	ControlKindInverseTable = "custom_type_enums"
	// ControlKindColumn is the table column denoting the control_kind relation/edge.
	ControlKindColumn = "control_kind_id"
	// StandardTable is the table that holds the standard relation/edge.
	StandardTable = "controls"
	// StandardInverseTable is the table name for the Standard entity.
	// It exists in this package in order to avoid circular dependency with the "standard" package.
	StandardInverseTable = "standards"
	// StandardColumn is the table column denoting the standard relation/edge.
	StandardColumn = "standard_id"
	// ProgramsTable is the table that holds the programs relation/edge. The primary key declared below.
	ProgramsTable = "program_controls"
	// ProgramsInverseTable is the table name for the Program entity.
	// It exists in this package in order to avoid circular dependency with the "program" package.
	ProgramsInverseTable = "programs"
	// AssetsTable is the table that holds the assets relation/edge. The primary key declared below.
	AssetsTable = "control_assets"
	// AssetsInverseTable is the table name for the Asset entity.
	// It exists in this package in order to avoid circular dependency with the "asset" package.
	AssetsInverseTable = "assets"
	// ScansTable is the table that holds the scans relation/edge.
	ScansTable = "scans"
	// ScansInverseTable is the table name for the Scan entity.
	// It exists in this package in order to avoid circular dependency with the "scan" package.
	ScansInverseTable = "scans"
	// ScansColumn is the table column denoting the scans relation/edge.
	ScansColumn = "control_scans"
	// FindingsTable is the table that holds the findings relation/edge. The primary key declared below.
	FindingsTable = "finding_controls"
	// FindingsInverseTable is the table name for the Finding entity.
	// It exists in this package in order to avoid circular dependency with the "finding" package.
	FindingsInverseTable = "findings"
	// ControlImplementationsTable is the table that holds the control_implementations relation/edge. The primary key declared below.
	ControlImplementationsTable = "control_control_implementations"
	// ControlImplementationsInverseTable is the table name for the ControlImplementation entity.
	// It exists in this package in order to avoid circular dependency with the "controlimplementation" package.
	ControlImplementationsInverseTable = "control_implementations"
	// SubcontrolsTable is the table that holds the subcontrols relation/edge.
	SubcontrolsTable = "subcontrols"
	// SubcontrolsInverseTable is the table name for the Subcontrol entity.
	// It exists in this package in order to avoid circular dependency with the "subcontrol" package.
	SubcontrolsInverseTable = "subcontrols"
	// SubcontrolsColumn is the table column denoting the subcontrols relation/edge.
	SubcontrolsColumn = "control_id"
	// ScheduledJobsTable is the table that holds the scheduled_jobs relation/edge. The primary key declared below.
	ScheduledJobsTable = "scheduled_job_controls"
	// ScheduledJobsInverseTable is the table name for the ScheduledJob entity.
	// It exists in this package in order to avoid circular dependency with the "scheduledjob" package.
	ScheduledJobsInverseTable = "scheduled_jobs"
	// MappedToControlsTable is the table that holds the mapped_to_controls relation/edge. The primary key declared below.
	MappedToControlsTable = "mapped_control_to_controls"
	// MappedToControlsInverseTable is the table name for the MappedControl entity.
	// It exists in this package in order to avoid circular dependency with the "mappedcontrol" package.
	MappedToControlsInverseTable = "mapped_controls"
	// MappedFromControlsTable is the table that holds the mapped_from_controls relation/edge. The primary key declared below.
	MappedFromControlsTable = "mapped_control_from_controls"
	// MappedFromControlsInverseTable is the table name for the MappedControl entity.
	// It exists in this package in order to avoid circular dependency with the "mappedcontrol" package.
	MappedFromControlsInverseTable = "mapped_controls"
	// WorkflowObjectRefsTable is the table that holds the workflow_object_refs relation/edge.
	WorkflowObjectRefsTable = "workflow_object_refs"
	// WorkflowObjectRefsInverseTable is the table name for the WorkflowObjectRef entity.
	// It exists in this package in order to avoid circular dependency with the "workflowobjectref" package.
	WorkflowObjectRefsInverseTable = "workflow_object_refs"
	// WorkflowObjectRefsColumn is the table column denoting the workflow_object_refs relation/edge.
	WorkflowObjectRefsColumn = "control_id"
	// ControlMappingsTable is the table that holds the control_mappings relation/edge.
	ControlMappingsTable = "finding_controls"
	// ControlMappingsInverseTable is the table name for the FindingControl entity.
	// It exists in this package in order to avoid circular dependency with the "findingcontrol" package.
	ControlMappingsInverseTable = "finding_controls"
	// ControlMappingsColumn is the table column denoting the control_mappings relation/edge.
	ControlMappingsColumn = "control_id"
)
View Source
const DefaultControlType enums.ControlType = "PREVENTATIVE"
View Source
const DefaultSource enums.ControlSource = "USER_DEFINED"
View Source
const DefaultStatus enums.ControlStatus = "NOT_IMPLEMENTED"

Variables

View Source
var (
	// EvidencePrimaryKey and EvidenceColumn2 are the table columns denoting the
	// primary key for the evidence relation (M2M).
	EvidencePrimaryKey = []string{"evidence_id", "control_id"}
	// ControlObjectivesPrimaryKey and ControlObjectivesColumn2 are the table columns denoting the
	// primary key for the control_objectives relation (M2M).
	ControlObjectivesPrimaryKey = []string{"control_id", "control_objective_id"}
	// TasksPrimaryKey and TasksColumn2 are the table columns denoting the
	// primary key for the tasks relation (M2M).
	TasksPrimaryKey = []string{"control_id", "task_id"}
	// NarrativesPrimaryKey and NarrativesColumn2 are the table columns denoting the
	// primary key for the narratives relation (M2M).
	NarrativesPrimaryKey = []string{"control_id", "narrative_id"}
	// RisksPrimaryKey and RisksColumn2 are the table columns denoting the
	// primary key for the risks relation (M2M).
	RisksPrimaryKey = []string{"control_id", "risk_id"}
	// ActionPlansPrimaryKey and ActionPlansColumn2 are the table columns denoting the
	// primary key for the action_plans relation (M2M).
	ActionPlansPrimaryKey = []string{"control_id", "action_plan_id"}
	// ProceduresPrimaryKey and ProceduresColumn2 are the table columns denoting the
	// primary key for the procedures relation (M2M).
	ProceduresPrimaryKey = []string{"control_id", "procedure_id"}
	// InternalPoliciesPrimaryKey and InternalPoliciesColumn2 are the table columns denoting the
	// primary key for the internal_policies relation (M2M).
	InternalPoliciesPrimaryKey = []string{"internal_policy_id", "control_id"}
	// BlockedGroupsPrimaryKey and BlockedGroupsColumn2 are the table columns denoting the
	// primary key for the blocked_groups relation (M2M).
	BlockedGroupsPrimaryKey = []string{"control_id", "group_id"}
	// EditorsPrimaryKey and EditorsColumn2 are the table columns denoting the
	// primary key for the editors relation (M2M).
	EditorsPrimaryKey = []string{"control_id", "group_id"}
	// ProgramsPrimaryKey and ProgramsColumn2 are the table columns denoting the
	// primary key for the programs relation (M2M).
	ProgramsPrimaryKey = []string{"program_id", "control_id"}
	// AssetsPrimaryKey and AssetsColumn2 are the table columns denoting the
	// primary key for the assets relation (M2M).
	AssetsPrimaryKey = []string{"control_id", "asset_id"}
	// FindingsPrimaryKey and FindingsColumn2 are the table columns denoting the
	// primary key for the findings relation (M2M).
	FindingsPrimaryKey = []string{"finding_id", "control_id"}
	// ControlImplementationsPrimaryKey and ControlImplementationsColumn2 are the table columns denoting the
	// primary key for the control_implementations relation (M2M).
	ControlImplementationsPrimaryKey = []string{"control_id", "control_implementation_id"}
	// ScheduledJobsPrimaryKey and ScheduledJobsColumn2 are the table columns denoting the
	// primary key for the scheduled_jobs relation (M2M).
	ScheduledJobsPrimaryKey = []string{"scheduled_job_id", "control_id"}
	// MappedToControlsPrimaryKey and MappedToControlsColumn2 are the table columns denoting the
	// primary key for the mapped_to_controls relation (M2M).
	MappedToControlsPrimaryKey = []string{"mapped_control_id", "control_id"}
	// MappedFromControlsPrimaryKey and MappedFromControlsColumn2 are the table columns denoting the
	// primary key for the mapped_from_controls relation (M2M).
	MappedFromControlsPrimaryKey = []string{"mapped_control_id", "control_id"}
)
View Source
var (
	Hooks        [14]ent.Hook
	Interceptors [5]ent.Interceptor
	Policy       ent.Policy
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DisplayIDValidator is a validator for the "display_id" field. It is called by the builders before save.
	DisplayIDValidator func(string) error
	// DefaultTags holds the default value on creation for the "tags" field.
	DefaultTags []string
	// OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save.
	OwnerIDValidator func(string) error
	// DefaultSystemOwned holds the default value on creation for the "system_owned" field.
	DefaultSystemOwned bool
	// DefaultWorkflowEligibleMarker holds the default value on creation for the "workflow_eligible_marker" field.
	DefaultWorkflowEligibleMarker bool
	// RefCodeValidator is a validator for the "ref_code" field. It is called by the builders before save.
	RefCodeValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/theopenlane/core/internal/ent/generated/runtime"

Columns holds all SQL columns for control fields.

View Source
var ForeignKeys = []string{
	"custom_type_enum_controls",
	"remediation_controls",
	"review_controls",
	"vulnerability_controls",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "controls" table and are not defined as standalone fields in the schema.

Functions

func AliasesIsNil added in v0.37.4

func AliasesIsNil() predicate.Control

AliasesIsNil applies the IsNil predicate on the "aliases" field.

func AliasesNotNil added in v0.37.4

func AliasesNotNil() predicate.Control

AliasesNotNil applies the NotNil predicate on the "aliases" field.

func And

func And(predicates ...predicate.Control) predicate.Control

And groups predicates with the AND operator between them.

func AssessmentMethodsIsNil added in v0.7.3

func AssessmentMethodsIsNil() predicate.Control

AssessmentMethodsIsNil applies the IsNil predicate on the "assessment_methods" field.

func AssessmentMethodsNotNil added in v0.7.3

func AssessmentMethodsNotNil() predicate.Control

AssessmentMethodsNotNil applies the NotNil predicate on the "assessment_methods" field.

func AssessmentObjectivesIsNil added in v0.7.3

func AssessmentObjectivesIsNil() predicate.Control

AssessmentObjectivesIsNil applies the IsNil predicate on the "assessment_objectives" field.

func AssessmentObjectivesNotNil added in v0.7.3

func AssessmentObjectivesNotNil() predicate.Control

AssessmentObjectivesNotNil applies the NotNil predicate on the "assessment_objectives" field.

func AuditorReferenceID added in v0.8.7

func AuditorReferenceID(v string) predicate.Control

AuditorReferenceID applies equality check predicate on the "auditor_reference_id" field. It's identical to AuditorReferenceIDEQ.

func AuditorReferenceIDContains added in v0.8.7

func AuditorReferenceIDContains(v string) predicate.Control

AuditorReferenceIDContains applies the Contains predicate on the "auditor_reference_id" field.

func AuditorReferenceIDContainsFold added in v0.8.7

func AuditorReferenceIDContainsFold(v string) predicate.Control

AuditorReferenceIDContainsFold applies the ContainsFold predicate on the "auditor_reference_id" field.

func AuditorReferenceIDEQ added in v0.8.7

func AuditorReferenceIDEQ(v string) predicate.Control

AuditorReferenceIDEQ applies the EQ predicate on the "auditor_reference_id" field.

func AuditorReferenceIDEqualFold added in v0.8.7

func AuditorReferenceIDEqualFold(v string) predicate.Control

AuditorReferenceIDEqualFold applies the EqualFold predicate on the "auditor_reference_id" field.

func AuditorReferenceIDGT added in v0.8.7

func AuditorReferenceIDGT(v string) predicate.Control

AuditorReferenceIDGT applies the GT predicate on the "auditor_reference_id" field.

func AuditorReferenceIDGTE added in v0.8.7

func AuditorReferenceIDGTE(v string) predicate.Control

AuditorReferenceIDGTE applies the GTE predicate on the "auditor_reference_id" field.

func AuditorReferenceIDHasPrefix added in v0.8.7

func AuditorReferenceIDHasPrefix(v string) predicate.Control

AuditorReferenceIDHasPrefix applies the HasPrefix predicate on the "auditor_reference_id" field.

func AuditorReferenceIDHasSuffix added in v0.8.7

func AuditorReferenceIDHasSuffix(v string) predicate.Control

AuditorReferenceIDHasSuffix applies the HasSuffix predicate on the "auditor_reference_id" field.

func AuditorReferenceIDIn added in v0.8.7

func AuditorReferenceIDIn(vs ...string) predicate.Control

AuditorReferenceIDIn applies the In predicate on the "auditor_reference_id" field.

func AuditorReferenceIDIsNil added in v0.8.7

func AuditorReferenceIDIsNil() predicate.Control

AuditorReferenceIDIsNil applies the IsNil predicate on the "auditor_reference_id" field.

func AuditorReferenceIDLT added in v0.8.7

func AuditorReferenceIDLT(v string) predicate.Control

AuditorReferenceIDLT applies the LT predicate on the "auditor_reference_id" field.

func AuditorReferenceIDLTE added in v0.8.7

func AuditorReferenceIDLTE(v string) predicate.Control

AuditorReferenceIDLTE applies the LTE predicate on the "auditor_reference_id" field.

func AuditorReferenceIDNEQ added in v0.8.7

func AuditorReferenceIDNEQ(v string) predicate.Control

AuditorReferenceIDNEQ applies the NEQ predicate on the "auditor_reference_id" field.

func AuditorReferenceIDNotIn added in v0.8.7

func AuditorReferenceIDNotIn(vs ...string) predicate.Control

AuditorReferenceIDNotIn applies the NotIn predicate on the "auditor_reference_id" field.

func AuditorReferenceIDNotNil added in v0.8.7

func AuditorReferenceIDNotNil() predicate.Control

AuditorReferenceIDNotNil applies the NotNil predicate on the "auditor_reference_id" field.

func Category added in v0.7.3

func Category(v string) predicate.Control

Category applies equality check predicate on the "category" field. It's identical to CategoryEQ.

func CategoryContains added in v0.7.3

func CategoryContains(v string) predicate.Control

CategoryContains applies the Contains predicate on the "category" field.

func CategoryContainsFold added in v0.7.3

func CategoryContainsFold(v string) predicate.Control

CategoryContainsFold applies the ContainsFold predicate on the "category" field.

func CategoryEQ added in v0.7.3

func CategoryEQ(v string) predicate.Control

CategoryEQ applies the EQ predicate on the "category" field.

func CategoryEqualFold added in v0.7.3

func CategoryEqualFold(v string) predicate.Control

CategoryEqualFold applies the EqualFold predicate on the "category" field.

func CategoryGT added in v0.7.3

func CategoryGT(v string) predicate.Control

CategoryGT applies the GT predicate on the "category" field.

func CategoryGTE added in v0.7.3

func CategoryGTE(v string) predicate.Control

CategoryGTE applies the GTE predicate on the "category" field.

func CategoryHasPrefix added in v0.7.3

func CategoryHasPrefix(v string) predicate.Control

CategoryHasPrefix applies the HasPrefix predicate on the "category" field.

func CategoryHasSuffix added in v0.7.3

func CategoryHasSuffix(v string) predicate.Control

CategoryHasSuffix applies the HasSuffix predicate on the "category" field.

func CategoryID added in v0.7.3

func CategoryID(v string) predicate.Control

CategoryID applies equality check predicate on the "category_id" field. It's identical to CategoryIDEQ.

func CategoryIDContains added in v0.7.3

func CategoryIDContains(v string) predicate.Control

CategoryIDContains applies the Contains predicate on the "category_id" field.

func CategoryIDContainsFold added in v0.7.3

func CategoryIDContainsFold(v string) predicate.Control

CategoryIDContainsFold applies the ContainsFold predicate on the "category_id" field.

func CategoryIDEQ added in v0.7.3

func CategoryIDEQ(v string) predicate.Control

CategoryIDEQ applies the EQ predicate on the "category_id" field.

func CategoryIDEqualFold added in v0.7.3

func CategoryIDEqualFold(v string) predicate.Control

CategoryIDEqualFold applies the EqualFold predicate on the "category_id" field.

func CategoryIDGT added in v0.7.3

func CategoryIDGT(v string) predicate.Control

CategoryIDGT applies the GT predicate on the "category_id" field.

func CategoryIDGTE added in v0.7.3

func CategoryIDGTE(v string) predicate.Control

CategoryIDGTE applies the GTE predicate on the "category_id" field.

func CategoryIDHasPrefix added in v0.7.3

func CategoryIDHasPrefix(v string) predicate.Control

CategoryIDHasPrefix applies the HasPrefix predicate on the "category_id" field.

func CategoryIDHasSuffix added in v0.7.3

func CategoryIDHasSuffix(v string) predicate.Control

CategoryIDHasSuffix applies the HasSuffix predicate on the "category_id" field.

func CategoryIDIn added in v0.7.3

func CategoryIDIn(vs ...string) predicate.Control

CategoryIDIn applies the In predicate on the "category_id" field.

func CategoryIDIsNil added in v0.7.3

func CategoryIDIsNil() predicate.Control

CategoryIDIsNil applies the IsNil predicate on the "category_id" field.

func CategoryIDLT added in v0.7.3

func CategoryIDLT(v string) predicate.Control

CategoryIDLT applies the LT predicate on the "category_id" field.

func CategoryIDLTE added in v0.7.3

func CategoryIDLTE(v string) predicate.Control

CategoryIDLTE applies the LTE predicate on the "category_id" field.

func CategoryIDNEQ added in v0.7.3

func CategoryIDNEQ(v string) predicate.Control

CategoryIDNEQ applies the NEQ predicate on the "category_id" field.

func CategoryIDNotIn added in v0.7.3

func CategoryIDNotIn(vs ...string) predicate.Control

CategoryIDNotIn applies the NotIn predicate on the "category_id" field.

func CategoryIDNotNil added in v0.7.3

func CategoryIDNotNil() predicate.Control

CategoryIDNotNil applies the NotNil predicate on the "category_id" field.

func CategoryIn added in v0.7.3

func CategoryIn(vs ...string) predicate.Control

CategoryIn applies the In predicate on the "category" field.

func CategoryIsNil added in v0.7.3

func CategoryIsNil() predicate.Control

CategoryIsNil applies the IsNil predicate on the "category" field.

func CategoryLT added in v0.7.3

func CategoryLT(v string) predicate.Control

CategoryLT applies the LT predicate on the "category" field.

func CategoryLTE added in v0.7.3

func CategoryLTE(v string) predicate.Control

CategoryLTE applies the LTE predicate on the "category" field.

func CategoryNEQ added in v0.7.3

func CategoryNEQ(v string) predicate.Control

CategoryNEQ applies the NEQ predicate on the "category" field.

func CategoryNotIn added in v0.7.3

func CategoryNotIn(vs ...string) predicate.Control

CategoryNotIn applies the NotIn predicate on the "category" field.

func CategoryNotNil added in v0.7.3

func CategoryNotNil() predicate.Control

CategoryNotNil applies the NotNil predicate on the "category" field.

func ControlKindID added in v0.43.0

func ControlKindID(v string) predicate.Control

ControlKindID applies equality check predicate on the "control_kind_id" field. It's identical to ControlKindIDEQ.

func ControlKindIDContains added in v0.43.0

func ControlKindIDContains(v string) predicate.Control

ControlKindIDContains applies the Contains predicate on the "control_kind_id" field.

func ControlKindIDContainsFold added in v0.43.0

func ControlKindIDContainsFold(v string) predicate.Control

ControlKindIDContainsFold applies the ContainsFold predicate on the "control_kind_id" field.

func ControlKindIDEQ added in v0.43.0

func ControlKindIDEQ(v string) predicate.Control

ControlKindIDEQ applies the EQ predicate on the "control_kind_id" field.

func ControlKindIDEqualFold added in v0.43.0

func ControlKindIDEqualFold(v string) predicate.Control

ControlKindIDEqualFold applies the EqualFold predicate on the "control_kind_id" field.

func ControlKindIDGT added in v0.43.0

func ControlKindIDGT(v string) predicate.Control

ControlKindIDGT applies the GT predicate on the "control_kind_id" field.

func ControlKindIDGTE added in v0.43.0

func ControlKindIDGTE(v string) predicate.Control

ControlKindIDGTE applies the GTE predicate on the "control_kind_id" field.

func ControlKindIDHasPrefix added in v0.43.0

func ControlKindIDHasPrefix(v string) predicate.Control

ControlKindIDHasPrefix applies the HasPrefix predicate on the "control_kind_id" field.

func ControlKindIDHasSuffix added in v0.43.0

func ControlKindIDHasSuffix(v string) predicate.Control

ControlKindIDHasSuffix applies the HasSuffix predicate on the "control_kind_id" field.

func ControlKindIDIn added in v0.43.0

func ControlKindIDIn(vs ...string) predicate.Control

ControlKindIDIn applies the In predicate on the "control_kind_id" field.

func ControlKindIDIsNil added in v0.43.0

func ControlKindIDIsNil() predicate.Control

ControlKindIDIsNil applies the IsNil predicate on the "control_kind_id" field.

func ControlKindIDLT added in v0.43.0

func ControlKindIDLT(v string) predicate.Control

ControlKindIDLT applies the LT predicate on the "control_kind_id" field.

func ControlKindIDLTE added in v0.43.0

func ControlKindIDLTE(v string) predicate.Control

ControlKindIDLTE applies the LTE predicate on the "control_kind_id" field.

func ControlKindIDNEQ added in v0.43.0

func ControlKindIDNEQ(v string) predicate.Control

ControlKindIDNEQ applies the NEQ predicate on the "control_kind_id" field.

func ControlKindIDNotIn added in v0.43.0

func ControlKindIDNotIn(vs ...string) predicate.Control

ControlKindIDNotIn applies the NotIn predicate on the "control_kind_id" field.

func ControlKindIDNotNil added in v0.43.0

func ControlKindIDNotNil() predicate.Control

ControlKindIDNotNil applies the NotNil predicate on the "control_kind_id" field.

func ControlKindName added in v0.43.0

func ControlKindName(v string) predicate.Control

ControlKindName applies equality check predicate on the "control_kind_name" field. It's identical to ControlKindNameEQ.

func ControlKindNameContains added in v0.43.0

func ControlKindNameContains(v string) predicate.Control

ControlKindNameContains applies the Contains predicate on the "control_kind_name" field.

func ControlKindNameContainsFold added in v0.43.0

func ControlKindNameContainsFold(v string) predicate.Control

ControlKindNameContainsFold applies the ContainsFold predicate on the "control_kind_name" field.

func ControlKindNameEQ added in v0.43.0

func ControlKindNameEQ(v string) predicate.Control

ControlKindNameEQ applies the EQ predicate on the "control_kind_name" field.

func ControlKindNameEqualFold added in v0.43.0

func ControlKindNameEqualFold(v string) predicate.Control

ControlKindNameEqualFold applies the EqualFold predicate on the "control_kind_name" field.

func ControlKindNameGT added in v0.43.0

func ControlKindNameGT(v string) predicate.Control

ControlKindNameGT applies the GT predicate on the "control_kind_name" field.

func ControlKindNameGTE added in v0.43.0

func ControlKindNameGTE(v string) predicate.Control

ControlKindNameGTE applies the GTE predicate on the "control_kind_name" field.

func ControlKindNameHasPrefix added in v0.43.0

func ControlKindNameHasPrefix(v string) predicate.Control

ControlKindNameHasPrefix applies the HasPrefix predicate on the "control_kind_name" field.

func ControlKindNameHasSuffix added in v0.43.0

func ControlKindNameHasSuffix(v string) predicate.Control

ControlKindNameHasSuffix applies the HasSuffix predicate on the "control_kind_name" field.

func ControlKindNameIn added in v0.43.0

func ControlKindNameIn(vs ...string) predicate.Control

ControlKindNameIn applies the In predicate on the "control_kind_name" field.

func ControlKindNameIsNil added in v0.43.0

func ControlKindNameIsNil() predicate.Control

ControlKindNameIsNil applies the IsNil predicate on the "control_kind_name" field.

func ControlKindNameLT added in v0.43.0

func ControlKindNameLT(v string) predicate.Control

ControlKindNameLT applies the LT predicate on the "control_kind_name" field.

func ControlKindNameLTE added in v0.43.0

func ControlKindNameLTE(v string) predicate.Control

ControlKindNameLTE applies the LTE predicate on the "control_kind_name" field.

func ControlKindNameNEQ added in v0.43.0

func ControlKindNameNEQ(v string) predicate.Control

ControlKindNameNEQ applies the NEQ predicate on the "control_kind_name" field.

func ControlKindNameNotIn added in v0.43.0

func ControlKindNameNotIn(vs ...string) predicate.Control

ControlKindNameNotIn applies the NotIn predicate on the "control_kind_name" field.

func ControlKindNameNotNil added in v0.43.0

func ControlKindNameNotNil() predicate.Control

ControlKindNameNotNil applies the NotNil predicate on the "control_kind_name" field.

func ControlOwnerID added in v0.8.9

func ControlOwnerID(v string) predicate.Control

ControlOwnerID applies equality check predicate on the "control_owner_id" field. It's identical to ControlOwnerIDEQ.

func ControlOwnerIDContains added in v0.8.9

func ControlOwnerIDContains(v string) predicate.Control

ControlOwnerIDContains applies the Contains predicate on the "control_owner_id" field.

func ControlOwnerIDContainsFold added in v0.8.9

func ControlOwnerIDContainsFold(v string) predicate.Control

ControlOwnerIDContainsFold applies the ContainsFold predicate on the "control_owner_id" field.

func ControlOwnerIDEQ added in v0.8.9

func ControlOwnerIDEQ(v string) predicate.Control

ControlOwnerIDEQ applies the EQ predicate on the "control_owner_id" field.

func ControlOwnerIDEqualFold added in v0.8.9

func ControlOwnerIDEqualFold(v string) predicate.Control

ControlOwnerIDEqualFold applies the EqualFold predicate on the "control_owner_id" field.

func ControlOwnerIDGT added in v0.8.9

func ControlOwnerIDGT(v string) predicate.Control

ControlOwnerIDGT applies the GT predicate on the "control_owner_id" field.

func ControlOwnerIDGTE added in v0.8.9

func ControlOwnerIDGTE(v string) predicate.Control

ControlOwnerIDGTE applies the GTE predicate on the "control_owner_id" field.

func ControlOwnerIDHasPrefix added in v0.8.9

func ControlOwnerIDHasPrefix(v string) predicate.Control

ControlOwnerIDHasPrefix applies the HasPrefix predicate on the "control_owner_id" field.

func ControlOwnerIDHasSuffix added in v0.8.9

func ControlOwnerIDHasSuffix(v string) predicate.Control

ControlOwnerIDHasSuffix applies the HasSuffix predicate on the "control_owner_id" field.

func ControlOwnerIDIn added in v0.8.9

func ControlOwnerIDIn(vs ...string) predicate.Control

ControlOwnerIDIn applies the In predicate on the "control_owner_id" field.

func ControlOwnerIDIsNil added in v0.8.9

func ControlOwnerIDIsNil() predicate.Control

ControlOwnerIDIsNil applies the IsNil predicate on the "control_owner_id" field.

func ControlOwnerIDLT added in v0.8.9

func ControlOwnerIDLT(v string) predicate.Control

ControlOwnerIDLT applies the LT predicate on the "control_owner_id" field.

func ControlOwnerIDLTE added in v0.8.9

func ControlOwnerIDLTE(v string) predicate.Control

ControlOwnerIDLTE applies the LTE predicate on the "control_owner_id" field.

func ControlOwnerIDNEQ added in v0.8.9

func ControlOwnerIDNEQ(v string) predicate.Control

ControlOwnerIDNEQ applies the NEQ predicate on the "control_owner_id" field.

func ControlOwnerIDNotIn added in v0.8.9

func ControlOwnerIDNotIn(vs ...string) predicate.Control

ControlOwnerIDNotIn applies the NotIn predicate on the "control_owner_id" field.

func ControlOwnerIDNotNil added in v0.8.9

func ControlOwnerIDNotNil() predicate.Control

ControlOwnerIDNotNil applies the NotNil predicate on the "control_owner_id" field.

func ControlQuestionsIsNil added in v0.7.3

func ControlQuestionsIsNil() predicate.Control

ControlQuestionsIsNil applies the IsNil predicate on the "control_questions" field.

func ControlQuestionsNotNil added in v0.7.3

func ControlQuestionsNotNil() predicate.Control

ControlQuestionsNotNil applies the NotNil predicate on the "control_questions" field.

func ControlTypeEQ

func ControlTypeEQ(v enums.ControlType) predicate.Control

ControlTypeEQ applies the EQ predicate on the "control_type" field.

func ControlTypeIn

func ControlTypeIn(vs ...enums.ControlType) predicate.Control

ControlTypeIn applies the In predicate on the "control_type" field.

func ControlTypeIsNil

func ControlTypeIsNil() predicate.Control

ControlTypeIsNil applies the IsNil predicate on the "control_type" field.

func ControlTypeNEQ

func ControlTypeNEQ(v enums.ControlType) predicate.Control

ControlTypeNEQ applies the NEQ predicate on the "control_type" field.

func ControlTypeNotIn

func ControlTypeNotIn(vs ...enums.ControlType) predicate.Control

ControlTypeNotIn applies the NotIn predicate on the "control_type" field.

func ControlTypeNotNil

func ControlTypeNotNil() predicate.Control

ControlTypeNotNil applies the NotNil predicate on the "control_type" field.

func ControlTypeValidator added in v0.7.3

func ControlTypeValidator(ct enums.ControlType) error

ControlTypeValidator is a validator for the "control_type" field enum values. It is called by the builders before save.

func CreatedAt

func CreatedAt(v time.Time) predicate.Control

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Control

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Control

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Control

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Control

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtIsNil

func CreatedAtIsNil() predicate.Control

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Control

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Control

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Control

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Control

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedAtNotNil

func CreatedAtNotNil() predicate.Control

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func CreatedBy

func CreatedBy(v string) predicate.Control

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.Control

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.Control

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.Control

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.Control

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.Control

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.Control

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.Control

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.Control

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.Control

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.Control

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.Control

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.Control

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.Control

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.Control

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.Control

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func DelegateID added in v0.8.9

func DelegateID(v string) predicate.Control

DelegateID applies equality check predicate on the "delegate_id" field. It's identical to DelegateIDEQ.

func DelegateIDContains added in v0.8.9

func DelegateIDContains(v string) predicate.Control

DelegateIDContains applies the Contains predicate on the "delegate_id" field.

func DelegateIDContainsFold added in v0.8.9

func DelegateIDContainsFold(v string) predicate.Control

DelegateIDContainsFold applies the ContainsFold predicate on the "delegate_id" field.

func DelegateIDEQ added in v0.8.9

func DelegateIDEQ(v string) predicate.Control

DelegateIDEQ applies the EQ predicate on the "delegate_id" field.

func DelegateIDEqualFold added in v0.8.9

func DelegateIDEqualFold(v string) predicate.Control

DelegateIDEqualFold applies the EqualFold predicate on the "delegate_id" field.

func DelegateIDGT added in v0.8.9

func DelegateIDGT(v string) predicate.Control

DelegateIDGT applies the GT predicate on the "delegate_id" field.

func DelegateIDGTE added in v0.8.9

func DelegateIDGTE(v string) predicate.Control

DelegateIDGTE applies the GTE predicate on the "delegate_id" field.

func DelegateIDHasPrefix added in v0.8.9

func DelegateIDHasPrefix(v string) predicate.Control

DelegateIDHasPrefix applies the HasPrefix predicate on the "delegate_id" field.

func DelegateIDHasSuffix added in v0.8.9

func DelegateIDHasSuffix(v string) predicate.Control

DelegateIDHasSuffix applies the HasSuffix predicate on the "delegate_id" field.

func DelegateIDIn added in v0.8.9

func DelegateIDIn(vs ...string) predicate.Control

DelegateIDIn applies the In predicate on the "delegate_id" field.

func DelegateIDIsNil added in v0.8.9

func DelegateIDIsNil() predicate.Control

DelegateIDIsNil applies the IsNil predicate on the "delegate_id" field.

func DelegateIDLT added in v0.8.9

func DelegateIDLT(v string) predicate.Control

DelegateIDLT applies the LT predicate on the "delegate_id" field.

func DelegateIDLTE added in v0.8.9

func DelegateIDLTE(v string) predicate.Control

DelegateIDLTE applies the LTE predicate on the "delegate_id" field.

func DelegateIDNEQ added in v0.8.9

func DelegateIDNEQ(v string) predicate.Control

DelegateIDNEQ applies the NEQ predicate on the "delegate_id" field.

func DelegateIDNotIn added in v0.8.9

func DelegateIDNotIn(vs ...string) predicate.Control

DelegateIDNotIn applies the NotIn predicate on the "delegate_id" field.

func DelegateIDNotNil added in v0.8.9

func DelegateIDNotNil() predicate.Control

DelegateIDNotNil applies the NotNil predicate on the "delegate_id" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.Control

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Control

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Control

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Control

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.Control

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Control

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Control

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Control

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Control

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.Control

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Control

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func DeletedBy

func DeletedBy(v string) predicate.Control

DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.

func DeletedByContains

func DeletedByContains(v string) predicate.Control

DeletedByContains applies the Contains predicate on the "deleted_by" field.

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.Control

DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.

func DeletedByEQ

func DeletedByEQ(v string) predicate.Control

DeletedByEQ applies the EQ predicate on the "deleted_by" field.

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.Control

DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.

func DeletedByGT

func DeletedByGT(v string) predicate.Control

DeletedByGT applies the GT predicate on the "deleted_by" field.

func DeletedByGTE

func DeletedByGTE(v string) predicate.Control

DeletedByGTE applies the GTE predicate on the "deleted_by" field.

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.Control

DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.Control

DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.

func DeletedByIn

func DeletedByIn(vs ...string) predicate.Control

DeletedByIn applies the In predicate on the "deleted_by" field.

func DeletedByIsNil

func DeletedByIsNil() predicate.Control

DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.

func DeletedByLT

func DeletedByLT(v string) predicate.Control

DeletedByLT applies the LT predicate on the "deleted_by" field.

func DeletedByLTE

func DeletedByLTE(v string) predicate.Control

DeletedByLTE applies the LTE predicate on the "deleted_by" field.

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.Control

DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.

func DeletedByNotIn

func DeletedByNotIn(vs ...string) predicate.Control

DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.

func DeletedByNotNil

func DeletedByNotNil() predicate.Control

DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.

func Description

func Description(v string) predicate.Control

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.Control

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Control

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.Control

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Control

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.Control

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.Control

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Control

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Control

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.Control

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.Control

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionJSONIsNil added in v0.50.1

func DescriptionJSONIsNil() predicate.Control

DescriptionJSONIsNil applies the IsNil predicate on the "description_json" field.

func DescriptionJSONNotNil added in v0.50.1

func DescriptionJSONNotNil() predicate.Control

DescriptionJSONNotNil applies the NotNil predicate on the "description_json" field.

func DescriptionLT

func DescriptionLT(v string) predicate.Control

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.Control

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Control

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.Control

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.Control

DescriptionNotNil applies the NotNil predicate on the "description" field.

func DisplayID added in v0.6.11

func DisplayID(v string) predicate.Control

DisplayID applies equality check predicate on the "display_id" field. It's identical to DisplayIDEQ.

func DisplayIDContains added in v0.6.11

func DisplayIDContains(v string) predicate.Control

DisplayIDContains applies the Contains predicate on the "display_id" field.

func DisplayIDContainsFold added in v0.6.11

func DisplayIDContainsFold(v string) predicate.Control

DisplayIDContainsFold applies the ContainsFold predicate on the "display_id" field.

func DisplayIDEQ added in v0.6.11

func DisplayIDEQ(v string) predicate.Control

DisplayIDEQ applies the EQ predicate on the "display_id" field.

func DisplayIDEqualFold added in v0.6.11

func DisplayIDEqualFold(v string) predicate.Control

DisplayIDEqualFold applies the EqualFold predicate on the "display_id" field.

func DisplayIDGT added in v0.6.11

func DisplayIDGT(v string) predicate.Control

DisplayIDGT applies the GT predicate on the "display_id" field.

func DisplayIDGTE added in v0.6.11

func DisplayIDGTE(v string) predicate.Control

DisplayIDGTE applies the GTE predicate on the "display_id" field.

func DisplayIDHasPrefix added in v0.6.11

func DisplayIDHasPrefix(v string) predicate.Control

DisplayIDHasPrefix applies the HasPrefix predicate on the "display_id" field.

func DisplayIDHasSuffix added in v0.6.11

func DisplayIDHasSuffix(v string) predicate.Control

DisplayIDHasSuffix applies the HasSuffix predicate on the "display_id" field.

func DisplayIDIn added in v0.6.11

func DisplayIDIn(vs ...string) predicate.Control

DisplayIDIn applies the In predicate on the "display_id" field.

func DisplayIDLT added in v0.6.11

func DisplayIDLT(v string) predicate.Control

DisplayIDLT applies the LT predicate on the "display_id" field.

func DisplayIDLTE added in v0.6.11

func DisplayIDLTE(v string) predicate.Control

DisplayIDLTE applies the LTE predicate on the "display_id" field.

func DisplayIDNEQ added in v0.6.11

func DisplayIDNEQ(v string) predicate.Control

DisplayIDNEQ applies the NEQ predicate on the "display_id" field.

func DisplayIDNotIn added in v0.6.11

func DisplayIDNotIn(vs ...string) predicate.Control

DisplayIDNotIn applies the NotIn predicate on the "display_id" field.

func EvidenceRequestsIsNil added in v0.49.5

func EvidenceRequestsIsNil() predicate.Control

EvidenceRequestsIsNil applies the IsNil predicate on the "evidence_requests" field.

func EvidenceRequestsNotNil added in v0.49.5

func EvidenceRequestsNotNil() predicate.Control

EvidenceRequestsNotNil applies the NotNil predicate on the "evidence_requests" field.

func ExampleEvidenceIsNil added in v0.6.19

func ExampleEvidenceIsNil() predicate.Control

ExampleEvidenceIsNil applies the IsNil predicate on the "example_evidence" field.

func ExampleEvidenceNotNil added in v0.6.19

func ExampleEvidenceNotNil() predicate.Control

ExampleEvidenceNotNil applies the NotNil predicate on the "example_evidence" field.

func HasActionPlans added in v0.6.1

func HasActionPlans() predicate.Control

HasActionPlans applies the HasEdge predicate on the "action_plans" edge.

func HasActionPlansWith added in v0.6.1

func HasActionPlansWith(preds ...predicate.ActionPlan) predicate.Control

HasActionPlansWith applies the HasEdge predicate on the "action_plans" edge with a given conditions (other predicates).

func HasAssets added in v0.19.0

func HasAssets() predicate.Control

HasAssets applies the HasEdge predicate on the "assets" edge.

func HasAssetsWith added in v0.19.0

func HasAssetsWith(preds ...predicate.Asset) predicate.Control

HasAssetsWith applies the HasEdge predicate on the "assets" edge with a given conditions (other predicates).

func HasBlockedGroups added in v0.5.0

func HasBlockedGroups() predicate.Control

HasBlockedGroups applies the HasEdge predicate on the "blocked_groups" edge.

func HasBlockedGroupsWith added in v0.5.0

func HasBlockedGroupsWith(preds ...predicate.Group) predicate.Control

HasBlockedGroupsWith applies the HasEdge predicate on the "blocked_groups" edge with a given conditions (other predicates).

func HasComments added in v0.37.4

func HasComments() predicate.Control

HasComments applies the HasEdge predicate on the "comments" edge.

func HasCommentsWith added in v0.37.4

func HasCommentsWith(preds ...predicate.Note) predicate.Control

HasCommentsWith applies the HasEdge predicate on the "comments" edge with a given conditions (other predicates).

func HasControlImplementations added in v0.7.3

func HasControlImplementations() predicate.Control

HasControlImplementations applies the HasEdge predicate on the "control_implementations" edge.

func HasControlImplementationsWith added in v0.7.3

func HasControlImplementationsWith(preds ...predicate.ControlImplementation) predicate.Control

HasControlImplementationsWith applies the HasEdge predicate on the "control_implementations" edge with a given conditions (other predicates).

func HasControlKind added in v0.43.0

func HasControlKind() predicate.Control

HasControlKind applies the HasEdge predicate on the "control_kind" edge.

func HasControlKindWith added in v0.43.0

func HasControlKindWith(preds ...predicate.CustomTypeEnum) predicate.Control

HasControlKindWith applies the HasEdge predicate on the "control_kind" edge with a given conditions (other predicates).

func HasControlMappings added in v0.43.3

func HasControlMappings() predicate.Control

HasControlMappings applies the HasEdge predicate on the "control_mappings" edge.

func HasControlMappingsWith added in v0.43.3

func HasControlMappingsWith(preds ...predicate.FindingControl) predicate.Control

HasControlMappingsWith applies the HasEdge predicate on the "control_mappings" edge with a given conditions (other predicates).

func HasControlObjectives added in v0.6.1

func HasControlObjectives() predicate.Control

HasControlObjectives applies the HasEdge predicate on the "control_objectives" edge.

func HasControlObjectivesWith added in v0.6.1

func HasControlObjectivesWith(preds ...predicate.ControlObjective) predicate.Control

HasControlObjectivesWith applies the HasEdge predicate on the "control_objectives" edge with a given conditions (other predicates).

func HasControlOwner added in v0.7.3

func HasControlOwner() predicate.Control

HasControlOwner applies the HasEdge predicate on the "control_owner" edge.

func HasControlOwnerWith added in v0.7.3

func HasControlOwnerWith(preds ...predicate.Group) predicate.Control

HasControlOwnerWith applies the HasEdge predicate on the "control_owner" edge with a given conditions (other predicates).

func HasDelegate added in v0.7.3

func HasDelegate() predicate.Control

HasDelegate applies the HasEdge predicate on the "delegate" edge.

func HasDelegateWith added in v0.7.3

func HasDelegateWith(preds ...predicate.Group) predicate.Control

HasDelegateWith applies the HasEdge predicate on the "delegate" edge with a given conditions (other predicates).

func HasDiscussions added in v0.49.3

func HasDiscussions() predicate.Control

HasDiscussions applies the HasEdge predicate on the "discussions" edge.

func HasDiscussionsWith added in v0.49.3

func HasDiscussionsWith(preds ...predicate.Discussion) predicate.Control

HasDiscussionsWith applies the HasEdge predicate on the "discussions" edge with a given conditions (other predicates).

func HasEditors added in v0.5.0

func HasEditors() predicate.Control

HasEditors applies the HasEdge predicate on the "editors" edge.

func HasEditorsWith added in v0.5.0

func HasEditorsWith(preds ...predicate.Group) predicate.Control

HasEditorsWith applies the HasEdge predicate on the "editors" edge with a given conditions (other predicates).

func HasEvidence added in v0.6.19

func HasEvidence() predicate.Control

HasEvidence applies the HasEdge predicate on the "evidence" edge.

func HasEvidenceWith added in v0.6.19

func HasEvidenceWith(preds ...predicate.Evidence) predicate.Control

HasEvidenceWith applies the HasEdge predicate on the "evidence" edge with a given conditions (other predicates).

func HasFindings added in v0.43.3

func HasFindings() predicate.Control

HasFindings applies the HasEdge predicate on the "findings" edge.

func HasFindingsWith added in v0.43.3

func HasFindingsWith(preds ...predicate.Finding) predicate.Control

HasFindingsWith applies the HasEdge predicate on the "findings" edge with a given conditions (other predicates).

func HasInternalPolicies added in v0.7.3

func HasInternalPolicies() predicate.Control

HasInternalPolicies applies the HasEdge predicate on the "internal_policies" edge.

func HasInternalPoliciesWith added in v0.7.3

func HasInternalPoliciesWith(preds ...predicate.InternalPolicy) predicate.Control

HasInternalPoliciesWith applies the HasEdge predicate on the "internal_policies" edge with a given conditions (other predicates).

func HasMappedFromControls added in v0.16.0

func HasMappedFromControls() predicate.Control

HasMappedFromControls applies the HasEdge predicate on the "mapped_from_controls" edge.

func HasMappedFromControlsWith added in v0.16.0

func HasMappedFromControlsWith(preds ...predicate.MappedControl) predicate.Control

HasMappedFromControlsWith applies the HasEdge predicate on the "mapped_from_controls" edge with a given conditions (other predicates).

func HasMappedToControls added in v0.16.0

func HasMappedToControls() predicate.Control

HasMappedToControls applies the HasEdge predicate on the "mapped_to_controls" edge.

func HasMappedToControlsWith added in v0.16.0

func HasMappedToControlsWith(preds ...predicate.MappedControl) predicate.Control

HasMappedToControlsWith applies the HasEdge predicate on the "mapped_to_controls" edge with a given conditions (other predicates).

func HasNarratives

func HasNarratives() predicate.Control

HasNarratives applies the HasEdge predicate on the "narratives" edge.

func HasNarrativesWith

func HasNarrativesWith(preds ...predicate.Narrative) predicate.Control

HasNarrativesWith applies the HasEdge predicate on the "narratives" edge with a given conditions (other predicates).

func HasOwner added in v0.5.0

func HasOwner() predicate.Control

HasOwner applies the HasEdge predicate on the "owner" edge.

func HasOwnerWith added in v0.5.0

func HasOwnerWith(preds ...predicate.Organization) predicate.Control

HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).

func HasProcedures

func HasProcedures() predicate.Control

HasProcedures applies the HasEdge predicate on the "procedures" edge.

func HasProceduresWith

func HasProceduresWith(preds ...predicate.Procedure) predicate.Control

HasProceduresWith applies the HasEdge predicate on the "procedures" edge with a given conditions (other predicates).

func HasPrograms added in v0.3.5

func HasPrograms() predicate.Control

HasPrograms applies the HasEdge predicate on the "programs" edge.

func HasProgramsWith added in v0.3.5

func HasProgramsWith(preds ...predicate.Program) predicate.Control

HasProgramsWith applies the HasEdge predicate on the "programs" edge with a given conditions (other predicates).

func HasResponsibleParty added in v0.37.4

func HasResponsibleParty() predicate.Control

HasResponsibleParty applies the HasEdge predicate on the "responsible_party" edge.

func HasResponsiblePartyWith added in v0.37.4

func HasResponsiblePartyWith(preds ...predicate.Entity) predicate.Control

HasResponsiblePartyWith applies the HasEdge predicate on the "responsible_party" edge with a given conditions (other predicates).

func HasRisks

func HasRisks() predicate.Control

HasRisks applies the HasEdge predicate on the "risks" edge.

func HasRisksWith

func HasRisksWith(preds ...predicate.Risk) predicate.Control

HasRisksWith applies the HasEdge predicate on the "risks" edge with a given conditions (other predicates).

func HasScans added in v0.19.0

func HasScans() predicate.Control

HasScans applies the HasEdge predicate on the "scans" edge.

func HasScansWith added in v0.19.0

func HasScansWith(preds ...predicate.Scan) predicate.Control

HasScansWith applies the HasEdge predicate on the "scans" edge with a given conditions (other predicates).

func HasScheduledJobs added in v0.15.0

func HasScheduledJobs() predicate.Control

HasScheduledJobs applies the HasEdge predicate on the "scheduled_jobs" edge.

func HasScheduledJobsWith added in v0.15.0

func HasScheduledJobsWith(preds ...predicate.ScheduledJob) predicate.Control

HasScheduledJobsWith applies the HasEdge predicate on the "scheduled_jobs" edge with a given conditions (other predicates).

func HasStandard

func HasStandard() predicate.Control

HasStandard applies the HasEdge predicate on the "standard" edge.

func HasStandardWith

func HasStandardWith(preds ...predicate.Standard) predicate.Control

HasStandardWith applies the HasEdge predicate on the "standard" edge with a given conditions (other predicates).

func HasSubcontrols

func HasSubcontrols() predicate.Control

HasSubcontrols applies the HasEdge predicate on the "subcontrols" edge.

func HasSubcontrolsWith

func HasSubcontrolsWith(preds ...predicate.Subcontrol) predicate.Control

HasSubcontrolsWith applies the HasEdge predicate on the "subcontrols" edge with a given conditions (other predicates).

func HasTasks added in v0.3.4

func HasTasks() predicate.Control

HasTasks applies the HasEdge predicate on the "tasks" edge.

func HasTasksWith added in v0.3.4

func HasTasksWith(preds ...predicate.Task) predicate.Control

HasTasksWith applies the HasEdge predicate on the "tasks" edge with a given conditions (other predicates).

func HasWorkflowObjectRefs added in v0.46.3

func HasWorkflowObjectRefs() predicate.Control

HasWorkflowObjectRefs applies the HasEdge predicate on the "workflow_object_refs" edge.

func HasWorkflowObjectRefsWith added in v0.46.3

func HasWorkflowObjectRefsWith(preds ...predicate.WorkflowObjectRef) predicate.Control

HasWorkflowObjectRefsWith applies the HasEdge predicate on the "workflow_object_refs" edge with a given conditions (other predicates).

func ID

func ID(id string) predicate.Control

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Control

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Control

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Control

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Control

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Control

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.Control

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Control

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Control

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Control

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.Control

IDNotIn applies the NotIn predicate on the ID field.

func ImplementationGuidanceIsNil added in v0.7.3

func ImplementationGuidanceIsNil() predicate.Control

ImplementationGuidanceIsNil applies the IsNil predicate on the "implementation_guidance" field.

func ImplementationGuidanceNotNil added in v0.7.3

func ImplementationGuidanceNotNil() predicate.Control

ImplementationGuidanceNotNil applies the NotNil predicate on the "implementation_guidance" field.

func InternalNotes added in v0.34.0

func InternalNotes(v string) predicate.Control

InternalNotes applies equality check predicate on the "internal_notes" field. It's identical to InternalNotesEQ.

func InternalNotesContains added in v0.34.0

func InternalNotesContains(v string) predicate.Control

InternalNotesContains applies the Contains predicate on the "internal_notes" field.

func InternalNotesContainsFold added in v0.34.0

func InternalNotesContainsFold(v string) predicate.Control

InternalNotesContainsFold applies the ContainsFold predicate on the "internal_notes" field.

func InternalNotesEQ added in v0.34.0

func InternalNotesEQ(v string) predicate.Control

InternalNotesEQ applies the EQ predicate on the "internal_notes" field.

func InternalNotesEqualFold added in v0.34.0

func InternalNotesEqualFold(v string) predicate.Control

InternalNotesEqualFold applies the EqualFold predicate on the "internal_notes" field.

func InternalNotesGT added in v0.34.0

func InternalNotesGT(v string) predicate.Control

InternalNotesGT applies the GT predicate on the "internal_notes" field.

func InternalNotesGTE added in v0.34.0

func InternalNotesGTE(v string) predicate.Control

InternalNotesGTE applies the GTE predicate on the "internal_notes" field.

func InternalNotesHasPrefix added in v0.34.0

func InternalNotesHasPrefix(v string) predicate.Control

InternalNotesHasPrefix applies the HasPrefix predicate on the "internal_notes" field.

func InternalNotesHasSuffix added in v0.34.0

func InternalNotesHasSuffix(v string) predicate.Control

InternalNotesHasSuffix applies the HasSuffix predicate on the "internal_notes" field.

func InternalNotesIn added in v0.34.0

func InternalNotesIn(vs ...string) predicate.Control

InternalNotesIn applies the In predicate on the "internal_notes" field.

func InternalNotesIsNil added in v0.34.0

func InternalNotesIsNil() predicate.Control

InternalNotesIsNil applies the IsNil predicate on the "internal_notes" field.

func InternalNotesLT added in v0.34.0

func InternalNotesLT(v string) predicate.Control

InternalNotesLT applies the LT predicate on the "internal_notes" field.

func InternalNotesLTE added in v0.34.0

func InternalNotesLTE(v string) predicate.Control

InternalNotesLTE applies the LTE predicate on the "internal_notes" field.

func InternalNotesNEQ added in v0.34.0

func InternalNotesNEQ(v string) predicate.Control

InternalNotesNEQ applies the NEQ predicate on the "internal_notes" field.

func InternalNotesNotIn added in v0.34.0

func InternalNotesNotIn(vs ...string) predicate.Control

InternalNotesNotIn applies the NotIn predicate on the "internal_notes" field.

func InternalNotesNotNil added in v0.34.0

func InternalNotesNotNil() predicate.Control

InternalNotesNotNil applies the NotNil predicate on the "internal_notes" field.

func MappedCategoriesIsNil added in v0.7.3

func MappedCategoriesIsNil() predicate.Control

MappedCategoriesIsNil applies the IsNil predicate on the "mapped_categories" field.

func MappedCategoriesNotNil added in v0.7.3

func MappedCategoriesNotNil() predicate.Control

MappedCategoriesNotNil applies the NotNil predicate on the "mapped_categories" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Control) predicate.Control

Or groups predicates with the OR operator between them.

func OwnerID added in v0.5.0

func OwnerID(v string) predicate.Control

OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.

func OwnerIDContains added in v0.5.0

func OwnerIDContains(v string) predicate.Control

OwnerIDContains applies the Contains predicate on the "owner_id" field.

func OwnerIDContainsFold added in v0.5.0

func OwnerIDContainsFold(v string) predicate.Control

OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.

func OwnerIDEQ added in v0.5.0

func OwnerIDEQ(v string) predicate.Control

OwnerIDEQ applies the EQ predicate on the "owner_id" field.

func OwnerIDEqualFold added in v0.5.0

func OwnerIDEqualFold(v string) predicate.Control

OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.

func OwnerIDGT added in v0.5.0

func OwnerIDGT(v string) predicate.Control

OwnerIDGT applies the GT predicate on the "owner_id" field.

func OwnerIDGTE added in v0.5.0

func OwnerIDGTE(v string) predicate.Control

OwnerIDGTE applies the GTE predicate on the "owner_id" field.

func OwnerIDHasPrefix added in v0.5.0

func OwnerIDHasPrefix(v string) predicate.Control

OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.

func OwnerIDHasSuffix added in v0.5.0

func OwnerIDHasSuffix(v string) predicate.Control

OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.

func OwnerIDIn added in v0.5.0

func OwnerIDIn(vs ...string) predicate.Control

OwnerIDIn applies the In predicate on the "owner_id" field.

func OwnerIDIsNil added in v0.7.1

func OwnerIDIsNil() predicate.Control

OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.

func OwnerIDLT added in v0.5.0

func OwnerIDLT(v string) predicate.Control

OwnerIDLT applies the LT predicate on the "owner_id" field.

func OwnerIDLTE added in v0.5.0

func OwnerIDLTE(v string) predicate.Control

OwnerIDLTE applies the LTE predicate on the "owner_id" field.

func OwnerIDNEQ added in v0.5.0

func OwnerIDNEQ(v string) predicate.Control

OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.

func OwnerIDNotIn added in v0.5.0

func OwnerIDNotIn(vs ...string) predicate.Control

OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.

func OwnerIDNotNil added in v0.7.1

func OwnerIDNotNil() predicate.Control

OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.

func RefCode added in v0.7.3

func RefCode(v string) predicate.Control

RefCode applies equality check predicate on the "ref_code" field. It's identical to RefCodeEQ.

func RefCodeContains added in v0.7.3

func RefCodeContains(v string) predicate.Control

RefCodeContains applies the Contains predicate on the "ref_code" field.

func RefCodeContainsFold added in v0.7.3

func RefCodeContainsFold(v string) predicate.Control

RefCodeContainsFold applies the ContainsFold predicate on the "ref_code" field.

func RefCodeEQ added in v0.7.3

func RefCodeEQ(v string) predicate.Control

RefCodeEQ applies the EQ predicate on the "ref_code" field.

func RefCodeEqualFold added in v0.7.3

func RefCodeEqualFold(v string) predicate.Control

RefCodeEqualFold applies the EqualFold predicate on the "ref_code" field.

func RefCodeGT added in v0.7.3

func RefCodeGT(v string) predicate.Control

RefCodeGT applies the GT predicate on the "ref_code" field.

func RefCodeGTE added in v0.7.3

func RefCodeGTE(v string) predicate.Control

RefCodeGTE applies the GTE predicate on the "ref_code" field.

func RefCodeHasPrefix added in v0.7.3

func RefCodeHasPrefix(v string) predicate.Control

RefCodeHasPrefix applies the HasPrefix predicate on the "ref_code" field.

func RefCodeHasSuffix added in v0.7.3

func RefCodeHasSuffix(v string) predicate.Control

RefCodeHasSuffix applies the HasSuffix predicate on the "ref_code" field.

func RefCodeIn added in v0.7.3

func RefCodeIn(vs ...string) predicate.Control

RefCodeIn applies the In predicate on the "ref_code" field.

func RefCodeLT added in v0.7.3

func RefCodeLT(v string) predicate.Control

RefCodeLT applies the LT predicate on the "ref_code" field.

func RefCodeLTE added in v0.7.3

func RefCodeLTE(v string) predicate.Control

RefCodeLTE applies the LTE predicate on the "ref_code" field.

func RefCodeNEQ added in v0.7.3

func RefCodeNEQ(v string) predicate.Control

RefCodeNEQ applies the NEQ predicate on the "ref_code" field.

func RefCodeNotIn added in v0.7.3

func RefCodeNotIn(vs ...string) predicate.Control

RefCodeNotIn applies the NotIn predicate on the "ref_code" field.

func ReferenceFramework added in v0.16.0

func ReferenceFramework(v string) predicate.Control

ReferenceFramework applies equality check predicate on the "reference_framework" field. It's identical to ReferenceFrameworkEQ.

func ReferenceFrameworkContains added in v0.16.0

func ReferenceFrameworkContains(v string) predicate.Control

ReferenceFrameworkContains applies the Contains predicate on the "reference_framework" field.

func ReferenceFrameworkContainsFold added in v0.16.0

func ReferenceFrameworkContainsFold(v string) predicate.Control

ReferenceFrameworkContainsFold applies the ContainsFold predicate on the "reference_framework" field.

func ReferenceFrameworkEQ added in v0.16.0

func ReferenceFrameworkEQ(v string) predicate.Control

ReferenceFrameworkEQ applies the EQ predicate on the "reference_framework" field.

func ReferenceFrameworkEqualFold added in v0.16.0

func ReferenceFrameworkEqualFold(v string) predicate.Control

ReferenceFrameworkEqualFold applies the EqualFold predicate on the "reference_framework" field.

func ReferenceFrameworkGT added in v0.16.0

func ReferenceFrameworkGT(v string) predicate.Control

ReferenceFrameworkGT applies the GT predicate on the "reference_framework" field.

func ReferenceFrameworkGTE added in v0.16.0

func ReferenceFrameworkGTE(v string) predicate.Control

ReferenceFrameworkGTE applies the GTE predicate on the "reference_framework" field.

func ReferenceFrameworkHasPrefix added in v0.16.0

func ReferenceFrameworkHasPrefix(v string) predicate.Control

ReferenceFrameworkHasPrefix applies the HasPrefix predicate on the "reference_framework" field.

func ReferenceFrameworkHasSuffix added in v0.16.0

func ReferenceFrameworkHasSuffix(v string) predicate.Control

ReferenceFrameworkHasSuffix applies the HasSuffix predicate on the "reference_framework" field.

func ReferenceFrameworkIn added in v0.16.0

func ReferenceFrameworkIn(vs ...string) predicate.Control

ReferenceFrameworkIn applies the In predicate on the "reference_framework" field.

func ReferenceFrameworkIsNil added in v0.16.0

func ReferenceFrameworkIsNil() predicate.Control

ReferenceFrameworkIsNil applies the IsNil predicate on the "reference_framework" field.

func ReferenceFrameworkLT added in v0.16.0

func ReferenceFrameworkLT(v string) predicate.Control

ReferenceFrameworkLT applies the LT predicate on the "reference_framework" field.

func ReferenceFrameworkLTE added in v0.16.0

func ReferenceFrameworkLTE(v string) predicate.Control

ReferenceFrameworkLTE applies the LTE predicate on the "reference_framework" field.

func ReferenceFrameworkNEQ added in v0.16.0

func ReferenceFrameworkNEQ(v string) predicate.Control

ReferenceFrameworkNEQ applies the NEQ predicate on the "reference_framework" field.

func ReferenceFrameworkNotIn added in v0.16.0

func ReferenceFrameworkNotIn(vs ...string) predicate.Control

ReferenceFrameworkNotIn applies the NotIn predicate on the "reference_framework" field.

func ReferenceFrameworkNotNil added in v0.16.0

func ReferenceFrameworkNotNil() predicate.Control

ReferenceFrameworkNotNil applies the NotNil predicate on the "reference_framework" field.

func ReferenceFrameworkRevision added in v0.38.0

func ReferenceFrameworkRevision(v string) predicate.Control

ReferenceFrameworkRevision applies equality check predicate on the "reference_framework_revision" field. It's identical to ReferenceFrameworkRevisionEQ.

func ReferenceFrameworkRevisionContains added in v0.38.0

func ReferenceFrameworkRevisionContains(v string) predicate.Control

ReferenceFrameworkRevisionContains applies the Contains predicate on the "reference_framework_revision" field.

func ReferenceFrameworkRevisionContainsFold added in v0.38.0

func ReferenceFrameworkRevisionContainsFold(v string) predicate.Control

ReferenceFrameworkRevisionContainsFold applies the ContainsFold predicate on the "reference_framework_revision" field.

func ReferenceFrameworkRevisionEQ added in v0.38.0

func ReferenceFrameworkRevisionEQ(v string) predicate.Control

ReferenceFrameworkRevisionEQ applies the EQ predicate on the "reference_framework_revision" field.

func ReferenceFrameworkRevisionEqualFold added in v0.38.0

func ReferenceFrameworkRevisionEqualFold(v string) predicate.Control

ReferenceFrameworkRevisionEqualFold applies the EqualFold predicate on the "reference_framework_revision" field.

func ReferenceFrameworkRevisionGT added in v0.38.0

func ReferenceFrameworkRevisionGT(v string) predicate.Control

ReferenceFrameworkRevisionGT applies the GT predicate on the "reference_framework_revision" field.

func ReferenceFrameworkRevisionGTE added in v0.38.0

func ReferenceFrameworkRevisionGTE(v string) predicate.Control

ReferenceFrameworkRevisionGTE applies the GTE predicate on the "reference_framework_revision" field.

func ReferenceFrameworkRevisionHasPrefix added in v0.38.0

func ReferenceFrameworkRevisionHasPrefix(v string) predicate.Control

ReferenceFrameworkRevisionHasPrefix applies the HasPrefix predicate on the "reference_framework_revision" field.

func ReferenceFrameworkRevisionHasSuffix added in v0.38.0

func ReferenceFrameworkRevisionHasSuffix(v string) predicate.Control

ReferenceFrameworkRevisionHasSuffix applies the HasSuffix predicate on the "reference_framework_revision" field.

func ReferenceFrameworkRevisionIn added in v0.38.0

func ReferenceFrameworkRevisionIn(vs ...string) predicate.Control

ReferenceFrameworkRevisionIn applies the In predicate on the "reference_framework_revision" field.

func ReferenceFrameworkRevisionIsNil added in v0.38.0

func ReferenceFrameworkRevisionIsNil() predicate.Control

ReferenceFrameworkRevisionIsNil applies the IsNil predicate on the "reference_framework_revision" field.

func ReferenceFrameworkRevisionLT added in v0.38.0

func ReferenceFrameworkRevisionLT(v string) predicate.Control

ReferenceFrameworkRevisionLT applies the LT predicate on the "reference_framework_revision" field.

func ReferenceFrameworkRevisionLTE added in v0.38.0

func ReferenceFrameworkRevisionLTE(v string) predicate.Control

ReferenceFrameworkRevisionLTE applies the LTE predicate on the "reference_framework_revision" field.

func ReferenceFrameworkRevisionNEQ added in v0.38.0

func ReferenceFrameworkRevisionNEQ(v string) predicate.Control

ReferenceFrameworkRevisionNEQ applies the NEQ predicate on the "reference_framework_revision" field.

func ReferenceFrameworkRevisionNotIn added in v0.38.0

func ReferenceFrameworkRevisionNotIn(vs ...string) predicate.Control

ReferenceFrameworkRevisionNotIn applies the NotIn predicate on the "reference_framework_revision" field.

func ReferenceFrameworkRevisionNotNil added in v0.38.0

func ReferenceFrameworkRevisionNotNil() predicate.Control

ReferenceFrameworkRevisionNotNil applies the NotNil predicate on the "reference_framework_revision" field.

func ReferenceID added in v0.8.7

func ReferenceID(v string) predicate.Control

ReferenceID applies equality check predicate on the "reference_id" field. It's identical to ReferenceIDEQ.

func ReferenceIDContains added in v0.8.7

func ReferenceIDContains(v string) predicate.Control

ReferenceIDContains applies the Contains predicate on the "reference_id" field.

func ReferenceIDContainsFold added in v0.8.7

func ReferenceIDContainsFold(v string) predicate.Control

ReferenceIDContainsFold applies the ContainsFold predicate on the "reference_id" field.

func ReferenceIDEQ added in v0.8.7

func ReferenceIDEQ(v string) predicate.Control

ReferenceIDEQ applies the EQ predicate on the "reference_id" field.

func ReferenceIDEqualFold added in v0.8.7

func ReferenceIDEqualFold(v string) predicate.Control

ReferenceIDEqualFold applies the EqualFold predicate on the "reference_id" field.

func ReferenceIDGT added in v0.8.7

func ReferenceIDGT(v string) predicate.Control

ReferenceIDGT applies the GT predicate on the "reference_id" field.

func ReferenceIDGTE added in v0.8.7

func ReferenceIDGTE(v string) predicate.Control

ReferenceIDGTE applies the GTE predicate on the "reference_id" field.

func ReferenceIDHasPrefix added in v0.8.7

func ReferenceIDHasPrefix(v string) predicate.Control

ReferenceIDHasPrefix applies the HasPrefix predicate on the "reference_id" field.

func ReferenceIDHasSuffix added in v0.8.7

func ReferenceIDHasSuffix(v string) predicate.Control

ReferenceIDHasSuffix applies the HasSuffix predicate on the "reference_id" field.

func ReferenceIDIn added in v0.8.7

func ReferenceIDIn(vs ...string) predicate.Control

ReferenceIDIn applies the In predicate on the "reference_id" field.

func ReferenceIDIsNil added in v0.8.7

func ReferenceIDIsNil() predicate.Control

ReferenceIDIsNil applies the IsNil predicate on the "reference_id" field.

func ReferenceIDLT added in v0.8.7

func ReferenceIDLT(v string) predicate.Control

ReferenceIDLT applies the LT predicate on the "reference_id" field.

func ReferenceIDLTE added in v0.8.7

func ReferenceIDLTE(v string) predicate.Control

ReferenceIDLTE applies the LTE predicate on the "reference_id" field.

func ReferenceIDNEQ added in v0.8.7

func ReferenceIDNEQ(v string) predicate.Control

ReferenceIDNEQ applies the NEQ predicate on the "reference_id" field.

func ReferenceIDNotIn added in v0.8.7

func ReferenceIDNotIn(vs ...string) predicate.Control

ReferenceIDNotIn applies the NotIn predicate on the "reference_id" field.

func ReferenceIDNotNil added in v0.8.7

func ReferenceIDNotNil() predicate.Control

ReferenceIDNotNil applies the NotNil predicate on the "reference_id" field.

func ReferencesIsNil added in v0.7.3

func ReferencesIsNil() predicate.Control

ReferencesIsNil applies the IsNil predicate on the "references" field.

func ReferencesNotNil added in v0.7.3

func ReferencesNotNil() predicate.Control

ReferencesNotNil applies the NotNil predicate on the "references" field.

func ResponsiblePartyID added in v0.37.4

func ResponsiblePartyID(v string) predicate.Control

ResponsiblePartyID applies equality check predicate on the "responsible_party_id" field. It's identical to ResponsiblePartyIDEQ.

func ResponsiblePartyIDContains added in v0.37.4

func ResponsiblePartyIDContains(v string) predicate.Control

ResponsiblePartyIDContains applies the Contains predicate on the "responsible_party_id" field.

func ResponsiblePartyIDContainsFold added in v0.37.4

func ResponsiblePartyIDContainsFold(v string) predicate.Control

ResponsiblePartyIDContainsFold applies the ContainsFold predicate on the "responsible_party_id" field.

func ResponsiblePartyIDEQ added in v0.37.4

func ResponsiblePartyIDEQ(v string) predicate.Control

ResponsiblePartyIDEQ applies the EQ predicate on the "responsible_party_id" field.

func ResponsiblePartyIDEqualFold added in v0.37.4

func ResponsiblePartyIDEqualFold(v string) predicate.Control

ResponsiblePartyIDEqualFold applies the EqualFold predicate on the "responsible_party_id" field.

func ResponsiblePartyIDGT added in v0.37.4

func ResponsiblePartyIDGT(v string) predicate.Control

ResponsiblePartyIDGT applies the GT predicate on the "responsible_party_id" field.

func ResponsiblePartyIDGTE added in v0.37.4

func ResponsiblePartyIDGTE(v string) predicate.Control

ResponsiblePartyIDGTE applies the GTE predicate on the "responsible_party_id" field.

func ResponsiblePartyIDHasPrefix added in v0.37.4

func ResponsiblePartyIDHasPrefix(v string) predicate.Control

ResponsiblePartyIDHasPrefix applies the HasPrefix predicate on the "responsible_party_id" field.

func ResponsiblePartyIDHasSuffix added in v0.37.4

func ResponsiblePartyIDHasSuffix(v string) predicate.Control

ResponsiblePartyIDHasSuffix applies the HasSuffix predicate on the "responsible_party_id" field.

func ResponsiblePartyIDIn added in v0.37.4

func ResponsiblePartyIDIn(vs ...string) predicate.Control

ResponsiblePartyIDIn applies the In predicate on the "responsible_party_id" field.

func ResponsiblePartyIDIsNil added in v0.37.4

func ResponsiblePartyIDIsNil() predicate.Control

ResponsiblePartyIDIsNil applies the IsNil predicate on the "responsible_party_id" field.

func ResponsiblePartyIDLT added in v0.37.4

func ResponsiblePartyIDLT(v string) predicate.Control

ResponsiblePartyIDLT applies the LT predicate on the "responsible_party_id" field.

func ResponsiblePartyIDLTE added in v0.37.4

func ResponsiblePartyIDLTE(v string) predicate.Control

ResponsiblePartyIDLTE applies the LTE predicate on the "responsible_party_id" field.

func ResponsiblePartyIDNEQ added in v0.37.4

func ResponsiblePartyIDNEQ(v string) predicate.Control

ResponsiblePartyIDNEQ applies the NEQ predicate on the "responsible_party_id" field.

func ResponsiblePartyIDNotIn added in v0.37.4

func ResponsiblePartyIDNotIn(vs ...string) predicate.Control

ResponsiblePartyIDNotIn applies the NotIn predicate on the "responsible_party_id" field.

func ResponsiblePartyIDNotNil added in v0.37.4

func ResponsiblePartyIDNotNil() predicate.Control

ResponsiblePartyIDNotNil applies the NotNil predicate on the "responsible_party_id" field.

func SourceEQ

SourceEQ applies the EQ predicate on the "source" field.

func SourceIn

func SourceIn(vs ...enums.ControlSource) predicate.Control

SourceIn applies the In predicate on the "source" field.

func SourceIsNil

func SourceIsNil() predicate.Control

SourceIsNil applies the IsNil predicate on the "source" field.

func SourceNEQ

func SourceNEQ(v enums.ControlSource) predicate.Control

SourceNEQ applies the NEQ predicate on the "source" field.

func SourceNotIn

func SourceNotIn(vs ...enums.ControlSource) predicate.Control

SourceNotIn applies the NotIn predicate on the "source" field.

func SourceNotNil

func SourceNotNil() predicate.Control

SourceNotNil applies the NotNil predicate on the "source" field.

func SourceValidator added in v0.7.3

func SourceValidator(s enums.ControlSource) error

SourceValidator is a validator for the "source" field enum values. It is called by the builders before save.

func StandardID added in v0.7.3

func StandardID(v string) predicate.Control

StandardID applies equality check predicate on the "standard_id" field. It's identical to StandardIDEQ.

func StandardIDContains added in v0.7.3

func StandardIDContains(v string) predicate.Control

StandardIDContains applies the Contains predicate on the "standard_id" field.

func StandardIDContainsFold added in v0.7.3

func StandardIDContainsFold(v string) predicate.Control

StandardIDContainsFold applies the ContainsFold predicate on the "standard_id" field.

func StandardIDEQ added in v0.7.3

func StandardIDEQ(v string) predicate.Control

StandardIDEQ applies the EQ predicate on the "standard_id" field.

func StandardIDEqualFold added in v0.7.3

func StandardIDEqualFold(v string) predicate.Control

StandardIDEqualFold applies the EqualFold predicate on the "standard_id" field.

func StandardIDGT added in v0.7.3

func StandardIDGT(v string) predicate.Control

StandardIDGT applies the GT predicate on the "standard_id" field.

func StandardIDGTE added in v0.7.3

func StandardIDGTE(v string) predicate.Control

StandardIDGTE applies the GTE predicate on the "standard_id" field.

func StandardIDHasPrefix added in v0.7.3

func StandardIDHasPrefix(v string) predicate.Control

StandardIDHasPrefix applies the HasPrefix predicate on the "standard_id" field.

func StandardIDHasSuffix added in v0.7.3

func StandardIDHasSuffix(v string) predicate.Control

StandardIDHasSuffix applies the HasSuffix predicate on the "standard_id" field.

func StandardIDIn added in v0.7.3

func StandardIDIn(vs ...string) predicate.Control

StandardIDIn applies the In predicate on the "standard_id" field.

func StandardIDIsNil added in v0.7.3

func StandardIDIsNil() predicate.Control

StandardIDIsNil applies the IsNil predicate on the "standard_id" field.

func StandardIDLT added in v0.7.3

func StandardIDLT(v string) predicate.Control

StandardIDLT applies the LT predicate on the "standard_id" field.

func StandardIDLTE added in v0.7.3

func StandardIDLTE(v string) predicate.Control

StandardIDLTE applies the LTE predicate on the "standard_id" field.

func StandardIDNEQ added in v0.7.3

func StandardIDNEQ(v string) predicate.Control

StandardIDNEQ applies the NEQ predicate on the "standard_id" field.

func StandardIDNotIn added in v0.7.3

func StandardIDNotIn(vs ...string) predicate.Control

StandardIDNotIn applies the NotIn predicate on the "standard_id" field.

func StandardIDNotNil added in v0.7.3

func StandardIDNotNil() predicate.Control

StandardIDNotNil applies the NotNil predicate on the "standard_id" field.

func StatusEQ

StatusEQ applies the EQ predicate on the "status" field.

func StatusIn

func StatusIn(vs ...enums.ControlStatus) predicate.Control

StatusIn applies the In predicate on the "status" field.

func StatusIsNil

func StatusIsNil() predicate.Control

StatusIsNil applies the IsNil predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v enums.ControlStatus) predicate.Control

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...enums.ControlStatus) predicate.Control

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusNotNil

func StatusNotNil() predicate.Control

StatusNotNil applies the NotNil predicate on the "status" field.

func StatusValidator added in v0.8.9

func StatusValidator(s enums.ControlStatus) error

StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.

func Subcategory added in v0.7.3

func Subcategory(v string) predicate.Control

Subcategory applies equality check predicate on the "subcategory" field. It's identical to SubcategoryEQ.

func SubcategoryContains added in v0.7.3

func SubcategoryContains(v string) predicate.Control

SubcategoryContains applies the Contains predicate on the "subcategory" field.

func SubcategoryContainsFold added in v0.7.3

func SubcategoryContainsFold(v string) predicate.Control

SubcategoryContainsFold applies the ContainsFold predicate on the "subcategory" field.

func SubcategoryEQ added in v0.7.3

func SubcategoryEQ(v string) predicate.Control

SubcategoryEQ applies the EQ predicate on the "subcategory" field.

func SubcategoryEqualFold added in v0.7.3

func SubcategoryEqualFold(v string) predicate.Control

SubcategoryEqualFold applies the EqualFold predicate on the "subcategory" field.

func SubcategoryGT added in v0.7.3

func SubcategoryGT(v string) predicate.Control

SubcategoryGT applies the GT predicate on the "subcategory" field.

func SubcategoryGTE added in v0.7.3

func SubcategoryGTE(v string) predicate.Control

SubcategoryGTE applies the GTE predicate on the "subcategory" field.

func SubcategoryHasPrefix added in v0.7.3

func SubcategoryHasPrefix(v string) predicate.Control

SubcategoryHasPrefix applies the HasPrefix predicate on the "subcategory" field.

func SubcategoryHasSuffix added in v0.7.3

func SubcategoryHasSuffix(v string) predicate.Control

SubcategoryHasSuffix applies the HasSuffix predicate on the "subcategory" field.

func SubcategoryIn added in v0.7.3

func SubcategoryIn(vs ...string) predicate.Control

SubcategoryIn applies the In predicate on the "subcategory" field.

func SubcategoryIsNil added in v0.7.3

func SubcategoryIsNil() predicate.Control

SubcategoryIsNil applies the IsNil predicate on the "subcategory" field.

func SubcategoryLT added in v0.7.3

func SubcategoryLT(v string) predicate.Control

SubcategoryLT applies the LT predicate on the "subcategory" field.

func SubcategoryLTE added in v0.7.3

func SubcategoryLTE(v string) predicate.Control

SubcategoryLTE applies the LTE predicate on the "subcategory" field.

func SubcategoryNEQ added in v0.7.3

func SubcategoryNEQ(v string) predicate.Control

SubcategoryNEQ applies the NEQ predicate on the "subcategory" field.

func SubcategoryNotIn added in v0.7.3

func SubcategoryNotIn(vs ...string) predicate.Control

SubcategoryNotIn applies the NotIn predicate on the "subcategory" field.

func SubcategoryNotNil added in v0.7.3

func SubcategoryNotNil() predicate.Control

SubcategoryNotNil applies the NotNil predicate on the "subcategory" field.

func SystemInternalID added in v0.34.0

func SystemInternalID(v string) predicate.Control

SystemInternalID applies equality check predicate on the "system_internal_id" field. It's identical to SystemInternalIDEQ.

func SystemInternalIDContains added in v0.34.0

func SystemInternalIDContains(v string) predicate.Control

SystemInternalIDContains applies the Contains predicate on the "system_internal_id" field.

func SystemInternalIDContainsFold added in v0.34.0

func SystemInternalIDContainsFold(v string) predicate.Control

SystemInternalIDContainsFold applies the ContainsFold predicate on the "system_internal_id" field.

func SystemInternalIDEQ added in v0.34.0

func SystemInternalIDEQ(v string) predicate.Control

SystemInternalIDEQ applies the EQ predicate on the "system_internal_id" field.

func SystemInternalIDEqualFold added in v0.34.0

func SystemInternalIDEqualFold(v string) predicate.Control

SystemInternalIDEqualFold applies the EqualFold predicate on the "system_internal_id" field.

func SystemInternalIDGT added in v0.34.0

func SystemInternalIDGT(v string) predicate.Control

SystemInternalIDGT applies the GT predicate on the "system_internal_id" field.

func SystemInternalIDGTE added in v0.34.0

func SystemInternalIDGTE(v string) predicate.Control

SystemInternalIDGTE applies the GTE predicate on the "system_internal_id" field.

func SystemInternalIDHasPrefix added in v0.34.0

func SystemInternalIDHasPrefix(v string) predicate.Control

SystemInternalIDHasPrefix applies the HasPrefix predicate on the "system_internal_id" field.

func SystemInternalIDHasSuffix added in v0.34.0

func SystemInternalIDHasSuffix(v string) predicate.Control

SystemInternalIDHasSuffix applies the HasSuffix predicate on the "system_internal_id" field.

func SystemInternalIDIn added in v0.34.0

func SystemInternalIDIn(vs ...string) predicate.Control

SystemInternalIDIn applies the In predicate on the "system_internal_id" field.

func SystemInternalIDIsNil added in v0.34.0

func SystemInternalIDIsNil() predicate.Control

SystemInternalIDIsNil applies the IsNil predicate on the "system_internal_id" field.

func SystemInternalIDLT added in v0.34.0

func SystemInternalIDLT(v string) predicate.Control

SystemInternalIDLT applies the LT predicate on the "system_internal_id" field.

func SystemInternalIDLTE added in v0.34.0

func SystemInternalIDLTE(v string) predicate.Control

SystemInternalIDLTE applies the LTE predicate on the "system_internal_id" field.

func SystemInternalIDNEQ added in v0.34.0

func SystemInternalIDNEQ(v string) predicate.Control

SystemInternalIDNEQ applies the NEQ predicate on the "system_internal_id" field.

func SystemInternalIDNotIn added in v0.34.0

func SystemInternalIDNotIn(vs ...string) predicate.Control

SystemInternalIDNotIn applies the NotIn predicate on the "system_internal_id" field.

func SystemInternalIDNotNil added in v0.34.0

func SystemInternalIDNotNil() predicate.Control

SystemInternalIDNotNil applies the NotNil predicate on the "system_internal_id" field.

func SystemOwned added in v0.34.0

func SystemOwned(v bool) predicate.Control

SystemOwned applies equality check predicate on the "system_owned" field. It's identical to SystemOwnedEQ.

func SystemOwnedEQ added in v0.34.0

func SystemOwnedEQ(v bool) predicate.Control

SystemOwnedEQ applies the EQ predicate on the "system_owned" field.

func SystemOwnedIsNil added in v0.34.0

func SystemOwnedIsNil() predicate.Control

SystemOwnedIsNil applies the IsNil predicate on the "system_owned" field.

func SystemOwnedNEQ added in v0.34.0

func SystemOwnedNEQ(v bool) predicate.Control

SystemOwnedNEQ applies the NEQ predicate on the "system_owned" field.

func SystemOwnedNotNil added in v0.34.0

func SystemOwnedNotNil() predicate.Control

SystemOwnedNotNil applies the NotNil predicate on the "system_owned" field.

func TagsIsNil

func TagsIsNil() predicate.Control

TagsIsNil applies the IsNil predicate on the "tags" field.

func TagsNotNil

func TagsNotNil() predicate.Control

TagsNotNil applies the NotNil predicate on the "tags" field.

func TestingProceduresIsNil added in v0.49.5

func TestingProceduresIsNil() predicate.Control

TestingProceduresIsNil applies the IsNil predicate on the "testing_procedures" field.

func TestingProceduresNotNil added in v0.49.5

func TestingProceduresNotNil() predicate.Control

TestingProceduresNotNil applies the NotNil predicate on the "testing_procedures" field.

func Title added in v0.37.2

func Title(v string) predicate.Control

Title applies equality check predicate on the "title" field. It's identical to TitleEQ.

func TitleContains added in v0.37.2

func TitleContains(v string) predicate.Control

TitleContains applies the Contains predicate on the "title" field.

func TitleContainsFold added in v0.37.2

func TitleContainsFold(v string) predicate.Control

TitleContainsFold applies the ContainsFold predicate on the "title" field.

func TitleEQ added in v0.37.2

func TitleEQ(v string) predicate.Control

TitleEQ applies the EQ predicate on the "title" field.

func TitleEqualFold added in v0.37.2

func TitleEqualFold(v string) predicate.Control

TitleEqualFold applies the EqualFold predicate on the "title" field.

func TitleGT added in v0.37.2

func TitleGT(v string) predicate.Control

TitleGT applies the GT predicate on the "title" field.

func TitleGTE added in v0.37.2

func TitleGTE(v string) predicate.Control

TitleGTE applies the GTE predicate on the "title" field.

func TitleHasPrefix added in v0.37.2

func TitleHasPrefix(v string) predicate.Control

TitleHasPrefix applies the HasPrefix predicate on the "title" field.

func TitleHasSuffix added in v0.37.2

func TitleHasSuffix(v string) predicate.Control

TitleHasSuffix applies the HasSuffix predicate on the "title" field.

func TitleIn added in v0.37.2

func TitleIn(vs ...string) predicate.Control

TitleIn applies the In predicate on the "title" field.

func TitleIsNil added in v0.37.2

func TitleIsNil() predicate.Control

TitleIsNil applies the IsNil predicate on the "title" field.

func TitleLT added in v0.37.2

func TitleLT(v string) predicate.Control

TitleLT applies the LT predicate on the "title" field.

func TitleLTE added in v0.37.2

func TitleLTE(v string) predicate.Control

TitleLTE applies the LTE predicate on the "title" field.

func TitleNEQ added in v0.37.2

func TitleNEQ(v string) predicate.Control

TitleNEQ applies the NEQ predicate on the "title" field.

func TitleNotIn added in v0.37.2

func TitleNotIn(vs ...string) predicate.Control

TitleNotIn applies the NotIn predicate on the "title" field.

func TitleNotNil added in v0.37.2

func TitleNotNil() predicate.Control

TitleNotNil applies the NotNil predicate on the "title" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Control

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Control

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Control

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Control

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Control

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.Control

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Control

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Control

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Control

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Control

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.Control

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v string) predicate.Control

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByContains

func UpdatedByContains(v string) predicate.Control

UpdatedByContains applies the Contains predicate on the "updated_by" field.

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.Control

UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.Control

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.Control

UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v string) predicate.Control

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.Control

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.Control

UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.Control

UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...string) predicate.Control

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.Control

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v string) predicate.Control

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.Control

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.Control

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...string) predicate.Control

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.Control

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func WorkflowEligibleMarker added in v0.52.0

func WorkflowEligibleMarker(v bool) predicate.Control

WorkflowEligibleMarker applies equality check predicate on the "workflow_eligible_marker" field. It's identical to WorkflowEligibleMarkerEQ.

func WorkflowEligibleMarkerEQ added in v0.52.0

func WorkflowEligibleMarkerEQ(v bool) predicate.Control

WorkflowEligibleMarkerEQ applies the EQ predicate on the "workflow_eligible_marker" field.

func WorkflowEligibleMarkerIsNil added in v0.52.0

func WorkflowEligibleMarkerIsNil() predicate.Control

WorkflowEligibleMarkerIsNil applies the IsNil predicate on the "workflow_eligible_marker" field.

func WorkflowEligibleMarkerNEQ added in v0.52.0

func WorkflowEligibleMarkerNEQ(v bool) predicate.Control

WorkflowEligibleMarkerNEQ applies the NEQ predicate on the "workflow_eligible_marker" field.

func WorkflowEligibleMarkerNotNil added in v0.52.0

func WorkflowEligibleMarkerNotNil() predicate.Control

WorkflowEligibleMarkerNotNil applies the NotNil predicate on the "workflow_eligible_marker" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Control queries.

func ByActionPlans added in v0.6.1

func ByActionPlans(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByActionPlans orders the results by action_plans terms.

func ByActionPlansCount added in v0.6.1

func ByActionPlansCount(opts ...sql.OrderTermOption) OrderOption

ByActionPlansCount orders the results by action_plans count.

func ByAssets added in v0.19.0

func ByAssets(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByAssets orders the results by assets terms.

func ByAssetsCount added in v0.19.0

func ByAssetsCount(opts ...sql.OrderTermOption) OrderOption

ByAssetsCount orders the results by assets count.

func ByAuditorReferenceID added in v0.8.7

func ByAuditorReferenceID(opts ...sql.OrderTermOption) OrderOption

ByAuditorReferenceID orders the results by the auditor_reference_id field.

func ByBlockedGroups added in v0.5.0

func ByBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByBlockedGroups orders the results by blocked_groups terms.

func ByBlockedGroupsCount added in v0.5.0

func ByBlockedGroupsCount(opts ...sql.OrderTermOption) OrderOption

ByBlockedGroupsCount orders the results by blocked_groups count.

func ByCategory added in v0.7.3

func ByCategory(opts ...sql.OrderTermOption) OrderOption

ByCategory orders the results by the category field.

func ByCategoryID added in v0.7.3

func ByCategoryID(opts ...sql.OrderTermOption) OrderOption

ByCategoryID orders the results by the category_id field.

func ByComments added in v0.37.4

func ByComments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByComments orders the results by comments terms.

func ByCommentsCount added in v0.37.4

func ByCommentsCount(opts ...sql.OrderTermOption) OrderOption

ByCommentsCount orders the results by comments count.

func ByControlImplementations added in v0.7.3

func ByControlImplementations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByControlImplementations orders the results by control_implementations terms.

func ByControlImplementationsCount added in v0.7.3

func ByControlImplementationsCount(opts ...sql.OrderTermOption) OrderOption

ByControlImplementationsCount orders the results by control_implementations count.

func ByControlKindField added in v0.43.0

func ByControlKindField(field string, opts ...sql.OrderTermOption) OrderOption

ByControlKindField orders the results by control_kind field.

func ByControlKindID added in v0.43.0

func ByControlKindID(opts ...sql.OrderTermOption) OrderOption

ByControlKindID orders the results by the control_kind_id field.

func ByControlKindName added in v0.43.0

func ByControlKindName(opts ...sql.OrderTermOption) OrderOption

ByControlKindName orders the results by the control_kind_name field.

func ByControlMappings added in v0.43.3

func ByControlMappings(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByControlMappings orders the results by control_mappings terms.

func ByControlMappingsCount added in v0.43.3

func ByControlMappingsCount(opts ...sql.OrderTermOption) OrderOption

ByControlMappingsCount orders the results by control_mappings count.

func ByControlObjectives added in v0.6.1

func ByControlObjectives(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByControlObjectives orders the results by control_objectives terms.

func ByControlObjectivesCount added in v0.6.1

func ByControlObjectivesCount(opts ...sql.OrderTermOption) OrderOption

ByControlObjectivesCount orders the results by control_objectives count.

func ByControlOwnerField added in v0.7.3

func ByControlOwnerField(field string, opts ...sql.OrderTermOption) OrderOption

ByControlOwnerField orders the results by control_owner field.

func ByControlOwnerID added in v0.8.9

func ByControlOwnerID(opts ...sql.OrderTermOption) OrderOption

ByControlOwnerID orders the results by the control_owner_id field.

func ByControlType

func ByControlType(opts ...sql.OrderTermOption) OrderOption

ByControlType orders the results by the control_type field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption

ByCreatedBy orders the results by the created_by field.

func ByDelegateField added in v0.7.3

func ByDelegateField(field string, opts ...sql.OrderTermOption) OrderOption

ByDelegateField orders the results by delegate field.

func ByDelegateID added in v0.8.9

func ByDelegateID(opts ...sql.OrderTermOption) OrderOption

ByDelegateID orders the results by the delegate_id field.

func ByDeletedAt

func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption

ByDeletedAt orders the results by the deleted_at field.

func ByDeletedBy

func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption

ByDeletedBy orders the results by the deleted_by field.

func ByDescription

func ByDescription(opts ...sql.OrderTermOption) OrderOption

ByDescription orders the results by the description field.

func ByDiscussions added in v0.49.3

func ByDiscussions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByDiscussions orders the results by discussions terms.

func ByDiscussionsCount added in v0.49.3

func ByDiscussionsCount(opts ...sql.OrderTermOption) OrderOption

ByDiscussionsCount orders the results by discussions count.

func ByDisplayID added in v0.6.11

func ByDisplayID(opts ...sql.OrderTermOption) OrderOption

ByDisplayID orders the results by the display_id field.

func ByEditors added in v0.5.0

func ByEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByEditors orders the results by editors terms.

func ByEditorsCount added in v0.5.0

func ByEditorsCount(opts ...sql.OrderTermOption) OrderOption

ByEditorsCount orders the results by editors count.

func ByEvidence added in v0.6.19

func ByEvidence(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByEvidence orders the results by evidence terms.

func ByEvidenceCount added in v0.6.19

func ByEvidenceCount(opts ...sql.OrderTermOption) OrderOption

ByEvidenceCount orders the results by evidence count.

func ByFindings added in v0.43.3

func ByFindings(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByFindings orders the results by findings terms.

func ByFindingsCount added in v0.43.3

func ByFindingsCount(opts ...sql.OrderTermOption) OrderOption

ByFindingsCount orders the results by findings count.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByInternalNotes added in v0.34.0

func ByInternalNotes(opts ...sql.OrderTermOption) OrderOption

ByInternalNotes orders the results by the internal_notes field.

func ByInternalPolicies added in v0.7.3

func ByInternalPolicies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByInternalPolicies orders the results by internal_policies terms.

func ByInternalPoliciesCount added in v0.7.3

func ByInternalPoliciesCount(opts ...sql.OrderTermOption) OrderOption

ByInternalPoliciesCount orders the results by internal_policies count.

func ByMappedFromControls added in v0.16.0

func ByMappedFromControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByMappedFromControls orders the results by mapped_from_controls terms.

func ByMappedFromControlsCount added in v0.16.0

func ByMappedFromControlsCount(opts ...sql.OrderTermOption) OrderOption

ByMappedFromControlsCount orders the results by mapped_from_controls count.

func ByMappedToControls added in v0.16.0

func ByMappedToControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByMappedToControls orders the results by mapped_to_controls terms.

func ByMappedToControlsCount added in v0.16.0

func ByMappedToControlsCount(opts ...sql.OrderTermOption) OrderOption

ByMappedToControlsCount orders the results by mapped_to_controls count.

func ByNarratives

func ByNarratives(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByNarratives orders the results by narratives terms.

func ByNarrativesCount

func ByNarrativesCount(opts ...sql.OrderTermOption) OrderOption

ByNarrativesCount orders the results by narratives count.

func ByOwnerField added in v0.5.0

func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption

ByOwnerField orders the results by owner field.

func ByOwnerID added in v0.5.0

func ByOwnerID(opts ...sql.OrderTermOption) OrderOption

ByOwnerID orders the results by the owner_id field.

func ByProcedures

func ByProcedures(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByProcedures orders the results by procedures terms.

func ByProceduresCount

func ByProceduresCount(opts ...sql.OrderTermOption) OrderOption

ByProceduresCount orders the results by procedures count.

func ByPrograms added in v0.3.5

func ByPrograms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByPrograms orders the results by programs terms.

func ByProgramsCount added in v0.3.5

func ByProgramsCount(opts ...sql.OrderTermOption) OrderOption

ByProgramsCount orders the results by programs count.

func ByRefCode added in v0.7.3

func ByRefCode(opts ...sql.OrderTermOption) OrderOption

ByRefCode orders the results by the ref_code field.

func ByReferenceFramework added in v0.16.0

func ByReferenceFramework(opts ...sql.OrderTermOption) OrderOption

ByReferenceFramework orders the results by the reference_framework field.

func ByReferenceFrameworkRevision added in v0.38.0

func ByReferenceFrameworkRevision(opts ...sql.OrderTermOption) OrderOption

ByReferenceFrameworkRevision orders the results by the reference_framework_revision field.

func ByReferenceID added in v0.8.7

func ByReferenceID(opts ...sql.OrderTermOption) OrderOption

ByReferenceID orders the results by the reference_id field.

func ByResponsiblePartyField added in v0.37.4

func ByResponsiblePartyField(field string, opts ...sql.OrderTermOption) OrderOption

ByResponsiblePartyField orders the results by responsible_party field.

func ByResponsiblePartyID added in v0.37.4

func ByResponsiblePartyID(opts ...sql.OrderTermOption) OrderOption

ByResponsiblePartyID orders the results by the responsible_party_id field.

func ByRisks

func ByRisks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByRisks orders the results by risks terms.

func ByRisksCount

func ByRisksCount(opts ...sql.OrderTermOption) OrderOption

ByRisksCount orders the results by risks count.

func ByScans added in v0.19.0

func ByScans(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByScans orders the results by scans terms.

func ByScansCount added in v0.19.0

func ByScansCount(opts ...sql.OrderTermOption) OrderOption

ByScansCount orders the results by scans count.

func ByScheduledJobs added in v0.15.0

func ByScheduledJobs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByScheduledJobs orders the results by scheduled_jobs terms.

func ByScheduledJobsCount added in v0.15.0

func ByScheduledJobsCount(opts ...sql.OrderTermOption) OrderOption

ByScheduledJobsCount orders the results by scheduled_jobs count.

func BySource

func BySource(opts ...sql.OrderTermOption) OrderOption

BySource orders the results by the source field.

func ByStandardField added in v0.7.3

func ByStandardField(field string, opts ...sql.OrderTermOption) OrderOption

ByStandardField orders the results by standard field.

func ByStandardID added in v0.7.3

func ByStandardID(opts ...sql.OrderTermOption) OrderOption

ByStandardID orders the results by the standard_id field.

func ByStatus

func ByStatus(opts ...sql.OrderTermOption) OrderOption

ByStatus orders the results by the status field.

func BySubcategory added in v0.7.3

func BySubcategory(opts ...sql.OrderTermOption) OrderOption

BySubcategory orders the results by the subcategory field.

func BySubcontrols

func BySubcontrols(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

BySubcontrols orders the results by subcontrols terms.

func BySubcontrolsCount

func BySubcontrolsCount(opts ...sql.OrderTermOption) OrderOption

BySubcontrolsCount orders the results by subcontrols count.

func BySystemInternalID added in v0.34.0

func BySystemInternalID(opts ...sql.OrderTermOption) OrderOption

BySystemInternalID orders the results by the system_internal_id field.

func BySystemOwned added in v0.34.0

func BySystemOwned(opts ...sql.OrderTermOption) OrderOption

BySystemOwned orders the results by the system_owned field.

func ByTasks added in v0.3.4

func ByTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByTasks orders the results by tasks terms.

func ByTasksCount added in v0.3.4

func ByTasksCount(opts ...sql.OrderTermOption) OrderOption

ByTasksCount orders the results by tasks count.

func ByTitle added in v0.37.2

func ByTitle(opts ...sql.OrderTermOption) OrderOption

ByTitle orders the results by the title field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedBy

func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption

ByUpdatedBy orders the results by the updated_by field.

func ByWorkflowEligibleMarker added in v0.52.0

func ByWorkflowEligibleMarker(opts ...sql.OrderTermOption) OrderOption

ByWorkflowEligibleMarker orders the results by the workflow_eligible_marker field.

func ByWorkflowObjectRefs added in v0.46.3

func ByWorkflowObjectRefs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByWorkflowObjectRefs orders the results by workflow_object_refs terms.

func ByWorkflowObjectRefsCount added in v0.46.3

func ByWorkflowObjectRefsCount(opts ...sql.OrderTermOption) OrderOption

ByWorkflowObjectRefsCount orders the results by workflow_object_refs count.

Jump to

Keyboard shortcuts

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