subcontrol

package
v0.45.13 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the subcontrol type in the database.
	Label = "subcontrol"
	// 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"
	// 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"
	// 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"
	// FieldSubcontrolKindName holds the string denoting the subcontrol_kind_name field in the database.
	FieldSubcontrolKindName = "subcontrol_kind_name"
	// FieldSubcontrolKindID holds the string denoting the subcontrol_kind_id field in the database.
	FieldSubcontrolKindID = "subcontrol_kind_id"
	// FieldRefCode holds the string denoting the ref_code field in the database.
	FieldRefCode = "ref_code"
	// FieldControlID holds the string denoting the control_id field in the database.
	FieldControlID = "control_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"
	// 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"
	// EdgeSubcontrolKind holds the string denoting the subcontrol_kind edge name in mutations.
	EdgeSubcontrolKind = "subcontrol_kind"
	// EdgeControl holds the string denoting the control edge name in mutations.
	EdgeControl = "control"
	// EdgeControlImplementations holds the string denoting the control_implementations edge name in mutations.
	EdgeControlImplementations = "control_implementations"
	// EdgeScheduledJobs holds the string denoting the scheduled_jobs edge name in mutations.
	EdgeScheduledJobs = "scheduled_jobs"
	// EdgeMappedToSubcontrols holds the string denoting the mapped_to_subcontrols edge name in mutations.
	EdgeMappedToSubcontrols = "mapped_to_subcontrols"
	// EdgeMappedFromSubcontrols holds the string denoting the mapped_from_subcontrols edge name in mutations.
	EdgeMappedFromSubcontrols = "mapped_from_subcontrols"
	// Table holds the table name of the subcontrol in the database.
	Table = "subcontrols"
	// EvidenceTable is the table that holds the evidence relation/edge. The primary key declared below.
	EvidenceTable = "evidence_subcontrols"
	// 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 = "subcontrol_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 = "subcontrol_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.
	NarrativesTable = "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"
	// NarrativesColumn is the table column denoting the narratives relation/edge.
	NarrativesColumn = "subcontrol_narratives"
	// RisksTable is the table that holds the risks relation/edge. The primary key declared below.
	RisksTable = "subcontrol_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.
	ActionPlansTable = "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"
	// ActionPlansColumn is the table column denoting the action_plans relation/edge.
	ActionPlansColumn = "subcontrol_action_plans"
	// ProceduresTable is the table that holds the procedures relation/edge. The primary key declared below.
	ProceduresTable = "subcontrol_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_subcontrols"
	// 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 = "subcontrol_comments"
	// ControlOwnerTable is the table that holds the control_owner relation/edge.
	ControlOwnerTable = "subcontrols"
	// 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 = "subcontrols"
	// 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 = "subcontrols"
	// 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 = "subcontrols"
	// 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"
	// SubcontrolKindTable is the table that holds the subcontrol_kind relation/edge.
	SubcontrolKindTable = "subcontrols"
	// SubcontrolKindInverseTable is the table name for the CustomTypeEnum entity.
	// It exists in this package in order to avoid circular dependency with the "customtypeenum" package.
	SubcontrolKindInverseTable = "custom_type_enums"
	// SubcontrolKindColumn is the table column denoting the subcontrol_kind relation/edge.
	SubcontrolKindColumn = "subcontrol_kind_id"
	// ControlTable is the table that holds the control relation/edge.
	ControlTable = "subcontrols"
	// ControlInverseTable is the table name for the Control entity.
	// It exists in this package in order to avoid circular dependency with the "control" package.
	ControlInverseTable = "controls"
	// ControlColumn is the table column denoting the control relation/edge.
	ControlColumn = "control_id"
	// ControlImplementationsTable is the table that holds the control_implementations relation/edge. The primary key declared below.
	ControlImplementationsTable = "subcontrol_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"
	// ScheduledJobsTable is the table that holds the scheduled_jobs relation/edge. The primary key declared below.
	ScheduledJobsTable = "scheduled_job_subcontrols"
	// 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"
	// MappedToSubcontrolsTable is the table that holds the mapped_to_subcontrols relation/edge. The primary key declared below.
	MappedToSubcontrolsTable = "mapped_control_to_subcontrols"
	// MappedToSubcontrolsInverseTable is the table name for the MappedControl entity.
	// It exists in this package in order to avoid circular dependency with the "mappedcontrol" package.
	MappedToSubcontrolsInverseTable = "mapped_controls"
	// MappedFromSubcontrolsTable is the table that holds the mapped_from_subcontrols relation/edge. The primary key declared below.
	MappedFromSubcontrolsTable = "mapped_control_from_subcontrols"
	// MappedFromSubcontrolsInverseTable is the table name for the MappedControl entity.
	// It exists in this package in order to avoid circular dependency with the "mappedcontrol" package.
	MappedFromSubcontrolsInverseTable = "mapped_controls"
)
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", "subcontrol_id"}
	// ControlObjectivesPrimaryKey and ControlObjectivesColumn2 are the table columns denoting the
	// primary key for the control_objectives relation (M2M).
	ControlObjectivesPrimaryKey = []string{"subcontrol_id", "control_objective_id"}
	// TasksPrimaryKey and TasksColumn2 are the table columns denoting the
	// primary key for the tasks relation (M2M).
	TasksPrimaryKey = []string{"subcontrol_id", "task_id"}
	// RisksPrimaryKey and RisksColumn2 are the table columns denoting the
	// primary key for the risks relation (M2M).
	RisksPrimaryKey = []string{"subcontrol_id", "risk_id"}
	// ProceduresPrimaryKey and ProceduresColumn2 are the table columns denoting the
	// primary key for the procedures relation (M2M).
	ProceduresPrimaryKey = []string{"subcontrol_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", "subcontrol_id"}
	// ControlImplementationsPrimaryKey and ControlImplementationsColumn2 are the table columns denoting the
	// primary key for the control_implementations relation (M2M).
	ControlImplementationsPrimaryKey = []string{"subcontrol_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", "subcontrol_id"}
	// MappedToSubcontrolsPrimaryKey and MappedToSubcontrolsColumn2 are the table columns denoting the
	// primary key for the mapped_to_subcontrols relation (M2M).
	MappedToSubcontrolsPrimaryKey = []string{"mapped_control_id", "subcontrol_id"}
	// MappedFromSubcontrolsPrimaryKey and MappedFromSubcontrolsColumn2 are the table columns denoting the
	// primary key for the mapped_from_subcontrols relation (M2M).
	MappedFromSubcontrolsPrimaryKey = []string{"mapped_control_id", "subcontrol_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
	// RefCodeValidator is a validator for the "ref_code" field. It is called by the builders before save.
	RefCodeValidator func(string) error
	// ControlIDValidator is a validator for the "control_id" field. It is called by the builders before save.
	ControlIDValidator 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 subcontrol fields.

View Source
var ForeignKeys = []string{
	"custom_type_enum_subcontrols",
	"finding_subcontrols",
	"program_subcontrols",
	"remediation_subcontrols",
	"review_subcontrols",
	"user_subcontrols",
	"vulnerability_subcontrols",
}

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

Functions

func AliasesIsNil added in v0.37.4

func AliasesIsNil() predicate.Subcontrol

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

func AliasesNotNil added in v0.37.4

func AliasesNotNil() predicate.Subcontrol

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

func And

func And(predicates ...predicate.Subcontrol) predicate.Subcontrol

And groups predicates with the AND operator between them.

func AssessmentMethodsIsNil added in v0.7.3

func AssessmentMethodsIsNil() predicate.Subcontrol

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

func AssessmentMethodsNotNil added in v0.7.3

func AssessmentMethodsNotNil() predicate.Subcontrol

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

func AssessmentObjectivesIsNil added in v0.7.3

func AssessmentObjectivesIsNil() predicate.Subcontrol

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

func AssessmentObjectivesNotNil added in v0.7.3

func AssessmentObjectivesNotNil() predicate.Subcontrol

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

func AuditorReferenceID added in v0.8.7

func AuditorReferenceID(v string) predicate.Subcontrol

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.Subcontrol

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

func AuditorReferenceIDContainsFold added in v0.8.7

func AuditorReferenceIDContainsFold(v string) predicate.Subcontrol

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

func AuditorReferenceIDEQ added in v0.8.7

func AuditorReferenceIDEQ(v string) predicate.Subcontrol

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

func AuditorReferenceIDEqualFold added in v0.8.7

func AuditorReferenceIDEqualFold(v string) predicate.Subcontrol

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

func AuditorReferenceIDGT added in v0.8.7

func AuditorReferenceIDGT(v string) predicate.Subcontrol

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

func AuditorReferenceIDGTE added in v0.8.7

func AuditorReferenceIDGTE(v string) predicate.Subcontrol

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

func AuditorReferenceIDHasPrefix added in v0.8.7

func AuditorReferenceIDHasPrefix(v string) predicate.Subcontrol

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

func AuditorReferenceIDHasSuffix added in v0.8.7

func AuditorReferenceIDHasSuffix(v string) predicate.Subcontrol

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

func AuditorReferenceIDIn added in v0.8.7

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

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

func AuditorReferenceIDIsNil added in v0.8.7

func AuditorReferenceIDIsNil() predicate.Subcontrol

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

func AuditorReferenceIDLT added in v0.8.7

func AuditorReferenceIDLT(v string) predicate.Subcontrol

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

func AuditorReferenceIDLTE added in v0.8.7

func AuditorReferenceIDLTE(v string) predicate.Subcontrol

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

func AuditorReferenceIDNEQ added in v0.8.7

func AuditorReferenceIDNEQ(v string) predicate.Subcontrol

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

func AuditorReferenceIDNotIn added in v0.8.7

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

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

func AuditorReferenceIDNotNil added in v0.8.7

func AuditorReferenceIDNotNil() predicate.Subcontrol

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

func Category added in v0.7.3

func Category(v string) predicate.Subcontrol

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.Subcontrol

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

func CategoryContainsFold added in v0.7.3

func CategoryContainsFold(v string) predicate.Subcontrol

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

func CategoryEQ added in v0.7.3

func CategoryEQ(v string) predicate.Subcontrol

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

func CategoryEqualFold added in v0.7.3

func CategoryEqualFold(v string) predicate.Subcontrol

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

func CategoryGT added in v0.7.3

func CategoryGT(v string) predicate.Subcontrol

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

func CategoryGTE added in v0.7.3

func CategoryGTE(v string) predicate.Subcontrol

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

func CategoryHasPrefix added in v0.7.3

func CategoryHasPrefix(v string) predicate.Subcontrol

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

func CategoryHasSuffix added in v0.7.3

func CategoryHasSuffix(v string) predicate.Subcontrol

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

func CategoryID added in v0.7.3

func CategoryID(v string) predicate.Subcontrol

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.Subcontrol

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

func CategoryIDContainsFold added in v0.7.3

func CategoryIDContainsFold(v string) predicate.Subcontrol

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

func CategoryIDEQ added in v0.7.3

func CategoryIDEQ(v string) predicate.Subcontrol

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

func CategoryIDEqualFold added in v0.7.3

func CategoryIDEqualFold(v string) predicate.Subcontrol

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

func CategoryIDGT added in v0.7.3

func CategoryIDGT(v string) predicate.Subcontrol

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

func CategoryIDGTE added in v0.7.3

func CategoryIDGTE(v string) predicate.Subcontrol

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

func CategoryIDHasPrefix added in v0.7.3

func CategoryIDHasPrefix(v string) predicate.Subcontrol

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

func CategoryIDHasSuffix added in v0.7.3

func CategoryIDHasSuffix(v string) predicate.Subcontrol

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

func CategoryIDIn added in v0.7.3

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

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

func CategoryIDIsNil added in v0.7.3

func CategoryIDIsNil() predicate.Subcontrol

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

func CategoryIDLT added in v0.7.3

func CategoryIDLT(v string) predicate.Subcontrol

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

func CategoryIDLTE added in v0.7.3

func CategoryIDLTE(v string) predicate.Subcontrol

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

func CategoryIDNEQ added in v0.7.3

func CategoryIDNEQ(v string) predicate.Subcontrol

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

func CategoryIDNotIn added in v0.7.3

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

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

func CategoryIDNotNil added in v0.7.3

func CategoryIDNotNil() predicate.Subcontrol

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

func CategoryIn added in v0.7.3

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

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

func CategoryIsNil added in v0.7.3

func CategoryIsNil() predicate.Subcontrol

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

func CategoryLT added in v0.7.3

func CategoryLT(v string) predicate.Subcontrol

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

func CategoryLTE added in v0.7.3

func CategoryLTE(v string) predicate.Subcontrol

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

func CategoryNEQ added in v0.7.3

func CategoryNEQ(v string) predicate.Subcontrol

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

func CategoryNotIn added in v0.7.3

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

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

func CategoryNotNil added in v0.7.3

func CategoryNotNil() predicate.Subcontrol

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

func ControlID added in v0.7.3

func ControlID(v string) predicate.Subcontrol

ControlID applies equality check predicate on the "control_id" field. It's identical to ControlIDEQ.

func ControlIDContains added in v0.7.3

func ControlIDContains(v string) predicate.Subcontrol

ControlIDContains applies the Contains predicate on the "control_id" field.

func ControlIDContainsFold added in v0.7.3

func ControlIDContainsFold(v string) predicate.Subcontrol

ControlIDContainsFold applies the ContainsFold predicate on the "control_id" field.

func ControlIDEQ added in v0.7.3

func ControlIDEQ(v string) predicate.Subcontrol

ControlIDEQ applies the EQ predicate on the "control_id" field.

func ControlIDEqualFold added in v0.7.3

func ControlIDEqualFold(v string) predicate.Subcontrol

ControlIDEqualFold applies the EqualFold predicate on the "control_id" field.

func ControlIDGT added in v0.7.3

func ControlIDGT(v string) predicate.Subcontrol

ControlIDGT applies the GT predicate on the "control_id" field.

func ControlIDGTE added in v0.7.3

func ControlIDGTE(v string) predicate.Subcontrol

ControlIDGTE applies the GTE predicate on the "control_id" field.

func ControlIDHasPrefix added in v0.7.3

func ControlIDHasPrefix(v string) predicate.Subcontrol

ControlIDHasPrefix applies the HasPrefix predicate on the "control_id" field.

func ControlIDHasSuffix added in v0.7.3

func ControlIDHasSuffix(v string) predicate.Subcontrol

ControlIDHasSuffix applies the HasSuffix predicate on the "control_id" field.

func ControlIDIn added in v0.7.3

func ControlIDIn(vs ...string) predicate.Subcontrol

ControlIDIn applies the In predicate on the "control_id" field.

func ControlIDLT added in v0.7.3

func ControlIDLT(v string) predicate.Subcontrol

ControlIDLT applies the LT predicate on the "control_id" field.

func ControlIDLTE added in v0.7.3

func ControlIDLTE(v string) predicate.Subcontrol

ControlIDLTE applies the LTE predicate on the "control_id" field.

func ControlIDNEQ added in v0.7.3

func ControlIDNEQ(v string) predicate.Subcontrol

ControlIDNEQ applies the NEQ predicate on the "control_id" field.

func ControlIDNotIn added in v0.7.3

func ControlIDNotIn(vs ...string) predicate.Subcontrol

ControlIDNotIn applies the NotIn predicate on the "control_id" field.

func ControlOwnerID added in v0.8.9

func ControlOwnerID(v string) predicate.Subcontrol

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.Subcontrol

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

func ControlOwnerIDContainsFold added in v0.8.9

func ControlOwnerIDContainsFold(v string) predicate.Subcontrol

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

func ControlOwnerIDEQ added in v0.8.9

func ControlOwnerIDEQ(v string) predicate.Subcontrol

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

func ControlOwnerIDEqualFold added in v0.8.9

func ControlOwnerIDEqualFold(v string) predicate.Subcontrol

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

func ControlOwnerIDGT added in v0.8.9

func ControlOwnerIDGT(v string) predicate.Subcontrol

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

func ControlOwnerIDGTE added in v0.8.9

func ControlOwnerIDGTE(v string) predicate.Subcontrol

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

func ControlOwnerIDHasPrefix added in v0.8.9

func ControlOwnerIDHasPrefix(v string) predicate.Subcontrol

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

func ControlOwnerIDHasSuffix added in v0.8.9

func ControlOwnerIDHasSuffix(v string) predicate.Subcontrol

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

func ControlOwnerIDIn added in v0.8.9

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

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

func ControlOwnerIDIsNil added in v0.8.9

func ControlOwnerIDIsNil() predicate.Subcontrol

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

func ControlOwnerIDLT added in v0.8.9

func ControlOwnerIDLT(v string) predicate.Subcontrol

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

func ControlOwnerIDLTE added in v0.8.9

func ControlOwnerIDLTE(v string) predicate.Subcontrol

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

func ControlOwnerIDNEQ added in v0.8.9

func ControlOwnerIDNEQ(v string) predicate.Subcontrol

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

func ControlOwnerIDNotIn added in v0.8.9

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

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

func ControlOwnerIDNotNil added in v0.8.9

func ControlOwnerIDNotNil() predicate.Subcontrol

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

func ControlQuestionsIsNil added in v0.7.3

func ControlQuestionsIsNil() predicate.Subcontrol

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

func ControlQuestionsNotNil added in v0.7.3

func ControlQuestionsNotNil() predicate.Subcontrol

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

func ControlTypeEQ added in v0.7.3

func ControlTypeEQ(v enums.ControlType) predicate.Subcontrol

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

func ControlTypeIn added in v0.7.3

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

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

func ControlTypeIsNil added in v0.7.3

func ControlTypeIsNil() predicate.Subcontrol

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

func ControlTypeNEQ added in v0.7.3

func ControlTypeNEQ(v enums.ControlType) predicate.Subcontrol

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

func ControlTypeNotIn added in v0.7.3

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

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

func ControlTypeNotNil added in v0.7.3

func ControlTypeNotNil() predicate.Subcontrol

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.Subcontrol

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Subcontrol

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Subcontrol

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Subcontrol

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.Subcontrol

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Subcontrol

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Subcontrol

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Subcontrol

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.Subcontrol

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

func CreatedBy

func CreatedBy(v string) predicate.Subcontrol

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

func CreatedByContains

func CreatedByContains(v string) predicate.Subcontrol

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.Subcontrol

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.Subcontrol

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.Subcontrol

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

func CreatedByGT

func CreatedByGT(v string) predicate.Subcontrol

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.Subcontrol

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.Subcontrol

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.Subcontrol

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.Subcontrol

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

func CreatedByLT

func CreatedByLT(v string) predicate.Subcontrol

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.Subcontrol

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.Subcontrol

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.Subcontrol

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

func DelegateID added in v0.8.9

func DelegateID(v string) predicate.Subcontrol

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.Subcontrol

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

func DelegateIDContainsFold added in v0.8.9

func DelegateIDContainsFold(v string) predicate.Subcontrol

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

func DelegateIDEQ added in v0.8.9

func DelegateIDEQ(v string) predicate.Subcontrol

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

func DelegateIDEqualFold added in v0.8.9

func DelegateIDEqualFold(v string) predicate.Subcontrol

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

func DelegateIDGT added in v0.8.9

func DelegateIDGT(v string) predicate.Subcontrol

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

func DelegateIDGTE added in v0.8.9

func DelegateIDGTE(v string) predicate.Subcontrol

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

func DelegateIDHasPrefix added in v0.8.9

func DelegateIDHasPrefix(v string) predicate.Subcontrol

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

func DelegateIDHasSuffix added in v0.8.9

func DelegateIDHasSuffix(v string) predicate.Subcontrol

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

func DelegateIDIn added in v0.8.9

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

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

func DelegateIDIsNil added in v0.8.9

func DelegateIDIsNil() predicate.Subcontrol

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

func DelegateIDLT added in v0.8.9

func DelegateIDLT(v string) predicate.Subcontrol

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

func DelegateIDLTE added in v0.8.9

func DelegateIDLTE(v string) predicate.Subcontrol

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

func DelegateIDNEQ added in v0.8.9

func DelegateIDNEQ(v string) predicate.Subcontrol

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

func DelegateIDNotIn added in v0.8.9

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

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

func DelegateIDNotNil added in v0.8.9

func DelegateIDNotNil() predicate.Subcontrol

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

func DeletedAt

func DeletedAt(v time.Time) predicate.Subcontrol

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Subcontrol

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Subcontrol

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Subcontrol

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Subcontrol

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Subcontrol

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Subcontrol

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Subcontrol

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Subcontrol

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

func DeletedBy

func DeletedBy(v string) predicate.Subcontrol

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

func DeletedByContains

func DeletedByContains(v string) predicate.Subcontrol

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.Subcontrol

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

func DeletedByEQ

func DeletedByEQ(v string) predicate.Subcontrol

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.Subcontrol

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

func DeletedByGT

func DeletedByGT(v string) predicate.Subcontrol

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.Subcontrol

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.Subcontrol

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.Subcontrol

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.Subcontrol

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

func DeletedByLT

func DeletedByLT(v string) predicate.Subcontrol

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.Subcontrol

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.Subcontrol

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.Subcontrol

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

func Description

func Description(v string) predicate.Subcontrol

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

func DescriptionContains

func DescriptionContains(v string) predicate.Subcontrol

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Subcontrol

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.Subcontrol

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Subcontrol

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

func DescriptionGT

func DescriptionGT(v string) predicate.Subcontrol

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.Subcontrol

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Subcontrol

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Subcontrol

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

func DescriptionIn

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

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

func DescriptionIsNil

func DescriptionIsNil() predicate.Subcontrol

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

func DescriptionLT

func DescriptionLT(v string) predicate.Subcontrol

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.Subcontrol

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Subcontrol

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

func DescriptionNotIn

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

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

func DescriptionNotNil

func DescriptionNotNil() predicate.Subcontrol

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

func DisplayID added in v0.6.11

func DisplayID(v string) predicate.Subcontrol

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.Subcontrol

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

func DisplayIDContainsFold added in v0.6.11

func DisplayIDContainsFold(v string) predicate.Subcontrol

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

func DisplayIDEQ added in v0.6.11

func DisplayIDEQ(v string) predicate.Subcontrol

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

func DisplayIDEqualFold added in v0.6.11

func DisplayIDEqualFold(v string) predicate.Subcontrol

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

func DisplayIDGT added in v0.6.11

func DisplayIDGT(v string) predicate.Subcontrol

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

func DisplayIDGTE added in v0.6.11

func DisplayIDGTE(v string) predicate.Subcontrol

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

func DisplayIDHasPrefix added in v0.6.11

func DisplayIDHasPrefix(v string) predicate.Subcontrol

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

func DisplayIDHasSuffix added in v0.6.11

func DisplayIDHasSuffix(v string) predicate.Subcontrol

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

func DisplayIDIn added in v0.6.11

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

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

func DisplayIDLT added in v0.6.11

func DisplayIDLT(v string) predicate.Subcontrol

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

func DisplayIDLTE added in v0.6.11

func DisplayIDLTE(v string) predicate.Subcontrol

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

func DisplayIDNEQ added in v0.6.11

func DisplayIDNEQ(v string) predicate.Subcontrol

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

func DisplayIDNotIn added in v0.6.11

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

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

func ExampleEvidenceIsNil added in v0.6.19

func ExampleEvidenceIsNil() predicate.Subcontrol

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

func ExampleEvidenceNotNil added in v0.6.19

func ExampleEvidenceNotNil() predicate.Subcontrol

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

func HasActionPlans added in v0.7.3

func HasActionPlans() predicate.Subcontrol

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

func HasActionPlansWith added in v0.7.3

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

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

func HasComments added in v0.37.4

func HasComments() predicate.Subcontrol

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

func HasCommentsWith added in v0.37.4

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

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

func HasControl

func HasControl() predicate.Subcontrol

HasControl applies the HasEdge predicate on the "control" edge.

func HasControlImplementations added in v0.8.9

func HasControlImplementations() predicate.Subcontrol

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

func HasControlImplementationsWith added in v0.8.9

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

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

func HasControlObjectives added in v0.7.3

func HasControlObjectives() predicate.Subcontrol

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

func HasControlObjectivesWith added in v0.7.3

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

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.Subcontrol

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

func HasControlOwnerWith added in v0.7.3

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

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

func HasControlWith

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

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

func HasDelegate added in v0.7.3

func HasDelegate() predicate.Subcontrol

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

func HasDelegateWith added in v0.7.3

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

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

func HasEvidence added in v0.6.19

func HasEvidence() predicate.Subcontrol

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

func HasEvidenceWith added in v0.6.19

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

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

func HasInternalPolicies added in v0.7.3

func HasInternalPolicies() predicate.Subcontrol

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

func HasInternalPoliciesWith added in v0.7.3

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

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

func HasMappedFromSubcontrols added in v0.16.0

func HasMappedFromSubcontrols() predicate.Subcontrol

HasMappedFromSubcontrols applies the HasEdge predicate on the "mapped_from_subcontrols" edge.

func HasMappedFromSubcontrolsWith added in v0.16.0

func HasMappedFromSubcontrolsWith(preds ...predicate.MappedControl) predicate.Subcontrol

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

func HasMappedToSubcontrols added in v0.16.0

func HasMappedToSubcontrols() predicate.Subcontrol

HasMappedToSubcontrols applies the HasEdge predicate on the "mapped_to_subcontrols" edge.

func HasMappedToSubcontrolsWith added in v0.16.0

func HasMappedToSubcontrolsWith(preds ...predicate.MappedControl) predicate.Subcontrol

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

func HasNarratives added in v0.7.3

func HasNarratives() predicate.Subcontrol

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

func HasNarrativesWith added in v0.7.3

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

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.Subcontrol

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

func HasOwnerWith added in v0.5.0

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

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

func HasProcedures added in v0.7.3

func HasProcedures() predicate.Subcontrol

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

func HasProceduresWith added in v0.7.3

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

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

func HasResponsibleParty added in v0.37.4

func HasResponsibleParty() predicate.Subcontrol

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

func HasResponsiblePartyWith added in v0.37.4

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

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

func HasRisks added in v0.7.3

func HasRisks() predicate.Subcontrol

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

func HasRisksWith added in v0.7.3

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

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

func HasScheduledJobs added in v0.15.0

func HasScheduledJobs() predicate.Subcontrol

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

func HasScheduledJobsWith added in v0.15.0

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

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

func HasSubcontrolKind added in v0.43.0

func HasSubcontrolKind() predicate.Subcontrol

HasSubcontrolKind applies the HasEdge predicate on the "subcontrol_kind" edge.

func HasSubcontrolKindWith added in v0.43.0

func HasSubcontrolKindWith(preds ...predicate.CustomTypeEnum) predicate.Subcontrol

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

func HasTasks added in v0.3.4

func HasTasks() predicate.Subcontrol

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

func HasTasksWith added in v0.3.4

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

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Subcontrol

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Subcontrol

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Subcontrol

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Subcontrol

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Subcontrol

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Subcontrol

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Subcontrol

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Subcontrol

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func ImplementationGuidanceIsNil added in v0.7.3

func ImplementationGuidanceIsNil() predicate.Subcontrol

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

func ImplementationGuidanceNotNil added in v0.7.3

func ImplementationGuidanceNotNil() predicate.Subcontrol

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

func InternalNotes added in v0.34.0

func InternalNotes(v string) predicate.Subcontrol

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.Subcontrol

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

func InternalNotesContainsFold added in v0.34.0

func InternalNotesContainsFold(v string) predicate.Subcontrol

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

func InternalNotesEQ added in v0.34.0

func InternalNotesEQ(v string) predicate.Subcontrol

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

func InternalNotesEqualFold added in v0.34.0

func InternalNotesEqualFold(v string) predicate.Subcontrol

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

func InternalNotesGT added in v0.34.0

func InternalNotesGT(v string) predicate.Subcontrol

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

func InternalNotesGTE added in v0.34.0

func InternalNotesGTE(v string) predicate.Subcontrol

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

func InternalNotesHasPrefix added in v0.34.0

func InternalNotesHasPrefix(v string) predicate.Subcontrol

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

func InternalNotesHasSuffix added in v0.34.0

func InternalNotesHasSuffix(v string) predicate.Subcontrol

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

func InternalNotesIn added in v0.34.0

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

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

func InternalNotesIsNil added in v0.34.0

func InternalNotesIsNil() predicate.Subcontrol

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

func InternalNotesLT added in v0.34.0

func InternalNotesLT(v string) predicate.Subcontrol

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

func InternalNotesLTE added in v0.34.0

func InternalNotesLTE(v string) predicate.Subcontrol

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

func InternalNotesNEQ added in v0.34.0

func InternalNotesNEQ(v string) predicate.Subcontrol

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

func InternalNotesNotIn added in v0.34.0

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

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

func InternalNotesNotNil added in v0.34.0

func InternalNotesNotNil() predicate.Subcontrol

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

func MappedCategoriesIsNil added in v0.7.3

func MappedCategoriesIsNil() predicate.Subcontrol

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

func MappedCategoriesNotNil added in v0.7.3

func MappedCategoriesNotNil() predicate.Subcontrol

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.Subcontrol) predicate.Subcontrol

