Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.InternalPolicy) predicate.InternalPolicy
- func ApprovalRequired(v bool) predicate.InternalPolicy
- func ApprovalRequiredEQ(v bool) predicate.InternalPolicy
- func ApprovalRequiredIsNil() predicate.InternalPolicy
- func ApprovalRequiredNEQ(v bool) predicate.InternalPolicy
- func ApprovalRequiredNotNil() predicate.InternalPolicy
- func ApproverID(v string) predicate.InternalPolicy
- func ApproverIDContains(v string) predicate.InternalPolicy
- func ApproverIDContainsFold(v string) predicate.InternalPolicy
- func ApproverIDEQ(v string) predicate.InternalPolicy
- func ApproverIDEqualFold(v string) predicate.InternalPolicy
- func ApproverIDGT(v string) predicate.InternalPolicy
- func ApproverIDGTE(v string) predicate.InternalPolicy
- func ApproverIDHasPrefix(v string) predicate.InternalPolicy
- func ApproverIDHasSuffix(v string) predicate.InternalPolicy
- func ApproverIDIn(vs ...string) predicate.InternalPolicy
- func ApproverIDIsNil() predicate.InternalPolicy
- func ApproverIDLT(v string) predicate.InternalPolicy
- func ApproverIDLTE(v string) predicate.InternalPolicy
- func ApproverIDNEQ(v string) predicate.InternalPolicy
- func ApproverIDNotIn(vs ...string) predicate.InternalPolicy
- func ApproverIDNotNil() predicate.InternalPolicy
- func ControlSuggestionsIsNil() predicate.InternalPolicy
- func ControlSuggestionsNotNil() predicate.InternalPolicy
- func CreatedAt(v time.Time) predicate.InternalPolicy
- func CreatedAtEQ(v time.Time) predicate.InternalPolicy
- func CreatedAtGT(v time.Time) predicate.InternalPolicy
- func CreatedAtGTE(v time.Time) predicate.InternalPolicy
- func CreatedAtIn(vs ...time.Time) predicate.InternalPolicy
- func CreatedAtIsNil() predicate.InternalPolicy
- func CreatedAtLT(v time.Time) predicate.InternalPolicy
- func CreatedAtLTE(v time.Time) predicate.InternalPolicy
- func CreatedAtNEQ(v time.Time) predicate.InternalPolicy
- func CreatedAtNotIn(vs ...time.Time) predicate.InternalPolicy
- func CreatedAtNotNil() predicate.InternalPolicy
- func CreatedBy(v string) predicate.InternalPolicy
- func CreatedByContains(v string) predicate.InternalPolicy
- func CreatedByContainsFold(v string) predicate.InternalPolicy
- func CreatedByEQ(v string) predicate.InternalPolicy
- func CreatedByEqualFold(v string) predicate.InternalPolicy
- func CreatedByGT(v string) predicate.InternalPolicy
- func CreatedByGTE(v string) predicate.InternalPolicy
- func CreatedByHasPrefix(v string) predicate.InternalPolicy
- func CreatedByHasSuffix(v string) predicate.InternalPolicy
- func CreatedByIn(vs ...string) predicate.InternalPolicy
- func CreatedByIsNil() predicate.InternalPolicy
- func CreatedByLT(v string) predicate.InternalPolicy
- func CreatedByLTE(v string) predicate.InternalPolicy
- func CreatedByNEQ(v string) predicate.InternalPolicy
- func CreatedByNotIn(vs ...string) predicate.InternalPolicy
- func CreatedByNotNil() predicate.InternalPolicy
- func DelegateID(v string) predicate.InternalPolicy
- func DelegateIDContains(v string) predicate.InternalPolicy
- func DelegateIDContainsFold(v string) predicate.InternalPolicy
- func DelegateIDEQ(v string) predicate.InternalPolicy
- func DelegateIDEqualFold(v string) predicate.InternalPolicy
- func DelegateIDGT(v string) predicate.InternalPolicy
- func DelegateIDGTE(v string) predicate.InternalPolicy
- func DelegateIDHasPrefix(v string) predicate.InternalPolicy
- func DelegateIDHasSuffix(v string) predicate.InternalPolicy
- func DelegateIDIn(vs ...string) predicate.InternalPolicy
- func DelegateIDIsNil() predicate.InternalPolicy
- func DelegateIDLT(v string) predicate.InternalPolicy
- func DelegateIDLTE(v string) predicate.InternalPolicy
- func DelegateIDNEQ(v string) predicate.InternalPolicy
- func DelegateIDNotIn(vs ...string) predicate.InternalPolicy
- func DelegateIDNotNil() predicate.InternalPolicy
- func DeletedAt(v time.Time) predicate.InternalPolicy
- func DeletedAtEQ(v time.Time) predicate.InternalPolicy
- func DeletedAtGT(v time.Time) predicate.InternalPolicy
- func DeletedAtGTE(v time.Time) predicate.InternalPolicy
- func DeletedAtIn(vs ...time.Time) predicate.InternalPolicy
- func DeletedAtIsNil() predicate.InternalPolicy
- func DeletedAtLT(v time.Time) predicate.InternalPolicy
- func DeletedAtLTE(v time.Time) predicate.InternalPolicy
- func DeletedAtNEQ(v time.Time) predicate.InternalPolicy
- func DeletedAtNotIn(vs ...time.Time) predicate.InternalPolicy
- func DeletedAtNotNil() predicate.InternalPolicy
- func DeletedBy(v string) predicate.InternalPolicy
- func DeletedByContains(v string) predicate.InternalPolicy
- func DeletedByContainsFold(v string) predicate.InternalPolicy
- func DeletedByEQ(v string) predicate.InternalPolicy
- func DeletedByEqualFold(v string) predicate.InternalPolicy
- func DeletedByGT(v string) predicate.InternalPolicy
- func DeletedByGTE(v string) predicate.InternalPolicy
- func DeletedByHasPrefix(v string) predicate.InternalPolicy
- func DeletedByHasSuffix(v string) predicate.InternalPolicy
- func DeletedByIn(vs ...string) predicate.InternalPolicy
- func DeletedByIsNil() predicate.InternalPolicy
- func DeletedByLT(v string) predicate.InternalPolicy
- func DeletedByLTE(v string) predicate.InternalPolicy
- func DeletedByNEQ(v string) predicate.InternalPolicy
- func DeletedByNotIn(vs ...string) predicate.InternalPolicy
- func DeletedByNotNil() predicate.InternalPolicy
- func Details(v string) predicate.InternalPolicy
- func DetailsContains(v string) predicate.InternalPolicy
- func DetailsContainsFold(v string) predicate.InternalPolicy
- func DetailsEQ(v string) predicate.InternalPolicy
- func DetailsEqualFold(v string) predicate.InternalPolicy
- func DetailsGT(v string) predicate.InternalPolicy
- func DetailsGTE(v string) predicate.InternalPolicy
- func DetailsHasPrefix(v string) predicate.InternalPolicy
- func DetailsHasSuffix(v string) predicate.InternalPolicy
- func DetailsIn(vs ...string) predicate.InternalPolicy
- func DetailsIsNil() predicate.InternalPolicy
- func DetailsJSONIsNil() predicate.InternalPolicy
- func DetailsJSONNotNil() predicate.InternalPolicy
- func DetailsLT(v string) predicate.InternalPolicy
- func DetailsLTE(v string) predicate.InternalPolicy
- func DetailsNEQ(v string) predicate.InternalPolicy
- func DetailsNotIn(vs ...string) predicate.InternalPolicy
- func DetailsNotNil() predicate.InternalPolicy
- func DismissedControlSuggestionsIsNil() predicate.InternalPolicy
- func DismissedControlSuggestionsNotNil() predicate.InternalPolicy
- func DismissedImprovementSuggestionsIsNil() predicate.InternalPolicy
- func DismissedImprovementSuggestionsNotNil() predicate.InternalPolicy
- func DismissedTagSuggestionsIsNil() predicate.InternalPolicy
- func DismissedTagSuggestionsNotNil() predicate.InternalPolicy
- func DisplayID(v string) predicate.InternalPolicy
- func DisplayIDContains(v string) predicate.InternalPolicy
- func DisplayIDContainsFold(v string) predicate.InternalPolicy
- func DisplayIDEQ(v string) predicate.InternalPolicy
- func DisplayIDEqualFold(v string) predicate.InternalPolicy
- func DisplayIDGT(v string) predicate.InternalPolicy
- func DisplayIDGTE(v string) predicate.InternalPolicy
- func DisplayIDHasPrefix(v string) predicate.InternalPolicy
- func DisplayIDHasSuffix(v string) predicate.InternalPolicy
- func DisplayIDIn(vs ...string) predicate.InternalPolicy
- func DisplayIDLT(v string) predicate.InternalPolicy
- func DisplayIDLTE(v string) predicate.InternalPolicy
- func DisplayIDNEQ(v string) predicate.InternalPolicy
- func DisplayIDNotIn(vs ...string) predicate.InternalPolicy
- func EnvironmentID(v string) predicate.InternalPolicy
- func EnvironmentIDContains(v string) predicate.InternalPolicy
- func EnvironmentIDContainsFold(v string) predicate.InternalPolicy
- func EnvironmentIDEQ(v string) predicate.InternalPolicy
- func EnvironmentIDEqualFold(v string) predicate.InternalPolicy
- func EnvironmentIDGT(v string) predicate.InternalPolicy
- func EnvironmentIDGTE(v string) predicate.InternalPolicy
- func EnvironmentIDHasPrefix(v string) predicate.InternalPolicy
- func EnvironmentIDHasSuffix(v string) predicate.InternalPolicy
- func EnvironmentIDIn(vs ...string) predicate.InternalPolicy
- func EnvironmentIDIsNil() predicate.InternalPolicy
- func EnvironmentIDLT(v string) predicate.InternalPolicy
- func EnvironmentIDLTE(v string) predicate.InternalPolicy
- func EnvironmentIDNEQ(v string) predicate.InternalPolicy
- func EnvironmentIDNotIn(vs ...string) predicate.InternalPolicy
- func EnvironmentIDNotNil() predicate.InternalPolicy
- func EnvironmentName(v string) predicate.InternalPolicy
- func EnvironmentNameContains(v string) predicate.InternalPolicy
- func EnvironmentNameContainsFold(v string) predicate.InternalPolicy
- func EnvironmentNameEQ(v string) predicate.InternalPolicy
- func EnvironmentNameEqualFold(v string) predicate.InternalPolicy
- func EnvironmentNameGT(v string) predicate.InternalPolicy
- func EnvironmentNameGTE(v string) predicate.InternalPolicy
- func EnvironmentNameHasPrefix(v string) predicate.InternalPolicy
- func EnvironmentNameHasSuffix(v string) predicate.InternalPolicy
- func EnvironmentNameIn(vs ...string) predicate.InternalPolicy
- func EnvironmentNameIsNil() predicate.InternalPolicy
- func EnvironmentNameLT(v string) predicate.InternalPolicy
- func EnvironmentNameLTE(v string) predicate.InternalPolicy
- func EnvironmentNameNEQ(v string) predicate.InternalPolicy
- func EnvironmentNameNotIn(vs ...string) predicate.InternalPolicy
- func EnvironmentNameNotNil() predicate.InternalPolicy
- func ExternalUUID(v string) predicate.InternalPolicy
- func ExternalUUIDContains(v string) predicate.InternalPolicy
- func ExternalUUIDContainsFold(v string) predicate.InternalPolicy
- func ExternalUUIDEQ(v string) predicate.InternalPolicy
- func ExternalUUIDEqualFold(v string) predicate.InternalPolicy
- func ExternalUUIDGT(v string) predicate.InternalPolicy
- func ExternalUUIDGTE(v string) predicate.InternalPolicy
- func ExternalUUIDHasPrefix(v string) predicate.InternalPolicy
- func ExternalUUIDHasSuffix(v string) predicate.InternalPolicy
- func ExternalUUIDIn(vs ...string) predicate.InternalPolicy
- func ExternalUUIDIsNil() predicate.InternalPolicy
- func ExternalUUIDLT(v string) predicate.InternalPolicy
- func ExternalUUIDLTE(v string) predicate.InternalPolicy
- func ExternalUUIDNEQ(v string) predicate.InternalPolicy
- func ExternalUUIDNotIn(vs ...string) predicate.InternalPolicy
- func ExternalUUIDNotNil() predicate.InternalPolicy
- func FileID(v string) predicate.InternalPolicy
- func FileIDContains(v string) predicate.InternalPolicy
- func FileIDContainsFold(v string) predicate.InternalPolicy
- func FileIDEQ(v string) predicate.InternalPolicy
- func FileIDEqualFold(v string) predicate.InternalPolicy
- func FileIDGT(v string) predicate.InternalPolicy
- func FileIDGTE(v string) predicate.InternalPolicy
- func FileIDHasPrefix(v string) predicate.InternalPolicy
- func FileIDHasSuffix(v string) predicate.InternalPolicy
- func FileIDIn(vs ...string) predicate.InternalPolicy
- func FileIDIsNil() predicate.InternalPolicy
- func FileIDLT(v string) predicate.InternalPolicy
- func FileIDLTE(v string) predicate.InternalPolicy
- func FileIDNEQ(v string) predicate.InternalPolicy
- func FileIDNotIn(vs ...string) predicate.InternalPolicy
- func FileIDNotNil() predicate.InternalPolicy
- func HasApprover() predicate.InternalPolicy
- func HasApproverWith(preds ...predicate.Group) predicate.InternalPolicy
- func HasBlockedGroups() predicate.InternalPolicy
- func HasBlockedGroupsWith(preds ...predicate.Group) predicate.InternalPolicy
- func HasComments() predicate.InternalPolicy
- func HasCommentsWith(preds ...predicate.Note) predicate.InternalPolicy
- func HasControlImplementations() predicate.InternalPolicy
- func HasControlImplementationsWith(preds ...predicate.ControlImplementation) predicate.InternalPolicy
- func HasControlObjectives() predicate.InternalPolicy
- func HasControlObjectivesWith(preds ...predicate.ControlObjective) predicate.InternalPolicy
- func HasControls() predicate.InternalPolicy
- func HasControlsWith(preds ...predicate.Control) predicate.InternalPolicy
- func HasDelegate() predicate.InternalPolicy
- func HasDelegateWith(preds ...predicate.Group) predicate.InternalPolicy
- func HasDiscussions() predicate.InternalPolicy
- func HasDiscussionsWith(preds ...predicate.Discussion) predicate.InternalPolicy
- func HasEditors() predicate.InternalPolicy
- func HasEditorsWith(preds ...predicate.Group) predicate.InternalPolicy
- func HasEnvironment() predicate.InternalPolicy
- func HasEnvironmentWith(preds ...predicate.CustomTypeEnum) predicate.InternalPolicy
- func HasFile() predicate.InternalPolicy
- func HasFileWith(preds ...predicate.File) predicate.InternalPolicy
- func HasInternalPolicyKind() predicate.InternalPolicy
- func HasInternalPolicyKindWith(preds ...predicate.CustomTypeEnum) predicate.InternalPolicy
- func HasNarratives() predicate.InternalPolicy
- func HasNarrativesWith(preds ...predicate.Narrative) predicate.InternalPolicy
- func HasOwner() predicate.InternalPolicy
- func HasOwnerWith(preds ...predicate.Organization) predicate.InternalPolicy
- func HasProcedures() predicate.InternalPolicy
- func HasProceduresWith(preds ...predicate.Procedure) predicate.InternalPolicy
- func HasPrograms() predicate.InternalPolicy
- func HasProgramsWith(preds ...predicate.Program) predicate.InternalPolicy
- func HasRisks() predicate.InternalPolicy
- func HasRisksWith(preds ...predicate.Risk) predicate.InternalPolicy
- func HasScope() predicate.InternalPolicy
- func HasScopeWith(preds ...predicate.CustomTypeEnum) predicate.InternalPolicy
- func HasSubcontrols() predicate.InternalPolicy
- func HasSubcontrolsWith(preds ...predicate.Subcontrol) predicate.InternalPolicy
- func HasTasks() predicate.InternalPolicy
- func HasTasksWith(preds ...predicate.Task) predicate.InternalPolicy
- func HasWorkflowObjectRefs() predicate.InternalPolicy
- func HasWorkflowObjectRefsWith(preds ...predicate.WorkflowObjectRef) predicate.InternalPolicy
- func ID(id string) predicate.InternalPolicy
- func IDContainsFold(id string) predicate.InternalPolicy
- func IDEQ(id string) predicate.InternalPolicy
- func IDEqualFold(id string) predicate.InternalPolicy
- func IDGT(id string) predicate.InternalPolicy
- func IDGTE(id string) predicate.InternalPolicy
- func IDIn(ids ...string) predicate.InternalPolicy
- func IDLT(id string) predicate.InternalPolicy
- func IDLTE(id string) predicate.InternalPolicy
- func IDNEQ(id string) predicate.InternalPolicy
- func IDNotIn(ids ...string) predicate.InternalPolicy
- func ImprovementSuggestionsIsNil() predicate.InternalPolicy
- func ImprovementSuggestionsNotNil() predicate.InternalPolicy
- func InternalNotes(v string) predicate.InternalPolicy
- func InternalNotesContains(v string) predicate.InternalPolicy
- func InternalNotesContainsFold(v string) predicate.InternalPolicy
- func InternalNotesEQ(v string) predicate.InternalPolicy
- func InternalNotesEqualFold(v string) predicate.InternalPolicy
- func InternalNotesGT(v string) predicate.InternalPolicy
- func InternalNotesGTE(v string) predicate.InternalPolicy
- func InternalNotesHasPrefix(v string) predicate.InternalPolicy
- func InternalNotesHasSuffix(v string) predicate.InternalPolicy
- func InternalNotesIn(vs ...string) predicate.InternalPolicy
- func InternalNotesIsNil() predicate.InternalPolicy
- func InternalNotesLT(v string) predicate.InternalPolicy
- func InternalNotesLTE(v string) predicate.InternalPolicy
- func InternalNotesNEQ(v string) predicate.InternalPolicy
- func InternalNotesNotIn(vs ...string) predicate.InternalPolicy
- func InternalNotesNotNil() predicate.InternalPolicy
- func InternalPolicyKindID(v string) predicate.InternalPolicy
- func InternalPolicyKindIDContains(v string) predicate.InternalPolicy
- func InternalPolicyKindIDContainsFold(v string) predicate.InternalPolicy
- func InternalPolicyKindIDEQ(v string) predicate.InternalPolicy
- func InternalPolicyKindIDEqualFold(v string) predicate.InternalPolicy
- func InternalPolicyKindIDGT(v string) predicate.InternalPolicy
- func InternalPolicyKindIDGTE(v string) predicate.InternalPolicy
- func InternalPolicyKindIDHasPrefix(v string) predicate.InternalPolicy
- func InternalPolicyKindIDHasSuffix(v string) predicate.InternalPolicy
- func InternalPolicyKindIDIn(vs ...string) predicate.InternalPolicy
- func InternalPolicyKindIDIsNil() predicate.InternalPolicy
- func InternalPolicyKindIDLT(v string) predicate.InternalPolicy
- func InternalPolicyKindIDLTE(v string) predicate.InternalPolicy
- func InternalPolicyKindIDNEQ(v string) predicate.InternalPolicy
- func InternalPolicyKindIDNotIn(vs ...string) predicate.InternalPolicy
- func InternalPolicyKindIDNotNil() predicate.InternalPolicy
- func InternalPolicyKindName(v string) predicate.InternalPolicy
- func InternalPolicyKindNameContains(v string) predicate.InternalPolicy
- func InternalPolicyKindNameContainsFold(v string) predicate.InternalPolicy
- func InternalPolicyKindNameEQ(v string) predicate.InternalPolicy
- func InternalPolicyKindNameEqualFold(v string) predicate.InternalPolicy
- func InternalPolicyKindNameGT(v string) predicate.InternalPolicy
- func InternalPolicyKindNameGTE(v string) predicate.InternalPolicy
- func InternalPolicyKindNameHasPrefix(v string) predicate.InternalPolicy
- func InternalPolicyKindNameHasSuffix(v string) predicate.InternalPolicy
- func InternalPolicyKindNameIn(vs ...string) predicate.InternalPolicy
- func InternalPolicyKindNameIsNil() predicate.InternalPolicy
- func InternalPolicyKindNameLT(v string) predicate.InternalPolicy
- func InternalPolicyKindNameLTE(v string) predicate.InternalPolicy
- func InternalPolicyKindNameNEQ(v string) predicate.InternalPolicy
- func InternalPolicyKindNameNotIn(vs ...string) predicate.InternalPolicy
- func InternalPolicyKindNameNotNil() predicate.InternalPolicy
- func Name(v string) predicate.InternalPolicy
- func NameContains(v string) predicate.InternalPolicy
- func NameContainsFold(v string) predicate.InternalPolicy
- func NameEQ(v string) predicate.InternalPolicy
- func NameEqualFold(v string) predicate.InternalPolicy
- func NameGT(v string) predicate.InternalPolicy
- func NameGTE(v string) predicate.InternalPolicy
- func NameHasPrefix(v string) predicate.InternalPolicy
- func NameHasSuffix(v string) predicate.InternalPolicy
- func NameIn(vs ...string) predicate.InternalPolicy
- func NameLT(v string) predicate.InternalPolicy
- func NameLTE(v string) predicate.InternalPolicy
- func NameNEQ(v string) predicate.InternalPolicy
- func NameNotIn(vs ...string) predicate.InternalPolicy
- func Not(p predicate.InternalPolicy) predicate.InternalPolicy
- func Or(predicates ...predicate.InternalPolicy) predicate.InternalPolicy
- func OwnerID(v string) predicate.InternalPolicy
- func OwnerIDContains(v string) predicate.InternalPolicy
- func OwnerIDContainsFold(v string) predicate.InternalPolicy
- func OwnerIDEQ(v string) predicate.InternalPolicy
- func OwnerIDEqualFold(v string) predicate.InternalPolicy
- func OwnerIDGT(v string) predicate.InternalPolicy
- func OwnerIDGTE(v string) predicate.InternalPolicy
- func OwnerIDHasPrefix(v string) predicate.InternalPolicy
- func OwnerIDHasSuffix(v string) predicate.InternalPolicy
- func OwnerIDIn(vs ...string) predicate.InternalPolicy
- func OwnerIDIsNil() predicate.InternalPolicy
- func OwnerIDLT(v string) predicate.InternalPolicy
- func OwnerIDLTE(v string) predicate.InternalPolicy
- func OwnerIDNEQ(v string) predicate.InternalPolicy
- func OwnerIDNotIn(vs ...string) predicate.InternalPolicy
- func OwnerIDNotNil() predicate.InternalPolicy
- func ReviewDue(v time.Time) predicate.InternalPolicy
- func ReviewDueEQ(v time.Time) predicate.InternalPolicy
- func ReviewDueGT(v time.Time) predicate.InternalPolicy
- func ReviewDueGTE(v time.Time) predicate.InternalPolicy
- func ReviewDueIn(vs ...time.Time) predicate.InternalPolicy
- func ReviewDueIsNil() predicate.InternalPolicy
- func ReviewDueLT(v time.Time) predicate.InternalPolicy
- func ReviewDueLTE(v time.Time) predicate.InternalPolicy
- func ReviewDueNEQ(v time.Time) predicate.InternalPolicy
- func ReviewDueNotIn(vs ...time.Time) predicate.InternalPolicy
- func ReviewDueNotNil() predicate.InternalPolicy
- func ReviewFrequencyEQ(v enums.Frequency) predicate.InternalPolicy
- func ReviewFrequencyIn(vs ...enums.Frequency) predicate.InternalPolicy
- func ReviewFrequencyIsNil() predicate.InternalPolicy
- func ReviewFrequencyNEQ(v enums.Frequency) predicate.InternalPolicy
- func ReviewFrequencyNotIn(vs ...enums.Frequency) predicate.InternalPolicy
- func ReviewFrequencyNotNil() predicate.InternalPolicy
- func ReviewFrequencyValidator(rf enums.Frequency) error
- func Revision(v string) predicate.InternalPolicy
- func RevisionContains(v string) predicate.InternalPolicy
- func RevisionContainsFold(v string) predicate.InternalPolicy
- func RevisionEQ(v string) predicate.InternalPolicy
- func RevisionEqualFold(v string) predicate.InternalPolicy
- func RevisionGT(v string) predicate.InternalPolicy
- func RevisionGTE(v string) predicate.InternalPolicy
- func RevisionHasPrefix(v string) predicate.InternalPolicy
- func RevisionHasSuffix(v string) predicate.InternalPolicy
- func RevisionIn(vs ...string) predicate.InternalPolicy
- func RevisionIsNil() predicate.InternalPolicy
- func RevisionLT(v string) predicate.InternalPolicy
- func RevisionLTE(v string) predicate.InternalPolicy
- func RevisionNEQ(v string) predicate.InternalPolicy
- func RevisionNotIn(vs ...string) predicate.InternalPolicy
- func RevisionNotNil() predicate.InternalPolicy
- func ScopeID(v string) predicate.InternalPolicy
- func ScopeIDContains(v string) predicate.InternalPolicy
- func ScopeIDContainsFold(v string) predicate.InternalPolicy
- func ScopeIDEQ(v string) predicate.InternalPolicy
- func ScopeIDEqualFold(v string) predicate.InternalPolicy
- func ScopeIDGT(v string) predicate.InternalPolicy
- func ScopeIDGTE(v string) predicate.InternalPolicy
- func ScopeIDHasPrefix(v string) predicate.InternalPolicy
- func ScopeIDHasSuffix(v string) predicate.InternalPolicy
- func ScopeIDIn(vs ...string) predicate.InternalPolicy
- func ScopeIDIsNil() predicate.InternalPolicy
- func ScopeIDLT(v string) predicate.InternalPolicy
- func ScopeIDLTE(v string) predicate.InternalPolicy
- func ScopeIDNEQ(v string) predicate.InternalPolicy
- func ScopeIDNotIn(vs ...string) predicate.InternalPolicy
- func ScopeIDNotNil() predicate.InternalPolicy
- func ScopeName(v string) predicate.InternalPolicy
- func ScopeNameContains(v string) predicate.InternalPolicy
- func ScopeNameContainsFold(v string) predicate.InternalPolicy
- func ScopeNameEQ(v string) predicate.InternalPolicy
- func ScopeNameEqualFold(v string) predicate.InternalPolicy
- func ScopeNameGT(v string) predicate.InternalPolicy
- func ScopeNameGTE(v string) predicate.InternalPolicy
- func ScopeNameHasPrefix(v string) predicate.InternalPolicy
- func ScopeNameHasSuffix(v string) predicate.InternalPolicy
- func ScopeNameIn(vs ...string) predicate.InternalPolicy
- func ScopeNameIsNil() predicate.InternalPolicy
- func ScopeNameLT(v string) predicate.InternalPolicy
- func ScopeNameLTE(v string) predicate.InternalPolicy
- func ScopeNameNEQ(v string) predicate.InternalPolicy
- func ScopeNameNotIn(vs ...string) predicate.InternalPolicy
- func ScopeNameNotNil() predicate.InternalPolicy
- func StatusEQ(v enums.DocumentStatus) predicate.InternalPolicy
- func StatusIn(vs ...enums.DocumentStatus) predicate.InternalPolicy
- func StatusIsNil() predicate.InternalPolicy
- func StatusNEQ(v enums.DocumentStatus) predicate.InternalPolicy
- func StatusNotIn(vs ...enums.DocumentStatus) predicate.InternalPolicy
- func StatusNotNil() predicate.InternalPolicy
- func StatusValidator(s enums.DocumentStatus) error
- func Summary(v string) predicate.InternalPolicy
- func SummaryContains(v string) predicate.InternalPolicy
- func SummaryContainsFold(v string) predicate.InternalPolicy
- func SummaryEQ(v string) predicate.InternalPolicy
- func SummaryEqualFold(v string) predicate.InternalPolicy
- func SummaryGT(v string) predicate.InternalPolicy
- func SummaryGTE(v string) predicate.InternalPolicy
- func SummaryHasPrefix(v string) predicate.InternalPolicy
- func SummaryHasSuffix(v string) predicate.InternalPolicy
- func SummaryIn(vs ...string) predicate.InternalPolicy
- func SummaryIsNil() predicate.InternalPolicy
- func SummaryLT(v string) predicate.InternalPolicy
- func SummaryLTE(v string) predicate.InternalPolicy
- func SummaryNEQ(v string) predicate.InternalPolicy
- func SummaryNotIn(vs ...string) predicate.InternalPolicy
- func SummaryNotNil() predicate.InternalPolicy
- func SystemInternalID(v string) predicate.InternalPolicy
- func SystemInternalIDContains(v string) predicate.InternalPolicy
- func SystemInternalIDContainsFold(v string) predicate.InternalPolicy
- func SystemInternalIDEQ(v string) predicate.InternalPolicy
- func SystemInternalIDEqualFold(v string) predicate.InternalPolicy
- func SystemInternalIDGT(v string) predicate.InternalPolicy
- func SystemInternalIDGTE(v string) predicate.InternalPolicy
- func SystemInternalIDHasPrefix(v string) predicate.InternalPolicy
- func SystemInternalIDHasSuffix(v string) predicate.InternalPolicy
- func SystemInternalIDIn(vs ...string) predicate.InternalPolicy
- func SystemInternalIDIsNil() predicate.InternalPolicy
- func SystemInternalIDLT(v string) predicate.InternalPolicy
- func SystemInternalIDLTE(v string) predicate.InternalPolicy
- func SystemInternalIDNEQ(v string) predicate.InternalPolicy
- func SystemInternalIDNotIn(vs ...string) predicate.InternalPolicy
- func SystemInternalIDNotNil() predicate.InternalPolicy
- func SystemOwned(v bool) predicate.InternalPolicy
- func SystemOwnedEQ(v bool) predicate.InternalPolicy
- func SystemOwnedIsNil() predicate.InternalPolicy
- func SystemOwnedNEQ(v bool) predicate.InternalPolicy
- func SystemOwnedNotNil() predicate.InternalPolicy
- func TagSuggestionsIsNil() predicate.InternalPolicy
- func TagSuggestionsNotNil() predicate.InternalPolicy
- func TagsIsNil() predicate.InternalPolicy
- func TagsNotNil() predicate.InternalPolicy
- func URL(v string) predicate.InternalPolicy
- func URLContains(v string) predicate.InternalPolicy
- func URLContainsFold(v string) predicate.InternalPolicy
- func URLEQ(v string) predicate.InternalPolicy
- func URLEqualFold(v string) predicate.InternalPolicy
- func URLGT(v string) predicate.InternalPolicy
- func URLGTE(v string) predicate.InternalPolicy
- func URLHasPrefix(v string) predicate.InternalPolicy
- func URLHasSuffix(v string) predicate.InternalPolicy
- func URLIn(vs ...string) predicate.InternalPolicy
- func URLIsNil() predicate.InternalPolicy
- func URLLT(v string) predicate.InternalPolicy
- func URLLTE(v string) predicate.InternalPolicy
- func URLNEQ(v string) predicate.InternalPolicy
- func URLNotIn(vs ...string) predicate.InternalPolicy
- func URLNotNil() predicate.InternalPolicy
- func UpdatedAt(v time.Time) predicate.InternalPolicy
- func UpdatedAtEQ(v time.Time) predicate.InternalPolicy
- func UpdatedAtGT(v time.Time) predicate.InternalPolicy
- func UpdatedAtGTE(v time.Time) predicate.InternalPolicy
- func UpdatedAtIn(vs ...time.Time) predicate.InternalPolicy
- func UpdatedAtIsNil() predicate.InternalPolicy
- func UpdatedAtLT(v time.Time) predicate.InternalPolicy
- func UpdatedAtLTE(v time.Time) predicate.InternalPolicy
- func UpdatedAtNEQ(v time.Time) predicate.InternalPolicy
- func UpdatedAtNotIn(vs ...time.Time) predicate.InternalPolicy
- func UpdatedAtNotNil() predicate.InternalPolicy
- func UpdatedBy(v string) predicate.InternalPolicy
- func UpdatedByContains(v string) predicate.InternalPolicy
- func UpdatedByContainsFold(v string) predicate.InternalPolicy
- func UpdatedByEQ(v string) predicate.InternalPolicy
- func UpdatedByEqualFold(v string) predicate.InternalPolicy
- func UpdatedByGT(v string) predicate.InternalPolicy
- func UpdatedByGTE(v string) predicate.InternalPolicy
- func UpdatedByHasPrefix(v string) predicate.InternalPolicy
- func UpdatedByHasSuffix(v string) predicate.InternalPolicy
- func UpdatedByIn(vs ...string) predicate.InternalPolicy
- func UpdatedByIsNil() predicate.InternalPolicy
- func UpdatedByLT(v string) predicate.InternalPolicy
- func UpdatedByLTE(v string) predicate.InternalPolicy
- func UpdatedByNEQ(v string) predicate.InternalPolicy
- func UpdatedByNotIn(vs ...string) predicate.InternalPolicy
- func UpdatedByNotNil() predicate.InternalPolicy
- func ValidColumn(column string) bool
- func WorkflowEligibleMarker(v bool) predicate.InternalPolicy
- func WorkflowEligibleMarkerEQ(v bool) predicate.InternalPolicy
- func WorkflowEligibleMarkerIsNil() predicate.InternalPolicy
- func WorkflowEligibleMarkerNEQ(v bool) predicate.InternalPolicy
- func WorkflowEligibleMarkerNotNil() predicate.InternalPolicy
- type OrderOption
- func ByApprovalRequired(opts ...sql.OrderTermOption) OrderOption
- func ByApproverField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByApproverID(opts ...sql.OrderTermOption) OrderOption
- func ByBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByBlockedGroupsCount(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 ByControlObjectives(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByControlObjectivesCount(opts ...sql.OrderTermOption) OrderOption
- func ByControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByControlsCount(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 ByDetails(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 ByEnvironmentField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByEnvironmentID(opts ...sql.OrderTermOption) OrderOption
- func ByEnvironmentName(opts ...sql.OrderTermOption) OrderOption
- func ByExternalUUID(opts ...sql.OrderTermOption) OrderOption
- func ByFileField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByFileID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByInternalNotes(opts ...sql.OrderTermOption) OrderOption
- func ByInternalPolicyKindField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByInternalPolicyKindID(opts ...sql.OrderTermOption) OrderOption
- func ByInternalPolicyKindName(opts ...sql.OrderTermOption) OrderOption
- func ByName(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 ByReviewDue(opts ...sql.OrderTermOption) OrderOption
- func ByReviewFrequency(opts ...sql.OrderTermOption) OrderOption
- func ByRevision(opts ...sql.OrderTermOption) OrderOption
- func ByRisks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRisksCount(opts ...sql.OrderTermOption) OrderOption
- func ByScopeField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByScopeID(opts ...sql.OrderTermOption) OrderOption
- func ByScopeName(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func BySubcontrols(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySubcontrolsCount(opts ...sql.OrderTermOption) OrderOption
- func BySummary(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 ByURL(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 internalpolicy type in the database. Label = "internal_policy" // 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" // FieldRevision holds the string denoting the revision field in the database. FieldRevision = "revision" // 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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldDetails holds the string denoting the details field in the database. FieldDetails = "details" // FieldDetailsJSON holds the string denoting the details_json field in the database. FieldDetailsJSON = "details_json" // FieldApprovalRequired holds the string denoting the approval_required field in the database. FieldApprovalRequired = "approval_required" // FieldReviewDue holds the string denoting the review_due field in the database. FieldReviewDue = "review_due" // FieldReviewFrequency holds the string denoting the review_frequency field in the database. FieldReviewFrequency = "review_frequency" // FieldApproverID holds the string denoting the approver_id field in the database. FieldApproverID = "approver_id" // FieldDelegateID holds the string denoting the delegate_id field in the database. FieldDelegateID = "delegate_id" // FieldSummary holds the string denoting the summary field in the database. FieldSummary = "summary" // FieldTagSuggestions holds the string denoting the tag_suggestions field in the database. FieldTagSuggestions = "tag_suggestions" // FieldDismissedTagSuggestions holds the string denoting the dismissed_tag_suggestions field in the database. FieldDismissedTagSuggestions = "dismissed_tag_suggestions" // FieldControlSuggestions holds the string denoting the control_suggestions field in the database. FieldControlSuggestions = "control_suggestions" // FieldDismissedControlSuggestions holds the string denoting the dismissed_control_suggestions field in the database. FieldDismissedControlSuggestions = "dismissed_control_suggestions" // FieldImprovementSuggestions holds the string denoting the improvement_suggestions field in the database. FieldImprovementSuggestions = "improvement_suggestions" // FieldDismissedImprovementSuggestions holds the string denoting the dismissed_improvement_suggestions field in the database. FieldDismissedImprovementSuggestions = "dismissed_improvement_suggestions" // FieldURL holds the string denoting the url field in the database. FieldURL = "url" // FieldFileID holds the string denoting the file_id field in the database. FieldFileID = "file_id" // FieldInternalPolicyKindName holds the string denoting the internal_policy_kind_name field in the database. FieldInternalPolicyKindName = "internal_policy_kind_name" // FieldInternalPolicyKindID holds the string denoting the internal_policy_kind_id field in the database. FieldInternalPolicyKindID = "internal_policy_kind_id" // FieldEnvironmentName holds the string denoting the environment_name field in the database. FieldEnvironmentName = "environment_name" // FieldEnvironmentID holds the string denoting the environment_id field in the database. FieldEnvironmentID = "environment_id" // FieldScopeName holds the string denoting the scope_name field in the database. FieldScopeName = "scope_name" // FieldScopeID holds the string denoting the scope_id field in the database. FieldScopeID = "scope_id" // FieldWorkflowEligibleMarker holds the string denoting the workflow_eligible_marker field in the database. FieldWorkflowEligibleMarker = "workflow_eligible_marker" // FieldExternalUUID holds the string denoting the external_uuid field in the database. FieldExternalUUID = "external_uuid" // 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" // EdgeApprover holds the string denoting the approver edge name in mutations. EdgeApprover = "approver" // EdgeDelegate holds the string denoting the delegate edge name in mutations. EdgeDelegate = "delegate" // EdgeInternalPolicyKind holds the string denoting the internal_policy_kind edge name in mutations. EdgeInternalPolicyKind = "internal_policy_kind" // EdgeEnvironment holds the string denoting the environment edge name in mutations. EdgeEnvironment = "environment" // EdgeScope holds the string denoting the scope edge name in mutations. EdgeScope = "scope" // EdgeControlObjectives holds the string denoting the control_objectives edge name in mutations. EdgeControlObjectives = "control_objectives" // EdgeControlImplementations holds the string denoting the control_implementations edge name in mutations. EdgeControlImplementations = "control_implementations" // EdgeControls holds the string denoting the controls edge name in mutations. EdgeControls = "controls" // EdgeSubcontrols holds the string denoting the subcontrols edge name in mutations. EdgeSubcontrols = "subcontrols" // EdgeProcedures holds the string denoting the procedures edge name in mutations. EdgeProcedures = "procedures" // EdgeNarratives holds the string denoting the narratives edge name in mutations. EdgeNarratives = "narratives" // EdgeTasks holds the string denoting the tasks edge name in mutations. EdgeTasks = "tasks" // EdgeRisks holds the string denoting the risks edge name in mutations. EdgeRisks = "risks" // EdgePrograms holds the string denoting the programs edge name in mutations. EdgePrograms = "programs" // EdgeFile holds the string denoting the file edge name in mutations. EdgeFile = "file" // 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" // EdgeWorkflowObjectRefs holds the string denoting the workflow_object_refs edge name in mutations. EdgeWorkflowObjectRefs = "workflow_object_refs" // Table holds the table name of the internalpolicy in the database. Table = "internal_policies" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "internal_policies" // 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 = "internal_policy_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 = "internal_policy_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" // ApproverTable is the table that holds the approver relation/edge. ApproverTable = "internal_policies" // ApproverInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. ApproverInverseTable = "groups" // ApproverColumn is the table column denoting the approver relation/edge. ApproverColumn = "approver_id" // DelegateTable is the table that holds the delegate relation/edge. DelegateTable = "internal_policies" // 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" // InternalPolicyKindTable is the table that holds the internal_policy_kind relation/edge. InternalPolicyKindTable = "internal_policies" // InternalPolicyKindInverseTable is the table name for the CustomTypeEnum entity. // It exists in this package in order to avoid circular dependency with the "customtypeenum" package. InternalPolicyKindInverseTable = "custom_type_enums" // InternalPolicyKindColumn is the table column denoting the internal_policy_kind relation/edge. InternalPolicyKindColumn = "internal_policy_kind_id" // EnvironmentTable is the table that holds the environment relation/edge. EnvironmentTable = "internal_policies" // EnvironmentInverseTable is the table name for the CustomTypeEnum entity. // It exists in this package in order to avoid circular dependency with the "customtypeenum" package. EnvironmentInverseTable = "custom_type_enums" // EnvironmentColumn is the table column denoting the environment relation/edge. EnvironmentColumn = "environment_id" // ScopeTable is the table that holds the scope relation/edge. ScopeTable = "internal_policies" // ScopeInverseTable is the table name for the CustomTypeEnum entity. // It exists in this package in order to avoid circular dependency with the "customtypeenum" package. ScopeInverseTable = "custom_type_enums" // ScopeColumn is the table column denoting the scope relation/edge. ScopeColumn = "scope_id" // ControlObjectivesTable is the table that holds the control_objectives relation/edge. The primary key declared below. ControlObjectivesTable = "internal_policy_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" // ControlImplementationsTable is the table that holds the control_implementations relation/edge. ControlImplementationsTable = "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" // ControlImplementationsColumn is the table column denoting the control_implementations relation/edge. ControlImplementationsColumn = "internal_policy_control_implementations" // ControlsTable is the table that holds the controls relation/edge. The primary key declared below. ControlsTable = "internal_policy_controls" // ControlsInverseTable is the table name for the Control entity. // It exists in this package in order to avoid circular dependency with the "control" package. ControlsInverseTable = "controls" // SubcontrolsTable is the table that holds the subcontrols relation/edge. The primary key declared below. SubcontrolsTable = "internal_policy_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" // ProceduresTable is the table that holds the procedures relation/edge. The primary key declared below. ProceduresTable = "internal_policy_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" // NarrativesTable is the table that holds the narratives relation/edge. The primary key declared below. NarrativesTable = "internal_policy_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" // TasksTable is the table that holds the tasks relation/edge. The primary key declared below. TasksTable = "internal_policy_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" // RisksTable is the table that holds the risks relation/edge. The primary key declared below. RisksTable = "internal_policy_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" // ProgramsTable is the table that holds the programs relation/edge. The primary key declared below. ProgramsTable = "program_internal_policies" // 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" // FileTable is the table that holds the file relation/edge. FileTable = "internal_policies" // FileInverseTable is the table name for the File entity. // It exists in this package in order to avoid circular dependency with the "file" package. FileInverseTable = "files" // FileColumn is the table column denoting the file relation/edge. FileColumn = "file_id" // 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 = "internal_policy_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 = "internal_policy_discussions" // 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 = "internal_policy_id" )
const DefaultReviewFrequency enums.Frequency = "YEARLY"
const DefaultStatus enums.DocumentStatus = "DRAFT"
Variables ¶
var ( // BlockedGroupsPrimaryKey and BlockedGroupsColumn2 are the table columns denoting the // primary key for the blocked_groups relation (M2M). BlockedGroupsPrimaryKey = []string{"internal_policy_id", "group_id"} // EditorsPrimaryKey and EditorsColumn2 are the table columns denoting the // primary key for the editors relation (M2M). EditorsPrimaryKey = []string{"internal_policy_id", "group_id"} // ControlObjectivesPrimaryKey and ControlObjectivesColumn2 are the table columns denoting the // primary key for the control_objectives relation (M2M). ControlObjectivesPrimaryKey = []string{"internal_policy_id", "control_objective_id"} // ControlsPrimaryKey and ControlsColumn2 are the table columns denoting the // primary key for the controls relation (M2M). ControlsPrimaryKey = []string{"internal_policy_id", "control_id"} // SubcontrolsPrimaryKey and SubcontrolsColumn2 are the table columns denoting the // primary key for the subcontrols relation (M2M). SubcontrolsPrimaryKey = []string{"internal_policy_id", "subcontrol_id"} // ProceduresPrimaryKey and ProceduresColumn2 are the table columns denoting the // primary key for the procedures relation (M2M). ProceduresPrimaryKey = []string{"internal_policy_id", "procedure_id"} // NarrativesPrimaryKey and NarrativesColumn2 are the table columns denoting the // primary key for the narratives relation (M2M). NarrativesPrimaryKey = []string{"internal_policy_id", "narrative_id"} // TasksPrimaryKey and TasksColumn2 are the table columns denoting the // primary key for the tasks relation (M2M). TasksPrimaryKey = []string{"internal_policy_id", "task_id"} // RisksPrimaryKey and RisksColumn2 are the table columns denoting the // primary key for the risks relation (M2M). RisksPrimaryKey = []string{"internal_policy_id", "risk_id"} // ProgramsPrimaryKey and ProgramsColumn2 are the table columns denoting the // primary key for the programs relation (M2M). ProgramsPrimaryKey = []string{"program_id", "internal_policy_id"} )
var ( Hooks [21]ent.Hook Interceptors [4]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 // DefaultRevision holds the default value on creation for the "revision" field. DefaultRevision string // RevisionValidator is a validator for the "revision" field. It is called by the builders before save. RevisionValidator func(string) error // DefaultSystemOwned holds the default value on creation for the "system_owned" field. DefaultSystemOwned bool // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultApprovalRequired holds the default value on creation for the "approval_required" field. DefaultApprovalRequired bool // DefaultReviewDue holds the default value on creation for the "review_due" field. DefaultReviewDue time.Time // DefaultTagSuggestions holds the default value on creation for the "tag_suggestions" field. DefaultTagSuggestions []string // DefaultDismissedTagSuggestions holds the default value on creation for the "dismissed_tag_suggestions" field. DefaultDismissedTagSuggestions []string // DefaultControlSuggestions holds the default value on creation for the "control_suggestions" field. DefaultControlSuggestions []string // DefaultDismissedControlSuggestions holds the default value on creation for the "dismissed_control_suggestions" field. DefaultDismissedControlSuggestions []string // DefaultImprovementSuggestions holds the default value on creation for the "improvement_suggestions" field. DefaultImprovementSuggestions []string // DefaultDismissedImprovementSuggestions holds the default value on creation for the "dismissed_improvement_suggestions" field. DefaultDismissedImprovementSuggestions []string // DefaultWorkflowEligibleMarker holds the default value on creation for the "workflow_eligible_marker" field. DefaultWorkflowEligibleMarker bool // 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, FieldRevision, FieldOwnerID, FieldSystemOwned, FieldInternalNotes, FieldSystemInternalID, FieldName, FieldStatus, FieldDetails, FieldDetailsJSON, FieldApprovalRequired, FieldReviewDue, FieldReviewFrequency, FieldApproverID, FieldDelegateID, FieldSummary, FieldTagSuggestions, FieldDismissedTagSuggestions, FieldControlSuggestions, FieldDismissedControlSuggestions, FieldImprovementSuggestions, FieldDismissedImprovementSuggestions, FieldURL, FieldFileID, FieldInternalPolicyKindName, FieldInternalPolicyKindID, FieldEnvironmentName, FieldEnvironmentID, FieldScopeName, FieldScopeID, FieldWorkflowEligibleMarker, FieldExternalUUID, }
Columns holds all SQL columns for internalpolicy fields.
var ForeignKeys = []string{
"custom_type_enum_internal_policies",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "internal_policies" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.InternalPolicy) predicate.InternalPolicy
And groups predicates with the AND operator between them.
func ApprovalRequired ¶ added in v0.7.5
func ApprovalRequired(v bool) predicate.InternalPolicy
ApprovalRequired applies equality check predicate on the "approval_required" field. It's identical to ApprovalRequiredEQ.
func ApprovalRequiredEQ ¶ added in v0.7.5
func ApprovalRequiredEQ(v bool) predicate.InternalPolicy
ApprovalRequiredEQ applies the EQ predicate on the "approval_required" field.
func ApprovalRequiredIsNil ¶ added in v0.7.5
func ApprovalRequiredIsNil() predicate.InternalPolicy
ApprovalRequiredIsNil applies the IsNil predicate on the "approval_required" field.
func ApprovalRequiredNEQ ¶ added in v0.7.5
func ApprovalRequiredNEQ(v bool) predicate.InternalPolicy
ApprovalRequiredNEQ applies the NEQ predicate on the "approval_required" field.
func ApprovalRequiredNotNil ¶ added in v0.7.5
func ApprovalRequiredNotNil() predicate.InternalPolicy
ApprovalRequiredNotNil applies the NotNil predicate on the "approval_required" field.
func ApproverID ¶ added in v0.8.9
func ApproverID(v string) predicate.InternalPolicy
ApproverID applies equality check predicate on the "approver_id" field. It's identical to ApproverIDEQ.
func ApproverIDContains ¶ added in v0.8.9
func ApproverIDContains(v string) predicate.InternalPolicy
ApproverIDContains applies the Contains predicate on the "approver_id" field.
func ApproverIDContainsFold ¶ added in v0.8.9
func ApproverIDContainsFold(v string) predicate.InternalPolicy
ApproverIDContainsFold applies the ContainsFold predicate on the "approver_id" field.
func ApproverIDEQ ¶ added in v0.8.9
func ApproverIDEQ(v string) predicate.InternalPolicy
ApproverIDEQ applies the EQ predicate on the "approver_id" field.
func ApproverIDEqualFold ¶ added in v0.8.9
func ApproverIDEqualFold(v string) predicate.InternalPolicy
ApproverIDEqualFold applies the EqualFold predicate on the "approver_id" field.
func ApproverIDGT ¶ added in v0.8.9
func ApproverIDGT(v string) predicate.InternalPolicy
ApproverIDGT applies the GT predicate on the "approver_id" field.
func ApproverIDGTE ¶ added in v0.8.9
func ApproverIDGTE(v string) predicate.InternalPolicy
ApproverIDGTE applies the GTE predicate on the "approver_id" field.
func ApproverIDHasPrefix ¶ added in v0.8.9
func ApproverIDHasPrefix(v string) predicate.InternalPolicy
ApproverIDHasPrefix applies the HasPrefix predicate on the "approver_id" field.
func ApproverIDHasSuffix ¶ added in v0.8.9
func ApproverIDHasSuffix(v string) predicate.InternalPolicy
ApproverIDHasSuffix applies the HasSuffix predicate on the "approver_id" field.
func ApproverIDIn ¶ added in v0.8.9
func ApproverIDIn(vs ...string) predicate.InternalPolicy
ApproverIDIn applies the In predicate on the "approver_id" field.
func ApproverIDIsNil ¶ added in v0.8.9
func ApproverIDIsNil() predicate.InternalPolicy
ApproverIDIsNil applies the IsNil predicate on the "approver_id" field.
func ApproverIDLT ¶ added in v0.8.9
func ApproverIDLT(v string) predicate.InternalPolicy
ApproverIDLT applies the LT predicate on the "approver_id" field.
func ApproverIDLTE ¶ added in v0.8.9
func ApproverIDLTE(v string) predicate.InternalPolicy
ApproverIDLTE applies the LTE predicate on the "approver_id" field.
func ApproverIDNEQ ¶ added in v0.8.9
func ApproverIDNEQ(v string) predicate.InternalPolicy
ApproverIDNEQ applies the NEQ predicate on the "approver_id" field.
func ApproverIDNotIn ¶ added in v0.8.9
func ApproverIDNotIn(vs ...string) predicate.InternalPolicy
ApproverIDNotIn applies the NotIn predicate on the "approver_id" field.
func ApproverIDNotNil ¶ added in v0.8.9
func ApproverIDNotNil() predicate.InternalPolicy
ApproverIDNotNil applies the NotNil predicate on the "approver_id" field.
func ControlSuggestionsIsNil ¶ added in v0.19.0
func ControlSuggestionsIsNil() predicate.InternalPolicy
ControlSuggestionsIsNil applies the IsNil predicate on the "control_suggestions" field.
func ControlSuggestionsNotNil ¶ added in v0.19.0
func ControlSuggestionsNotNil() predicate.InternalPolicy
ControlSuggestionsNotNil applies the NotNil predicate on the "control_suggestions" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.InternalPolicy
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.InternalPolicy
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.InternalPolicy
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.InternalPolicy
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.InternalPolicy
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.InternalPolicy
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.InternalPolicy
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.InternalPolicy
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.InternalPolicy
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.InternalPolicy
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.InternalPolicy
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.InternalPolicy
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.InternalPolicy
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.InternalPolicy
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.InternalPolicy
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.InternalPolicy
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.InternalPolicy
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.InternalPolicy
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.InternalPolicy
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.InternalPolicy
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.InternalPolicy
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.InternalPolicy
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.InternalPolicy
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.InternalPolicy
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.InternalPolicy
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.InternalPolicy
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.InternalPolicy
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DelegateID ¶ added in v0.8.9
func DelegateID(v string) predicate.InternalPolicy
DelegateID applies equality check predicate on the "delegate_id" field. It's identical to DelegateIDEQ.
func DelegateIDContains ¶ added in v0.8.9
func DelegateIDContains(v string) predicate.InternalPolicy
DelegateIDContains applies the Contains predicate on the "delegate_id" field.
func DelegateIDContainsFold ¶ added in v0.8.9
func DelegateIDContainsFold(v string) predicate.InternalPolicy
DelegateIDContainsFold applies the ContainsFold predicate on the "delegate_id" field.
func DelegateIDEQ ¶ added in v0.8.9
func DelegateIDEQ(v string) predicate.InternalPolicy
DelegateIDEQ applies the EQ predicate on the "delegate_id" field.
func DelegateIDEqualFold ¶ added in v0.8.9
func DelegateIDEqualFold(v string) predicate.InternalPolicy
DelegateIDEqualFold applies the EqualFold predicate on the "delegate_id" field.
func DelegateIDGT ¶ added in v0.8.9
func DelegateIDGT(v string) predicate.InternalPolicy
DelegateIDGT applies the GT predicate on the "delegate_id" field.
func DelegateIDGTE ¶ added in v0.8.9
func DelegateIDGTE(v string) predicate.InternalPolicy
DelegateIDGTE applies the GTE predicate on the "delegate_id" field.
func DelegateIDHasPrefix ¶ added in v0.8.9
func DelegateIDHasPrefix(v string) predicate.InternalPolicy
DelegateIDHasPrefix applies the HasPrefix predicate on the "delegate_id" field.
func DelegateIDHasSuffix ¶ added in v0.8.9
func DelegateIDHasSuffix(v string) predicate.InternalPolicy
DelegateIDHasSuffix applies the HasSuffix predicate on the "delegate_id" field.
func DelegateIDIn ¶ added in v0.8.9
func DelegateIDIn(vs ...string) predicate.InternalPolicy
DelegateIDIn applies the In predicate on the "delegate_id" field.
func DelegateIDIsNil ¶ added in v0.8.9
func DelegateIDIsNil() predicate.InternalPolicy
DelegateIDIsNil applies the IsNil predicate on the "delegate_id" field.
func DelegateIDLT ¶ added in v0.8.9
func DelegateIDLT(v string) predicate.InternalPolicy
DelegateIDLT applies the LT predicate on the "delegate_id" field.
func DelegateIDLTE ¶ added in v0.8.9
func DelegateIDLTE(v string) predicate.InternalPolicy
DelegateIDLTE applies the LTE predicate on the "delegate_id" field.
func DelegateIDNEQ ¶ added in v0.8.9
func DelegateIDNEQ(v string) predicate.InternalPolicy
DelegateIDNEQ applies the NEQ predicate on the "delegate_id" field.
func DelegateIDNotIn ¶ added in v0.8.9
func DelegateIDNotIn(vs ...string) predicate.InternalPolicy
DelegateIDNotIn applies the NotIn predicate on the "delegate_id" field.
func DelegateIDNotNil ¶ added in v0.8.9
func DelegateIDNotNil() predicate.InternalPolicy
DelegateIDNotNil applies the NotNil predicate on the "delegate_id" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.InternalPolicy
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.InternalPolicy
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.InternalPolicy
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.InternalPolicy
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.InternalPolicy
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.InternalPolicy
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.InternalPolicy
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.InternalPolicy
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.InternalPolicy
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.InternalPolicy
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.InternalPolicy
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
func DeletedBy(v string) predicate.InternalPolicy
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
func DeletedByContains(v string) predicate.InternalPolicy
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
func DeletedByContainsFold(v string) predicate.InternalPolicy
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
func DeletedByEQ(v string) predicate.InternalPolicy
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
func DeletedByEqualFold(v string) predicate.InternalPolicy
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
func DeletedByGT(v string) predicate.InternalPolicy
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
func DeletedByGTE(v string) predicate.InternalPolicy
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
func DeletedByHasPrefix(v string) predicate.InternalPolicy
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
func DeletedByHasSuffix(v string) predicate.InternalPolicy
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
func DeletedByIn(vs ...string) predicate.InternalPolicy
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
func DeletedByIsNil() predicate.InternalPolicy
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
func DeletedByLT(v string) predicate.InternalPolicy
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
func DeletedByLTE(v string) predicate.InternalPolicy
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
func DeletedByNEQ(v string) predicate.InternalPolicy
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
func DeletedByNotIn(vs ...string) predicate.InternalPolicy
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
func DeletedByNotNil() predicate.InternalPolicy
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func Details ¶ added in v0.7.5
func Details(v string) predicate.InternalPolicy
Details applies equality check predicate on the "details" field. It's identical to DetailsEQ.
func DetailsContains ¶ added in v0.7.5
func DetailsContains(v string) predicate.InternalPolicy
DetailsContains applies the Contains predicate on the "details" field.
func DetailsContainsFold ¶ added in v0.7.5
func DetailsContainsFold(v string) predicate.InternalPolicy
DetailsContainsFold applies the ContainsFold predicate on the "details" field.
func DetailsEQ ¶ added in v0.7.5
func DetailsEQ(v string) predicate.InternalPolicy
DetailsEQ applies the EQ predicate on the "details" field.
func DetailsEqualFold ¶ added in v0.7.5
func DetailsEqualFold(v string) predicate.InternalPolicy
DetailsEqualFold applies the EqualFold predicate on the "details" field.
func DetailsGT ¶ added in v0.7.5
func DetailsGT(v string) predicate.InternalPolicy
DetailsGT applies the GT predicate on the "details" field.
func DetailsGTE ¶ added in v0.7.5
func DetailsGTE(v string) predicate.InternalPolicy
DetailsGTE applies the GTE predicate on the "details" field.
func DetailsHasPrefix ¶ added in v0.7.5
func DetailsHasPrefix(v string) predicate.InternalPolicy
DetailsHasPrefix applies the HasPrefix predicate on the "details" field.
func DetailsHasSuffix ¶ added in v0.7.5
func DetailsHasSuffix(v string) predicate.InternalPolicy
DetailsHasSuffix applies the HasSuffix predicate on the "details" field.
func DetailsIn ¶ added in v0.7.5
func DetailsIn(vs ...string) predicate.InternalPolicy
DetailsIn applies the In predicate on the "details" field.
func DetailsIsNil ¶
func DetailsIsNil() predicate.InternalPolicy
DetailsIsNil applies the IsNil predicate on the "details" field.
func DetailsJSONIsNil ¶ added in v0.50.1
func DetailsJSONIsNil() predicate.InternalPolicy
DetailsJSONIsNil applies the IsNil predicate on the "details_json" field.
func DetailsJSONNotNil ¶ added in v0.50.1
func DetailsJSONNotNil() predicate.InternalPolicy
DetailsJSONNotNil applies the NotNil predicate on the "details_json" field.
func DetailsLT ¶ added in v0.7.5
func DetailsLT(v string) predicate.InternalPolicy
DetailsLT applies the LT predicate on the "details" field.
func DetailsLTE ¶ added in v0.7.5
func DetailsLTE(v string) predicate.InternalPolicy
DetailsLTE applies the LTE predicate on the "details" field.
func DetailsNEQ ¶ added in v0.7.5
func DetailsNEQ(v string) predicate.InternalPolicy
DetailsNEQ applies the NEQ predicate on the "details" field.
func DetailsNotIn ¶ added in v0.7.5
func DetailsNotIn(vs ...string) predicate.InternalPolicy
DetailsNotIn applies the NotIn predicate on the "details" field.
func DetailsNotNil ¶
func DetailsNotNil() predicate.InternalPolicy
DetailsNotNil applies the NotNil predicate on the "details" field.
func DismissedControlSuggestionsIsNil ¶ added in v0.19.0
func DismissedControlSuggestionsIsNil() predicate.InternalPolicy
DismissedControlSuggestionsIsNil applies the IsNil predicate on the "dismissed_control_suggestions" field.
func DismissedControlSuggestionsNotNil ¶ added in v0.19.0
func DismissedControlSuggestionsNotNil() predicate.InternalPolicy
DismissedControlSuggestionsNotNil applies the NotNil predicate on the "dismissed_control_suggestions" field.
func DismissedImprovementSuggestionsIsNil ¶ added in v0.19.0
func DismissedImprovementSuggestionsIsNil() predicate.InternalPolicy
DismissedImprovementSuggestionsIsNil applies the IsNil predicate on the "dismissed_improvement_suggestions" field.
func DismissedImprovementSuggestionsNotNil ¶ added in v0.19.0
func DismissedImprovementSuggestionsNotNil() predicate.InternalPolicy
DismissedImprovementSuggestionsNotNil applies the NotNil predicate on the "dismissed_improvement_suggestions" field.
func DismissedTagSuggestionsIsNil ¶ added in v0.19.0
func DismissedTagSuggestionsIsNil() predicate.InternalPolicy
DismissedTagSuggestionsIsNil applies the IsNil predicate on the "dismissed_tag_suggestions" field.
func DismissedTagSuggestionsNotNil ¶ added in v0.19.0
func DismissedTagSuggestionsNotNil() predicate.InternalPolicy
DismissedTagSuggestionsNotNil applies the NotNil predicate on the "dismissed_tag_suggestions" field.
func DisplayID ¶ added in v0.6.11
func DisplayID(v string) predicate.InternalPolicy
DisplayID applies equality check predicate on the "display_id" field. It's identical to DisplayIDEQ.
func DisplayIDContains ¶ added in v0.6.11
func DisplayIDContains(v string) predicate.InternalPolicy
DisplayIDContains applies the Contains predicate on the "display_id" field.
func DisplayIDContainsFold ¶ added in v0.6.11
func DisplayIDContainsFold(v string) predicate.InternalPolicy
DisplayIDContainsFold applies the ContainsFold predicate on the "display_id" field.
func DisplayIDEQ ¶ added in v0.6.11
func DisplayIDEQ(v string) predicate.InternalPolicy
DisplayIDEQ applies the EQ predicate on the "display_id" field.
func DisplayIDEqualFold ¶ added in v0.6.11
func DisplayIDEqualFold(v string) predicate.InternalPolicy
DisplayIDEqualFold applies the EqualFold predicate on the "display_id" field.
func DisplayIDGT ¶ added in v0.6.11
func DisplayIDGT(v string) predicate.InternalPolicy
DisplayIDGT applies the GT predicate on the "display_id" field.
func DisplayIDGTE ¶ added in v0.6.11
func DisplayIDGTE(v string) predicate.InternalPolicy
DisplayIDGTE applies the GTE predicate on the "display_id" field.
func DisplayIDHasPrefix ¶ added in v0.6.11
func DisplayIDHasPrefix(v string) predicate.InternalPolicy
DisplayIDHasPrefix applies the HasPrefix predicate on the "display_id" field.
func DisplayIDHasSuffix ¶ added in v0.6.11
func DisplayIDHasSuffix(v string) predicate.InternalPolicy
DisplayIDHasSuffix applies the HasSuffix predicate on the "display_id" field.
func DisplayIDIn ¶ added in v0.6.11
func DisplayIDIn(vs ...string) predicate.InternalPolicy
DisplayIDIn applies the In predicate on the "display_id" field.
func DisplayIDLT ¶ added in v0.6.11
func DisplayIDLT(v string) predicate.InternalPolicy
DisplayIDLT applies the LT predicate on the "display_id" field.
func DisplayIDLTE ¶ added in v0.6.11
func DisplayIDLTE(v string) predicate.InternalPolicy
DisplayIDLTE applies the LTE predicate on the "display_id" field.
func DisplayIDNEQ ¶ added in v0.6.11
func DisplayIDNEQ(v string) predicate.InternalPolicy
DisplayIDNEQ applies the NEQ predicate on the "display_id" field.
func DisplayIDNotIn ¶ added in v0.6.11
func DisplayIDNotIn(vs ...string) predicate.InternalPolicy
DisplayIDNotIn applies the NotIn predicate on the "display_id" field.
func EnvironmentID ¶ added in v1.5.0
func EnvironmentID(v string) predicate.InternalPolicy
EnvironmentID applies equality check predicate on the "environment_id" field. It's identical to EnvironmentIDEQ.
func EnvironmentIDContains ¶ added in v1.5.0
func EnvironmentIDContains(v string) predicate.InternalPolicy
EnvironmentIDContains applies the Contains predicate on the "environment_id" field.
func EnvironmentIDContainsFold ¶ added in v1.5.0
func EnvironmentIDContainsFold(v string) predicate.InternalPolicy
EnvironmentIDContainsFold applies the ContainsFold predicate on the "environment_id" field.
func EnvironmentIDEQ ¶ added in v1.5.0
func EnvironmentIDEQ(v string) predicate.InternalPolicy
EnvironmentIDEQ applies the EQ predicate on the "environment_id" field.
func EnvironmentIDEqualFold ¶ added in v1.5.0
func EnvironmentIDEqualFold(v string) predicate.InternalPolicy
EnvironmentIDEqualFold applies the EqualFold predicate on the "environment_id" field.
func EnvironmentIDGT ¶ added in v1.5.0
func EnvironmentIDGT(v string) predicate.InternalPolicy
EnvironmentIDGT applies the GT predicate on the "environment_id" field.
func EnvironmentIDGTE ¶ added in v1.5.0
func EnvironmentIDGTE(v string) predicate.InternalPolicy
EnvironmentIDGTE applies the GTE predicate on the "environment_id" field.
func EnvironmentIDHasPrefix ¶ added in v1.5.0
func EnvironmentIDHasPrefix(v string) predicate.InternalPolicy
EnvironmentIDHasPrefix applies the HasPrefix predicate on the "environment_id" field.
func EnvironmentIDHasSuffix ¶ added in v1.5.0
func EnvironmentIDHasSuffix(v string) predicate.InternalPolicy
EnvironmentIDHasSuffix applies the HasSuffix predicate on the "environment_id" field.
func EnvironmentIDIn ¶ added in v1.5.0
func EnvironmentIDIn(vs ...string) predicate.InternalPolicy
EnvironmentIDIn applies the In predicate on the "environment_id" field.
func EnvironmentIDIsNil ¶ added in v1.5.0
func EnvironmentIDIsNil() predicate.InternalPolicy
EnvironmentIDIsNil applies the IsNil predicate on the "environment_id" field.
func EnvironmentIDLT ¶ added in v1.5.0
func EnvironmentIDLT(v string) predicate.InternalPolicy
EnvironmentIDLT applies the LT predicate on the "environment_id" field.
func EnvironmentIDLTE ¶ added in v1.5.0
func EnvironmentIDLTE(v string) predicate.InternalPolicy
EnvironmentIDLTE applies the LTE predicate on the "environment_id" field.
func EnvironmentIDNEQ ¶ added in v1.5.0
func EnvironmentIDNEQ(v string) predicate.InternalPolicy
EnvironmentIDNEQ applies the NEQ predicate on the "environment_id" field.
func EnvironmentIDNotIn ¶ added in v1.5.0
func EnvironmentIDNotIn(vs ...string) predicate.InternalPolicy
EnvironmentIDNotIn applies the NotIn predicate on the "environment_id" field.
func EnvironmentIDNotNil ¶ added in v1.5.0
func EnvironmentIDNotNil() predicate.InternalPolicy
EnvironmentIDNotNil applies the NotNil predicate on the "environment_id" field.
func EnvironmentName ¶ added in v1.5.0
func EnvironmentName(v string) predicate.InternalPolicy
EnvironmentName applies equality check predicate on the "environment_name" field. It's identical to EnvironmentNameEQ.
func EnvironmentNameContains ¶ added in v1.5.0
func EnvironmentNameContains(v string) predicate.InternalPolicy
EnvironmentNameContains applies the Contains predicate on the "environment_name" field.
func EnvironmentNameContainsFold ¶ added in v1.5.0
func EnvironmentNameContainsFold(v string) predicate.InternalPolicy
EnvironmentNameContainsFold applies the ContainsFold predicate on the "environment_name" field.
func EnvironmentNameEQ ¶ added in v1.5.0
func EnvironmentNameEQ(v string) predicate.InternalPolicy
EnvironmentNameEQ applies the EQ predicate on the "environment_name" field.
func EnvironmentNameEqualFold ¶ added in v1.5.0
func EnvironmentNameEqualFold(v string) predicate.InternalPolicy
EnvironmentNameEqualFold applies the EqualFold predicate on the "environment_name" field.
func EnvironmentNameGT ¶ added in v1.5.0
func EnvironmentNameGT(v string) predicate.InternalPolicy
EnvironmentNameGT applies the GT predicate on the "environment_name" field.
func EnvironmentNameGTE ¶ added in v1.5.0
func EnvironmentNameGTE(v string) predicate.InternalPolicy
EnvironmentNameGTE applies the GTE predicate on the "environment_name" field.
func EnvironmentNameHasPrefix ¶ added in v1.5.0
func EnvironmentNameHasPrefix(v string) predicate.InternalPolicy
EnvironmentNameHasPrefix applies the HasPrefix predicate on the "environment_name" field.
func EnvironmentNameHasSuffix ¶ added in v1.5.0
func EnvironmentNameHasSuffix(v string) predicate.InternalPolicy
EnvironmentNameHasSuffix applies the HasSuffix predicate on the "environment_name" field.
func EnvironmentNameIn ¶ added in v1.5.0
func EnvironmentNameIn(vs ...string) predicate.InternalPolicy
EnvironmentNameIn applies the In predicate on the "environment_name" field.
func EnvironmentNameIsNil ¶ added in v1.5.0
func EnvironmentNameIsNil() predicate.InternalPolicy
EnvironmentNameIsNil applies the IsNil predicate on the "environment_name" field.
func EnvironmentNameLT ¶ added in v1.5.0
func EnvironmentNameLT(v string) predicate.InternalPolicy
EnvironmentNameLT applies the LT predicate on the "environment_name" field.
func EnvironmentNameLTE ¶ added in v1.5.0
func EnvironmentNameLTE(v string) predicate.InternalPolicy
EnvironmentNameLTE applies the LTE predicate on the "environment_name" field.
func EnvironmentNameNEQ ¶ added in v1.5.0
func EnvironmentNameNEQ(v string) predicate.InternalPolicy
EnvironmentNameNEQ applies the NEQ predicate on the "environment_name" field.
func EnvironmentNameNotIn ¶ added in v1.5.0
func EnvironmentNameNotIn(vs ...string) predicate.InternalPolicy
EnvironmentNameNotIn applies the NotIn predicate on the "environment_name" field.
func EnvironmentNameNotNil ¶ added in v1.5.0
func EnvironmentNameNotNil() predicate.InternalPolicy
EnvironmentNameNotNil applies the NotNil predicate on the "environment_name" field.
func ExternalUUID ¶ added in v1.11.6
func ExternalUUID(v string) predicate.InternalPolicy
ExternalUUID applies equality check predicate on the "external_uuid" field. It's identical to ExternalUUIDEQ.
func ExternalUUIDContains ¶ added in v1.11.6
func ExternalUUIDContains(v string) predicate.InternalPolicy
ExternalUUIDContains applies the Contains predicate on the "external_uuid" field.
func ExternalUUIDContainsFold ¶ added in v1.11.6
func ExternalUUIDContainsFold(v string) predicate.InternalPolicy
ExternalUUIDContainsFold applies the ContainsFold predicate on the "external_uuid" field.
func ExternalUUIDEQ ¶ added in v1.11.6
func ExternalUUIDEQ(v string) predicate.InternalPolicy
ExternalUUIDEQ applies the EQ predicate on the "external_uuid" field.
func ExternalUUIDEqualFold ¶ added in v1.11.6
func ExternalUUIDEqualFold(v string) predicate.InternalPolicy
ExternalUUIDEqualFold applies the EqualFold predicate on the "external_uuid" field.
func ExternalUUIDGT ¶ added in v1.11.6
func ExternalUUIDGT(v string) predicate.InternalPolicy
ExternalUUIDGT applies the GT predicate on the "external_uuid" field.
func ExternalUUIDGTE ¶ added in v1.11.6
func ExternalUUIDGTE(v string) predicate.InternalPolicy
ExternalUUIDGTE applies the GTE predicate on the "external_uuid" field.
func ExternalUUIDHasPrefix ¶ added in v1.11.6
func ExternalUUIDHasPrefix(v string) predicate.InternalPolicy
ExternalUUIDHasPrefix applies the HasPrefix predicate on the "external_uuid" field.
func ExternalUUIDHasSuffix ¶ added in v1.11.6
func ExternalUUIDHasSuffix(v string) predicate.InternalPolicy
ExternalUUIDHasSuffix applies the HasSuffix predicate on the "external_uuid" field.
func ExternalUUIDIn ¶ added in v1.11.6
func ExternalUUIDIn(vs ...string) predicate.InternalPolicy
ExternalUUIDIn applies the In predicate on the "external_uuid" field.
func ExternalUUIDIsNil ¶ added in v1.11.6
func ExternalUUIDIsNil() predicate.InternalPolicy
ExternalUUIDIsNil applies the IsNil predicate on the "external_uuid" field.
func ExternalUUIDLT ¶ added in v1.11.6
func ExternalUUIDLT(v string) predicate.InternalPolicy
ExternalUUIDLT applies the LT predicate on the "external_uuid" field.
func ExternalUUIDLTE ¶ added in v1.11.6
func ExternalUUIDLTE(v string) predicate.InternalPolicy
ExternalUUIDLTE applies the LTE predicate on the "external_uuid" field.
func ExternalUUIDNEQ ¶ added in v1.11.6
func ExternalUUIDNEQ(v string) predicate.InternalPolicy
ExternalUUIDNEQ applies the NEQ predicate on the "external_uuid" field.
func ExternalUUIDNotIn ¶ added in v1.11.6
func ExternalUUIDNotIn(vs ...string) predicate.InternalPolicy
ExternalUUIDNotIn applies the NotIn predicate on the "external_uuid" field.
func ExternalUUIDNotNil ¶ added in v1.11.6
func ExternalUUIDNotNil() predicate.InternalPolicy
ExternalUUIDNotNil applies the NotNil predicate on the "external_uuid" field.
func FileID ¶ added in v0.30.6
func FileID(v string) predicate.InternalPolicy
FileID applies equality check predicate on the "file_id" field. It's identical to FileIDEQ.
func FileIDContains ¶ added in v0.30.6
func FileIDContains(v string) predicate.InternalPolicy
FileIDContains applies the Contains predicate on the "file_id" field.
func FileIDContainsFold ¶ added in v0.30.6
func FileIDContainsFold(v string) predicate.InternalPolicy
FileIDContainsFold applies the ContainsFold predicate on the "file_id" field.
func FileIDEQ ¶ added in v0.30.6
func FileIDEQ(v string) predicate.InternalPolicy
FileIDEQ applies the EQ predicate on the "file_id" field.
func FileIDEqualFold ¶ added in v0.30.6
func FileIDEqualFold(v string) predicate.InternalPolicy
FileIDEqualFold applies the EqualFold predicate on the "file_id" field.
func FileIDGT ¶ added in v0.30.6
func FileIDGT(v string) predicate.InternalPolicy
FileIDGT applies the GT predicate on the "file_id" field.
func FileIDGTE ¶ added in v0.30.6
func FileIDGTE(v string) predicate.InternalPolicy
FileIDGTE applies the GTE predicate on the "file_id" field.
func FileIDHasPrefix ¶ added in v0.30.6
func FileIDHasPrefix(v string) predicate.InternalPolicy
FileIDHasPrefix applies the HasPrefix predicate on the "file_id" field.
func FileIDHasSuffix ¶ added in v0.30.6
func FileIDHasSuffix(v string) predicate.InternalPolicy
FileIDHasSuffix applies the HasSuffix predicate on the "file_id" field.
func FileIDIn ¶ added in v0.30.6
func FileIDIn(vs ...string) predicate.InternalPolicy
FileIDIn applies the In predicate on the "file_id" field.
func FileIDIsNil ¶ added in v0.30.6
func FileIDIsNil() predicate.InternalPolicy
FileIDIsNil applies the IsNil predicate on the "file_id" field.
func FileIDLT ¶ added in v0.30.6
func FileIDLT(v string) predicate.InternalPolicy
FileIDLT applies the LT predicate on the "file_id" field.
func FileIDLTE ¶ added in v0.30.6
func FileIDLTE(v string) predicate.InternalPolicy
FileIDLTE applies the LTE predicate on the "file_id" field.
func FileIDNEQ ¶ added in v0.30.6
func FileIDNEQ(v string) predicate.InternalPolicy
FileIDNEQ applies the NEQ predicate on the "file_id" field.
func FileIDNotIn ¶ added in v0.30.6
func FileIDNotIn(vs ...string) predicate.InternalPolicy
FileIDNotIn applies the NotIn predicate on the "file_id" field.
func FileIDNotNil ¶ added in v0.30.6
func FileIDNotNil() predicate.InternalPolicy
FileIDNotNil applies the NotNil predicate on the "file_id" field.
func HasApprover ¶ added in v0.7.5
func HasApprover() predicate.InternalPolicy
HasApprover applies the HasEdge predicate on the "approver" edge.
func HasApproverWith ¶ added in v0.7.5
func HasApproverWith(preds ...predicate.Group) predicate.InternalPolicy
HasApproverWith applies the HasEdge predicate on the "approver" edge with a given conditions (other predicates).
func HasBlockedGroups ¶ added in v0.4.2
func HasBlockedGroups() predicate.InternalPolicy
HasBlockedGroups applies the HasEdge predicate on the "blocked_groups" edge.
func HasBlockedGroupsWith ¶ added in v0.4.2
func HasBlockedGroupsWith(preds ...predicate.Group) predicate.InternalPolicy
HasBlockedGroupsWith applies the HasEdge predicate on the "blocked_groups" edge with a given conditions (other predicates).
func HasComments ¶ added in v0.40.0
func HasComments() predicate.InternalPolicy
HasComments applies the HasEdge predicate on the "comments" edge.
func HasCommentsWith ¶ added in v0.40.0
func HasCommentsWith(preds ...predicate.Note) predicate.InternalPolicy
HasCommentsWith applies the HasEdge predicate on the "comments" edge with a given conditions (other predicates).
func HasControlImplementations ¶ added in v0.26.11
func HasControlImplementations() predicate.InternalPolicy
HasControlImplementations applies the HasEdge predicate on the "control_implementations" edge.
func HasControlImplementationsWith ¶ added in v0.26.11
func HasControlImplementationsWith(preds ...predicate.ControlImplementation) predicate.InternalPolicy
HasControlImplementationsWith applies the HasEdge predicate on the "control_implementations" edge with a given conditions (other predicates).
func HasControlObjectives ¶ added in v0.6.1
func HasControlObjectives() predicate.InternalPolicy
HasControlObjectives applies the HasEdge predicate on the "control_objectives" edge.
func HasControlObjectivesWith ¶ added in v0.6.1
func HasControlObjectivesWith(preds ...predicate.ControlObjective) predicate.InternalPolicy
HasControlObjectivesWith applies the HasEdge predicate on the "control_objectives" edge with a given conditions (other predicates).
func HasControls ¶
func HasControls() predicate.InternalPolicy
HasControls applies the HasEdge predicate on the "controls" edge.
func HasControlsWith ¶
func HasControlsWith(preds ...predicate.Control) predicate.InternalPolicy
HasControlsWith applies the HasEdge predicate on the "controls" edge with a given conditions (other predicates).
func HasDelegate ¶ added in v0.7.5
func HasDelegate() predicate.InternalPolicy
HasDelegate applies the HasEdge predicate on the "delegate" edge.
func HasDelegateWith ¶ added in v0.7.5
func HasDelegateWith(preds ...predicate.Group) predicate.InternalPolicy
HasDelegateWith applies the HasEdge predicate on the "delegate" edge with a given conditions (other predicates).
func HasDiscussions ¶ added in v0.49.3
func HasDiscussions() predicate.InternalPolicy
HasDiscussions applies the HasEdge predicate on the "discussions" edge.
func HasDiscussionsWith ¶ added in v0.49.3
func HasDiscussionsWith(preds ...predicate.Discussion) predicate.InternalPolicy
HasDiscussionsWith applies the HasEdge predicate on the "discussions" edge with a given conditions (other predicates).
func HasEditors ¶ added in v0.4.2
func HasEditors() predicate.InternalPolicy
HasEditors applies the HasEdge predicate on the "editors" edge.
func HasEditorsWith ¶ added in v0.4.2
func HasEditorsWith(preds ...predicate.Group) predicate.InternalPolicy
HasEditorsWith applies the HasEdge predicate on the "editors" edge with a given conditions (other predicates).
func HasEnvironment ¶ added in v1.5.0
func HasEnvironment() predicate.InternalPolicy
HasEnvironment applies the HasEdge predicate on the "environment" edge.
func HasEnvironmentWith ¶ added in v1.5.0
func HasEnvironmentWith(preds ...predicate.CustomTypeEnum) predicate.InternalPolicy
HasEnvironmentWith applies the HasEdge predicate on the "environment" edge with a given conditions (other predicates).
func HasFile ¶ added in v0.30.6
func HasFile() predicate.InternalPolicy
HasFile applies the HasEdge predicate on the "file" edge.
func HasFileWith ¶ added in v0.30.6
func HasFileWith(preds ...predicate.File) predicate.InternalPolicy
HasFileWith applies the HasEdge predicate on the "file" edge with a given conditions (other predicates).
func HasInternalPolicyKind ¶ added in v0.43.0
func HasInternalPolicyKind() predicate.InternalPolicy
HasInternalPolicyKind applies the HasEdge predicate on the "internal_policy_kind" edge.
func HasInternalPolicyKindWith ¶ added in v0.43.0
func HasInternalPolicyKindWith(preds ...predicate.CustomTypeEnum) predicate.InternalPolicy
HasInternalPolicyKindWith applies the HasEdge predicate on the "internal_policy_kind" edge with a given conditions (other predicates).
func HasNarratives ¶
func HasNarratives() predicate.InternalPolicy
HasNarratives applies the HasEdge predicate on the "narratives" edge.
func HasNarrativesWith ¶
func HasNarrativesWith(preds ...predicate.Narrative) predicate.InternalPolicy
HasNarrativesWith applies the HasEdge predicate on the "narratives" edge with a given conditions (other predicates).
func HasOwner ¶ added in v0.4.2
func HasOwner() predicate.InternalPolicy
HasOwner applies the HasEdge predicate on the "owner" edge.
func HasOwnerWith ¶ added in v0.4.2
func HasOwnerWith(preds ...predicate.Organization) predicate.InternalPolicy
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasProcedures ¶
func HasProcedures() predicate.InternalPolicy
HasProcedures applies the HasEdge predicate on the "procedures" edge.
func HasProceduresWith ¶
func HasProceduresWith(preds ...predicate.Procedure) predicate.InternalPolicy
HasProceduresWith applies the HasEdge predicate on the "procedures" edge with a given conditions (other predicates).
func HasPrograms ¶ added in v0.3.5
func HasPrograms() predicate.InternalPolicy
HasPrograms applies the HasEdge predicate on the "programs" edge.
func HasProgramsWith ¶ added in v0.3.5
func HasProgramsWith(preds ...predicate.Program) predicate.InternalPolicy
HasProgramsWith applies the HasEdge predicate on the "programs" edge with a given conditions (other predicates).
func HasRisks ¶ added in v0.10.5
func HasRisks() predicate.InternalPolicy
HasRisks applies the HasEdge predicate on the "risks" edge.
func HasRisksWith ¶ added in v0.10.5
func HasRisksWith(preds ...predicate.Risk) predicate.InternalPolicy
HasRisksWith applies the HasEdge predicate on the "risks" edge with a given conditions (other predicates).
func HasScope ¶ added in v1.5.0
func HasScope() predicate.InternalPolicy
HasScope applies the HasEdge predicate on the "scope" edge.
func HasScopeWith ¶ added in v1.5.0
func HasScopeWith(preds ...predicate.CustomTypeEnum) predicate.InternalPolicy
HasScopeWith applies the HasEdge predicate on the "scope" edge with a given conditions (other predicates).
func HasSubcontrols ¶ added in v0.10.7
func HasSubcontrols() predicate.InternalPolicy
HasSubcontrols applies the HasEdge predicate on the "subcontrols" edge.
func HasSubcontrolsWith ¶ added in v0.10.7
func HasSubcontrolsWith(preds ...predicate.Subcontrol) predicate.InternalPolicy
HasSubcontrolsWith applies the HasEdge predicate on the "subcontrols" edge with a given conditions (other predicates).
func HasTasks ¶ added in v0.3.4
func HasTasks() predicate.InternalPolicy
HasTasks applies the HasEdge predicate on the "tasks" edge.
func HasTasksWith ¶ added in v0.3.4
func HasTasksWith(preds ...predicate.Task) predicate.InternalPolicy
HasTasksWith applies the HasEdge predicate on the "tasks" edge with a given conditions (other predicates).
func HasWorkflowObjectRefs ¶ added in v0.46.3
func HasWorkflowObjectRefs() predicate.InternalPolicy
HasWorkflowObjectRefs applies the HasEdge predicate on the "workflow_object_refs" edge.
func HasWorkflowObjectRefsWith ¶ added in v0.46.3
func HasWorkflowObjectRefsWith(preds ...predicate.WorkflowObjectRef) predicate.InternalPolicy
HasWorkflowObjectRefsWith applies the HasEdge predicate on the "workflow_object_refs" edge with a given conditions (other predicates).
func IDContainsFold ¶
func IDContainsFold(id string) predicate.InternalPolicy
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.InternalPolicy
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.InternalPolicy
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.InternalPolicy
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.InternalPolicy
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.InternalPolicy
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.InternalPolicy
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.InternalPolicy
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.InternalPolicy
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.InternalPolicy
IDNotIn applies the NotIn predicate on the ID field.
func ImprovementSuggestionsIsNil ¶ added in v0.19.0
func ImprovementSuggestionsIsNil() predicate.InternalPolicy
ImprovementSuggestionsIsNil applies the IsNil predicate on the "improvement_suggestions" field.
func ImprovementSuggestionsNotNil ¶ added in v0.19.0
func ImprovementSuggestionsNotNil() predicate.InternalPolicy
ImprovementSuggestionsNotNil applies the NotNil predicate on the "improvement_suggestions" field.
func InternalNotes ¶ added in v0.34.0
func InternalNotes(v string) predicate.InternalPolicy
InternalNotes applies equality check predicate on the "internal_notes" field. It's identical to InternalNotesEQ.
func InternalNotesContains ¶ added in v0.34.0
func InternalNotesContains(v string) predicate.InternalPolicy
InternalNotesContains applies the Contains predicate on the "internal_notes" field.
func InternalNotesContainsFold ¶ added in v0.34.0
func InternalNotesContainsFold(v string) predicate.InternalPolicy
InternalNotesContainsFold applies the ContainsFold predicate on the "internal_notes" field.
func InternalNotesEQ ¶ added in v0.34.0
func InternalNotesEQ(v string) predicate.InternalPolicy
InternalNotesEQ applies the EQ predicate on the "internal_notes" field.
func InternalNotesEqualFold ¶ added in v0.34.0
func InternalNotesEqualFold(v string) predicate.InternalPolicy
InternalNotesEqualFold applies the EqualFold predicate on the "internal_notes" field.
func InternalNotesGT ¶ added in v0.34.0
func InternalNotesGT(v string) predicate.InternalPolicy
InternalNotesGT applies the GT predicate on the "internal_notes" field.
func InternalNotesGTE ¶ added in v0.34.0
func InternalNotesGTE(v string) predicate.InternalPolicy
InternalNotesGTE applies the GTE predicate on the "internal_notes" field.
func InternalNotesHasPrefix ¶ added in v0.34.0
func InternalNotesHasPrefix(v string) predicate.InternalPolicy
InternalNotesHasPrefix applies the HasPrefix predicate on the "internal_notes" field.
func InternalNotesHasSuffix ¶ added in v0.34.0
func InternalNotesHasSuffix(v string) predicate.InternalPolicy
InternalNotesHasSuffix applies the HasSuffix predicate on the "internal_notes" field.
func InternalNotesIn ¶ added in v0.34.0
func InternalNotesIn(vs ...string) predicate.InternalPolicy
InternalNotesIn applies the In predicate on the "internal_notes" field.
func InternalNotesIsNil ¶ added in v0.34.0
func InternalNotesIsNil() predicate.InternalPolicy
InternalNotesIsNil applies the IsNil predicate on the "internal_notes" field.
func InternalNotesLT ¶ added in v0.34.0
func InternalNotesLT(v string) predicate.InternalPolicy
InternalNotesLT applies the LT predicate on the "internal_notes" field.
func InternalNotesLTE ¶ added in v0.34.0
func InternalNotesLTE(v string) predicate.InternalPolicy
InternalNotesLTE applies the LTE predicate on the "internal_notes" field.
func InternalNotesNEQ ¶ added in v0.34.0
func InternalNotesNEQ(v string) predicate.InternalPolicy
InternalNotesNEQ applies the NEQ predicate on the "internal_notes" field.
func InternalNotesNotIn ¶ added in v0.34.0
func InternalNotesNotIn(vs ...string) predicate.InternalPolicy
InternalNotesNotIn applies the NotIn predicate on the "internal_notes" field.
func InternalNotesNotNil ¶ added in v0.34.0
func InternalNotesNotNil() predicate.InternalPolicy
InternalNotesNotNil applies the NotNil predicate on the "internal_notes" field.
func InternalPolicyKindID ¶ added in v0.43.0
func InternalPolicyKindID(v string) predicate.InternalPolicy
InternalPolicyKindID applies equality check predicate on the "internal_policy_kind_id" field. It's identical to InternalPolicyKindIDEQ.
func InternalPolicyKindIDContains ¶ added in v0.43.0
func InternalPolicyKindIDContains(v string) predicate.InternalPolicy
InternalPolicyKindIDContains applies the Contains predicate on the "internal_policy_kind_id" field.
func InternalPolicyKindIDContainsFold ¶ added in v0.43.0
func InternalPolicyKindIDContainsFold(v string) predicate.InternalPolicy
InternalPolicyKindIDContainsFold applies the ContainsFold predicate on the "internal_policy_kind_id" field.
func InternalPolicyKindIDEQ ¶ added in v0.43.0
func InternalPolicyKindIDEQ(v string) predicate.InternalPolicy
InternalPolicyKindIDEQ applies the EQ predicate on the "internal_policy_kind_id" field.
func InternalPolicyKindIDEqualFold ¶ added in v0.43.0
func InternalPolicyKindIDEqualFold(v string) predicate.InternalPolicy
InternalPolicyKindIDEqualFold applies the EqualFold predicate on the "internal_policy_kind_id" field.
func InternalPolicyKindIDGT ¶ added in v0.43.0
func InternalPolicyKindIDGT(v string) predicate.InternalPolicy
InternalPolicyKindIDGT applies the GT predicate on the "internal_policy_kind_id" field.
func InternalPolicyKindIDGTE ¶ added in v0.43.0
func InternalPolicyKindIDGTE(v string) predicate.InternalPolicy
InternalPolicyKindIDGTE applies the GTE predicate on the "internal_policy_kind_id" field.
func InternalPolicyKindIDHasPrefix ¶ added in v0.43.0
func InternalPolicyKindIDHasPrefix(v string) predicate.InternalPolicy
InternalPolicyKindIDHasPrefix applies the HasPrefix predicate on the "internal_policy_kind_id" field.
func InternalPolicyKindIDHasSuffix ¶ added in v0.43.0
func InternalPolicyKindIDHasSuffix(v string) predicate.InternalPolicy
InternalPolicyKindIDHasSuffix applies the HasSuffix predicate on the "internal_policy_kind_id" field.
func InternalPolicyKindIDIn ¶ added in v0.43.0
func InternalPolicyKindIDIn(vs ...string) predicate.InternalPolicy
InternalPolicyKindIDIn applies the In predicate on the "internal_policy_kind_id" field.
func InternalPolicyKindIDIsNil ¶ added in v0.43.0
func InternalPolicyKindIDIsNil() predicate.InternalPolicy
InternalPolicyKindIDIsNil applies the IsNil predicate on the "internal_policy_kind_id" field.
func InternalPolicyKindIDLT ¶ added in v0.43.0
func InternalPolicyKindIDLT(v string) predicate.InternalPolicy
InternalPolicyKindIDLT applies the LT predicate on the "internal_policy_kind_id" field.
func InternalPolicyKindIDLTE ¶ added in v0.43.0
func InternalPolicyKindIDLTE(v string) predicate.InternalPolicy
InternalPolicyKindIDLTE applies the LTE predicate on the "internal_policy_kind_id" field.
func InternalPolicyKindIDNEQ ¶ added in v0.43.0
func InternalPolicyKindIDNEQ(v string) predicate.InternalPolicy
InternalPolicyKindIDNEQ applies the NEQ predicate on the "internal_policy_kind_id" field.
func InternalPolicyKindIDNotIn ¶ added in v0.43.0
func InternalPolicyKindIDNotIn(vs ...string) predicate.InternalPolicy
InternalPolicyKindIDNotIn applies the NotIn predicate on the "internal_policy_kind_id" field.
func InternalPolicyKindIDNotNil ¶ added in v0.43.0
func InternalPolicyKindIDNotNil() predicate.InternalPolicy
InternalPolicyKindIDNotNil applies the NotNil predicate on the "internal_policy_kind_id" field.
func InternalPolicyKindName ¶ added in v0.43.0
func InternalPolicyKindName(v string) predicate.InternalPolicy
InternalPolicyKindName applies equality check predicate on the "internal_policy_kind_name" field. It's identical to InternalPolicyKindNameEQ.
func InternalPolicyKindNameContains ¶ added in v0.43.0
func InternalPolicyKindNameContains(v string) predicate.InternalPolicy
InternalPolicyKindNameContains applies the Contains predicate on the "internal_policy_kind_name" field.
func InternalPolicyKindNameContainsFold ¶ added in v0.43.0
func InternalPolicyKindNameContainsFold(v string) predicate.InternalPolicy
InternalPolicyKindNameContainsFold applies the ContainsFold predicate on the "internal_policy_kind_name" field.
func InternalPolicyKindNameEQ ¶ added in v0.43.0
func InternalPolicyKindNameEQ(v string) predicate.InternalPolicy
InternalPolicyKindNameEQ applies the EQ predicate on the "internal_policy_kind_name" field.
func InternalPolicyKindNameEqualFold ¶ added in v0.43.0
func InternalPolicyKindNameEqualFold(v string) predicate.InternalPolicy
InternalPolicyKindNameEqualFold applies the EqualFold predicate on the "internal_policy_kind_name" field.
func InternalPolicyKindNameGT ¶ added in v0.43.0
func InternalPolicyKindNameGT(v string) predicate.InternalPolicy
InternalPolicyKindNameGT applies the GT predicate on the "internal_policy_kind_name" field.
func InternalPolicyKindNameGTE ¶ added in v0.43.0
func InternalPolicyKindNameGTE(v string) predicate.InternalPolicy
InternalPolicyKindNameGTE applies the GTE predicate on the "internal_policy_kind_name" field.
func InternalPolicyKindNameHasPrefix ¶ added in v0.43.0
func InternalPolicyKindNameHasPrefix(v string) predicate.InternalPolicy
InternalPolicyKindNameHasPrefix applies the HasPrefix predicate on the "internal_policy_kind_name" field.
func InternalPolicyKindNameHasSuffix ¶ added in v0.43.0
func InternalPolicyKindNameHasSuffix(v string) predicate.InternalPolicy
InternalPolicyKindNameHasSuffix applies the HasSuffix predicate on the "internal_policy_kind_name" field.
func InternalPolicyKindNameIn ¶ added in v0.43.0
func InternalPolicyKindNameIn(vs ...string) predicate.InternalPolicy
InternalPolicyKindNameIn applies the In predicate on the "internal_policy_kind_name" field.
func InternalPolicyKindNameIsNil ¶ added in v0.43.0
func InternalPolicyKindNameIsNil() predicate.InternalPolicy
InternalPolicyKindNameIsNil applies the IsNil predicate on the "internal_policy_kind_name" field.
func InternalPolicyKindNameLT ¶ added in v0.43.0
func InternalPolicyKindNameLT(v string) predicate.InternalPolicy
InternalPolicyKindNameLT applies the LT predicate on the "internal_policy_kind_name" field.
func InternalPolicyKindNameLTE ¶ added in v0.43.0
func InternalPolicyKindNameLTE(v string) predicate.InternalPolicy
InternalPolicyKindNameLTE applies the LTE predicate on the "internal_policy_kind_name" field.
func InternalPolicyKindNameNEQ ¶ added in v0.43.0
func InternalPolicyKindNameNEQ(v string) predicate.InternalPolicy
InternalPolicyKindNameNEQ applies the NEQ predicate on the "internal_policy_kind_name" field.
func InternalPolicyKindNameNotIn ¶ added in v0.43.0
func InternalPolicyKindNameNotIn(vs ...string) predicate.InternalPolicy
InternalPolicyKindNameNotIn applies the NotIn predicate on the "internal_policy_kind_name" field.
func InternalPolicyKindNameNotNil ¶ added in v0.43.0
func InternalPolicyKindNameNotNil() predicate.InternalPolicy
InternalPolicyKindNameNotNil applies the NotNil predicate on the "internal_policy_kind_name" field.
func Name ¶
func Name(v string) predicate.InternalPolicy
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.InternalPolicy
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.InternalPolicy
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.InternalPolicy
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.InternalPolicy
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.InternalPolicy
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.InternalPolicy
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.InternalPolicy
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.InternalPolicy
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.InternalPolicy
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.InternalPolicy
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.InternalPolicy
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.InternalPolicy
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.InternalPolicy
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.InternalPolicy) predicate.InternalPolicy
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.InternalPolicy) predicate.InternalPolicy
Or groups predicates with the OR operator between them.
func OwnerID ¶ added in v0.4.2
func OwnerID(v string) predicate.InternalPolicy
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶ added in v0.4.2
func OwnerIDContains(v string) predicate.InternalPolicy
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶ added in v0.4.2
func OwnerIDContainsFold(v string) predicate.InternalPolicy
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEQ ¶ added in v0.4.2
func OwnerIDEQ(v string) predicate.InternalPolicy
OwnerIDEQ applies the EQ predicate on the "owner_id" field.
func OwnerIDEqualFold ¶ added in v0.4.2
func OwnerIDEqualFold(v string) predicate.InternalPolicy
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGT ¶ added in v0.4.2
func OwnerIDGT(v string) predicate.InternalPolicy
OwnerIDGT applies the GT predicate on the "owner_id" field.
func OwnerIDGTE ¶ added in v0.4.2
func OwnerIDGTE(v string) predicate.InternalPolicy
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶ added in v0.4.2
func OwnerIDHasPrefix(v string) predicate.InternalPolicy
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶ added in v0.4.2
func OwnerIDHasSuffix(v string) predicate.InternalPolicy
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIn ¶ added in v0.4.2
func OwnerIDIn(vs ...string) predicate.InternalPolicy
OwnerIDIn applies the In predicate on the "owner_id" field.
func OwnerIDIsNil ¶ added in v0.4.2
func OwnerIDIsNil() predicate.InternalPolicy
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLT ¶ added in v0.4.2
func OwnerIDLT(v string) predicate.InternalPolicy
OwnerIDLT applies the LT predicate on the "owner_id" field.
func OwnerIDLTE ¶ added in v0.4.2
func OwnerIDLTE(v string) predicate.InternalPolicy
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶ added in v0.4.2
func OwnerIDNEQ(v string) predicate.InternalPolicy
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶ added in v0.4.2
func OwnerIDNotIn(vs ...string) predicate.InternalPolicy
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶ added in v0.4.2
func OwnerIDNotNil() predicate.InternalPolicy
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func ReviewDue ¶ added in v0.6.19
func ReviewDue(v time.Time) predicate.InternalPolicy
ReviewDue applies equality check predicate on the "review_due" field. It's identical to ReviewDueEQ.
func ReviewDueEQ ¶ added in v0.6.19
func ReviewDueEQ(v time.Time) predicate.InternalPolicy
ReviewDueEQ applies the EQ predicate on the "review_due" field.
func ReviewDueGT ¶ added in v0.6.19
func ReviewDueGT(v time.Time) predicate.InternalPolicy
ReviewDueGT applies the GT predicate on the "review_due" field.
func ReviewDueGTE ¶ added in v0.6.19
func ReviewDueGTE(v time.Time) predicate.InternalPolicy
ReviewDueGTE applies the GTE predicate on the "review_due" field.
func ReviewDueIn ¶ added in v0.6.19
func ReviewDueIn(vs ...time.Time) predicate.InternalPolicy
ReviewDueIn applies the In predicate on the "review_due" field.
func ReviewDueIsNil ¶ added in v0.6.19
func ReviewDueIsNil() predicate.InternalPolicy
ReviewDueIsNil applies the IsNil predicate on the "review_due" field.
func ReviewDueLT ¶ added in v0.6.19
func ReviewDueLT(v time.Time) predicate.InternalPolicy
ReviewDueLT applies the LT predicate on the "review_due" field.
func ReviewDueLTE ¶ added in v0.6.19
func ReviewDueLTE(v time.Time) predicate.InternalPolicy
ReviewDueLTE applies the LTE predicate on the "review_due" field.
func ReviewDueNEQ ¶ added in v0.6.19
func ReviewDueNEQ(v time.Time) predicate.InternalPolicy
ReviewDueNEQ applies the NEQ predicate on the "review_due" field.
func ReviewDueNotIn ¶ added in v0.6.19
func ReviewDueNotIn(vs ...time.Time) predicate.InternalPolicy
ReviewDueNotIn applies the NotIn predicate on the "review_due" field.
func ReviewDueNotNil ¶ added in v0.6.19
func ReviewDueNotNil() predicate.InternalPolicy
ReviewDueNotNil applies the NotNil predicate on the "review_due" field.
func ReviewFrequencyEQ ¶ added in v0.7.5
func ReviewFrequencyEQ(v enums.Frequency) predicate.InternalPolicy
ReviewFrequencyEQ applies the EQ predicate on the "review_frequency" field.
func ReviewFrequencyIn ¶ added in v0.7.5
func ReviewFrequencyIn(vs ...enums.Frequency) predicate.InternalPolicy
ReviewFrequencyIn applies the In predicate on the "review_frequency" field.
func ReviewFrequencyIsNil ¶ added in v0.7.5
func ReviewFrequencyIsNil() predicate.InternalPolicy
ReviewFrequencyIsNil applies the IsNil predicate on the "review_frequency" field.
func ReviewFrequencyNEQ ¶ added in v0.7.5
func ReviewFrequencyNEQ(v enums.Frequency) predicate.InternalPolicy
ReviewFrequencyNEQ applies the NEQ predicate on the "review_frequency" field.
func ReviewFrequencyNotIn ¶ added in v0.7.5
func ReviewFrequencyNotIn(vs ...enums.Frequency) predicate.InternalPolicy
ReviewFrequencyNotIn applies the NotIn predicate on the "review_frequency" field.
func ReviewFrequencyNotNil ¶ added in v0.7.5
func ReviewFrequencyNotNil() predicate.InternalPolicy
ReviewFrequencyNotNil applies the NotNil predicate on the "review_frequency" field.
func ReviewFrequencyValidator ¶ added in v0.7.5
ReviewFrequencyValidator is a validator for the "review_frequency" field enum values. It is called by the builders before save.
func Revision ¶ added in v0.7.5
func Revision(v string) predicate.InternalPolicy
Revision applies equality check predicate on the "revision" field. It's identical to RevisionEQ.
func RevisionContains ¶ added in v0.7.5
func RevisionContains(v string) predicate.InternalPolicy
RevisionContains applies the Contains predicate on the "revision" field.
func RevisionContainsFold ¶ added in v0.7.5
func RevisionContainsFold(v string) predicate.InternalPolicy
RevisionContainsFold applies the ContainsFold predicate on the "revision" field.
func RevisionEQ ¶ added in v0.7.5
func RevisionEQ(v string) predicate.InternalPolicy
RevisionEQ applies the EQ predicate on the "revision" field.
func RevisionEqualFold ¶ added in v0.7.5
func RevisionEqualFold(v string) predicate.InternalPolicy
RevisionEqualFold applies the EqualFold predicate on the "revision" field.
func RevisionGT ¶ added in v0.7.5
func RevisionGT(v string) predicate.InternalPolicy
RevisionGT applies the GT predicate on the "revision" field.
func RevisionGTE ¶ added in v0.7.5
func RevisionGTE(v string) predicate.InternalPolicy
RevisionGTE applies the GTE predicate on the "revision" field.
func RevisionHasPrefix ¶ added in v0.7.5
func RevisionHasPrefix(v string) predicate.InternalPolicy
RevisionHasPrefix applies the HasPrefix predicate on the "revision" field.
func RevisionHasSuffix ¶ added in v0.7.5
func RevisionHasSuffix(v string) predicate.InternalPolicy
RevisionHasSuffix applies the HasSuffix predicate on the "revision" field.
func RevisionIn ¶ added in v0.7.5
func RevisionIn(vs ...string) predicate.InternalPolicy
RevisionIn applies the In predicate on the "revision" field.
func RevisionIsNil ¶ added in v0.7.5
func RevisionIsNil() predicate.InternalPolicy
RevisionIsNil applies the IsNil predicate on the "revision" field.
func RevisionLT ¶ added in v0.7.5
func RevisionLT(v string) predicate.InternalPolicy
RevisionLT applies the LT predicate on the "revision" field.
func RevisionLTE ¶ added in v0.7.5
func RevisionLTE(v string) predicate.InternalPolicy
RevisionLTE applies the LTE predicate on the "revision" field.
func RevisionNEQ ¶ added in v0.7.5
func RevisionNEQ(v string) predicate.InternalPolicy
RevisionNEQ applies the NEQ predicate on the "revision" field.
func RevisionNotIn ¶ added in v0.7.5
func RevisionNotIn(vs ...string) predicate.InternalPolicy
RevisionNotIn applies the NotIn predicate on the "revision" field.
func RevisionNotNil ¶ added in v0.7.5
func RevisionNotNil() predicate.InternalPolicy
RevisionNotNil applies the NotNil predicate on the "revision" field.
func ScopeID ¶ added in v1.5.0
func ScopeID(v string) predicate.InternalPolicy
ScopeID applies equality check predicate on the "scope_id" field. It's identical to ScopeIDEQ.
func ScopeIDContains ¶ added in v1.5.0
func ScopeIDContains(v string) predicate.InternalPolicy
ScopeIDContains applies the Contains predicate on the "scope_id" field.
func ScopeIDContainsFold ¶ added in v1.5.0
func ScopeIDContainsFold(v string) predicate.InternalPolicy
ScopeIDContainsFold applies the ContainsFold predicate on the "scope_id" field.
func ScopeIDEQ ¶ added in v1.5.0
func ScopeIDEQ(v string) predicate.InternalPolicy
ScopeIDEQ applies the EQ predicate on the "scope_id" field.
func ScopeIDEqualFold ¶ added in v1.5.0
func ScopeIDEqualFold(v string) predicate.InternalPolicy
ScopeIDEqualFold applies the EqualFold predicate on the "scope_id" field.
func ScopeIDGT ¶ added in v1.5.0
func ScopeIDGT(v string) predicate.InternalPolicy
ScopeIDGT applies the GT predicate on the "scope_id" field.
func ScopeIDGTE ¶ added in v1.5.0
func ScopeIDGTE(v string) predicate.InternalPolicy
ScopeIDGTE applies the GTE predicate on the "scope_id" field.
func ScopeIDHasPrefix ¶ added in v1.5.0
func ScopeIDHasPrefix(v string) predicate.InternalPolicy
ScopeIDHasPrefix applies the HasPrefix predicate on the "scope_id" field.
func ScopeIDHasSuffix ¶ added in v1.5.0
func ScopeIDHasSuffix(v string) predicate.InternalPolicy
ScopeIDHasSuffix applies the HasSuffix predicate on the "scope_id" field.
func ScopeIDIn ¶ added in v1.5.0
func ScopeIDIn(vs ...string) predicate.InternalPolicy
ScopeIDIn applies the In predicate on the "scope_id" field.
func ScopeIDIsNil ¶ added in v1.5.0
func ScopeIDIsNil() predicate.InternalPolicy
ScopeIDIsNil applies the IsNil predicate on the "scope_id" field.
func ScopeIDLT ¶ added in v1.5.0
func ScopeIDLT(v string) predicate.InternalPolicy
ScopeIDLT applies the LT predicate on the "scope_id" field.
func ScopeIDLTE ¶ added in v1.5.0
func ScopeIDLTE(v string) predicate.InternalPolicy
ScopeIDLTE applies the LTE predicate on the "scope_id" field.
func ScopeIDNEQ ¶ added in v1.5.0
func ScopeIDNEQ(v string) predicate.InternalPolicy
ScopeIDNEQ applies the NEQ predicate on the "scope_id" field.
func ScopeIDNotIn ¶ added in v1.5.0
func ScopeIDNotIn(vs ...string) predicate.InternalPolicy
ScopeIDNotIn applies the NotIn predicate on the "scope_id" field.
func ScopeIDNotNil ¶ added in v1.5.0
func ScopeIDNotNil() predicate.InternalPolicy
ScopeIDNotNil applies the NotNil predicate on the "scope_id" field.
func ScopeName ¶ added in v1.5.0
func ScopeName(v string) predicate.InternalPolicy
ScopeName applies equality check predicate on the "scope_name" field. It's identical to ScopeNameEQ.
func ScopeNameContains ¶ added in v1.5.0
func ScopeNameContains(v string) predicate.InternalPolicy
ScopeNameContains applies the Contains predicate on the "scope_name" field.
func ScopeNameContainsFold ¶ added in v1.5.0
func ScopeNameContainsFold(v string) predicate.InternalPolicy
ScopeNameContainsFold applies the ContainsFold predicate on the "scope_name" field.
func ScopeNameEQ ¶ added in v1.5.0
func ScopeNameEQ(v string) predicate.InternalPolicy
ScopeNameEQ applies the EQ predicate on the "scope_name" field.
func ScopeNameEqualFold ¶ added in v1.5.0
func ScopeNameEqualFold(v string) predicate.InternalPolicy
ScopeNameEqualFold applies the EqualFold predicate on the "scope_name" field.
func ScopeNameGT ¶ added in v1.5.0
func ScopeNameGT(v string) predicate.InternalPolicy
ScopeNameGT applies the GT predicate on the "scope_name" field.
func ScopeNameGTE ¶ added in v1.5.0
func ScopeNameGTE(v string) predicate.InternalPolicy
ScopeNameGTE applies the GTE predicate on the "scope_name" field.
func ScopeNameHasPrefix ¶ added in v1.5.0
func ScopeNameHasPrefix(v string) predicate.InternalPolicy
ScopeNameHasPrefix applies the HasPrefix predicate on the "scope_name" field.
func ScopeNameHasSuffix ¶ added in v1.5.0
func ScopeNameHasSuffix(v string) predicate.InternalPolicy
ScopeNameHasSuffix applies the HasSuffix predicate on the "scope_name" field.
func ScopeNameIn ¶ added in v1.5.0
func ScopeNameIn(vs ...string) predicate.InternalPolicy
ScopeNameIn applies the In predicate on the "scope_name" field.
func ScopeNameIsNil ¶ added in v1.5.0
func ScopeNameIsNil() predicate.InternalPolicy
ScopeNameIsNil applies the IsNil predicate on the "scope_name" field.
func ScopeNameLT ¶ added in v1.5.0
func ScopeNameLT(v string) predicate.InternalPolicy
ScopeNameLT applies the LT predicate on the "scope_name" field.
func ScopeNameLTE ¶ added in v1.5.0
func ScopeNameLTE(v string) predicate.InternalPolicy
ScopeNameLTE applies the LTE predicate on the "scope_name" field.
func ScopeNameNEQ ¶ added in v1.5.0
func ScopeNameNEQ(v string) predicate.InternalPolicy
ScopeNameNEQ applies the NEQ predicate on the "scope_name" field.
func ScopeNameNotIn ¶ added in v1.5.0
func ScopeNameNotIn(vs ...string) predicate.InternalPolicy
ScopeNameNotIn applies the NotIn predicate on the "scope_name" field.
func ScopeNameNotNil ¶ added in v1.5.0
func ScopeNameNotNil() predicate.InternalPolicy
ScopeNameNotNil applies the NotNil predicate on the "scope_name" field.
func StatusEQ ¶
func StatusEQ(v enums.DocumentStatus) predicate.InternalPolicy
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...enums.DocumentStatus) predicate.InternalPolicy
StatusIn applies the In predicate on the "status" field.
func StatusIsNil ¶
func StatusIsNil() predicate.InternalPolicy
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v enums.DocumentStatus) predicate.InternalPolicy
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...enums.DocumentStatus) predicate.InternalPolicy
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
func StatusNotNil() predicate.InternalPolicy
StatusNotNil applies the NotNil predicate on the "status" field.
func StatusValidator ¶ added in v0.7.5
func StatusValidator(s enums.DocumentStatus) error
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func Summary ¶ added in v0.11.0
func Summary(v string) predicate.InternalPolicy
Summary applies equality check predicate on the "summary" field. It's identical to SummaryEQ.
func SummaryContains ¶ added in v0.11.0
func SummaryContains(v string) predicate.InternalPolicy
SummaryContains applies the Contains predicate on the "summary" field.
func SummaryContainsFold ¶ added in v0.11.0
func SummaryContainsFold(v string) predicate.InternalPolicy
SummaryContainsFold applies the ContainsFold predicate on the "summary" field.
func SummaryEQ ¶ added in v0.11.0
func SummaryEQ(v string) predicate.InternalPolicy
SummaryEQ applies the EQ predicate on the "summary" field.
func SummaryEqualFold ¶ added in v0.11.0
func SummaryEqualFold(v string) predicate.InternalPolicy
SummaryEqualFold applies the EqualFold predicate on the "summary" field.
func SummaryGT ¶ added in v0.11.0
func SummaryGT(v string) predicate.InternalPolicy
SummaryGT applies the GT predicate on the "summary" field.
func SummaryGTE ¶ added in v0.11.0
func SummaryGTE(v string) predicate.InternalPolicy
SummaryGTE applies the GTE predicate on the "summary" field.
func SummaryHasPrefix ¶ added in v0.11.0
func SummaryHasPrefix(v string) predicate.InternalPolicy
SummaryHasPrefix applies the HasPrefix predicate on the "summary" field.
func SummaryHasSuffix ¶ added in v0.11.0
func SummaryHasSuffix(v string) predicate.InternalPolicy
SummaryHasSuffix applies the HasSuffix predicate on the "summary" field.
func SummaryIn ¶ added in v0.11.0
func SummaryIn(vs ...string) predicate.InternalPolicy
SummaryIn applies the In predicate on the "summary" field.
func SummaryIsNil ¶ added in v0.11.0
func SummaryIsNil() predicate.InternalPolicy
SummaryIsNil applies the IsNil predicate on the "summary" field.
func SummaryLT ¶ added in v0.11.0
func SummaryLT(v string) predicate.InternalPolicy
SummaryLT applies the LT predicate on the "summary" field.
func SummaryLTE ¶ added in v0.11.0
func SummaryLTE(v string) predicate.InternalPolicy
SummaryLTE applies the LTE predicate on the "summary" field.
func SummaryNEQ ¶ added in v0.11.0
func SummaryNEQ(v string) predicate.InternalPolicy
SummaryNEQ applies the NEQ predicate on the "summary" field.
func SummaryNotIn ¶ added in v0.11.0
func SummaryNotIn(vs ...string) predicate.InternalPolicy
SummaryNotIn applies the NotIn predicate on the "summary" field.
func SummaryNotNil ¶ added in v0.11.0
func SummaryNotNil() predicate.InternalPolicy
SummaryNotNil applies the NotNil predicate on the "summary" field.
func SystemInternalID ¶ added in v0.34.0
func SystemInternalID(v string) predicate.InternalPolicy
SystemInternalID applies equality check predicate on the "system_internal_id" field. It's identical to SystemInternalIDEQ.
func SystemInternalIDContains ¶ added in v0.34.0
func SystemInternalIDContains(v string) predicate.InternalPolicy
SystemInternalIDContains applies the Contains predicate on the "system_internal_id" field.
func SystemInternalIDContainsFold ¶ added in v0.34.0
func SystemInternalIDContainsFold(v string) predicate.InternalPolicy
SystemInternalIDContainsFold applies the ContainsFold predicate on the "system_internal_id" field.
func SystemInternalIDEQ ¶ added in v0.34.0
func SystemInternalIDEQ(v string) predicate.InternalPolicy
SystemInternalIDEQ applies the EQ predicate on the "system_internal_id" field.
func SystemInternalIDEqualFold ¶ added in v0.34.0
func SystemInternalIDEqualFold(v string) predicate.InternalPolicy
SystemInternalIDEqualFold applies the EqualFold predicate on the "system_internal_id" field.
func SystemInternalIDGT ¶ added in v0.34.0
func SystemInternalIDGT(v string) predicate.InternalPolicy
SystemInternalIDGT applies the GT predicate on the "system_internal_id" field.
func SystemInternalIDGTE ¶ added in v0.34.0
func SystemInternalIDGTE(v string) predicate.InternalPolicy
SystemInternalIDGTE applies the GTE predicate on the "system_internal_id" field.
func SystemInternalIDHasPrefix ¶ added in v0.34.0
func SystemInternalIDHasPrefix(v string) predicate.InternalPolicy
SystemInternalIDHasPrefix applies the HasPrefix predicate on the "system_internal_id" field.
func SystemInternalIDHasSuffix ¶ added in v0.34.0
func SystemInternalIDHasSuffix(v string) predicate.InternalPolicy
SystemInternalIDHasSuffix applies the HasSuffix predicate on the "system_internal_id" field.
func SystemInternalIDIn ¶ added in v0.34.0
func SystemInternalIDIn(vs ...string) predicate.InternalPolicy
SystemInternalIDIn applies the In predicate on the "system_internal_id" field.
func SystemInternalIDIsNil ¶ added in v0.34.0
func SystemInternalIDIsNil() predicate.InternalPolicy
SystemInternalIDIsNil applies the IsNil predicate on the "system_internal_id" field.
func SystemInternalIDLT ¶ added in v0.34.0
func SystemInternalIDLT(v string) predicate.InternalPolicy
SystemInternalIDLT applies the LT predicate on the "system_internal_id" field.
func SystemInternalIDLTE ¶ added in v0.34.0
func SystemInternalIDLTE(v string) predicate.InternalPolicy
SystemInternalIDLTE applies the LTE predicate on the "system_internal_id" field.
func SystemInternalIDNEQ ¶ added in v0.34.0
func SystemInternalIDNEQ(v string) predicate.InternalPolicy
SystemInternalIDNEQ applies the NEQ predicate on the "system_internal_id" field.
func SystemInternalIDNotIn ¶ added in v0.34.0
func SystemInternalIDNotIn(vs ...string) predicate.InternalPolicy
SystemInternalIDNotIn applies the NotIn predicate on the "system_internal_id" field.
func SystemInternalIDNotNil ¶ added in v0.34.0
func SystemInternalIDNotNil() predicate.InternalPolicy
SystemInternalIDNotNil applies the NotNil predicate on the "system_internal_id" field.
func SystemOwned ¶ added in v0.34.0
func SystemOwned(v bool) predicate.InternalPolicy
SystemOwned applies equality check predicate on the "system_owned" field. It's identical to SystemOwnedEQ.
func SystemOwnedEQ ¶ added in v0.34.0
func SystemOwnedEQ(v bool) predicate.InternalPolicy
SystemOwnedEQ applies the EQ predicate on the "system_owned" field.
func SystemOwnedIsNil ¶ added in v0.34.0
func SystemOwnedIsNil() predicate.InternalPolicy
SystemOwnedIsNil applies the IsNil predicate on the "system_owned" field.
func SystemOwnedNEQ ¶ added in v0.34.0
func SystemOwnedNEQ(v bool) predicate.InternalPolicy
SystemOwnedNEQ applies the NEQ predicate on the "system_owned" field.
func SystemOwnedNotNil ¶ added in v0.34.0
func SystemOwnedNotNil() predicate.InternalPolicy
SystemOwnedNotNil applies the NotNil predicate on the "system_owned" field.
func TagSuggestionsIsNil ¶ added in v0.19.0
func TagSuggestionsIsNil() predicate.InternalPolicy
TagSuggestionsIsNil applies the IsNil predicate on the "tag_suggestions" field.
func TagSuggestionsNotNil ¶ added in v0.19.0
func TagSuggestionsNotNil() predicate.InternalPolicy
TagSuggestionsNotNil applies the NotNil predicate on the "tag_suggestions" field.
func TagsIsNil ¶
func TagsIsNil() predicate.InternalPolicy
TagsIsNil applies the IsNil predicate on the "tags" field.
func TagsNotNil ¶
func TagsNotNil() predicate.InternalPolicy
TagsNotNil applies the NotNil predicate on the "tags" field.
func URL ¶ added in v0.30.6
func URL(v string) predicate.InternalPolicy
URL applies equality check predicate on the "url" field. It's identical to URLEQ.
func URLContains ¶ added in v0.30.6
func URLContains(v string) predicate.InternalPolicy
URLContains applies the Contains predicate on the "url" field.
func URLContainsFold ¶ added in v0.30.6
func URLContainsFold(v string) predicate.InternalPolicy
URLContainsFold applies the ContainsFold predicate on the "url" field.
func URLEQ ¶ added in v0.30.6
func URLEQ(v string) predicate.InternalPolicy
URLEQ applies the EQ predicate on the "url" field.
func URLEqualFold ¶ added in v0.30.6
func URLEqualFold(v string) predicate.InternalPolicy
URLEqualFold applies the EqualFold predicate on the "url" field.
func URLGT ¶ added in v0.30.6
func URLGT(v string) predicate.InternalPolicy
URLGT applies the GT predicate on the "url" field.
func URLGTE ¶ added in v0.30.6
func URLGTE(v string) predicate.InternalPolicy
URLGTE applies the GTE predicate on the "url" field.
func URLHasPrefix ¶ added in v0.30.6
func URLHasPrefix(v string) predicate.InternalPolicy
URLHasPrefix applies the HasPrefix predicate on the "url" field.
func URLHasSuffix ¶ added in v0.30.6
func URLHasSuffix(v string) predicate.InternalPolicy
URLHasSuffix applies the HasSuffix predicate on the "url" field.
func URLIn ¶ added in v0.30.6
func URLIn(vs ...string) predicate.InternalPolicy
URLIn applies the In predicate on the "url" field.
func URLIsNil ¶ added in v0.30.6
func URLIsNil() predicate.InternalPolicy
URLIsNil applies the IsNil predicate on the "url" field.
func URLLT ¶ added in v0.30.6
func URLLT(v string) predicate.InternalPolicy
URLLT applies the LT predicate on the "url" field.
func URLLTE ¶ added in v0.30.6
func URLLTE(v string) predicate.InternalPolicy
URLLTE applies the LTE predicate on the "url" field.
func URLNEQ ¶ added in v0.30.6
func URLNEQ(v string) predicate.InternalPolicy
URLNEQ applies the NEQ predicate on the "url" field.
func URLNotIn ¶ added in v0.30.6
func URLNotIn(vs ...string) predicate.InternalPolicy
URLNotIn applies the NotIn predicate on the "url" field.
func URLNotNil ¶ added in v0.30.6
func URLNotNil() predicate.InternalPolicy
URLNotNil applies the NotNil predicate on the "url" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.InternalPolicy
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.InternalPolicy
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.InternalPolicy
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.InternalPolicy
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.InternalPolicy
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.InternalPolicy
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.InternalPolicy
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.InternalPolicy
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.InternalPolicy
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.InternalPolicy
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.InternalPolicy
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.InternalPolicy
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.InternalPolicy
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.InternalPolicy
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.InternalPolicy
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.InternalPolicy
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.InternalPolicy
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.InternalPolicy
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.InternalPolicy
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.InternalPolicy
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.InternalPolicy
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.InternalPolicy
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.InternalPolicy
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.InternalPolicy
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.InternalPolicy
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.InternalPolicy
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.InternalPolicy
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
func WorkflowEligibleMarker(v bool) predicate.InternalPolicy
WorkflowEligibleMarker applies equality check predicate on the "workflow_eligible_marker" field. It's identical to WorkflowEligibleMarkerEQ.
func WorkflowEligibleMarkerEQ ¶ added in v0.52.0
func WorkflowEligibleMarkerEQ(v bool) predicate.InternalPolicy
WorkflowEligibleMarkerEQ applies the EQ predicate on the "workflow_eligible_marker" field.
func WorkflowEligibleMarkerIsNil ¶ added in v0.52.0
func WorkflowEligibleMarkerIsNil() predicate.InternalPolicy
WorkflowEligibleMarkerIsNil applies the IsNil predicate on the "workflow_eligible_marker" field.
func WorkflowEligibleMarkerNEQ ¶ added in v0.52.0
func WorkflowEligibleMarkerNEQ(v bool) predicate.InternalPolicy
WorkflowEligibleMarkerNEQ applies the NEQ predicate on the "workflow_eligible_marker" field.
func WorkflowEligibleMarkerNotNil ¶ added in v0.52.0
func WorkflowEligibleMarkerNotNil() predicate.InternalPolicy
WorkflowEligibleMarkerNotNil applies the NotNil predicate on the "workflow_eligible_marker" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the InternalPolicy queries.
func ByApprovalRequired ¶ added in v0.7.5
func ByApprovalRequired(opts ...sql.OrderTermOption) OrderOption
ByApprovalRequired orders the results by the approval_required field.
func ByApproverField ¶ added in v0.7.5
func ByApproverField(field string, opts ...sql.OrderTermOption) OrderOption
ByApproverField orders the results by approver field.
func ByApproverID ¶ added in v0.8.9
func ByApproverID(opts ...sql.OrderTermOption) OrderOption
ByApproverID orders the results by the approver_id field.
func ByBlockedGroups ¶ added in v0.4.2
func ByBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByBlockedGroups orders the results by blocked_groups terms.
func ByBlockedGroupsCount ¶ added in v0.4.2
func ByBlockedGroupsCount(opts ...sql.OrderTermOption) OrderOption
ByBlockedGroupsCount orders the results by blocked_groups count.
func ByComments ¶ added in v0.40.0
func ByComments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByComments orders the results by comments terms.
func ByCommentsCount ¶ added in v0.40.0
func ByCommentsCount(opts ...sql.OrderTermOption) OrderOption
ByCommentsCount orders the results by comments count.
func ByControlImplementations ¶ added in v0.26.11
func ByControlImplementations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByControlImplementations orders the results by control_implementations terms.
func ByControlImplementationsCount ¶ added in v0.26.11
func ByControlImplementationsCount(opts ...sql.OrderTermOption) OrderOption
ByControlImplementationsCount orders the results by control_implementations 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 ByControls ¶
func ByControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByControls orders the results by controls terms.
func ByControlsCount ¶
func ByControlsCount(opts ...sql.OrderTermOption) OrderOption
ByControlsCount orders the results by controls count.
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.5
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 ByDetails ¶ added in v0.7.5
func ByDetails(opts ...sql.OrderTermOption) OrderOption
ByDetails orders the results by the details 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.4.2
func ByEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEditors orders the results by editors terms.
func ByEditorsCount ¶ added in v0.4.2
func ByEditorsCount(opts ...sql.OrderTermOption) OrderOption
ByEditorsCount orders the results by editors count.
func ByEnvironmentField ¶ added in v1.5.0
func ByEnvironmentField(field string, opts ...sql.OrderTermOption) OrderOption
ByEnvironmentField orders the results by environment field.
func ByEnvironmentID ¶ added in v1.5.0
func ByEnvironmentID(opts ...sql.OrderTermOption) OrderOption
ByEnvironmentID orders the results by the environment_id field.
func ByEnvironmentName ¶ added in v1.5.0
func ByEnvironmentName(opts ...sql.OrderTermOption) OrderOption
ByEnvironmentName orders the results by the environment_name field.
func ByExternalUUID ¶ added in v1.11.6
func ByExternalUUID(opts ...sql.OrderTermOption) OrderOption
ByExternalUUID orders the results by the external_uuid field.
func ByFileField ¶ added in v0.30.6
func ByFileField(field string, opts ...sql.OrderTermOption) OrderOption
ByFileField orders the results by file field.
func ByFileID ¶ added in v0.30.6
func ByFileID(opts ...sql.OrderTermOption) OrderOption
ByFileID orders the results by the file_id field.
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 ByInternalPolicyKindField ¶ added in v0.43.0
func ByInternalPolicyKindField(field string, opts ...sql.OrderTermOption) OrderOption
ByInternalPolicyKindField orders the results by internal_policy_kind field.
func ByInternalPolicyKindID ¶ added in v0.43.0
func ByInternalPolicyKindID(opts ...sql.OrderTermOption) OrderOption
ByInternalPolicyKindID orders the results by the internal_policy_kind_id field.
func ByInternalPolicyKindName ¶ added in v0.43.0
func ByInternalPolicyKindName(opts ...sql.OrderTermOption) OrderOption
ByInternalPolicyKindName orders the results by the internal_policy_kind_name field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
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.4.2
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶ added in v0.4.2
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 ByReviewDue ¶ added in v0.6.19
func ByReviewDue(opts ...sql.OrderTermOption) OrderOption
ByReviewDue orders the results by the review_due field.
func ByReviewFrequency ¶ added in v0.7.5
func ByReviewFrequency(opts ...sql.OrderTermOption) OrderOption
ByReviewFrequency orders the results by the review_frequency field.
func ByRevision ¶ added in v0.7.5
func ByRevision(opts ...sql.OrderTermOption) OrderOption
ByRevision orders the results by the revision field.
func ByRisks ¶ added in v0.10.5
func ByRisks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByRisks orders the results by risks terms.
func ByRisksCount ¶ added in v0.10.5
func ByRisksCount(opts ...sql.OrderTermOption) OrderOption
ByRisksCount orders the results by risks count.
func ByScopeField ¶ added in v1.5.0
func ByScopeField(field string, opts ...sql.OrderTermOption) OrderOption
ByScopeField orders the results by scope field.
func ByScopeID ¶ added in v1.5.0
func ByScopeID(opts ...sql.OrderTermOption) OrderOption
ByScopeID orders the results by the scope_id field.
func ByScopeName ¶ added in v1.5.0
func ByScopeName(opts ...sql.OrderTermOption) OrderOption
ByScopeName orders the results by the scope_name field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func BySubcontrols ¶ added in v0.10.7
func BySubcontrols(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySubcontrols orders the results by subcontrols terms.
func BySubcontrolsCount ¶ added in v0.10.7
func BySubcontrolsCount(opts ...sql.OrderTermOption) OrderOption
BySubcontrolsCount orders the results by subcontrols count.
func BySummary ¶ added in v0.11.0
func BySummary(opts ...sql.OrderTermOption) OrderOption
BySummary orders the results by the summary field.
func BySystemInternalID ¶ added in v0.34.0
func BySystemInternalID(opts ...sql.OrderTermOption) OrderOption
BySystemInternalID orders the results by the system_internal_id field.
func BySystemOwned ¶ added in v0.34.0
func BySystemOwned(opts ...sql.OrderTermOption) OrderOption
BySystemOwned orders the results by the system_owned field.
func ByTasks ¶ added in v0.3.4
func ByTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTasks orders the results by tasks terms.
func ByTasksCount ¶ added in v0.3.4
func ByTasksCount(opts ...sql.OrderTermOption) OrderOption
ByTasksCount orders the results by tasks count.
func ByURL ¶ added in v0.30.6
func ByURL(opts ...sql.OrderTermOption) OrderOption
ByURL orders the results by the url 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.