Documentation
¶
Index ¶
- Constants
- Variables
- func AliasesIsNil() predicate.Control
- func AliasesNotNil() predicate.Control
- func And(predicates ...predicate.Control) predicate.Control
- func AssessmentMethodsIsNil() predicate.Control
- func AssessmentMethodsNotNil() predicate.Control
- func AssessmentObjectivesIsNil() predicate.Control
- func AssessmentObjectivesNotNil() predicate.Control
- func AuditorReferenceID(v string) predicate.Control
- func AuditorReferenceIDContains(v string) predicate.Control
- func AuditorReferenceIDContainsFold(v string) predicate.Control
- func AuditorReferenceIDEQ(v string) predicate.Control
- func AuditorReferenceIDEqualFold(v string) predicate.Control
- func AuditorReferenceIDGT(v string) predicate.Control
- func AuditorReferenceIDGTE(v string) predicate.Control
- func AuditorReferenceIDHasPrefix(v string) predicate.Control
- func AuditorReferenceIDHasSuffix(v string) predicate.Control
- func AuditorReferenceIDIn(vs ...string) predicate.Control
- func AuditorReferenceIDIsNil() predicate.Control
- func AuditorReferenceIDLT(v string) predicate.Control
- func AuditorReferenceIDLTE(v string) predicate.Control
- func AuditorReferenceIDNEQ(v string) predicate.Control
- func AuditorReferenceIDNotIn(vs ...string) predicate.Control
- func AuditorReferenceIDNotNil() predicate.Control
- func Category(v string) predicate.Control
- func CategoryContains(v string) predicate.Control
- func CategoryContainsFold(v string) predicate.Control
- func CategoryEQ(v string) predicate.Control
- func CategoryEqualFold(v string) predicate.Control
- func CategoryGT(v string) predicate.Control
- func CategoryGTE(v string) predicate.Control
- func CategoryHasPrefix(v string) predicate.Control
- func CategoryHasSuffix(v string) predicate.Control
- func CategoryID(v string) predicate.Control
- func CategoryIDContains(v string) predicate.Control
- func CategoryIDContainsFold(v string) predicate.Control
- func CategoryIDEQ(v string) predicate.Control
- func CategoryIDEqualFold(v string) predicate.Control
- func CategoryIDGT(v string) predicate.Control
- func CategoryIDGTE(v string) predicate.Control
- func CategoryIDHasPrefix(v string) predicate.Control
- func CategoryIDHasSuffix(v string) predicate.Control
- func CategoryIDIn(vs ...string) predicate.Control
- func CategoryIDIsNil() predicate.Control
- func CategoryIDLT(v string) predicate.Control
- func CategoryIDLTE(v string) predicate.Control
- func CategoryIDNEQ(v string) predicate.Control
- func CategoryIDNotIn(vs ...string) predicate.Control
- func CategoryIDNotNil() predicate.Control
- func CategoryIn(vs ...string) predicate.Control
- func CategoryIsNil() predicate.Control
- func CategoryLT(v string) predicate.Control
- func CategoryLTE(v string) predicate.Control
- func CategoryNEQ(v string) predicate.Control
- func CategoryNotIn(vs ...string) predicate.Control
- func CategoryNotNil() predicate.Control
- func ControlKindID(v string) predicate.Control
- func ControlKindIDContains(v string) predicate.Control
- func ControlKindIDContainsFold(v string) predicate.Control
- func ControlKindIDEQ(v string) predicate.Control
- func ControlKindIDEqualFold(v string) predicate.Control
- func ControlKindIDGT(v string) predicate.Control
- func ControlKindIDGTE(v string) predicate.Control
- func ControlKindIDHasPrefix(v string) predicate.Control
- func ControlKindIDHasSuffix(v string) predicate.Control
- func ControlKindIDIn(vs ...string) predicate.Control
- func ControlKindIDIsNil() predicate.Control
- func ControlKindIDLT(v string) predicate.Control
- func ControlKindIDLTE(v string) predicate.Control
- func ControlKindIDNEQ(v string) predicate.Control
- func ControlKindIDNotIn(vs ...string) predicate.Control
- func ControlKindIDNotNil() predicate.Control
- func ControlKindName(v string) predicate.Control
- func ControlKindNameContains(v string) predicate.Control
- func ControlKindNameContainsFold(v string) predicate.Control
- func ControlKindNameEQ(v string) predicate.Control
- func ControlKindNameEqualFold(v string) predicate.Control
- func ControlKindNameGT(v string) predicate.Control
- func ControlKindNameGTE(v string) predicate.Control
- func ControlKindNameHasPrefix(v string) predicate.Control
- func ControlKindNameHasSuffix(v string) predicate.Control
- func ControlKindNameIn(vs ...string) predicate.Control
- func ControlKindNameIsNil() predicate.Control
- func ControlKindNameLT(v string) predicate.Control
- func ControlKindNameLTE(v string) predicate.Control
- func ControlKindNameNEQ(v string) predicate.Control
- func ControlKindNameNotIn(vs ...string) predicate.Control
- func ControlKindNameNotNil() predicate.Control
- func ControlOwnerID(v string) predicate.Control
- func ControlOwnerIDContains(v string) predicate.Control
- func ControlOwnerIDContainsFold(v string) predicate.Control
- func ControlOwnerIDEQ(v string) predicate.Control
- func ControlOwnerIDEqualFold(v string) predicate.Control
- func ControlOwnerIDGT(v string) predicate.Control
- func ControlOwnerIDGTE(v string) predicate.Control
- func ControlOwnerIDHasPrefix(v string) predicate.Control
- func ControlOwnerIDHasSuffix(v string) predicate.Control
- func ControlOwnerIDIn(vs ...string) predicate.Control
- func ControlOwnerIDIsNil() predicate.Control
- func ControlOwnerIDLT(v string) predicate.Control
- func ControlOwnerIDLTE(v string) predicate.Control
- func ControlOwnerIDNEQ(v string) predicate.Control
- func ControlOwnerIDNotIn(vs ...string) predicate.Control
- func ControlOwnerIDNotNil() predicate.Control
- func ControlQuestionsIsNil() predicate.Control
- func ControlQuestionsNotNil() predicate.Control
- func ControlTypeEQ(v enums.ControlType) predicate.Control
- func ControlTypeIn(vs ...enums.ControlType) predicate.Control
- func ControlTypeIsNil() predicate.Control
- func ControlTypeNEQ(v enums.ControlType) predicate.Control
- func ControlTypeNotIn(vs ...enums.ControlType) predicate.Control
- func ControlTypeNotNil() predicate.Control
- func ControlTypeValidator(ct enums.ControlType) error
- func CreatedAt(v time.Time) predicate.Control
- func CreatedAtEQ(v time.Time) predicate.Control
- func CreatedAtGT(v time.Time) predicate.Control
- func CreatedAtGTE(v time.Time) predicate.Control
- func CreatedAtIn(vs ...time.Time) predicate.Control
- func CreatedAtIsNil() predicate.Control
- func CreatedAtLT(v time.Time) predicate.Control
- func CreatedAtLTE(v time.Time) predicate.Control
- func CreatedAtNEQ(v time.Time) predicate.Control
- func CreatedAtNotIn(vs ...time.Time) predicate.Control
- func CreatedAtNotNil() predicate.Control
- func CreatedBy(v string) predicate.Control
- func CreatedByContains(v string) predicate.Control
- func CreatedByContainsFold(v string) predicate.Control
- func CreatedByEQ(v string) predicate.Control
- func CreatedByEqualFold(v string) predicate.Control
- func CreatedByGT(v string) predicate.Control
- func CreatedByGTE(v string) predicate.Control
- func CreatedByHasPrefix(v string) predicate.Control
- func CreatedByHasSuffix(v string) predicate.Control
- func CreatedByIn(vs ...string) predicate.Control
- func CreatedByIsNil() predicate.Control
- func CreatedByLT(v string) predicate.Control
- func CreatedByLTE(v string) predicate.Control
- func CreatedByNEQ(v string) predicate.Control
- func CreatedByNotIn(vs ...string) predicate.Control
- func CreatedByNotNil() predicate.Control
- func DelegateID(v string) predicate.Control
- func DelegateIDContains(v string) predicate.Control
- func DelegateIDContainsFold(v string) predicate.Control
- func DelegateIDEQ(v string) predicate.Control
- func DelegateIDEqualFold(v string) predicate.Control
- func DelegateIDGT(v string) predicate.Control
- func DelegateIDGTE(v string) predicate.Control
- func DelegateIDHasPrefix(v string) predicate.Control
- func DelegateIDHasSuffix(v string) predicate.Control
- func DelegateIDIn(vs ...string) predicate.Control
- func DelegateIDIsNil() predicate.Control
- func DelegateIDLT(v string) predicate.Control
- func DelegateIDLTE(v string) predicate.Control
- func DelegateIDNEQ(v string) predicate.Control
- func DelegateIDNotIn(vs ...string) predicate.Control
- func DelegateIDNotNil() predicate.Control
- func DeletedAt(v time.Time) predicate.Control
- func DeletedAtEQ(v time.Time) predicate.Control
- func DeletedAtGT(v time.Time) predicate.Control
- func DeletedAtGTE(v time.Time) predicate.Control
- func DeletedAtIn(vs ...time.Time) predicate.Control
- func DeletedAtIsNil() predicate.Control
- func DeletedAtLT(v time.Time) predicate.Control
- func DeletedAtLTE(v time.Time) predicate.Control
- func DeletedAtNEQ(v time.Time) predicate.Control
- func DeletedAtNotIn(vs ...time.Time) predicate.Control
- func DeletedAtNotNil() predicate.Control
- func DeletedBy(v string) predicate.Control
- func DeletedByContains(v string) predicate.Control
- func DeletedByContainsFold(v string) predicate.Control
- func DeletedByEQ(v string) predicate.Control
- func DeletedByEqualFold(v string) predicate.Control
- func DeletedByGT(v string) predicate.Control
- func DeletedByGTE(v string) predicate.Control
- func DeletedByHasPrefix(v string) predicate.Control
- func DeletedByHasSuffix(v string) predicate.Control
- func DeletedByIn(vs ...string) predicate.Control
- func DeletedByIsNil() predicate.Control
- func DeletedByLT(v string) predicate.Control
- func DeletedByLTE(v string) predicate.Control
- func DeletedByNEQ(v string) predicate.Control
- func DeletedByNotIn(vs ...string) predicate.Control
- func DeletedByNotNil() predicate.Control
- func Description(v string) predicate.Control
- func DescriptionContains(v string) predicate.Control
- func DescriptionContainsFold(v string) predicate.Control
- func DescriptionEQ(v string) predicate.Control
- func DescriptionEqualFold(v string) predicate.Control
- func DescriptionGT(v string) predicate.Control
- func DescriptionGTE(v string) predicate.Control
- func DescriptionHasPrefix(v string) predicate.Control
- func DescriptionHasSuffix(v string) predicate.Control
- func DescriptionIn(vs ...string) predicate.Control
- func DescriptionIsNil() predicate.Control
- func DescriptionJSONIsNil() predicate.Control
- func DescriptionJSONNotNil() predicate.Control
- func DescriptionLT(v string) predicate.Control
- func DescriptionLTE(v string) predicate.Control
- func DescriptionNEQ(v string) predicate.Control
- func DescriptionNotIn(vs ...string) predicate.Control
- func DescriptionNotNil() predicate.Control
- func DisplayID(v string) predicate.Control
- func DisplayIDContains(v string) predicate.Control
- func DisplayIDContainsFold(v string) predicate.Control
- func DisplayIDEQ(v string) predicate.Control
- func DisplayIDEqualFold(v string) predicate.Control
- func DisplayIDGT(v string) predicate.Control
- func DisplayIDGTE(v string) predicate.Control
- func DisplayIDHasPrefix(v string) predicate.Control
- func DisplayIDHasSuffix(v string) predicate.Control
- func DisplayIDIn(vs ...string) predicate.Control
- func DisplayIDLT(v string) predicate.Control
- func DisplayIDLTE(v string) predicate.Control
- func DisplayIDNEQ(v string) predicate.Control
- func DisplayIDNotIn(vs ...string) predicate.Control
- func EvidenceRequestsIsNil() predicate.Control
- func EvidenceRequestsNotNil() predicate.Control
- func ExampleEvidenceIsNil() predicate.Control
- func ExampleEvidenceNotNil() predicate.Control
- func HasActionPlans() predicate.Control
- func HasActionPlansWith(preds ...predicate.ActionPlan) predicate.Control
- func HasAssets() predicate.Control
- func HasAssetsWith(preds ...predicate.Asset) predicate.Control
- func HasBlockedGroups() predicate.Control
- func HasBlockedGroupsWith(preds ...predicate.Group) predicate.Control
- func HasComments() predicate.Control
- func HasCommentsWith(preds ...predicate.Note) predicate.Control
- func HasControlImplementations() predicate.Control
- func HasControlImplementationsWith(preds ...predicate.ControlImplementation) predicate.Control
- func HasControlKind() predicate.Control
- func HasControlKindWith(preds ...predicate.CustomTypeEnum) predicate.Control
- func HasControlMappings() predicate.Control
- func HasControlMappingsWith(preds ...predicate.FindingControl) predicate.Control
- func HasControlObjectives() predicate.Control
- func HasControlObjectivesWith(preds ...predicate.ControlObjective) predicate.Control
- func HasControlOwner() predicate.Control
- func HasControlOwnerWith(preds ...predicate.Group) predicate.Control
- func HasDelegate() predicate.Control
- func HasDelegateWith(preds ...predicate.Group) predicate.Control
- func HasDiscussions() predicate.Control
- func HasDiscussionsWith(preds ...predicate.Discussion) predicate.Control
- func HasEditors() predicate.Control
- func HasEditorsWith(preds ...predicate.Group) predicate.Control
- func HasEvidence() predicate.Control
- func HasEvidenceWith(preds ...predicate.Evidence) predicate.Control
- func HasFindings() predicate.Control
- func HasFindingsWith(preds ...predicate.Finding) predicate.Control
- func HasInternalPolicies() predicate.Control
- func HasInternalPoliciesWith(preds ...predicate.InternalPolicy) predicate.Control
- func HasMappedFromControls() predicate.Control
- func HasMappedFromControlsWith(preds ...predicate.MappedControl) predicate.Control
- func HasMappedToControls() predicate.Control
- func HasMappedToControlsWith(preds ...predicate.MappedControl) predicate.Control
- func HasNarratives() predicate.Control
- func HasNarrativesWith(preds ...predicate.Narrative) predicate.Control
- func HasOwner() predicate.Control
- func HasOwnerWith(preds ...predicate.Organization) predicate.Control
- func HasProcedures() predicate.Control
- func HasProceduresWith(preds ...predicate.Procedure) predicate.Control
- func HasPrograms() predicate.Control
- func HasProgramsWith(preds ...predicate.Program) predicate.Control
- func HasResponsibleParty() predicate.Control
- func HasResponsiblePartyWith(preds ...predicate.Entity) predicate.Control
- func HasRisks() predicate.Control
- func HasRisksWith(preds ...predicate.Risk) predicate.Control
- func HasScans() predicate.Control
- func HasScansWith(preds ...predicate.Scan) predicate.Control
- func HasScheduledJobs() predicate.Control
- func HasScheduledJobsWith(preds ...predicate.ScheduledJob) predicate.Control
- func HasStandard() predicate.Control
- func HasStandardWith(preds ...predicate.Standard) predicate.Control
- func HasSubcontrols() predicate.Control
- func HasSubcontrolsWith(preds ...predicate.Subcontrol) predicate.Control
- func HasTasks() predicate.Control
- func HasTasksWith(preds ...predicate.Task) predicate.Control
- func HasWorkflowObjectRefs() predicate.Control
- func HasWorkflowObjectRefsWith(preds ...predicate.WorkflowObjectRef) predicate.Control
- func ID(id string) predicate.Control
- func IDContainsFold(id string) predicate.Control
- func IDEQ(id string) predicate.Control
- func IDEqualFold(id string) predicate.Control
- func IDGT(id string) predicate.Control
- func IDGTE(id string) predicate.Control
- func IDIn(ids ...string) predicate.Control
- func IDLT(id string) predicate.Control
- func IDLTE(id string) predicate.Control
- func IDNEQ(id string) predicate.Control
- func IDNotIn(ids ...string) predicate.Control
- func ImplementationGuidanceIsNil() predicate.Control
- func ImplementationGuidanceNotNil() predicate.Control
- func InternalNotes(v string) predicate.Control
- func InternalNotesContains(v string) predicate.Control
- func InternalNotesContainsFold(v string) predicate.Control
- func InternalNotesEQ(v string) predicate.Control
- func InternalNotesEqualFold(v string) predicate.Control
- func InternalNotesGT(v string) predicate.Control
- func InternalNotesGTE(v string) predicate.Control
- func InternalNotesHasPrefix(v string) predicate.Control
- func InternalNotesHasSuffix(v string) predicate.Control
- func InternalNotesIn(vs ...string) predicate.Control
- func InternalNotesIsNil() predicate.Control
- func InternalNotesLT(v string) predicate.Control
- func InternalNotesLTE(v string) predicate.Control
- func InternalNotesNEQ(v string) predicate.Control
- func InternalNotesNotIn(vs ...string) predicate.Control
- func InternalNotesNotNil() predicate.Control
- func MappedCategoriesIsNil() predicate.Control
- func MappedCategoriesNotNil() predicate.Control
- func Not(p predicate.Control) predicate.Control
- func Or(predicates ...predicate.Control) predicate.Control
- func OwnerID(v string) predicate.Control
- func OwnerIDContains(v string) predicate.Control
- func OwnerIDContainsFold(v string) predicate.Control
- func OwnerIDEQ(v string) predicate.Control
- func OwnerIDEqualFold(v string) predicate.Control
- func OwnerIDGT(v string) predicate.Control
- func OwnerIDGTE(v string) predicate.Control
- func OwnerIDHasPrefix(v string) predicate.Control
- func OwnerIDHasSuffix(v string) predicate.Control
- func OwnerIDIn(vs ...string) predicate.Control
- func OwnerIDIsNil() predicate.Control
- func OwnerIDLT(v string) predicate.Control
- func OwnerIDLTE(v string) predicate.Control
- func OwnerIDNEQ(v string) predicate.Control
- func OwnerIDNotIn(vs ...string) predicate.Control
- func OwnerIDNotNil() predicate.Control
- func RefCode(v string) predicate.Control
- func RefCodeContains(v string) predicate.Control
- func RefCodeContainsFold(v string) predicate.Control
- func RefCodeEQ(v string) predicate.Control
- func RefCodeEqualFold(v string) predicate.Control
- func RefCodeGT(v string) predicate.Control
- func RefCodeGTE(v string) predicate.Control
- func RefCodeHasPrefix(v string) predicate.Control
- func RefCodeHasSuffix(v string) predicate.Control
- func RefCodeIn(vs ...string) predicate.Control
- func RefCodeLT(v string) predicate.Control
- func RefCodeLTE(v string) predicate.Control
- func RefCodeNEQ(v string) predicate.Control
- func RefCodeNotIn(vs ...string) predicate.Control
- func ReferenceFramework(v string) predicate.Control
- func ReferenceFrameworkContains(v string) predicate.Control
- func ReferenceFrameworkContainsFold(v string) predicate.Control
- func ReferenceFrameworkEQ(v string) predicate.Control
- func ReferenceFrameworkEqualFold(v string) predicate.Control
- func ReferenceFrameworkGT(v string) predicate.Control
- func ReferenceFrameworkGTE(v string) predicate.Control
- func ReferenceFrameworkHasPrefix(v string) predicate.Control
- func ReferenceFrameworkHasSuffix(v string) predicate.Control
- func ReferenceFrameworkIn(vs ...string) predicate.Control
- func ReferenceFrameworkIsNil() predicate.Control
- func ReferenceFrameworkLT(v string) predicate.Control
- func ReferenceFrameworkLTE(v string) predicate.Control
- func ReferenceFrameworkNEQ(v string) predicate.Control
- func ReferenceFrameworkNotIn(vs ...string) predicate.Control
- func ReferenceFrameworkNotNil() predicate.Control
- func ReferenceFrameworkRevision(v string) predicate.Control
- func ReferenceFrameworkRevisionContains(v string) predicate.Control
- func ReferenceFrameworkRevisionContainsFold(v string) predicate.Control
- func ReferenceFrameworkRevisionEQ(v string) predicate.Control
- func ReferenceFrameworkRevisionEqualFold(v string) predicate.Control
- func ReferenceFrameworkRevisionGT(v string) predicate.Control
- func ReferenceFrameworkRevisionGTE(v string) predicate.Control
- func ReferenceFrameworkRevisionHasPrefix(v string) predicate.Control
- func ReferenceFrameworkRevisionHasSuffix(v string) predicate.Control
- func ReferenceFrameworkRevisionIn(vs ...string) predicate.Control
- func ReferenceFrameworkRevisionIsNil() predicate.Control
- func ReferenceFrameworkRevisionLT(v string) predicate.Control
- func ReferenceFrameworkRevisionLTE(v string) predicate.Control
- func ReferenceFrameworkRevisionNEQ(v string) predicate.Control
- func ReferenceFrameworkRevisionNotIn(vs ...string) predicate.Control
- func ReferenceFrameworkRevisionNotNil() predicate.Control
- func ReferenceID(v string) predicate.Control
- func ReferenceIDContains(v string) predicate.Control
- func ReferenceIDContainsFold(v string) predicate.Control
- func ReferenceIDEQ(v string) predicate.Control
- func ReferenceIDEqualFold(v string) predicate.Control
- func ReferenceIDGT(v string) predicate.Control
- func ReferenceIDGTE(v string) predicate.Control
- func ReferenceIDHasPrefix(v string) predicate.Control
- func ReferenceIDHasSuffix(v string) predicate.Control
- func ReferenceIDIn(vs ...string) predicate.Control
- func ReferenceIDIsNil() predicate.Control
- func ReferenceIDLT(v string) predicate.Control
- func ReferenceIDLTE(v string) predicate.Control
- func ReferenceIDNEQ(v string) predicate.Control
- func ReferenceIDNotIn(vs ...string) predicate.Control
- func ReferenceIDNotNil() predicate.Control
- func ReferencesIsNil() predicate.Control
- func ReferencesNotNil() predicate.Control
- func ResponsiblePartyID(v string) predicate.Control
- func ResponsiblePartyIDContains(v string) predicate.Control
- func ResponsiblePartyIDContainsFold(v string) predicate.Control
- func ResponsiblePartyIDEQ(v string) predicate.Control
- func ResponsiblePartyIDEqualFold(v string) predicate.Control
- func ResponsiblePartyIDGT(v string) predicate.Control
- func ResponsiblePartyIDGTE(v string) predicate.Control
- func ResponsiblePartyIDHasPrefix(v string) predicate.Control
- func ResponsiblePartyIDHasSuffix(v string) predicate.Control
- func ResponsiblePartyIDIn(vs ...string) predicate.Control
- func ResponsiblePartyIDIsNil() predicate.Control
- func ResponsiblePartyIDLT(v string) predicate.Control
- func ResponsiblePartyIDLTE(v string) predicate.Control
- func ResponsiblePartyIDNEQ(v string) predicate.Control
- func ResponsiblePartyIDNotIn(vs ...string) predicate.Control
- func ResponsiblePartyIDNotNil() predicate.Control
- func SourceEQ(v enums.ControlSource) predicate.Control
- func SourceIn(vs ...enums.ControlSource) predicate.Control
- func SourceIsNil() predicate.Control
- func SourceNEQ(v enums.ControlSource) predicate.Control
- func SourceNotIn(vs ...enums.ControlSource) predicate.Control
- func SourceNotNil() predicate.Control
- func SourceValidator(s enums.ControlSource) error
- func StandardID(v string) predicate.Control
- func StandardIDContains(v string) predicate.Control
- func StandardIDContainsFold(v string) predicate.Control
- func StandardIDEQ(v string) predicate.Control
- func StandardIDEqualFold(v string) predicate.Control
- func StandardIDGT(v string) predicate.Control
- func StandardIDGTE(v string) predicate.Control
- func StandardIDHasPrefix(v string) predicate.Control
- func StandardIDHasSuffix(v string) predicate.Control
- func StandardIDIn(vs ...string) predicate.Control
- func StandardIDIsNil() predicate.Control
- func StandardIDLT(v string) predicate.Control
- func StandardIDLTE(v string) predicate.Control
- func StandardIDNEQ(v string) predicate.Control
- func StandardIDNotIn(vs ...string) predicate.Control
- func StandardIDNotNil() predicate.Control
- func StatusEQ(v enums.ControlStatus) predicate.Control
- func StatusIn(vs ...enums.ControlStatus) predicate.Control
- func StatusIsNil() predicate.Control
- func StatusNEQ(v enums.ControlStatus) predicate.Control
- func StatusNotIn(vs ...enums.ControlStatus) predicate.Control
- func StatusNotNil() predicate.Control
- func StatusValidator(s enums.ControlStatus) error
- func Subcategory(v string) predicate.Control
- func SubcategoryContains(v string) predicate.Control
- func SubcategoryContainsFold(v string) predicate.Control
- func SubcategoryEQ(v string) predicate.Control
- func SubcategoryEqualFold(v string) predicate.Control
- func SubcategoryGT(v string) predicate.Control
- func SubcategoryGTE(v string) predicate.Control
- func SubcategoryHasPrefix(v string) predicate.Control
- func SubcategoryHasSuffix(v string) predicate.Control
- func SubcategoryIn(vs ...string) predicate.Control
- func SubcategoryIsNil() predicate.Control
- func SubcategoryLT(v string) predicate.Control
- func SubcategoryLTE(v string) predicate.Control
- func SubcategoryNEQ(v string) predicate.Control
- func SubcategoryNotIn(vs ...string) predicate.Control
- func SubcategoryNotNil() predicate.Control
- func SystemInternalID(v string) predicate.Control
- func SystemInternalIDContains(v string) predicate.Control
- func SystemInternalIDContainsFold(v string) predicate.Control
- func SystemInternalIDEQ(v string) predicate.Control
- func SystemInternalIDEqualFold(v string) predicate.Control
- func SystemInternalIDGT(v string) predicate.Control
- func SystemInternalIDGTE(v string) predicate.Control
- func SystemInternalIDHasPrefix(v string) predicate.Control
- func SystemInternalIDHasSuffix(v string) predicate.Control
- func SystemInternalIDIn(vs ...string) predicate.Control
- func SystemInternalIDIsNil() predicate.Control
- func SystemInternalIDLT(v string) predicate.Control
- func SystemInternalIDLTE(v string) predicate.Control
- func SystemInternalIDNEQ(v string) predicate.Control
- func SystemInternalIDNotIn(vs ...string) predicate.Control
- func SystemInternalIDNotNil() predicate.Control
- func SystemOwned(v bool) predicate.Control
- func SystemOwnedEQ(v bool) predicate.Control
- func SystemOwnedIsNil() predicate.Control
- func SystemOwnedNEQ(v bool) predicate.Control
- func SystemOwnedNotNil() predicate.Control
- func TagsIsNil() predicate.Control
- func TagsNotNil() predicate.Control
- func TestingProceduresIsNil() predicate.Control
- func TestingProceduresNotNil() predicate.Control
- func Title(v string) predicate.Control
- func TitleContains(v string) predicate.Control
- func TitleContainsFold(v string) predicate.Control
- func TitleEQ(v string) predicate.Control
- func TitleEqualFold(v string) predicate.Control
- func TitleGT(v string) predicate.Control
- func TitleGTE(v string) predicate.Control
- func TitleHasPrefix(v string) predicate.Control
- func TitleHasSuffix(v string) predicate.Control
- func TitleIn(vs ...string) predicate.Control
- func TitleIsNil() predicate.Control
- func TitleLT(v string) predicate.Control
- func TitleLTE(v string) predicate.Control
- func TitleNEQ(v string) predicate.Control
- func TitleNotIn(vs ...string) predicate.Control
- func TitleNotNil() predicate.Control
- func UpdatedAt(v time.Time) predicate.Control
- func UpdatedAtEQ(v time.Time) predicate.Control
- func UpdatedAtGT(v time.Time) predicate.Control
- func UpdatedAtGTE(v time.Time) predicate.Control
- func UpdatedAtIn(vs ...time.Time) predicate.Control
- func UpdatedAtIsNil() predicate.Control
- func UpdatedAtLT(v time.Time) predicate.Control
- func UpdatedAtLTE(v time.Time) predicate.Control
- func UpdatedAtNEQ(v time.Time) predicate.Control
- func UpdatedAtNotIn(vs ...time.Time) predicate.Control
- func UpdatedAtNotNil() predicate.Control
- func UpdatedBy(v string) predicate.Control
- func UpdatedByContains(v string) predicate.Control
- func UpdatedByContainsFold(v string) predicate.Control
- func UpdatedByEQ(v string) predicate.Control
- func UpdatedByEqualFold(v string) predicate.Control
- func UpdatedByGT(v string) predicate.Control
- func UpdatedByGTE(v string) predicate.Control
- func UpdatedByHasPrefix(v string) predicate.Control
- func UpdatedByHasSuffix(v string) predicate.Control
- func UpdatedByIn(vs ...string) predicate.Control
- func UpdatedByIsNil() predicate.Control
- func UpdatedByLT(v string) predicate.Control
- func UpdatedByLTE(v string) predicate.Control
- func UpdatedByNEQ(v string) predicate.Control
- func UpdatedByNotIn(vs ...string) predicate.Control
- func UpdatedByNotNil() predicate.Control
- func ValidColumn(column string) bool
- func WorkflowEligibleMarker(v bool) predicate.Control
- func WorkflowEligibleMarkerEQ(v bool) predicate.Control
- func WorkflowEligibleMarkerIsNil() predicate.Control
- func WorkflowEligibleMarkerNEQ(v bool) predicate.Control
- func WorkflowEligibleMarkerNotNil() predicate.Control
- type OrderOption
- func ByActionPlans(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByActionPlansCount(opts ...sql.OrderTermOption) OrderOption
- func ByAssets(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAssetsCount(opts ...sql.OrderTermOption) OrderOption
- func ByAuditorReferenceID(opts ...sql.OrderTermOption) OrderOption
- func ByBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByBlockedGroupsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCategory(opts ...sql.OrderTermOption) OrderOption
- func ByCategoryID(opts ...sql.OrderTermOption) OrderOption
- func ByComments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCommentsCount(opts ...sql.OrderTermOption) OrderOption
- func ByControlImplementations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByControlImplementationsCount(opts ...sql.OrderTermOption) OrderOption
- func ByControlKindField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByControlKindID(opts ...sql.OrderTermOption) OrderOption
- func ByControlKindName(opts ...sql.OrderTermOption) OrderOption
- func ByControlMappings(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByControlMappingsCount(opts ...sql.OrderTermOption) OrderOption
- func ByControlObjectives(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByControlObjectivesCount(opts ...sql.OrderTermOption) OrderOption
- func ByControlOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByControlOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByControlType(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDelegateField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByDelegateID(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByDiscussions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByDiscussionsCount(opts ...sql.OrderTermOption) OrderOption
- func ByDisplayID(opts ...sql.OrderTermOption) OrderOption
- func ByEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEditorsCount(opts ...sql.OrderTermOption) OrderOption
- func ByEvidence(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEvidenceCount(opts ...sql.OrderTermOption) OrderOption
- func ByFindings(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFindingsCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByInternalNotes(opts ...sql.OrderTermOption) OrderOption
- func ByInternalPolicies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByInternalPoliciesCount(opts ...sql.OrderTermOption) OrderOption
- func ByMappedFromControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByMappedFromControlsCount(opts ...sql.OrderTermOption) OrderOption
- func ByMappedToControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByMappedToControlsCount(opts ...sql.OrderTermOption) OrderOption
- func ByNarratives(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByNarrativesCount(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByProcedures(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProceduresCount(opts ...sql.OrderTermOption) OrderOption
- func ByPrograms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProgramsCount(opts ...sql.OrderTermOption) OrderOption
- func ByRefCode(opts ...sql.OrderTermOption) OrderOption
- func ByReferenceFramework(opts ...sql.OrderTermOption) OrderOption
- func ByReferenceFrameworkRevision(opts ...sql.OrderTermOption) OrderOption
- func ByReferenceID(opts ...sql.OrderTermOption) OrderOption
- func ByResponsiblePartyField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByResponsiblePartyID(opts ...sql.OrderTermOption) OrderOption
- func ByRisks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRisksCount(opts ...sql.OrderTermOption) OrderOption
- func ByScans(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByScansCount(opts ...sql.OrderTermOption) OrderOption
- func ByScheduledJobs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByScheduledJobsCount(opts ...sql.OrderTermOption) OrderOption
- func BySource(opts ...sql.OrderTermOption) OrderOption
- func ByStandardField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByStandardID(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func BySubcategory(opts ...sql.OrderTermOption) OrderOption
- func BySubcontrols(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySubcontrolsCount(opts ...sql.OrderTermOption) OrderOption
- func BySystemInternalID(opts ...sql.OrderTermOption) OrderOption
- func BySystemOwned(opts ...sql.OrderTermOption) OrderOption
- func ByTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTasksCount(opts ...sql.OrderTermOption) OrderOption
- func ByTitle(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByWorkflowEligibleMarker(opts ...sql.OrderTermOption) OrderOption
- func ByWorkflowObjectRefs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByWorkflowObjectRefsCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the control type in the database. Label = "control" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldDeletedBy holds the string denoting the deleted_by field in the database. FieldDeletedBy = "deleted_by" // FieldDisplayID holds the string denoting the display_id field in the database. FieldDisplayID = "display_id" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldDescriptionJSON holds the string denoting the description_json field in the database. FieldDescriptionJSON = "description_json" // FieldAliases holds the string denoting the aliases field in the database. FieldAliases = "aliases" // FieldReferenceID holds the string denoting the reference_id field in the database. FieldReferenceID = "reference_id" // FieldAuditorReferenceID holds the string denoting the auditor_reference_id field in the database. FieldAuditorReferenceID = "auditor_reference_id" // FieldResponsiblePartyID holds the string denoting the responsible_party_id field in the database. FieldResponsiblePartyID = "responsible_party_id" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldSource holds the string denoting the source field in the database. FieldSource = "source" // FieldReferenceFramework holds the string denoting the reference_framework field in the database. FieldReferenceFramework = "reference_framework" // FieldReferenceFrameworkRevision holds the string denoting the reference_framework_revision field in the database. FieldReferenceFrameworkRevision = "reference_framework_revision" // FieldControlType holds the string denoting the control_type field in the database. FieldControlType = "control_type" // FieldCategory holds the string denoting the category field in the database. FieldCategory = "category" // FieldCategoryID holds the string denoting the category_id field in the database. FieldCategoryID = "category_id" // FieldSubcategory holds the string denoting the subcategory field in the database. FieldSubcategory = "subcategory" // FieldMappedCategories holds the string denoting the mapped_categories field in the database. FieldMappedCategories = "mapped_categories" // FieldAssessmentObjectives holds the string denoting the assessment_objectives field in the database. FieldAssessmentObjectives = "assessment_objectives" // FieldAssessmentMethods holds the string denoting the assessment_methods field in the database. FieldAssessmentMethods = "assessment_methods" // FieldControlQuestions holds the string denoting the control_questions field in the database. FieldControlQuestions = "control_questions" // FieldImplementationGuidance holds the string denoting the implementation_guidance field in the database. FieldImplementationGuidance = "implementation_guidance" // FieldExampleEvidence holds the string denoting the example_evidence field in the database. FieldExampleEvidence = "example_evidence" // FieldReferences holds the string denoting the references field in the database. FieldReferences = "references" // FieldTestingProcedures holds the string denoting the testing_procedures field in the database. FieldTestingProcedures = "testing_procedures" // FieldEvidenceRequests holds the string denoting the evidence_requests field in the database. FieldEvidenceRequests = "evidence_requests" // FieldControlOwnerID holds the string denoting the control_owner_id field in the database. FieldControlOwnerID = "control_owner_id" // FieldDelegateID holds the string denoting the delegate_id field in the database. FieldDelegateID = "delegate_id" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldSystemOwned holds the string denoting the system_owned field in the database. FieldSystemOwned = "system_owned" // FieldInternalNotes holds the string denoting the internal_notes field in the database. FieldInternalNotes = "internal_notes" // FieldSystemInternalID holds the string denoting the system_internal_id field in the database. FieldSystemInternalID = "system_internal_id" // FieldControlKindName holds the string denoting the control_kind_name field in the database. FieldControlKindName = "control_kind_name" // FieldControlKindID holds the string denoting the control_kind_id field in the database. FieldControlKindID = "control_kind_id" // FieldWorkflowEligibleMarker holds the string denoting the workflow_eligible_marker field in the database. FieldWorkflowEligibleMarker = "workflow_eligible_marker" // FieldRefCode holds the string denoting the ref_code field in the database. FieldRefCode = "ref_code" // FieldStandardID holds the string denoting the standard_id field in the database. FieldStandardID = "standard_id" // EdgeEvidence holds the string denoting the evidence edge name in mutations. EdgeEvidence = "evidence" // EdgeControlObjectives holds the string denoting the control_objectives edge name in mutations. EdgeControlObjectives = "control_objectives" // EdgeTasks holds the string denoting the tasks edge name in mutations. EdgeTasks = "tasks" // EdgeNarratives holds the string denoting the narratives edge name in mutations. EdgeNarratives = "narratives" // EdgeRisks holds the string denoting the risks edge name in mutations. EdgeRisks = "risks" // EdgeActionPlans holds the string denoting the action_plans edge name in mutations. EdgeActionPlans = "action_plans" // EdgeProcedures holds the string denoting the procedures edge name in mutations. EdgeProcedures = "procedures" // EdgeInternalPolicies holds the string denoting the internal_policies edge name in mutations. EdgeInternalPolicies = "internal_policies" // EdgeComments holds the string denoting the comments edge name in mutations. EdgeComments = "comments" // EdgeDiscussions holds the string denoting the discussions edge name in mutations. EdgeDiscussions = "discussions" // EdgeControlOwner holds the string denoting the control_owner edge name in mutations. EdgeControlOwner = "control_owner" // EdgeDelegate holds the string denoting the delegate edge name in mutations. EdgeDelegate = "delegate" // EdgeResponsibleParty holds the string denoting the responsible_party edge name in mutations. EdgeResponsibleParty = "responsible_party" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // EdgeBlockedGroups holds the string denoting the blocked_groups edge name in mutations. EdgeBlockedGroups = "blocked_groups" // EdgeEditors holds the string denoting the editors edge name in mutations. EdgeEditors = "editors" // EdgeControlKind holds the string denoting the control_kind edge name in mutations. EdgeControlKind = "control_kind" // EdgeStandard holds the string denoting the standard edge name in mutations. EdgeStandard = "standard" // EdgePrograms holds the string denoting the programs edge name in mutations. EdgePrograms = "programs" // EdgeAssets holds the string denoting the assets edge name in mutations. EdgeAssets = "assets" // EdgeScans holds the string denoting the scans edge name in mutations. EdgeScans = "scans" // EdgeFindings holds the string denoting the findings edge name in mutations. EdgeFindings = "findings" // EdgeControlImplementations holds the string denoting the control_implementations edge name in mutations. EdgeControlImplementations = "control_implementations" // EdgeSubcontrols holds the string denoting the subcontrols edge name in mutations. EdgeSubcontrols = "subcontrols" // EdgeScheduledJobs holds the string denoting the scheduled_jobs edge name in mutations. EdgeScheduledJobs = "scheduled_jobs" // EdgeMappedToControls holds the string denoting the mapped_to_controls edge name in mutations. EdgeMappedToControls = "mapped_to_controls" // EdgeMappedFromControls holds the string denoting the mapped_from_controls edge name in mutations. EdgeMappedFromControls = "mapped_from_controls" // EdgeWorkflowObjectRefs holds the string denoting the workflow_object_refs edge name in mutations. EdgeWorkflowObjectRefs = "workflow_object_refs" // EdgeControlMappings holds the string denoting the control_mappings edge name in mutations. EdgeControlMappings = "control_mappings" // Table holds the table name of the control in the database. Table = "controls" // EvidenceTable is the table that holds the evidence relation/edge. The primary key declared below. EvidenceTable = "evidence_controls" // EvidenceInverseTable is the table name for the Evidence entity. // It exists in this package in order to avoid circular dependency with the "evidence" package. EvidenceInverseTable = "evidences" // ControlObjectivesTable is the table that holds the control_objectives relation/edge. The primary key declared below. ControlObjectivesTable = "control_control_objectives" // ControlObjectivesInverseTable is the table name for the ControlObjective entity. // It exists in this package in order to avoid circular dependency with the "controlobjective" package. ControlObjectivesInverseTable = "control_objectives" // TasksTable is the table that holds the tasks relation/edge. The primary key declared below. TasksTable = "control_tasks" // TasksInverseTable is the table name for the Task entity. // It exists in this package in order to avoid circular dependency with the "task" package. TasksInverseTable = "tasks" // NarrativesTable is the table that holds the narratives relation/edge. The primary key declared below. NarrativesTable = "control_narratives" // NarrativesInverseTable is the table name for the Narrative entity. // It exists in this package in order to avoid circular dependency with the "narrative" package. NarrativesInverseTable = "narratives" // RisksTable is the table that holds the risks relation/edge. The primary key declared below. RisksTable = "control_risks" // RisksInverseTable is the table name for the Risk entity. // It exists in this package in order to avoid circular dependency with the "risk" package. RisksInverseTable = "risks" // ActionPlansTable is the table that holds the action_plans relation/edge. The primary key declared below. ActionPlansTable = "control_action_plans" // ActionPlansInverseTable is the table name for the ActionPlan entity. // It exists in this package in order to avoid circular dependency with the "actionplan" package. ActionPlansInverseTable = "action_plans" // ProceduresTable is the table that holds the procedures relation/edge. The primary key declared below. ProceduresTable = "control_procedures" // ProceduresInverseTable is the table name for the Procedure entity. // It exists in this package in order to avoid circular dependency with the "procedure" package. ProceduresInverseTable = "procedures" // InternalPoliciesTable is the table that holds the internal_policies relation/edge. The primary key declared below. InternalPoliciesTable = "internal_policy_controls" // InternalPoliciesInverseTable is the table name for the InternalPolicy entity. // It exists in this package in order to avoid circular dependency with the "internalpolicy" package. InternalPoliciesInverseTable = "internal_policies" // CommentsTable is the table that holds the comments relation/edge. CommentsTable = "notes" // CommentsInverseTable is the table name for the Note entity. // It exists in this package in order to avoid circular dependency with the "note" package. CommentsInverseTable = "notes" // CommentsColumn is the table column denoting the comments relation/edge. CommentsColumn = "control_comments" // DiscussionsTable is the table that holds the discussions relation/edge. DiscussionsTable = "discussions" // DiscussionsInverseTable is the table name for the Discussion entity. // It exists in this package in order to avoid circular dependency with the "discussion" package. DiscussionsInverseTable = "discussions" // DiscussionsColumn is the table column denoting the discussions relation/edge. DiscussionsColumn = "control_discussions" // ControlOwnerTable is the table that holds the control_owner relation/edge. ControlOwnerTable = "controls" // ControlOwnerInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. ControlOwnerInverseTable = "groups" // ControlOwnerColumn is the table column denoting the control_owner relation/edge. ControlOwnerColumn = "control_owner_id" // DelegateTable is the table that holds the delegate relation/edge. DelegateTable = "controls" // DelegateInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. DelegateInverseTable = "groups" // DelegateColumn is the table column denoting the delegate relation/edge. DelegateColumn = "delegate_id" // ResponsiblePartyTable is the table that holds the responsible_party relation/edge. ResponsiblePartyTable = "controls" // ResponsiblePartyInverseTable is the table name for the Entity entity. // It exists in this package in order to avoid circular dependency with the "entity" package. ResponsiblePartyInverseTable = "entities" // ResponsiblePartyColumn is the table column denoting the responsible_party relation/edge. ResponsiblePartyColumn = "responsible_party_id" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "controls" // OwnerInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OwnerInverseTable = "organizations" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "owner_id" // BlockedGroupsTable is the table that holds the blocked_groups relation/edge. The primary key declared below. BlockedGroupsTable = "control_blocked_groups" // BlockedGroupsInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. BlockedGroupsInverseTable = "groups" // EditorsTable is the table that holds the editors relation/edge. The primary key declared below. EditorsTable = "control_editors" // EditorsInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. EditorsInverseTable = "groups" // ControlKindTable is the table that holds the control_kind relation/edge. ControlKindTable = "controls" // ControlKindInverseTable is the table name for the CustomTypeEnum entity. // It exists in this package in order to avoid circular dependency with the "customtypeenum" package. ControlKindInverseTable = "custom_type_enums" // ControlKindColumn is the table column denoting the control_kind relation/edge. ControlKindColumn = "control_kind_id" // StandardTable is the table that holds the standard relation/edge. StandardTable = "controls" // StandardInverseTable is the table name for the Standard entity. // It exists in this package in order to avoid circular dependency with the "standard" package. StandardInverseTable = "standards" // StandardColumn is the table column denoting the standard relation/edge. StandardColumn = "standard_id" // ProgramsTable is the table that holds the programs relation/edge. The primary key declared below. ProgramsTable = "program_controls" // ProgramsInverseTable is the table name for the Program entity. // It exists in this package in order to avoid circular dependency with the "program" package. ProgramsInverseTable = "programs" // AssetsTable is the table that holds the assets relation/edge. The primary key declared below. AssetsTable = "control_assets" // AssetsInverseTable is the table name for the Asset entity. // It exists in this package in order to avoid circular dependency with the "asset" package. AssetsInverseTable = "assets" // ScansTable is the table that holds the scans relation/edge. ScansTable = "scans" // ScansInverseTable is the table name for the Scan entity. // It exists in this package in order to avoid circular dependency with the "scan" package. ScansInverseTable = "scans" // ScansColumn is the table column denoting the scans relation/edge. ScansColumn = "control_scans" // FindingsTable is the table that holds the findings relation/edge. The primary key declared below. FindingsTable = "finding_controls" // FindingsInverseTable is the table name for the Finding entity. // It exists in this package in order to avoid circular dependency with the "finding" package. FindingsInverseTable = "findings" // ControlImplementationsTable is the table that holds the control_implementations relation/edge. The primary key declared below. ControlImplementationsTable = "control_control_implementations" // ControlImplementationsInverseTable is the table name for the ControlImplementation entity. // It exists in this package in order to avoid circular dependency with the "controlimplementation" package. ControlImplementationsInverseTable = "control_implementations" // SubcontrolsTable is the table that holds the subcontrols relation/edge. SubcontrolsTable = "subcontrols" // SubcontrolsInverseTable is the table name for the Subcontrol entity. // It exists in this package in order to avoid circular dependency with the "subcontrol" package. SubcontrolsInverseTable = "subcontrols" // SubcontrolsColumn is the table column denoting the subcontrols relation/edge. SubcontrolsColumn = "control_id" // ScheduledJobsTable is the table that holds the scheduled_jobs relation/edge. The primary key declared below. ScheduledJobsTable = "scheduled_job_controls" // ScheduledJobsInverseTable is the table name for the ScheduledJob entity. // It exists in this package in order to avoid circular dependency with the "scheduledjob" package. ScheduledJobsInverseTable = "scheduled_jobs" // MappedToControlsTable is the table that holds the mapped_to_controls relation/edge. The primary key declared below. MappedToControlsTable = "mapped_control_to_controls" // MappedToControlsInverseTable is the table name for the MappedControl entity. // It exists in this package in order to avoid circular dependency with the "mappedcontrol" package. MappedToControlsInverseTable = "mapped_controls" // MappedFromControlsTable is the table that holds the mapped_from_controls relation/edge. The primary key declared below. MappedFromControlsTable = "mapped_control_from_controls" // MappedFromControlsInverseTable is the table name for the MappedControl entity. // It exists in this package in order to avoid circular dependency with the "mappedcontrol" package. MappedFromControlsInverseTable = "mapped_controls" // WorkflowObjectRefsTable is the table that holds the workflow_object_refs relation/edge. WorkflowObjectRefsTable = "workflow_object_refs" // WorkflowObjectRefsInverseTable is the table name for the WorkflowObjectRef entity. // It exists in this package in order to avoid circular dependency with the "workflowobjectref" package. WorkflowObjectRefsInverseTable = "workflow_object_refs" // WorkflowObjectRefsColumn is the table column denoting the workflow_object_refs relation/edge. WorkflowObjectRefsColumn = "control_id" // ControlMappingsTable is the table that holds the control_mappings relation/edge. ControlMappingsTable = "finding_controls" // ControlMappingsInverseTable is the table name for the FindingControl entity. // It exists in this package in order to avoid circular dependency with the "findingcontrol" package. ControlMappingsInverseTable = "finding_controls" // ControlMappingsColumn is the table column denoting the control_mappings relation/edge. ControlMappingsColumn = "control_id" )
const DefaultControlType enums.ControlType = "PREVENTATIVE"
const DefaultSource enums.ControlSource = "USER_DEFINED"
const DefaultStatus enums.ControlStatus = "NOT_IMPLEMENTED"
Variables ¶
var ( // EvidencePrimaryKey and EvidenceColumn2 are the table columns denoting the // primary key for the evidence relation (M2M). EvidencePrimaryKey = []string{"evidence_id", "control_id"} // ControlObjectivesPrimaryKey and ControlObjectivesColumn2 are the table columns denoting the // primary key for the control_objectives relation (M2M). ControlObjectivesPrimaryKey = []string{"control_id", "control_objective_id"} // TasksPrimaryKey and TasksColumn2 are the table columns denoting the // primary key for the tasks relation (M2M). TasksPrimaryKey = []string{"control_id", "task_id"} // NarrativesPrimaryKey and NarrativesColumn2 are the table columns denoting the // primary key for the narratives relation (M2M). NarrativesPrimaryKey = []string{"control_id", "narrative_id"} // RisksPrimaryKey and RisksColumn2 are the table columns denoting the // primary key for the risks relation (M2M). RisksPrimaryKey = []string{"control_id", "risk_id"} // ActionPlansPrimaryKey and ActionPlansColumn2 are the table columns denoting the // primary key for the action_plans relation (M2M). ActionPlansPrimaryKey = []string{"control_id", "action_plan_id"} // ProceduresPrimaryKey and ProceduresColumn2 are the table columns denoting the // primary key for the procedures relation (M2M). ProceduresPrimaryKey = []string{"control_id", "procedure_id"} // InternalPoliciesPrimaryKey and InternalPoliciesColumn2 are the table columns denoting the // primary key for the internal_policies relation (M2M). InternalPoliciesPrimaryKey = []string{"internal_policy_id", "control_id"} // BlockedGroupsPrimaryKey and BlockedGroupsColumn2 are the table columns denoting the // primary key for the blocked_groups relation (M2M). BlockedGroupsPrimaryKey = []string{"control_id", "group_id"} // EditorsPrimaryKey and EditorsColumn2 are the table columns denoting the // primary key for the editors relation (M2M). EditorsPrimaryKey = []string{"control_id", "group_id"} // ProgramsPrimaryKey and ProgramsColumn2 are the table columns denoting the // primary key for the programs relation (M2M). ProgramsPrimaryKey = []string{"program_id", "control_id"} // AssetsPrimaryKey and AssetsColumn2 are the table columns denoting the // primary key for the assets relation (M2M). AssetsPrimaryKey = []string{"control_id", "asset_id"} // FindingsPrimaryKey and FindingsColumn2 are the table columns denoting the // primary key for the findings relation (M2M). FindingsPrimaryKey = []string{"finding_id", "control_id"} // ControlImplementationsPrimaryKey and ControlImplementationsColumn2 are the table columns denoting the // primary key for the control_implementations relation (M2M). ControlImplementationsPrimaryKey = []string{"control_id", "control_implementation_id"} // ScheduledJobsPrimaryKey and ScheduledJobsColumn2 are the table columns denoting the // primary key for the scheduled_jobs relation (M2M). ScheduledJobsPrimaryKey = []string{"scheduled_job_id", "control_id"} // MappedToControlsPrimaryKey and MappedToControlsColumn2 are the table columns denoting the // primary key for the mapped_to_controls relation (M2M). MappedToControlsPrimaryKey = []string{"mapped_control_id", "control_id"} // MappedFromControlsPrimaryKey and MappedFromControlsColumn2 are the table columns denoting the // primary key for the mapped_from_controls relation (M2M). MappedFromControlsPrimaryKey = []string{"mapped_control_id", "control_id"} )
var ( Hooks [14]ent.Hook Interceptors [5]ent.Interceptor Policy ent.Policy // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DisplayIDValidator is a validator for the "display_id" field. It is called by the builders before save. DisplayIDValidator func(string) error // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save. OwnerIDValidator func(string) error // DefaultSystemOwned holds the default value on creation for the "system_owned" field. DefaultSystemOwned bool // DefaultWorkflowEligibleMarker holds the default value on creation for the "workflow_eligible_marker" field. DefaultWorkflowEligibleMarker bool // RefCodeValidator is a validator for the "ref_code" field. It is called by the builders before save. RefCodeValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/theopenlane/core/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldDeletedAt, FieldDeletedBy, FieldDisplayID, FieldTags, FieldTitle, FieldDescription, FieldDescriptionJSON, FieldAliases, FieldReferenceID, FieldAuditorReferenceID, FieldResponsiblePartyID, FieldStatus, FieldSource, FieldReferenceFramework, FieldReferenceFrameworkRevision, FieldControlType, FieldCategory, FieldCategoryID, FieldSubcategory, FieldMappedCategories, FieldAssessmentObjectives, FieldAssessmentMethods, FieldControlQuestions, FieldImplementationGuidance, FieldExampleEvidence, FieldReferences, FieldTestingProcedures, FieldEvidenceRequests, FieldControlOwnerID, FieldDelegateID, FieldOwnerID, FieldSystemOwned, FieldInternalNotes, FieldSystemInternalID, FieldControlKindName, FieldControlKindID, FieldWorkflowEligibleMarker, FieldRefCode, FieldStandardID, }
Columns holds all SQL columns for control fields.
var ForeignKeys = []string{
"custom_type_enum_controls",
"remediation_controls",
"review_controls",
"vulnerability_controls",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "controls" table and are not defined as standalone fields in the schema.
Functions ¶
func AliasesIsNil ¶ added in v0.37.4
AliasesIsNil applies the IsNil predicate on the "aliases" field.
func AliasesNotNil ¶ added in v0.37.4
AliasesNotNil applies the NotNil predicate on the "aliases" field.
func AssessmentMethodsIsNil ¶ added in v0.7.3
AssessmentMethodsIsNil applies the IsNil predicate on the "assessment_methods" field.
func AssessmentMethodsNotNil ¶ added in v0.7.3
AssessmentMethodsNotNil applies the NotNil predicate on the "assessment_methods" field.
func AssessmentObjectivesIsNil ¶ added in v0.7.3
AssessmentObjectivesIsNil applies the IsNil predicate on the "assessment_objectives" field.
func AssessmentObjectivesNotNil ¶ added in v0.7.3
AssessmentObjectivesNotNil applies the NotNil predicate on the "assessment_objectives" field.
func AuditorReferenceID ¶ added in v0.8.7
AuditorReferenceID applies equality check predicate on the "auditor_reference_id" field. It's identical to AuditorReferenceIDEQ.
func AuditorReferenceIDContains ¶ added in v0.8.7
AuditorReferenceIDContains applies the Contains predicate on the "auditor_reference_id" field.
func AuditorReferenceIDContainsFold ¶ added in v0.8.7
AuditorReferenceIDContainsFold applies the ContainsFold predicate on the "auditor_reference_id" field.
func AuditorReferenceIDEQ ¶ added in v0.8.7
AuditorReferenceIDEQ applies the EQ predicate on the "auditor_reference_id" field.
func AuditorReferenceIDEqualFold ¶ added in v0.8.7
AuditorReferenceIDEqualFold applies the EqualFold predicate on the "auditor_reference_id" field.
func AuditorReferenceIDGT ¶ added in v0.8.7
AuditorReferenceIDGT applies the GT predicate on the "auditor_reference_id" field.
func AuditorReferenceIDGTE ¶ added in v0.8.7
AuditorReferenceIDGTE applies the GTE predicate on the "auditor_reference_id" field.
func AuditorReferenceIDHasPrefix ¶ added in v0.8.7
AuditorReferenceIDHasPrefix applies the HasPrefix predicate on the "auditor_reference_id" field.
func AuditorReferenceIDHasSuffix ¶ added in v0.8.7
AuditorReferenceIDHasSuffix applies the HasSuffix predicate on the "auditor_reference_id" field.
func AuditorReferenceIDIn ¶ added in v0.8.7
AuditorReferenceIDIn applies the In predicate on the "auditor_reference_id" field.
func AuditorReferenceIDIsNil ¶ added in v0.8.7
AuditorReferenceIDIsNil applies the IsNil predicate on the "auditor_reference_id" field.
func AuditorReferenceIDLT ¶ added in v0.8.7
AuditorReferenceIDLT applies the LT predicate on the "auditor_reference_id" field.
func AuditorReferenceIDLTE ¶ added in v0.8.7
AuditorReferenceIDLTE applies the LTE predicate on the "auditor_reference_id" field.
func AuditorReferenceIDNEQ ¶ added in v0.8.7
AuditorReferenceIDNEQ applies the NEQ predicate on the "auditor_reference_id" field.
func AuditorReferenceIDNotIn ¶ added in v0.8.7
AuditorReferenceIDNotIn applies the NotIn predicate on the "auditor_reference_id" field.
func AuditorReferenceIDNotNil ¶ added in v0.8.7
AuditorReferenceIDNotNil applies the NotNil predicate on the "auditor_reference_id" field.
func Category ¶ added in v0.7.3
Category applies equality check predicate on the "category" field. It's identical to CategoryEQ.
func CategoryContains ¶ added in v0.7.3
CategoryContains applies the Contains predicate on the "category" field.
func CategoryContainsFold ¶ added in v0.7.3
CategoryContainsFold applies the ContainsFold predicate on the "category" field.
func CategoryEQ ¶ added in v0.7.3
CategoryEQ applies the EQ predicate on the "category" field.
func CategoryEqualFold ¶ added in v0.7.3
CategoryEqualFold applies the EqualFold predicate on the "category" field.
func CategoryGT ¶ added in v0.7.3
CategoryGT applies the GT predicate on the "category" field.
func CategoryGTE ¶ added in v0.7.3
CategoryGTE applies the GTE predicate on the "category" field.
func CategoryHasPrefix ¶ added in v0.7.3
CategoryHasPrefix applies the HasPrefix predicate on the "category" field.
func CategoryHasSuffix ¶ added in v0.7.3
CategoryHasSuffix applies the HasSuffix predicate on the "category" field.
func CategoryID ¶ added in v0.7.3
CategoryID applies equality check predicate on the "category_id" field. It's identical to CategoryIDEQ.
func CategoryIDContains ¶ added in v0.7.3
CategoryIDContains applies the Contains predicate on the "category_id" field.
func CategoryIDContainsFold ¶ added in v0.7.3
CategoryIDContainsFold applies the ContainsFold predicate on the "category_id" field.
func CategoryIDEQ ¶ added in v0.7.3
CategoryIDEQ applies the EQ predicate on the "category_id" field.
func CategoryIDEqualFold ¶ added in v0.7.3
CategoryIDEqualFold applies the EqualFold predicate on the "category_id" field.
func CategoryIDGT ¶ added in v0.7.3
CategoryIDGT applies the GT predicate on the "category_id" field.
func CategoryIDGTE ¶ added in v0.7.3
CategoryIDGTE applies the GTE predicate on the "category_id" field.
func CategoryIDHasPrefix ¶ added in v0.7.3
CategoryIDHasPrefix applies the HasPrefix predicate on the "category_id" field.
func CategoryIDHasSuffix ¶ added in v0.7.3
CategoryIDHasSuffix applies the HasSuffix predicate on the "category_id" field.
func CategoryIDIn ¶ added in v0.7.3
CategoryIDIn applies the In predicate on the "category_id" field.
func CategoryIDIsNil ¶ added in v0.7.3
CategoryIDIsNil applies the IsNil predicate on the "category_id" field.
func CategoryIDLT ¶ added in v0.7.3
CategoryIDLT applies the LT predicate on the "category_id" field.
func CategoryIDLTE ¶ added in v0.7.3
CategoryIDLTE applies the LTE predicate on the "category_id" field.
func CategoryIDNEQ ¶ added in v0.7.3
CategoryIDNEQ applies the NEQ predicate on the "category_id" field.
func CategoryIDNotIn ¶ added in v0.7.3
CategoryIDNotIn applies the NotIn predicate on the "category_id" field.
func CategoryIDNotNil ¶ added in v0.7.3
CategoryIDNotNil applies the NotNil predicate on the "category_id" field.
func CategoryIn ¶ added in v0.7.3
CategoryIn applies the In predicate on the "category" field.
func CategoryIsNil ¶ added in v0.7.3
CategoryIsNil applies the IsNil predicate on the "category" field.
func CategoryLT ¶ added in v0.7.3
CategoryLT applies the LT predicate on the "category" field.
func CategoryLTE ¶ added in v0.7.3
CategoryLTE applies the LTE predicate on the "category" field.
func CategoryNEQ ¶ added in v0.7.3
CategoryNEQ applies the NEQ predicate on the "category" field.
func CategoryNotIn ¶ added in v0.7.3
CategoryNotIn applies the NotIn predicate on the "category" field.
func CategoryNotNil ¶ added in v0.7.3
CategoryNotNil applies the NotNil predicate on the "category" field.
func ControlKindID ¶ added in v0.43.0
ControlKindID applies equality check predicate on the "control_kind_id" field. It's identical to ControlKindIDEQ.
func ControlKindIDContains ¶ added in v0.43.0
ControlKindIDContains applies the Contains predicate on the "control_kind_id" field.
func ControlKindIDContainsFold ¶ added in v0.43.0
ControlKindIDContainsFold applies the ContainsFold predicate on the "control_kind_id" field.
func ControlKindIDEQ ¶ added in v0.43.0
ControlKindIDEQ applies the EQ predicate on the "control_kind_id" field.
func ControlKindIDEqualFold ¶ added in v0.43.0
ControlKindIDEqualFold applies the EqualFold predicate on the "control_kind_id" field.
func ControlKindIDGT ¶ added in v0.43.0
ControlKindIDGT applies the GT predicate on the "control_kind_id" field.
func ControlKindIDGTE ¶ added in v0.43.0
ControlKindIDGTE applies the GTE predicate on the "control_kind_id" field.
func ControlKindIDHasPrefix ¶ added in v0.43.0
ControlKindIDHasPrefix applies the HasPrefix predicate on the "control_kind_id" field.
func ControlKindIDHasSuffix ¶ added in v0.43.0
ControlKindIDHasSuffix applies the HasSuffix predicate on the "control_kind_id" field.
func ControlKindIDIn ¶ added in v0.43.0
ControlKindIDIn applies the In predicate on the "control_kind_id" field.
func ControlKindIDIsNil ¶ added in v0.43.0
ControlKindIDIsNil applies the IsNil predicate on the "control_kind_id" field.
func ControlKindIDLT ¶ added in v0.43.0
ControlKindIDLT applies the LT predicate on the "control_kind_id" field.
func ControlKindIDLTE ¶ added in v0.43.0
ControlKindIDLTE applies the LTE predicate on the "control_kind_id" field.
func ControlKindIDNEQ ¶ added in v0.43.0
ControlKindIDNEQ applies the NEQ predicate on the "control_kind_id" field.
func ControlKindIDNotIn ¶ added in v0.43.0
ControlKindIDNotIn applies the NotIn predicate on the "control_kind_id" field.
func ControlKindIDNotNil ¶ added in v0.43.0
ControlKindIDNotNil applies the NotNil predicate on the "control_kind_id" field.
func ControlKindName ¶ added in v0.43.0
ControlKindName applies equality check predicate on the "control_kind_name" field. It's identical to ControlKindNameEQ.
func ControlKindNameContains ¶ added in v0.43.0
ControlKindNameContains applies the Contains predicate on the "control_kind_name" field.
func ControlKindNameContainsFold ¶ added in v0.43.0
ControlKindNameContainsFold applies the ContainsFold predicate on the "control_kind_name" field.
func ControlKindNameEQ ¶ added in v0.43.0
ControlKindNameEQ applies the EQ predicate on the "control_kind_name" field.
func ControlKindNameEqualFold ¶ added in v0.43.0
ControlKindNameEqualFold applies the EqualFold predicate on the "control_kind_name" field.
func ControlKindNameGT ¶ added in v0.43.0
ControlKindNameGT applies the GT predicate on the "control_kind_name" field.
func ControlKindNameGTE ¶ added in v0.43.0
ControlKindNameGTE applies the GTE predicate on the "control_kind_name" field.
func ControlKindNameHasPrefix ¶ added in v0.43.0
ControlKindNameHasPrefix applies the HasPrefix predicate on the "control_kind_name" field.
func ControlKindNameHasSuffix ¶ added in v0.43.0
ControlKindNameHasSuffix applies the HasSuffix predicate on the "control_kind_name" field.
func ControlKindNameIn ¶ added in v0.43.0
ControlKindNameIn applies the In predicate on the "control_kind_name" field.
func ControlKindNameIsNil ¶ added in v0.43.0
ControlKindNameIsNil applies the IsNil predicate on the "control_kind_name" field.
func ControlKindNameLT ¶ added in v0.43.0
ControlKindNameLT applies the LT predicate on the "control_kind_name" field.
func ControlKindNameLTE ¶ added in v0.43.0
ControlKindNameLTE applies the LTE predicate on the "control_kind_name" field.
func ControlKindNameNEQ ¶ added in v0.43.0
ControlKindNameNEQ applies the NEQ predicate on the "control_kind_name" field.
func ControlKindNameNotIn ¶ added in v0.43.0
ControlKindNameNotIn applies the NotIn predicate on the "control_kind_name" field.
func ControlKindNameNotNil ¶ added in v0.43.0
ControlKindNameNotNil applies the NotNil predicate on the "control_kind_name" field.
func ControlOwnerID ¶ added in v0.8.9
ControlOwnerID applies equality check predicate on the "control_owner_id" field. It's identical to ControlOwnerIDEQ.
func ControlOwnerIDContains ¶ added in v0.8.9
ControlOwnerIDContains applies the Contains predicate on the "control_owner_id" field.
func ControlOwnerIDContainsFold ¶ added in v0.8.9
ControlOwnerIDContainsFold applies the ContainsFold predicate on the "control_owner_id" field.
func ControlOwnerIDEQ ¶ added in v0.8.9
ControlOwnerIDEQ applies the EQ predicate on the "control_owner_id" field.
func ControlOwnerIDEqualFold ¶ added in v0.8.9
ControlOwnerIDEqualFold applies the EqualFold predicate on the "control_owner_id" field.
func ControlOwnerIDGT ¶ added in v0.8.9
ControlOwnerIDGT applies the GT predicate on the "control_owner_id" field.
func ControlOwnerIDGTE ¶ added in v0.8.9
ControlOwnerIDGTE applies the GTE predicate on the "control_owner_id" field.
func ControlOwnerIDHasPrefix ¶ added in v0.8.9
ControlOwnerIDHasPrefix applies the HasPrefix predicate on the "control_owner_id" field.
func ControlOwnerIDHasSuffix ¶ added in v0.8.9
ControlOwnerIDHasSuffix applies the HasSuffix predicate on the "control_owner_id" field.
func ControlOwnerIDIn ¶ added in v0.8.9
ControlOwnerIDIn applies the In predicate on the "control_owner_id" field.
func ControlOwnerIDIsNil ¶ added in v0.8.9
ControlOwnerIDIsNil applies the IsNil predicate on the "control_owner_id" field.
func ControlOwnerIDLT ¶ added in v0.8.9
ControlOwnerIDLT applies the LT predicate on the "control_owner_id" field.
func ControlOwnerIDLTE ¶ added in v0.8.9
ControlOwnerIDLTE applies the LTE predicate on the "control_owner_id" field.
func ControlOwnerIDNEQ ¶ added in v0.8.9
ControlOwnerIDNEQ applies the NEQ predicate on the "control_owner_id" field.
func ControlOwnerIDNotIn ¶ added in v0.8.9
ControlOwnerIDNotIn applies the NotIn predicate on the "control_owner_id" field.
func ControlOwnerIDNotNil ¶ added in v0.8.9
ControlOwnerIDNotNil applies the NotNil predicate on the "control_owner_id" field.
func ControlQuestionsIsNil ¶ added in v0.7.3
ControlQuestionsIsNil applies the IsNil predicate on the "control_questions" field.
func ControlQuestionsNotNil ¶ added in v0.7.3
ControlQuestionsNotNil applies the NotNil predicate on the "control_questions" field.
func ControlTypeEQ ¶
func ControlTypeEQ(v enums.ControlType) predicate.Control
ControlTypeEQ applies the EQ predicate on the "control_type" field.
func ControlTypeIn ¶
func ControlTypeIn(vs ...enums.ControlType) predicate.Control
ControlTypeIn applies the In predicate on the "control_type" field.
func ControlTypeIsNil ¶
ControlTypeIsNil applies the IsNil predicate on the "control_type" field.
func ControlTypeNEQ ¶
func ControlTypeNEQ(v enums.ControlType) predicate.Control
ControlTypeNEQ applies the NEQ predicate on the "control_type" field.
func ControlTypeNotIn ¶
func ControlTypeNotIn(vs ...enums.ControlType) predicate.Control
ControlTypeNotIn applies the NotIn predicate on the "control_type" field.
func ControlTypeNotNil ¶
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 ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DelegateID ¶ added in v0.8.9
DelegateID applies equality check predicate on the "delegate_id" field. It's identical to DelegateIDEQ.
func DelegateIDContains ¶ added in v0.8.9
DelegateIDContains applies the Contains predicate on the "delegate_id" field.
func DelegateIDContainsFold ¶ added in v0.8.9
DelegateIDContainsFold applies the ContainsFold predicate on the "delegate_id" field.
func DelegateIDEQ ¶ added in v0.8.9
DelegateIDEQ applies the EQ predicate on the "delegate_id" field.
func DelegateIDEqualFold ¶ added in v0.8.9
DelegateIDEqualFold applies the EqualFold predicate on the "delegate_id" field.
func DelegateIDGT ¶ added in v0.8.9
DelegateIDGT applies the GT predicate on the "delegate_id" field.
func DelegateIDGTE ¶ added in v0.8.9
DelegateIDGTE applies the GTE predicate on the "delegate_id" field.
func DelegateIDHasPrefix ¶ added in v0.8.9
DelegateIDHasPrefix applies the HasPrefix predicate on the "delegate_id" field.
func DelegateIDHasSuffix ¶ added in v0.8.9
DelegateIDHasSuffix applies the HasSuffix predicate on the "delegate_id" field.
func DelegateIDIn ¶ added in v0.8.9
DelegateIDIn applies the In predicate on the "delegate_id" field.
func DelegateIDIsNil ¶ added in v0.8.9
DelegateIDIsNil applies the IsNil predicate on the "delegate_id" field.
func DelegateIDLT ¶ added in v0.8.9
DelegateIDLT applies the LT predicate on the "delegate_id" field.
func DelegateIDLTE ¶ added in v0.8.9
DelegateIDLTE applies the LTE predicate on the "delegate_id" field.
func DelegateIDNEQ ¶ added in v0.8.9
DelegateIDNEQ applies the NEQ predicate on the "delegate_id" field.
func DelegateIDNotIn ¶ added in v0.8.9
DelegateIDNotIn applies the NotIn predicate on the "delegate_id" field.
func DelegateIDNotNil ¶ added in v0.8.9
DelegateIDNotNil applies the NotNil predicate on the "delegate_id" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionJSONIsNil ¶ added in v0.50.1
DescriptionJSONIsNil applies the IsNil predicate on the "description_json" field.
func DescriptionJSONNotNil ¶ added in v0.50.1
DescriptionJSONNotNil applies the NotNil predicate on the "description_json" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func DisplayID ¶ added in v0.6.11
DisplayID applies equality check predicate on the "display_id" field. It's identical to DisplayIDEQ.
func DisplayIDContains ¶ added in v0.6.11
DisplayIDContains applies the Contains predicate on the "display_id" field.
func DisplayIDContainsFold ¶ added in v0.6.11
DisplayIDContainsFold applies the ContainsFold predicate on the "display_id" field.
func DisplayIDEQ ¶ added in v0.6.11
DisplayIDEQ applies the EQ predicate on the "display_id" field.
func DisplayIDEqualFold ¶ added in v0.6.11
DisplayIDEqualFold applies the EqualFold predicate on the "display_id" field.
func DisplayIDGT ¶ added in v0.6.11
DisplayIDGT applies the GT predicate on the "display_id" field.
func DisplayIDGTE ¶ added in v0.6.11
DisplayIDGTE applies the GTE predicate on the "display_id" field.
func DisplayIDHasPrefix ¶ added in v0.6.11
DisplayIDHasPrefix applies the HasPrefix predicate on the "display_id" field.
func DisplayIDHasSuffix ¶ added in v0.6.11
DisplayIDHasSuffix applies the HasSuffix predicate on the "display_id" field.
func DisplayIDIn ¶ added in v0.6.11
DisplayIDIn applies the In predicate on the "display_id" field.
func DisplayIDLT ¶ added in v0.6.11
DisplayIDLT applies the LT predicate on the "display_id" field.
func DisplayIDLTE ¶ added in v0.6.11
DisplayIDLTE applies the LTE predicate on the "display_id" field.
func DisplayIDNEQ ¶ added in v0.6.11
DisplayIDNEQ applies the NEQ predicate on the "display_id" field.
func DisplayIDNotIn ¶ added in v0.6.11
DisplayIDNotIn applies the NotIn predicate on the "display_id" field.
func EvidenceRequestsIsNil ¶ added in v0.49.5
EvidenceRequestsIsNil applies the IsNil predicate on the "evidence_requests" field.
func EvidenceRequestsNotNil ¶ added in v0.49.5
EvidenceRequestsNotNil applies the NotNil predicate on the "evidence_requests" field.
func ExampleEvidenceIsNil ¶ added in v0.6.19
ExampleEvidenceIsNil applies the IsNil predicate on the "example_evidence" field.
func ExampleEvidenceNotNil ¶ added in v0.6.19
ExampleEvidenceNotNil applies the NotNil predicate on the "example_evidence" field.
func HasActionPlans ¶ added in v0.6.1
HasActionPlans applies the HasEdge predicate on the "action_plans" edge.
func HasActionPlansWith ¶ added in v0.6.1
func HasActionPlansWith(preds ...predicate.ActionPlan) predicate.Control
HasActionPlansWith applies the HasEdge predicate on the "action_plans" edge with a given conditions (other predicates).
func HasAssetsWith ¶ added in v0.19.0
HasAssetsWith applies the HasEdge predicate on the "assets" edge with a given conditions (other predicates).
func HasBlockedGroups ¶ added in v0.5.0
HasBlockedGroups applies the HasEdge predicate on the "blocked_groups" edge.
func HasBlockedGroupsWith ¶ added in v0.5.0
HasBlockedGroupsWith applies the HasEdge predicate on the "blocked_groups" edge with a given conditions (other predicates).
func HasComments ¶ added in v0.37.4
HasComments applies the HasEdge predicate on the "comments" edge.
func HasCommentsWith ¶ added in v0.37.4
HasCommentsWith applies the HasEdge predicate on the "comments" edge with a given conditions (other predicates).
func HasControlImplementations ¶ added in v0.7.3
HasControlImplementations applies the HasEdge predicate on the "control_implementations" edge.
func HasControlImplementationsWith ¶ added in v0.7.3
func HasControlImplementationsWith(preds ...predicate.ControlImplementation) predicate.Control
HasControlImplementationsWith applies the HasEdge predicate on the "control_implementations" edge with a given conditions (other predicates).
func HasControlKind ¶ added in v0.43.0
HasControlKind applies the HasEdge predicate on the "control_kind" edge.
func HasControlKindWith ¶ added in v0.43.0
func HasControlKindWith(preds ...predicate.CustomTypeEnum) predicate.Control
HasControlKindWith applies the HasEdge predicate on the "control_kind" edge with a given conditions (other predicates).
func HasControlMappings ¶ added in v0.43.3
HasControlMappings applies the HasEdge predicate on the "control_mappings" edge.
func HasControlMappingsWith ¶ added in v0.43.3
func HasControlMappingsWith(preds ...predicate.FindingControl) predicate.Control
HasControlMappingsWith applies the HasEdge predicate on the "control_mappings" edge with a given conditions (other predicates).
func HasControlObjectives ¶ added in v0.6.1
HasControlObjectives applies the HasEdge predicate on the "control_objectives" edge.
func HasControlObjectivesWith ¶ added in v0.6.1
func HasControlObjectivesWith(preds ...predicate.ControlObjective) predicate.Control
HasControlObjectivesWith applies the HasEdge predicate on the "control_objectives" edge with a given conditions (other predicates).
func HasControlOwner ¶ added in v0.7.3
HasControlOwner applies the HasEdge predicate on the "control_owner" edge.
func HasControlOwnerWith ¶ added in v0.7.3
HasControlOwnerWith applies the HasEdge predicate on the "control_owner" edge with a given conditions (other predicates).
func HasDelegate ¶ added in v0.7.3
HasDelegate applies the HasEdge predicate on the "delegate" edge.
func HasDelegateWith ¶ added in v0.7.3
HasDelegateWith applies the HasEdge predicate on the "delegate" edge with a given conditions (other predicates).
func HasDiscussions ¶ added in v0.49.3
HasDiscussions applies the HasEdge predicate on the "discussions" edge.
func HasDiscussionsWith ¶ added in v0.49.3
func HasDiscussionsWith(preds ...predicate.Discussion) predicate.Control
HasDiscussionsWith applies the HasEdge predicate on the "discussions" edge with a given conditions (other predicates).
func HasEditors ¶ added in v0.5.0
HasEditors applies the HasEdge predicate on the "editors" edge.
func HasEditorsWith ¶ added in v0.5.0
HasEditorsWith applies the HasEdge predicate on the "editors" edge with a given conditions (other predicates).
func HasEvidence ¶ added in v0.6.19
HasEvidence applies the HasEdge predicate on the "evidence" edge.
func HasEvidenceWith ¶ added in v0.6.19
HasEvidenceWith applies the HasEdge predicate on the "evidence" edge with a given conditions (other predicates).
func HasFindings ¶ added in v0.43.3
HasFindings applies the HasEdge predicate on the "findings" edge.
func HasFindingsWith ¶ added in v0.43.3
HasFindingsWith applies the HasEdge predicate on the "findings" edge with a given conditions (other predicates).
func HasInternalPolicies ¶ added in v0.7.3
HasInternalPolicies applies the HasEdge predicate on the "internal_policies" edge.
func HasInternalPoliciesWith ¶ added in v0.7.3
func HasInternalPoliciesWith(preds ...predicate.InternalPolicy) predicate.Control
HasInternalPoliciesWith applies the HasEdge predicate on the "internal_policies" edge with a given conditions (other predicates).
func HasMappedFromControls ¶ added in v0.16.0
HasMappedFromControls applies the HasEdge predicate on the "mapped_from_controls" edge.
func HasMappedFromControlsWith ¶ added in v0.16.0
func HasMappedFromControlsWith(preds ...predicate.MappedControl) predicate.Control
HasMappedFromControlsWith applies the HasEdge predicate on the "mapped_from_controls" edge with a given conditions (other predicates).
func HasMappedToControls ¶ added in v0.16.0
HasMappedToControls applies the HasEdge predicate on the "mapped_to_controls" edge.
func HasMappedToControlsWith ¶ added in v0.16.0
func HasMappedToControlsWith(preds ...predicate.MappedControl) predicate.Control
HasMappedToControlsWith applies the HasEdge predicate on the "mapped_to_controls" edge with a given conditions (other predicates).
func HasNarratives ¶
HasNarratives applies the HasEdge predicate on the "narratives" edge.
func HasNarrativesWith ¶
HasNarrativesWith applies the HasEdge predicate on the "narratives" edge with a given conditions (other predicates).
func HasOwnerWith ¶ added in v0.5.0
func HasOwnerWith(preds ...predicate.Organization) predicate.Control
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasProcedures ¶
HasProcedures applies the HasEdge predicate on the "procedures" edge.
func HasProceduresWith ¶
HasProceduresWith applies the HasEdge predicate on the "procedures" edge with a given conditions (other predicates).
func HasPrograms ¶ added in v0.3.5
HasPrograms applies the HasEdge predicate on the "programs" edge.
func HasProgramsWith ¶ added in v0.3.5
HasProgramsWith applies the HasEdge predicate on the "programs" edge with a given conditions (other predicates).
func HasResponsibleParty ¶ added in v0.37.4
HasResponsibleParty applies the HasEdge predicate on the "responsible_party" edge.
func HasResponsiblePartyWith ¶ added in v0.37.4
HasResponsiblePartyWith applies the HasEdge predicate on the "responsible_party" edge with a given conditions (other predicates).
func HasRisksWith ¶
HasRisksWith applies the HasEdge predicate on the "risks" edge with a given conditions (other predicates).
func HasScansWith ¶ added in v0.19.0
HasScansWith applies the HasEdge predicate on the "scans" edge with a given conditions (other predicates).
func HasScheduledJobs ¶ added in v0.15.0
HasScheduledJobs applies the HasEdge predicate on the "scheduled_jobs" edge.
func HasScheduledJobsWith ¶ added in v0.15.0
func HasScheduledJobsWith(preds ...predicate.ScheduledJob) predicate.Control
HasScheduledJobsWith applies the HasEdge predicate on the "scheduled_jobs" edge with a given conditions (other predicates).
func HasStandard ¶
HasStandard applies the HasEdge predicate on the "standard" edge.
func HasStandardWith ¶
HasStandardWith applies the HasEdge predicate on the "standard" edge with a given conditions (other predicates).
func HasSubcontrols ¶
HasSubcontrols applies the HasEdge predicate on the "subcontrols" edge.
func HasSubcontrolsWith ¶
func HasSubcontrolsWith(preds ...predicate.Subcontrol) predicate.Control
HasSubcontrolsWith applies the HasEdge predicate on the "subcontrols" edge with a given conditions (other predicates).
func HasTasksWith ¶ added in v0.3.4
HasTasksWith applies the HasEdge predicate on the "tasks" edge with a given conditions (other predicates).
func HasWorkflowObjectRefs ¶ added in v0.46.3
HasWorkflowObjectRefs applies the HasEdge predicate on the "workflow_object_refs" edge.
func HasWorkflowObjectRefsWith ¶ added in v0.46.3
func HasWorkflowObjectRefsWith(preds ...predicate.WorkflowObjectRef) predicate.Control
HasWorkflowObjectRefsWith applies the HasEdge predicate on the "workflow_object_refs" edge with a given conditions (other predicates).
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func ImplementationGuidanceIsNil ¶ added in v0.7.3
ImplementationGuidanceIsNil applies the IsNil predicate on the "implementation_guidance" field.
func ImplementationGuidanceNotNil ¶ added in v0.7.3
ImplementationGuidanceNotNil applies the NotNil predicate on the "implementation_guidance" field.
func InternalNotes ¶ added in v0.34.0
InternalNotes applies equality check predicate on the "internal_notes" field. It's identical to InternalNotesEQ.
func InternalNotesContains ¶ added in v0.34.0
InternalNotesContains applies the Contains predicate on the "internal_notes" field.
func InternalNotesContainsFold ¶ added in v0.34.0
InternalNotesContainsFold applies the ContainsFold predicate on the "internal_notes" field.
func InternalNotesEQ ¶ added in v0.34.0
InternalNotesEQ applies the EQ predicate on the "internal_notes" field.
func InternalNotesEqualFold ¶ added in v0.34.0
InternalNotesEqualFold applies the EqualFold predicate on the "internal_notes" field.
func InternalNotesGT ¶ added in v0.34.0
InternalNotesGT applies the GT predicate on the "internal_notes" field.
func InternalNotesGTE ¶ added in v0.34.0
InternalNotesGTE applies the GTE predicate on the "internal_notes" field.
func InternalNotesHasPrefix ¶ added in v0.34.0
InternalNotesHasPrefix applies the HasPrefix predicate on the "internal_notes" field.
func InternalNotesHasSuffix ¶ added in v0.34.0
InternalNotesHasSuffix applies the HasSuffix predicate on the "internal_notes" field.
func InternalNotesIn ¶ added in v0.34.0
InternalNotesIn applies the In predicate on the "internal_notes" field.
func InternalNotesIsNil ¶ added in v0.34.0
InternalNotesIsNil applies the IsNil predicate on the "internal_notes" field.
func InternalNotesLT ¶ added in v0.34.0
InternalNotesLT applies the LT predicate on the "internal_notes" field.
func InternalNotesLTE ¶ added in v0.34.0
InternalNotesLTE applies the LTE predicate on the "internal_notes" field.
func InternalNotesNEQ ¶ added in v0.34.0
InternalNotesNEQ applies the NEQ predicate on the "internal_notes" field.
func InternalNotesNotIn ¶ added in v0.34.0
InternalNotesNotIn applies the NotIn predicate on the "internal_notes" field.
func InternalNotesNotNil ¶ added in v0.34.0
InternalNotesNotNil applies the NotNil predicate on the "internal_notes" field.
func MappedCategoriesIsNil ¶ added in v0.7.3
MappedCategoriesIsNil applies the IsNil predicate on the "mapped_categories" field.
func MappedCategoriesNotNil ¶ added in v0.7.3
MappedCategoriesNotNil applies the NotNil predicate on the "mapped_categories" field.
func OwnerID ¶ added in v0.5.0
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶ added in v0.5.0
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶ added in v0.5.0
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEqualFold ¶ added in v0.5.0
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGTE ¶ added in v0.5.0
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶ added in v0.5.0
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶ added in v0.5.0
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIsNil ¶ added in v0.7.1
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLTE ¶ added in v0.5.0
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶ added in v0.5.0
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶ added in v0.5.0
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶ added in v0.7.1
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func RefCode ¶ added in v0.7.3
RefCode applies equality check predicate on the "ref_code" field. It's identical to RefCodeEQ.
func RefCodeContains ¶ added in v0.7.3
RefCodeContains applies the Contains predicate on the "ref_code" field.
func RefCodeContainsFold ¶ added in v0.7.3
RefCodeContainsFold applies the ContainsFold predicate on the "ref_code" field.
func RefCodeEqualFold ¶ added in v0.7.3
RefCodeEqualFold applies the EqualFold predicate on the "ref_code" field.
func RefCodeGTE ¶ added in v0.7.3
RefCodeGTE applies the GTE predicate on the "ref_code" field.
func RefCodeHasPrefix ¶ added in v0.7.3
RefCodeHasPrefix applies the HasPrefix predicate on the "ref_code" field.
func RefCodeHasSuffix ¶ added in v0.7.3
RefCodeHasSuffix applies the HasSuffix predicate on the "ref_code" field.
func RefCodeLTE ¶ added in v0.7.3
RefCodeLTE applies the LTE predicate on the "ref_code" field.
func RefCodeNEQ ¶ added in v0.7.3
RefCodeNEQ applies the NEQ predicate on the "ref_code" field.
func RefCodeNotIn ¶ added in v0.7.3
RefCodeNotIn applies the NotIn predicate on the "ref_code" field.
func ReferenceFramework ¶ added in v0.16.0
ReferenceFramework applies equality check predicate on the "reference_framework" field. It's identical to ReferenceFrameworkEQ.
func ReferenceFrameworkContains ¶ added in v0.16.0
ReferenceFrameworkContains applies the Contains predicate on the "reference_framework" field.
func ReferenceFrameworkContainsFold ¶ added in v0.16.0
ReferenceFrameworkContainsFold applies the ContainsFold predicate on the "reference_framework" field.
func ReferenceFrameworkEQ ¶ added in v0.16.0
ReferenceFrameworkEQ applies the EQ predicate on the "reference_framework" field.
func ReferenceFrameworkEqualFold ¶ added in v0.16.0
ReferenceFrameworkEqualFold applies the EqualFold predicate on the "reference_framework" field.
func ReferenceFrameworkGT ¶ added in v0.16.0
ReferenceFrameworkGT applies the GT predicate on the "reference_framework" field.
func ReferenceFrameworkGTE ¶ added in v0.16.0
ReferenceFrameworkGTE applies the GTE predicate on the "reference_framework" field.
func ReferenceFrameworkHasPrefix ¶ added in v0.16.0
ReferenceFrameworkHasPrefix applies the HasPrefix predicate on the "reference_framework" field.
func ReferenceFrameworkHasSuffix ¶ added in v0.16.0
ReferenceFrameworkHasSuffix applies the HasSuffix predicate on the "reference_framework" field.
func ReferenceFrameworkIn ¶ added in v0.16.0
ReferenceFrameworkIn applies the In predicate on the "reference_framework" field.
func ReferenceFrameworkIsNil ¶ added in v0.16.0
ReferenceFrameworkIsNil applies the IsNil predicate on the "reference_framework" field.
func ReferenceFrameworkLT ¶ added in v0.16.0
ReferenceFrameworkLT applies the LT predicate on the "reference_framework" field.
func ReferenceFrameworkLTE ¶ added in v0.16.0
ReferenceFrameworkLTE applies the LTE predicate on the "reference_framework" field.
func ReferenceFrameworkNEQ ¶ added in v0.16.0
ReferenceFrameworkNEQ applies the NEQ predicate on the "reference_framework" field.
func ReferenceFrameworkNotIn ¶ added in v0.16.0
ReferenceFrameworkNotIn applies the NotIn predicate on the "reference_framework" field.
func ReferenceFrameworkNotNil ¶ added in v0.16.0
ReferenceFrameworkNotNil applies the NotNil predicate on the "reference_framework" field.
func ReferenceFrameworkRevision ¶ added in v0.38.0
ReferenceFrameworkRevision applies equality check predicate on the "reference_framework_revision" field. It's identical to ReferenceFrameworkRevisionEQ.
func ReferenceFrameworkRevisionContains ¶ added in v0.38.0
ReferenceFrameworkRevisionContains applies the Contains predicate on the "reference_framework_revision" field.
func ReferenceFrameworkRevisionContainsFold ¶ added in v0.38.0
ReferenceFrameworkRevisionContainsFold applies the ContainsFold predicate on the "reference_framework_revision" field.
func ReferenceFrameworkRevisionEQ ¶ added in v0.38.0
ReferenceFrameworkRevisionEQ applies the EQ predicate on the "reference_framework_revision" field.
func ReferenceFrameworkRevisionEqualFold ¶ added in v0.38.0
ReferenceFrameworkRevisionEqualFold applies the EqualFold predicate on the "reference_framework_revision" field.
func ReferenceFrameworkRevisionGT ¶ added in v0.38.0
ReferenceFrameworkRevisionGT applies the GT predicate on the "reference_framework_revision" field.
func ReferenceFrameworkRevisionGTE ¶ added in v0.38.0
ReferenceFrameworkRevisionGTE applies the GTE predicate on the "reference_framework_revision" field.
func ReferenceFrameworkRevisionHasPrefix ¶ added in v0.38.0
ReferenceFrameworkRevisionHasPrefix applies the HasPrefix predicate on the "reference_framework_revision" field.
func ReferenceFrameworkRevisionHasSuffix ¶ added in v0.38.0
ReferenceFrameworkRevisionHasSuffix applies the HasSuffix predicate on the "reference_framework_revision" field.
func ReferenceFrameworkRevisionIn ¶ added in v0.38.0
ReferenceFrameworkRevisionIn applies the In predicate on the "reference_framework_revision" field.
func ReferenceFrameworkRevisionIsNil ¶ added in v0.38.0
ReferenceFrameworkRevisionIsNil applies the IsNil predicate on the "reference_framework_revision" field.
func ReferenceFrameworkRevisionLT ¶ added in v0.38.0
ReferenceFrameworkRevisionLT applies the LT predicate on the "reference_framework_revision" field.
func ReferenceFrameworkRevisionLTE ¶ added in v0.38.0
ReferenceFrameworkRevisionLTE applies the LTE predicate on the "reference_framework_revision" field.
func ReferenceFrameworkRevisionNEQ ¶ added in v0.38.0
ReferenceFrameworkRevisionNEQ applies the NEQ predicate on the "reference_framework_revision" field.
func ReferenceFrameworkRevisionNotIn ¶ added in v0.38.0
ReferenceFrameworkRevisionNotIn applies the NotIn predicate on the "reference_framework_revision" field.
func ReferenceFrameworkRevisionNotNil ¶ added in v0.38.0
ReferenceFrameworkRevisionNotNil applies the NotNil predicate on the "reference_framework_revision" field.
func ReferenceID ¶ added in v0.8.7
ReferenceID applies equality check predicate on the "reference_id" field. It's identical to ReferenceIDEQ.
func ReferenceIDContains ¶ added in v0.8.7
ReferenceIDContains applies the Contains predicate on the "reference_id" field.
func ReferenceIDContainsFold ¶ added in v0.8.7
ReferenceIDContainsFold applies the ContainsFold predicate on the "reference_id" field.
func ReferenceIDEQ ¶ added in v0.8.7
ReferenceIDEQ applies the EQ predicate on the "reference_id" field.
func ReferenceIDEqualFold ¶ added in v0.8.7
ReferenceIDEqualFold applies the EqualFold predicate on the "reference_id" field.
func ReferenceIDGT ¶ added in v0.8.7
ReferenceIDGT applies the GT predicate on the "reference_id" field.
func ReferenceIDGTE ¶ added in v0.8.7
ReferenceIDGTE applies the GTE predicate on the "reference_id" field.
func ReferenceIDHasPrefix ¶ added in v0.8.7
ReferenceIDHasPrefix applies the HasPrefix predicate on the "reference_id" field.
func ReferenceIDHasSuffix ¶ added in v0.8.7
ReferenceIDHasSuffix applies the HasSuffix predicate on the "reference_id" field.
func ReferenceIDIn ¶ added in v0.8.7
ReferenceIDIn applies the In predicate on the "reference_id" field.
func ReferenceIDIsNil ¶ added in v0.8.7
ReferenceIDIsNil applies the IsNil predicate on the "reference_id" field.
func ReferenceIDLT ¶ added in v0.8.7
ReferenceIDLT applies the LT predicate on the "reference_id" field.
func ReferenceIDLTE ¶ added in v0.8.7
ReferenceIDLTE applies the LTE predicate on the "reference_id" field.
func ReferenceIDNEQ ¶ added in v0.8.7
ReferenceIDNEQ applies the NEQ predicate on the "reference_id" field.
func ReferenceIDNotIn ¶ added in v0.8.7
ReferenceIDNotIn applies the NotIn predicate on the "reference_id" field.
func ReferenceIDNotNil ¶ added in v0.8.7
ReferenceIDNotNil applies the NotNil predicate on the "reference_id" field.
func ReferencesIsNil ¶ added in v0.7.3
ReferencesIsNil applies the IsNil predicate on the "references" field.
func ReferencesNotNil ¶ added in v0.7.3
ReferencesNotNil applies the NotNil predicate on the "references" field.
func ResponsiblePartyID ¶ added in v0.37.4
ResponsiblePartyID applies equality check predicate on the "responsible_party_id" field. It's identical to ResponsiblePartyIDEQ.
func ResponsiblePartyIDContains ¶ added in v0.37.4
ResponsiblePartyIDContains applies the Contains predicate on the "responsible_party_id" field.
func ResponsiblePartyIDContainsFold ¶ added in v0.37.4
ResponsiblePartyIDContainsFold applies the ContainsFold predicate on the "responsible_party_id" field.
func ResponsiblePartyIDEQ ¶ added in v0.37.4
ResponsiblePartyIDEQ applies the EQ predicate on the "responsible_party_id" field.
func ResponsiblePartyIDEqualFold ¶ added in v0.37.4
ResponsiblePartyIDEqualFold applies the EqualFold predicate on the "responsible_party_id" field.
func ResponsiblePartyIDGT ¶ added in v0.37.4
ResponsiblePartyIDGT applies the GT predicate on the "responsible_party_id" field.
func ResponsiblePartyIDGTE ¶ added in v0.37.4
ResponsiblePartyIDGTE applies the GTE predicate on the "responsible_party_id" field.
func ResponsiblePartyIDHasPrefix ¶ added in v0.37.4
ResponsiblePartyIDHasPrefix applies the HasPrefix predicate on the "responsible_party_id" field.
func ResponsiblePartyIDHasSuffix ¶ added in v0.37.4
ResponsiblePartyIDHasSuffix applies the HasSuffix predicate on the "responsible_party_id" field.
func ResponsiblePartyIDIn ¶ added in v0.37.4
ResponsiblePartyIDIn applies the In predicate on the "responsible_party_id" field.
func ResponsiblePartyIDIsNil ¶ added in v0.37.4
ResponsiblePartyIDIsNil applies the IsNil predicate on the "responsible_party_id" field.
func ResponsiblePartyIDLT ¶ added in v0.37.4
ResponsiblePartyIDLT applies the LT predicate on the "responsible_party_id" field.
func ResponsiblePartyIDLTE ¶ added in v0.37.4
ResponsiblePartyIDLTE applies the LTE predicate on the "responsible_party_id" field.
func ResponsiblePartyIDNEQ ¶ added in v0.37.4
ResponsiblePartyIDNEQ applies the NEQ predicate on the "responsible_party_id" field.
func ResponsiblePartyIDNotIn ¶ added in v0.37.4
ResponsiblePartyIDNotIn applies the NotIn predicate on the "responsible_party_id" field.
func ResponsiblePartyIDNotNil ¶ added in v0.37.4
ResponsiblePartyIDNotNil applies the NotNil predicate on the "responsible_party_id" field.
func SourceEQ ¶
func SourceEQ(v enums.ControlSource) predicate.Control
SourceEQ applies the EQ predicate on the "source" field.
func SourceIn ¶
func SourceIn(vs ...enums.ControlSource) predicate.Control
SourceIn applies the In predicate on the "source" field.
func SourceIsNil ¶
SourceIsNil applies the IsNil predicate on the "source" field.
func SourceNEQ ¶
func SourceNEQ(v enums.ControlSource) predicate.Control
SourceNEQ applies the NEQ predicate on the "source" field.
func SourceNotIn ¶
func SourceNotIn(vs ...enums.ControlSource) predicate.Control
SourceNotIn applies the NotIn predicate on the "source" field.
func SourceNotNil ¶
SourceNotNil applies the NotNil predicate on the "source" field.
func SourceValidator ¶ added in v0.7.3
func SourceValidator(s enums.ControlSource) error
SourceValidator is a validator for the "source" field enum values. It is called by the builders before save.
func StandardID ¶ added in v0.7.3
StandardID applies equality check predicate on the "standard_id" field. It's identical to StandardIDEQ.
func StandardIDContains ¶ added in v0.7.3
StandardIDContains applies the Contains predicate on the "standard_id" field.
func StandardIDContainsFold ¶ added in v0.7.3
StandardIDContainsFold applies the ContainsFold predicate on the "standard_id" field.
func StandardIDEQ ¶ added in v0.7.3
StandardIDEQ applies the EQ predicate on the "standard_id" field.
func StandardIDEqualFold ¶ added in v0.7.3
StandardIDEqualFold applies the EqualFold predicate on the "standard_id" field.
func StandardIDGT ¶ added in v0.7.3
StandardIDGT applies the GT predicate on the "standard_id" field.
func StandardIDGTE ¶ added in v0.7.3
StandardIDGTE applies the GTE predicate on the "standard_id" field.
func StandardIDHasPrefix ¶ added in v0.7.3
StandardIDHasPrefix applies the HasPrefix predicate on the "standard_id" field.
func StandardIDHasSuffix ¶ added in v0.7.3
StandardIDHasSuffix applies the HasSuffix predicate on the "standard_id" field.
func StandardIDIn ¶ added in v0.7.3
StandardIDIn applies the In predicate on the "standard_id" field.
func StandardIDIsNil ¶ added in v0.7.3
StandardIDIsNil applies the IsNil predicate on the "standard_id" field.
func StandardIDLT ¶ added in v0.7.3
StandardIDLT applies the LT predicate on the "standard_id" field.
func StandardIDLTE ¶ added in v0.7.3
StandardIDLTE applies the LTE predicate on the "standard_id" field.
func StandardIDNEQ ¶ added in v0.7.3
StandardIDNEQ applies the NEQ predicate on the "standard_id" field.
func StandardIDNotIn ¶ added in v0.7.3
StandardIDNotIn applies the NotIn predicate on the "standard_id" field.
func StandardIDNotNil ¶ added in v0.7.3
StandardIDNotNil applies the NotNil predicate on the "standard_id" field.
func StatusEQ ¶
func StatusEQ(v enums.ControlStatus) predicate.Control
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...enums.ControlStatus) predicate.Control
StatusIn applies the In predicate on the "status" field.
func StatusIsNil ¶
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v enums.ControlStatus) predicate.Control
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...enums.ControlStatus) predicate.Control
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
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
Subcategory applies equality check predicate on the "subcategory" field. It's identical to SubcategoryEQ.
func SubcategoryContains ¶ added in v0.7.3
SubcategoryContains applies the Contains predicate on the "subcategory" field.
func SubcategoryContainsFold ¶ added in v0.7.3
SubcategoryContainsFold applies the ContainsFold predicate on the "subcategory" field.
func SubcategoryEQ ¶ added in v0.7.3
SubcategoryEQ applies the EQ predicate on the "subcategory" field.
func SubcategoryEqualFold ¶ added in v0.7.3
SubcategoryEqualFold applies the EqualFold predicate on the "subcategory" field.
func SubcategoryGT ¶ added in v0.7.3
SubcategoryGT applies the GT predicate on the "subcategory" field.
func SubcategoryGTE ¶ added in v0.7.3
SubcategoryGTE applies the GTE predicate on the "subcategory" field.
func SubcategoryHasPrefix ¶ added in v0.7.3
SubcategoryHasPrefix applies the HasPrefix predicate on the "subcategory" field.
func SubcategoryHasSuffix ¶ added in v0.7.3
SubcategoryHasSuffix applies the HasSuffix predicate on the "subcategory" field.
func SubcategoryIn ¶ added in v0.7.3
SubcategoryIn applies the In predicate on the "subcategory" field.
func SubcategoryIsNil ¶ added in v0.7.3
SubcategoryIsNil applies the IsNil predicate on the "subcategory" field.
func SubcategoryLT ¶ added in v0.7.3
SubcategoryLT applies the LT predicate on the "subcategory" field.
func SubcategoryLTE ¶ added in v0.7.3
SubcategoryLTE applies the LTE predicate on the "subcategory" field.
func SubcategoryNEQ ¶ added in v0.7.3
SubcategoryNEQ applies the NEQ predicate on the "subcategory" field.
func SubcategoryNotIn ¶ added in v0.7.3
SubcategoryNotIn applies the NotIn predicate on the "subcategory" field.
func SubcategoryNotNil ¶ added in v0.7.3
SubcategoryNotNil applies the NotNil predicate on the "subcategory" field.
func SystemInternalID ¶ added in v0.34.0
SystemInternalID applies equality check predicate on the "system_internal_id" field. It's identical to SystemInternalIDEQ.
func SystemInternalIDContains ¶ added in v0.34.0
SystemInternalIDContains applies the Contains predicate on the "system_internal_id" field.
func SystemInternalIDContainsFold ¶ added in v0.34.0
SystemInternalIDContainsFold applies the ContainsFold predicate on the "system_internal_id" field.
func SystemInternalIDEQ ¶ added in v0.34.0
SystemInternalIDEQ applies the EQ predicate on the "system_internal_id" field.
func SystemInternalIDEqualFold ¶ added in v0.34.0
SystemInternalIDEqualFold applies the EqualFold predicate on the "system_internal_id" field.
func SystemInternalIDGT ¶ added in v0.34.0
SystemInternalIDGT applies the GT predicate on the "system_internal_id" field.
func SystemInternalIDGTE ¶ added in v0.34.0
SystemInternalIDGTE applies the GTE predicate on the "system_internal_id" field.
func SystemInternalIDHasPrefix ¶ added in v0.34.0
SystemInternalIDHasPrefix applies the HasPrefix predicate on the "system_internal_id" field.
func SystemInternalIDHasSuffix ¶ added in v0.34.0
SystemInternalIDHasSuffix applies the HasSuffix predicate on the "system_internal_id" field.
func SystemInternalIDIn ¶ added in v0.34.0
SystemInternalIDIn applies the In predicate on the "system_internal_id" field.
func SystemInternalIDIsNil ¶ added in v0.34.0
SystemInternalIDIsNil applies the IsNil predicate on the "system_internal_id" field.
func SystemInternalIDLT ¶ added in v0.34.0
SystemInternalIDLT applies the LT predicate on the "system_internal_id" field.
func SystemInternalIDLTE ¶ added in v0.34.0
SystemInternalIDLTE applies the LTE predicate on the "system_internal_id" field.
func SystemInternalIDNEQ ¶ added in v0.34.0
SystemInternalIDNEQ applies the NEQ predicate on the "system_internal_id" field.
func SystemInternalIDNotIn ¶ added in v0.34.0
SystemInternalIDNotIn applies the NotIn predicate on the "system_internal_id" field.
func SystemInternalIDNotNil ¶ added in v0.34.0
SystemInternalIDNotNil applies the NotNil predicate on the "system_internal_id" field.
func SystemOwned ¶ added in v0.34.0
SystemOwned applies equality check predicate on the "system_owned" field. It's identical to SystemOwnedEQ.
func SystemOwnedEQ ¶ added in v0.34.0
SystemOwnedEQ applies the EQ predicate on the "system_owned" field.
func SystemOwnedIsNil ¶ added in v0.34.0
SystemOwnedIsNil applies the IsNil predicate on the "system_owned" field.
func SystemOwnedNEQ ¶ added in v0.34.0
SystemOwnedNEQ applies the NEQ predicate on the "system_owned" field.
func SystemOwnedNotNil ¶ added in v0.34.0
SystemOwnedNotNil applies the NotNil predicate on the "system_owned" field.
func TagsNotNil ¶
TagsNotNil applies the NotNil predicate on the "tags" field.
func TestingProceduresIsNil ¶ added in v0.49.5
TestingProceduresIsNil applies the IsNil predicate on the "testing_procedures" field.
func TestingProceduresNotNil ¶ added in v0.49.5
TestingProceduresNotNil applies the NotNil predicate on the "testing_procedures" field.
func Title ¶ added in v0.37.2
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶ added in v0.37.2
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶ added in v0.37.2
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEqualFold ¶ added in v0.37.2
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleHasPrefix ¶ added in v0.37.2
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶ added in v0.37.2
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleIsNil ¶ added in v0.37.2
TitleIsNil applies the IsNil predicate on the "title" field.
func TitleNotIn ¶ added in v0.37.2
TitleNotIn applies the NotIn predicate on the "title" field.
func TitleNotNil ¶ added in v0.37.2
TitleNotNil applies the NotNil predicate on the "title" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WorkflowEligibleMarker ¶ added in v0.52.0
WorkflowEligibleMarker applies equality check predicate on the "workflow_eligible_marker" field. It's identical to WorkflowEligibleMarkerEQ.
func WorkflowEligibleMarkerEQ ¶ added in v0.52.0
WorkflowEligibleMarkerEQ applies the EQ predicate on the "workflow_eligible_marker" field.
func WorkflowEligibleMarkerIsNil ¶ added in v0.52.0
WorkflowEligibleMarkerIsNil applies the IsNil predicate on the "workflow_eligible_marker" field.
func WorkflowEligibleMarkerNEQ ¶ added in v0.52.0
WorkflowEligibleMarkerNEQ applies the NEQ predicate on the "workflow_eligible_marker" field.
func WorkflowEligibleMarkerNotNil ¶ added in v0.52.0
WorkflowEligibleMarkerNotNil applies the NotNil predicate on the "workflow_eligible_marker" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Control queries.
func ByActionPlans ¶ added in v0.6.1
func ByActionPlans(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByActionPlans orders the results by action_plans terms.
func ByActionPlansCount ¶ added in v0.6.1
func ByActionPlansCount(opts ...sql.OrderTermOption) OrderOption
ByActionPlansCount orders the results by action_plans count.
func ByAssets ¶ added in v0.19.0
func ByAssets(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByAssets orders the results by assets terms.
func ByAssetsCount ¶ added in v0.19.0
func ByAssetsCount(opts ...sql.OrderTermOption) OrderOption
ByAssetsCount orders the results by assets count.
func ByAuditorReferenceID ¶ added in v0.8.7
func ByAuditorReferenceID(opts ...sql.OrderTermOption) OrderOption
ByAuditorReferenceID orders the results by the auditor_reference_id field.
func ByBlockedGroups ¶ added in v0.5.0
func ByBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByBlockedGroups orders the results by blocked_groups terms.
func ByBlockedGroupsCount ¶ added in v0.5.0
func ByBlockedGroupsCount(opts ...sql.OrderTermOption) OrderOption
ByBlockedGroupsCount orders the results by blocked_groups count.
func ByCategory ¶ added in v0.7.3
func ByCategory(opts ...sql.OrderTermOption) OrderOption
ByCategory orders the results by the category field.
func ByCategoryID ¶ added in v0.7.3
func ByCategoryID(opts ...sql.OrderTermOption) OrderOption
ByCategoryID orders the results by the category_id field.
func ByComments ¶ added in v0.37.4
func ByComments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByComments orders the results by comments terms.
func ByCommentsCount ¶ added in v0.37.4
func ByCommentsCount(opts ...sql.OrderTermOption) OrderOption
ByCommentsCount orders the results by comments count.
func ByControlImplementations ¶ added in v0.7.3
func ByControlImplementations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByControlImplementations orders the results by control_implementations terms.
func ByControlImplementationsCount ¶ added in v0.7.3
func ByControlImplementationsCount(opts ...sql.OrderTermOption) OrderOption
ByControlImplementationsCount orders the results by control_implementations count.
func ByControlKindField ¶ added in v0.43.0
func ByControlKindField(field string, opts ...sql.OrderTermOption) OrderOption
ByControlKindField orders the results by control_kind field.
func ByControlKindID ¶ added in v0.43.0
func ByControlKindID(opts ...sql.OrderTermOption) OrderOption
ByControlKindID orders the results by the control_kind_id field.
func ByControlKindName ¶ added in v0.43.0
func ByControlKindName(opts ...sql.OrderTermOption) OrderOption
ByControlKindName orders the results by the control_kind_name field.
func ByControlMappings ¶ added in v0.43.3
func ByControlMappings(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByControlMappings orders the results by control_mappings terms.
func ByControlMappingsCount ¶ added in v0.43.3
func ByControlMappingsCount(opts ...sql.OrderTermOption) OrderOption
ByControlMappingsCount orders the results by control_mappings count.
func ByControlObjectives ¶ added in v0.6.1
func ByControlObjectives(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByControlObjectives orders the results by control_objectives terms.
func ByControlObjectivesCount ¶ added in v0.6.1
func ByControlObjectivesCount(opts ...sql.OrderTermOption) OrderOption
ByControlObjectivesCount orders the results by control_objectives count.
func ByControlOwnerField ¶ added in v0.7.3
func ByControlOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByControlOwnerField orders the results by control_owner field.
func ByControlOwnerID ¶ added in v0.8.9
func ByControlOwnerID(opts ...sql.OrderTermOption) OrderOption
ByControlOwnerID orders the results by the control_owner_id field.
func ByControlType ¶
func ByControlType(opts ...sql.OrderTermOption) OrderOption
ByControlType orders the results by the control_type field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByDelegateField ¶ added in v0.7.3
func ByDelegateField(field string, opts ...sql.OrderTermOption) OrderOption
ByDelegateField orders the results by delegate field.
func ByDelegateID ¶ added in v0.8.9
func ByDelegateID(opts ...sql.OrderTermOption) OrderOption
ByDelegateID orders the results by the delegate_id field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedBy ¶
func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
ByDeletedBy orders the results by the deleted_by field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByDiscussions ¶ added in v0.49.3
func ByDiscussions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByDiscussions orders the results by discussions terms.
func ByDiscussionsCount ¶ added in v0.49.3
func ByDiscussionsCount(opts ...sql.OrderTermOption) OrderOption
ByDiscussionsCount orders the results by discussions count.
func ByDisplayID ¶ added in v0.6.11
func ByDisplayID(opts ...sql.OrderTermOption) OrderOption
ByDisplayID orders the results by the display_id field.
func ByEditors ¶ added in v0.5.0
func ByEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEditors orders the results by editors terms.
func ByEditorsCount ¶ added in v0.5.0
func ByEditorsCount(opts ...sql.OrderTermOption) OrderOption
ByEditorsCount orders the results by editors count.
func ByEvidence ¶ added in v0.6.19
func ByEvidence(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEvidence orders the results by evidence terms.
func ByEvidenceCount ¶ added in v0.6.19
func ByEvidenceCount(opts ...sql.OrderTermOption) OrderOption
ByEvidenceCount orders the results by evidence count.
func ByFindings ¶ added in v0.43.3
func ByFindings(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByFindings orders the results by findings terms.
func ByFindingsCount ¶ added in v0.43.3
func ByFindingsCount(opts ...sql.OrderTermOption) OrderOption
ByFindingsCount orders the results by findings count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByInternalNotes ¶ added in v0.34.0
func ByInternalNotes(opts ...sql.OrderTermOption) OrderOption
ByInternalNotes orders the results by the internal_notes field.
func ByInternalPolicies ¶ added in v0.7.3
func ByInternalPolicies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByInternalPolicies orders the results by internal_policies terms.
func ByInternalPoliciesCount ¶ added in v0.7.3
func ByInternalPoliciesCount(opts ...sql.OrderTermOption) OrderOption
ByInternalPoliciesCount orders the results by internal_policies count.
func ByMappedFromControls ¶ added in v0.16.0
func ByMappedFromControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByMappedFromControls orders the results by mapped_from_controls terms.
func ByMappedFromControlsCount ¶ added in v0.16.0
func ByMappedFromControlsCount(opts ...sql.OrderTermOption) OrderOption
ByMappedFromControlsCount orders the results by mapped_from_controls count.
func ByMappedToControls ¶ added in v0.16.0
func ByMappedToControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByMappedToControls orders the results by mapped_to_controls terms.
func ByMappedToControlsCount ¶ added in v0.16.0
func ByMappedToControlsCount(opts ...sql.OrderTermOption) OrderOption
ByMappedToControlsCount orders the results by mapped_to_controls count.
func ByNarratives ¶
func ByNarratives(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByNarratives orders the results by narratives terms.
func ByNarrativesCount ¶
func ByNarrativesCount(opts ...sql.OrderTermOption) OrderOption
ByNarrativesCount orders the results by narratives count.
func ByOwnerField ¶ added in v0.5.0
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶ added in v0.5.0
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByProcedures ¶
func ByProcedures(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByProcedures orders the results by procedures terms.
func ByProceduresCount ¶
func ByProceduresCount(opts ...sql.OrderTermOption) OrderOption
ByProceduresCount orders the results by procedures count.
func ByPrograms ¶ added in v0.3.5
func ByPrograms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByPrograms orders the results by programs terms.
func ByProgramsCount ¶ added in v0.3.5
func ByProgramsCount(opts ...sql.OrderTermOption) OrderOption
ByProgramsCount orders the results by programs count.
func ByRefCode ¶ added in v0.7.3
func ByRefCode(opts ...sql.OrderTermOption) OrderOption
ByRefCode orders the results by the ref_code field.
func ByReferenceFramework ¶ added in v0.16.0
func ByReferenceFramework(opts ...sql.OrderTermOption) OrderOption
ByReferenceFramework orders the results by the reference_framework field.
func ByReferenceFrameworkRevision ¶ added in v0.38.0
func ByReferenceFrameworkRevision(opts ...sql.OrderTermOption) OrderOption
ByReferenceFrameworkRevision orders the results by the reference_framework_revision field.
func ByReferenceID ¶ added in v0.8.7
func ByReferenceID(opts ...sql.OrderTermOption) OrderOption
ByReferenceID orders the results by the reference_id field.
func ByResponsiblePartyField ¶ added in v0.37.4
func ByResponsiblePartyField(field string, opts ...sql.OrderTermOption) OrderOption
ByResponsiblePartyField orders the results by responsible_party field.
func ByResponsiblePartyID ¶ added in v0.37.4
func ByResponsiblePartyID(opts ...sql.OrderTermOption) OrderOption
ByResponsiblePartyID orders the results by the responsible_party_id field.
func ByRisks ¶
func ByRisks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByRisks orders the results by risks terms.
func ByRisksCount ¶
func ByRisksCount(opts ...sql.OrderTermOption) OrderOption
ByRisksCount orders the results by risks count.
func ByScans ¶ added in v0.19.0
func ByScans(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByScans orders the results by scans terms.
func ByScansCount ¶ added in v0.19.0
func ByScansCount(opts ...sql.OrderTermOption) OrderOption
ByScansCount orders the results by scans count.
func ByScheduledJobs ¶ added in v0.15.0
func ByScheduledJobs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByScheduledJobs orders the results by scheduled_jobs terms.
func ByScheduledJobsCount ¶ added in v0.15.0
func ByScheduledJobsCount(opts ...sql.OrderTermOption) OrderOption
ByScheduledJobsCount orders the results by scheduled_jobs count.
func BySource ¶
func BySource(opts ...sql.OrderTermOption) OrderOption
BySource orders the results by the source field.
func ByStandardField ¶ added in v0.7.3
func ByStandardField(field string, opts ...sql.OrderTermOption) OrderOption
ByStandardField orders the results by standard field.
func ByStandardID ¶ added in v0.7.3
func ByStandardID(opts ...sql.OrderTermOption) OrderOption
ByStandardID orders the results by the standard_id field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func BySubcategory ¶ added in v0.7.3
func BySubcategory(opts ...sql.OrderTermOption) OrderOption
BySubcategory orders the results by the subcategory field.
func BySubcontrols ¶
func BySubcontrols(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySubcontrols orders the results by subcontrols terms.
func BySubcontrolsCount ¶
func BySubcontrolsCount(opts ...sql.OrderTermOption) OrderOption
BySubcontrolsCount orders the results by subcontrols count.
func BySystemInternalID ¶ added in v0.34.0
func BySystemInternalID(opts ...sql.OrderTermOption) OrderOption
BySystemInternalID orders the results by the system_internal_id field.
func BySystemOwned ¶ added in v0.34.0
func BySystemOwned(opts ...sql.OrderTermOption) OrderOption
BySystemOwned orders the results by the system_owned field.
func ByTasks ¶ added in v0.3.4
func ByTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTasks orders the results by tasks terms.
func ByTasksCount ¶ added in v0.3.4
func ByTasksCount(opts ...sql.OrderTermOption) OrderOption
ByTasksCount orders the results by tasks count.
func ByTitle ¶ added in v0.37.2
func ByTitle(opts ...sql.OrderTermOption) OrderOption
ByTitle orders the results by the title field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.
func ByWorkflowEligibleMarker ¶ added in v0.52.0
func ByWorkflowEligibleMarker(opts ...sql.OrderTermOption) OrderOption
ByWorkflowEligibleMarker orders the results by the workflow_eligible_marker field.
func ByWorkflowObjectRefs ¶ added in v0.46.3
func ByWorkflowObjectRefs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByWorkflowObjectRefs orders the results by workflow_object_refs terms.
func ByWorkflowObjectRefsCount ¶ added in v0.46.3
func ByWorkflowObjectRefsCount(opts ...sql.OrderTermOption) OrderOption
ByWorkflowObjectRefsCount orders the results by workflow_object_refs count.