Or groups predicates with the OR operator between them.

func OwnerID added in v0.5.0

func OwnerID(v string) predicate.Subcontrol

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.Subcontrol

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

func OwnerIDContainsFold added in v0.5.0

func OwnerIDContainsFold(v string) predicate.Subcontrol

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

func OwnerIDEQ added in v0.5.0

func OwnerIDEQ(v string) predicate.Subcontrol

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

func OwnerIDEqualFold added in v0.5.0

func OwnerIDEqualFold(v string) predicate.Subcontrol

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

func OwnerIDGT added in v0.5.0

func OwnerIDGT(v string) predicate.Subcontrol

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

func OwnerIDGTE added in v0.5.0

func OwnerIDGTE(v string) predicate.Subcontrol

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

func OwnerIDHasPrefix added in v0.5.0

func OwnerIDHasPrefix(v string) predicate.Subcontrol

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

func OwnerIDHasSuffix added in v0.5.0

func OwnerIDHasSuffix(v string) predicate.Subcontrol

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

func OwnerIDIn added in v0.5.0

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

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

func OwnerIDIsNil added in v0.7.1

func OwnerIDIsNil() predicate.Subcontrol

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

func OwnerIDLT added in v0.5.0

func OwnerIDLT(v string) predicate.Subcontrol

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

func OwnerIDLTE added in v0.5.0

func OwnerIDLTE(v string) predicate.Subcontrol

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

func OwnerIDNEQ added in v0.5.0

func OwnerIDNEQ(v string) predicate.Subcontrol

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

func OwnerIDNotIn added in v0.5.0

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

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

func OwnerIDNotNil added in v0.7.1

func OwnerIDNotNil() predicate.Subcontrol

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

func RefCode added in v0.7.3

func RefCode(v string) predicate.Subcontrol

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.Subcontrol

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

func RefCodeContainsFold added in v0.7.3

func RefCodeContainsFold(v string) predicate.Subcontrol

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

func RefCodeEQ added in v0.7.3

func RefCodeEQ(v string) predicate.Subcontrol

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

func RefCodeEqualFold added in v0.7.3

func RefCodeEqualFold(v string) predicate.Subcontrol

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

func RefCodeGT added in v0.7.3

func RefCodeGT(v string) predicate.Subcontrol

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

func RefCodeGTE added in v0.7.3

func RefCodeGTE(v string) predicate.Subcontrol

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

func RefCodeHasPrefix added in v0.7.3

func RefCodeHasPrefix(v string) predicate.Subcontrol

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

func RefCodeHasSuffix added in v0.7.3

func RefCodeHasSuffix(v string) predicate.Subcontrol

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

func RefCodeIn added in v0.7.3

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

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

func RefCodeLT added in v0.7.3

func RefCodeLT(v string) predicate.Subcontrol

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

func RefCodeLTE added in v0.7.3

func RefCodeLTE(v string) predicate.Subcontrol

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

func RefCodeNEQ added in v0.7.3

func RefCodeNEQ(v string) predicate.Subcontrol

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

func RefCodeNotIn added in v0.7.3

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

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

func ReferenceFramework added in v0.16.0

func ReferenceFramework(v string) predicate.Subcontrol

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.Subcontrol

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

func ReferenceFrameworkContainsFold added in v0.16.0

func ReferenceFrameworkContainsFold(v string) predicate.Subcontrol

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

func ReferenceFrameworkEQ added in v0.16.0

func ReferenceFrameworkEQ(v string) predicate.Subcontrol

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

func ReferenceFrameworkEqualFold added in v0.16.0

func ReferenceFrameworkEqualFold(v string) predicate.Subcontrol

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

func ReferenceFrameworkGT added in v0.16.0

func ReferenceFrameworkGT(v string) predicate.Subcontrol

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

func ReferenceFrameworkGTE added in v0.16.0

func ReferenceFrameworkGTE(v string) predicate.Subcontrol

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

func ReferenceFrameworkHasPrefix added in v0.16.0

func ReferenceFrameworkHasPrefix(v string) predicate.Subcontrol

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

func ReferenceFrameworkHasSuffix added in v0.16.0

func ReferenceFrameworkHasSuffix(v string) predicate.Subcontrol

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

func ReferenceFrameworkIn added in v0.16.0

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

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

func ReferenceFrameworkIsNil added in v0.16.0

func ReferenceFrameworkIsNil() predicate.Subcontrol

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

func ReferenceFrameworkLT added in v0.16.0

func ReferenceFrameworkLT(v string) predicate.Subcontrol

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

func ReferenceFrameworkLTE added in v0.16.0

func ReferenceFrameworkLTE(v string) predicate.Subcontrol

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

func ReferenceFrameworkNEQ added in v0.16.0

func ReferenceFrameworkNEQ(v string) predicate.Subcontrol

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

func ReferenceFrameworkNotIn added in v0.16.0

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

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

func ReferenceFrameworkNotNil added in v0.16.0

func ReferenceFrameworkNotNil() predicate.Subcontrol

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

func ReferenceFrameworkRevision added in v0.38.0

func ReferenceFrameworkRevision(v string) predicate.Subcontrol

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.Subcontrol

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

func ReferenceFrameworkRevisionContainsFold added in v0.38.0

func ReferenceFrameworkRevisionContainsFold(v string) predicate.Subcontrol

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

func ReferenceFrameworkRevisionEQ added in v0.38.0

func ReferenceFrameworkRevisionEQ(v string) predicate.Subcontrol

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

func ReferenceFrameworkRevisionEqualFold added in v0.38.0

func ReferenceFrameworkRevisionEqualFold(v string) predicate.Subcontrol

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

func ReferenceFrameworkRevisionGT added in v0.38.0

func ReferenceFrameworkRevisionGT(v string) predicate.Subcontrol

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

func ReferenceFrameworkRevisionGTE added in v0.38.0

func ReferenceFrameworkRevisionGTE(v string) predicate.Subcontrol

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

func ReferenceFrameworkRevisionHasPrefix added in v0.38.0

func ReferenceFrameworkRevisionHasPrefix(v string) predicate.Subcontrol

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

func ReferenceFrameworkRevisionHasSuffix added in v0.38.0

func ReferenceFrameworkRevisionHasSuffix(v string) predicate.Subcontrol

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

func ReferenceFrameworkRevisionIn added in v0.38.0

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

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

func ReferenceFrameworkRevisionIsNil added in v0.38.0

func ReferenceFrameworkRevisionIsNil() predicate.Subcontrol

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

func ReferenceFrameworkRevisionLT added in v0.38.0

func ReferenceFrameworkRevisionLT(v string) predicate.Subcontrol

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

func ReferenceFrameworkRevisionLTE added in v0.38.0

func ReferenceFrameworkRevisionLTE(v string) predicate.Subcontrol

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

func ReferenceFrameworkRevisionNEQ added in v0.38.0

func ReferenceFrameworkRevisionNEQ(v string) predicate.Subcontrol

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

func ReferenceFrameworkRevisionNotIn added in v0.38.0

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

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

func ReferenceFrameworkRevisionNotNil added in v0.38.0

func ReferenceFrameworkRevisionNotNil() predicate.Subcontrol

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

func ReferenceID added in v0.8.7

func ReferenceID(v string) predicate.Subcontrol

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.Subcontrol

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

func ReferenceIDContainsFold added in v0.8.7

func ReferenceIDContainsFold(v string) predicate.Subcontrol

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

func ReferenceIDEQ added in v0.8.7

func ReferenceIDEQ(v string) predicate.Subcontrol

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

func ReferenceIDEqualFold added in v0.8.7

func ReferenceIDEqualFold(v string) predicate.Subcontrol

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

func ReferenceIDGT added in v0.8.7

func ReferenceIDGT(v string) predicate.Subcontrol

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

func ReferenceIDGTE added in v0.8.7

func ReferenceIDGTE(v string) predicate.Subcontrol

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

func ReferenceIDHasPrefix added in v0.8.7

func ReferenceIDHasPrefix(v string) predicate.Subcontrol

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

func ReferenceIDHasSuffix added in v0.8.7

func ReferenceIDHasSuffix(v string) predicate.Subcontrol

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

func ReferenceIDIn added in v0.8.7

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

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

func ReferenceIDIsNil added in v0.8.7

func ReferenceIDIsNil() predicate.Subcontrol

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

func ReferenceIDLT added in v0.8.7

func ReferenceIDLT(v string) predicate.Subcontrol

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

func ReferenceIDLTE added in v0.8.7

func ReferenceIDLTE(v string) predicate.Subcontrol

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

func ReferenceIDNEQ added in v0.8.7

func ReferenceIDNEQ(v string) predicate.Subcontrol

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

func ReferenceIDNotIn added in v0.8.7

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

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

func ReferenceIDNotNil added in v0.8.7

func ReferenceIDNotNil() predicate.Subcontrol

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

func ReferencesIsNil added in v0.7.3

func ReferencesIsNil() predicate.Subcontrol

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

func ReferencesNotNil added in v0.7.3

func ReferencesNotNil() predicate.Subcontrol

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

func ResponsiblePartyID added in v0.37.4

func ResponsiblePartyID(v string) predicate.Subcontrol

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.Subcontrol

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

func ResponsiblePartyIDContainsFold added in v0.37.4

func ResponsiblePartyIDContainsFold(v string) predicate.Subcontrol

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

func ResponsiblePartyIDEQ added in v0.37.4

func ResponsiblePartyIDEQ(v string) predicate.Subcontrol

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

func ResponsiblePartyIDEqualFold added in v0.37.4

func ResponsiblePartyIDEqualFold(v string) predicate.Subcontrol

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

func ResponsiblePartyIDGT added in v0.37.4

func ResponsiblePartyIDGT(v string) predicate.Subcontrol

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

func ResponsiblePartyIDGTE added in v0.37.4

func ResponsiblePartyIDGTE(v string) predicate.Subcontrol

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

func ResponsiblePartyIDHasPrefix added in v0.37.4

func ResponsiblePartyIDHasPrefix(v string) predicate.Subcontrol

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

func ResponsiblePartyIDHasSuffix added in v0.37.4

func ResponsiblePartyIDHasSuffix(v string) predicate.Subcontrol

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

func ResponsiblePartyIDIn added in v0.37.4

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

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

func ResponsiblePartyIDIsNil added in v0.37.4

func ResponsiblePartyIDIsNil() predicate.Subcontrol

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

func ResponsiblePartyIDLT added in v0.37.4

func ResponsiblePartyIDLT(v string) predicate.Subcontrol

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

func ResponsiblePartyIDLTE added in v0.37.4

func ResponsiblePartyIDLTE(v string) predicate.Subcontrol

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

func ResponsiblePartyIDNEQ added in v0.37.4

func ResponsiblePartyIDNEQ(v string) predicate.Subcontrol

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

func ResponsiblePartyIDNotIn added in v0.37.4

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

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

func ResponsiblePartyIDNotNil added in v0.37.4

func ResponsiblePartyIDNotNil() predicate.Subcontrol

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.Subcontrol

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

func SourceIsNil

func SourceIsNil() predicate.Subcontrol

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

func SourceNEQ

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

func SourceNotIn

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

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

func SourceNotNil

func SourceNotNil() predicate.Subcontrol

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 StatusEQ

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

func StatusIn

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

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

func StatusIsNil

func StatusIsNil() predicate.Subcontrol

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

func StatusNEQ

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

func StatusNotIn

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

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

func StatusNotNil

func StatusNotNil() predicate.Subcontrol

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.Subcontrol

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.Subcontrol

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

func SubcategoryContainsFold added in v0.7.3

func SubcategoryContainsFold(v string) predicate.Subcontrol

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

func SubcategoryEQ added in v0.7.3

func SubcategoryEQ(v string) predicate.Subcontrol

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

func SubcategoryEqualFold added in v0.7.3

func SubcategoryEqualFold(v string) predicate.Subcontrol

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

func SubcategoryGT added in v0.7.3

func SubcategoryGT(v string) predicate.Subcontrol

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

func SubcategoryGTE added in v0.7.3

func SubcategoryGTE(v string) predicate.Subcontrol

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

func SubcategoryHasPrefix added in v0.7.3

func SubcategoryHasPrefix(v string) predicate.Subcontrol

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

func SubcategoryHasSuffix added in v0.7.3

func SubcategoryHasSuffix(v string) predicate.Subcontrol

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

func SubcategoryIn added in v0.7.3

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

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

func SubcategoryIsNil added in v0.7.3

func SubcategoryIsNil() predicate.Subcontrol

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

func SubcategoryLT added in v0.7.3

func SubcategoryLT(v string) predicate.Subcontrol

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

func SubcategoryLTE added in v0.7.3

func SubcategoryLTE(v string) predicate.Subcontrol

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

func SubcategoryNEQ added in v0.7.3

func SubcategoryNEQ(v string) predicate.Subcontrol

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

func SubcategoryNotIn added in v0.7.3

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

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

func SubcategoryNotNil added in v0.7.3

func SubcategoryNotNil() predicate.Subcontrol

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

func SubcontrolKindID added in v0.43.0

func SubcontrolKindID(v string) predicate.Subcontrol

SubcontrolKindID applies equality check predicate on the "subcontrol_kind_id" field. It's identical to SubcontrolKindIDEQ.

func SubcontrolKindIDContains added in v0.43.0

func SubcontrolKindIDContains(v string) predicate.Subcontrol

SubcontrolKindIDContains applies the Contains predicate on the "subcontrol_kind_id" field.

func SubcontrolKindIDContainsFold added in v0.43.0

func SubcontrolKindIDContainsFold(v string) predicate.Subcontrol

SubcontrolKindIDContainsFold applies the ContainsFold predicate on the "subcontrol_kind_id" field.

func SubcontrolKindIDEQ added in v0.43.0

func SubcontrolKindIDEQ(v string) predicate.Subcontrol

SubcontrolKindIDEQ applies the EQ predicate on the "subcontrol_kind_id" field.

func SubcontrolKindIDEqualFold added in v0.43.0

func SubcontrolKindIDEqualFold(v string) predicate.Subcontrol

SubcontrolKindIDEqualFold applies the EqualFold predicate on the "subcontrol_kind_id" field.

func SubcontrolKindIDGT added in v0.43.0

func SubcontrolKindIDGT(v string) predicate.Subcontrol

SubcontrolKindIDGT applies the GT predicate on the "subcontrol_kind_id" field.

func SubcontrolKindIDGTE added in v0.43.0

func SubcontrolKindIDGTE(v string) predicate.Subcontrol

SubcontrolKindIDGTE applies the GTE predicate on the "subcontrol_kind_id" field.

func SubcontrolKindIDHasPrefix added in v0.43.0

func SubcontrolKindIDHasPrefix(v string) predicate.Subcontrol

SubcontrolKindIDHasPrefix applies the HasPrefix predicate on the "subcontrol_kind_id" field.

func SubcontrolKindIDHasSuffix added in v0.43.0

func SubcontrolKindIDHasSuffix(v string) predicate.Subcontrol

SubcontrolKindIDHasSuffix applies the HasSuffix predicate on the "subcontrol_kind_id" field.

func SubcontrolKindIDIn added in v0.43.0

func SubcontrolKindIDIn(vs ...string) predicate.Subcontrol

SubcontrolKindIDIn applies the In predicate on the "subcontrol_kind_id" field.

func SubcontrolKindIDIsNil added in v0.43.0

func SubcontrolKindIDIsNil() predicate.Subcontrol

SubcontrolKindIDIsNil applies the IsNil predicate on the "subcontrol_kind_id" field.

func SubcontrolKindIDLT added in v0.43.0

func SubcontrolKindIDLT(v string) predicate.Subcontrol

SubcontrolKindIDLT applies the LT predicate on the "subcontrol_kind_id" field.

func SubcontrolKindIDLTE added in v0.43.0

func SubcontrolKindIDLTE(v string) predicate.Subcontrol

SubcontrolKindIDLTE applies the LTE predicate on the "subcontrol_kind_id" field.

func SubcontrolKindIDNEQ added in v0.43.0

func SubcontrolKindIDNEQ(v string) predicate.Subcontrol

SubcontrolKindIDNEQ applies the NEQ predicate on the "subcontrol_kind_id" field.

func SubcontrolKindIDNotIn added in v0.43.0

func SubcontrolKindIDNotIn(vs ...string) predicate.Subcontrol

SubcontrolKindIDNotIn applies the NotIn predicate on the "subcontrol_kind_id" field.

func SubcontrolKindIDNotNil added in v0.43.0

func SubcontrolKindIDNotNil() predicate.Subcontrol

SubcontrolKindIDNotNil applies the NotNil predicate on the "subcontrol_kind_id" field.

func SubcontrolKindName added in v0.43.0

func SubcontrolKindName(v string) predicate.Subcontrol

SubcontrolKindName applies equality check predicate on the "subcontrol_kind_name" field. It's identical to SubcontrolKindNameEQ.

func SubcontrolKindNameContains added in v0.43.0

func SubcontrolKindNameContains(v string) predicate.Subcontrol

SubcontrolKindNameContains applies the Contains predicate on the "subcontrol_kind_name" field.

func SubcontrolKindNameContainsFold added in v0.43.0

func SubcontrolKindNameContainsFold(v string) predicate.Subcontrol

SubcontrolKindNameContainsFold applies the ContainsFold predicate on the "subcontrol_kind_name" field.

func SubcontrolKindNameEQ added in v0.43.0

func SubcontrolKindNameEQ(v string) predicate.Subcontrol

SubcontrolKindNameEQ applies the EQ predicate on the "subcontrol_kind_name" field.

func SubcontrolKindNameEqualFold added in v0.43.0

func SubcontrolKindNameEqualFold(v string) predicate.Subcontrol

SubcontrolKindNameEqualFold applies the EqualFold predicate on the "subcontrol_kind_name" field.

func SubcontrolKindNameGT added in v0.43.0

func SubcontrolKindNameGT(v string) predicate.Subcontrol

SubcontrolKindNameGT applies the GT predicate on the "subcontrol_kind_name" field.

func SubcontrolKindNameGTE added in v0.43.0

func SubcontrolKindNameGTE(v string) predicate.Subcontrol

SubcontrolKindNameGTE applies the GTE predicate on the "subcontrol_kind_name" field.

func SubcontrolKindNameHasPrefix added in v0.43.0

func SubcontrolKindNameHasPrefix(v string) predicate.Subcontrol

SubcontrolKindNameHasPrefix applies the HasPrefix predicate on the "subcontrol_kind_name" field.

func SubcontrolKindNameHasSuffix added in v0.43.0

func SubcontrolKindNameHasSuffix(v string) predicate.Subcontrol

SubcontrolKindNameHasSuffix applies the HasSuffix predicate on the "subcontrol_kind_name" field.

func SubcontrolKindNameIn added in v0.43.0

func SubcontrolKindNameIn(vs ...string) predicate.Subcontrol

SubcontrolKindNameIn applies the In predicate on the "subcontrol_kind_name" field.

func SubcontrolKindNameIsNil added in v0.43.0

func SubcontrolKindNameIsNil() predicate.Subcontrol

SubcontrolKindNameIsNil applies the IsNil predicate on the "subcontrol_kind_name" field.

func SubcontrolKindNameLT added in v0.43.0

func SubcontrolKindNameLT(v string) predicate.Subcontrol

SubcontrolKindNameLT applies the LT predicate on the "subcontrol_kind_name" field.

func SubcontrolKindNameLTE added in v0.43.0

func SubcontrolKindNameLTE(v string) predicate.Subcontrol

SubcontrolKindNameLTE applies the LTE predicate on the "subcontrol_kind_name" field.

func SubcontrolKindNameNEQ added in v0.43.0

func SubcontrolKindNameNEQ(v string) predicate.Subcontrol

SubcontrolKindNameNEQ applies the NEQ predicate on the "subcontrol_kind_name" field.

func SubcontrolKindNameNotIn added in v0.43.0

func SubcontrolKindNameNotIn(vs ...string) predicate.Subcontrol

SubcontrolKindNameNotIn applies the NotIn predicate on the "subcontrol_kind_name" field.

func SubcontrolKindNameNotNil added in v0.43.0

func SubcontrolKindNameNotNil() predicate.Subcontrol

SubcontrolKindNameNotNil applies the NotNil predicate on the "subcontrol_kind_name" field.

func SystemInternalID added in v0.34.0

func SystemInternalID(v string) predicate.Subcontrol

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.Subcontrol

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

func SystemInternalIDContainsFold added in v0.34.0

func SystemInternalIDContainsFold(v string) predicate.Subcontrol

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

func SystemInternalIDEQ added in v0.34.0

func SystemInternalIDEQ(v string) predicate.Subcontrol

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

func SystemInternalIDEqualFold added in v0.34.0

func SystemInternalIDEqualFold(v string) predicate.Subcontrol

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

func SystemInternalIDGT added in v0.34.0

func SystemInternalIDGT(v string) predicate.Subcontrol

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

func SystemInternalIDGTE added in v0.34.0

func SystemInternalIDGTE(v string) predicate.Subcontrol

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

func SystemInternalIDHasPrefix added in v0.34.0

func SystemInternalIDHasPrefix(v string) predicate.Subcontrol

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

func SystemInternalIDHasSuffix added in v0.34.0

func SystemInternalIDHasSuffix(v string) predicate.Subcontrol

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

func SystemInternalIDIn added in v0.34.0

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

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

func SystemInternalIDIsNil added in v0.34.0

func SystemInternalIDIsNil() predicate.Subcontrol

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

func SystemInternalIDLT added in v0.34.0

func SystemInternalIDLT(v string) predicate.Subcontrol

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

func SystemInternalIDLTE added in v0.34.0

func SystemInternalIDLTE(v string) predicate.Subcontrol

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

func SystemInternalIDNEQ added in v0.34.0

func SystemInternalIDNEQ(v string) predicate.Subcontrol

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

func SystemInternalIDNotIn added in v0.34.0

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

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

func SystemInternalIDNotNil added in v0.34.0

func SystemInternalIDNotNil() predicate.Subcontrol

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

func SystemOwned added in v0.34.0

func SystemOwned(v bool) predicate.Subcontrol

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.Subcontrol

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

func SystemOwnedIsNil added in v0.34.0

func SystemOwnedIsNil() predicate.Subcontrol

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

func SystemOwnedNEQ added in v0.34.0

func SystemOwnedNEQ(v bool) predicate.Subcontrol

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

func SystemOwnedNotNil added in v0.34.0

func SystemOwnedNotNil() predicate.Subcontrol

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

func TagsIsNil

func TagsIsNil() predicate.Subcontrol

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

func TagsNotNil

func TagsNotNil() predicate.Subcontrol

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

func Title added in v0.37.2

func Title(v string) predicate.Subcontrol

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.Subcontrol

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

func TitleContainsFold added in v0.37.2

func TitleContainsFold(v string) predicate.Subcontrol

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

func TitleEQ added in v0.37.2

func TitleEQ(v string) predicate.Subcontrol

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

func TitleEqualFold added in v0.37.2

func TitleEqualFold(v string) predicate.Subcontrol

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

func TitleGT added in v0.37.2

func TitleGT(v string) predicate.Subcontrol

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

func TitleGTE added in v0.37.2

func TitleGTE(v string) predicate.Subcontrol

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

func TitleHasPrefix added in v0.37.2

func TitleHasPrefix(v string) predicate.Subcontrol

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

func TitleHasSuffix added in v0.37.2

func TitleHasSuffix(v string) predicate.Subcontrol

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

func TitleIn added in v0.37.2

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

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

func TitleIsNil added in v0.37.2

func TitleIsNil() predicate.Subcontrol

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

func TitleLT added in v0.37.2

func TitleLT(v string) predicate.Subcontrol

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

func TitleLTE added in v0.37.2

func TitleLTE(v string) predicate.Subcontrol

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

func TitleNEQ added in v0.37.2

func TitleNEQ(v string) predicate.Subcontrol

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

func TitleNotIn added in v0.37.2

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

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

func TitleNotNil added in v0.37.2

func TitleNotNil() predicate.Subcontrol

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Subcontrol

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Subcontrol

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Subcontrol

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Subcontrol

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.Subcontrol

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Subcontrol

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Subcontrol

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Subcontrol

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.Subcontrol

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

func UpdatedBy

func UpdatedBy(v string) predicate.Subcontrol

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.Subcontrol

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.Subcontrol

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.Subcontrol

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.Subcontrol

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.Subcontrol

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.Subcontrol

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.Subcontrol

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.Subcontrol

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.Subcontrol

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.Subcontrol

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.Subcontrol

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.Subcontrol

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.Subcontrol

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Subcontrol queries.

func ByActionPlans added in v0.7.3

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

ByActionPlans orders the results by action_plans terms.

func ByActionPlansCount added in v0.7.3

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

ByActionPlansCount orders the results by action_plans 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 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 ByControlField added in v0.7.3

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

ByControlField orders the results by control field.

func ByControlID added in v0.7.3

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

ByControlID orders the results by the control_id field.

func ByControlImplementations added in v0.8.9

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

ByControlImplementations orders the results by control_implementations terms.

func ByControlImplementationsCount added in v0.8.9

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

ByControlImplementationsCount orders the results by control_implementations count.

func ByControlObjectives added in v0.7.3

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

ByControlObjectives orders the results by control_objectives terms.

func ByControlObjectivesCount added in v0.7.3

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 added in v0.7.3

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 ByDisplayID added in v0.6.11

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

ByDisplayID orders the results by the display_id field.

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 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 ByMappedFromSubcontrols added in v0.16.0

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

ByMappedFromSubcontrols orders the results by mapped_from_subcontrols terms.

func ByMappedFromSubcontrolsCount added in v0.16.0

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

ByMappedFromSubcontrolsCount orders the results by mapped_from_subcontrols count.

func ByMappedToSubcontrols added in v0.16.0

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

ByMappedToSubcontrols orders the results by mapped_to_subcontrols terms.

func ByMappedToSubcontrolsCount added in v0.16.0

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

ByMappedToSubcontrolsCount orders the results by mapped_to_subcontrols count.

func ByNarratives added in v0.7.3

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

ByNarratives orders the results by narratives terms.

func ByNarrativesCount added in v0.7.3

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 added in v0.7.3

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

ByProcedures orders the results by procedures terms.

func ByProceduresCount added in v0.7.3

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

ByProceduresCount orders the results by procedures 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 added in v0.7.3

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

ByRisks orders the results by risks terms.

func ByRisksCount added in v0.7.3

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

ByRisksCount orders the results by risks 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 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 BySubcontrolKindField added in v0.43.0

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

BySubcontrolKindField orders the results by subcontrol_kind field.

func BySubcontrolKindID added in v0.43.0

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

BySubcontrolKindID orders the results by the subcontrol_kind_id field.

func BySubcontrolKindName added in v0.43.0

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

BySubcontrolKindName orders the results by the subcontrol_kind_name field.

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.

Jump to

Keyboard shortcuts

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