Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Evidence) predicate.Evidence
- func CollectionProcedure(v string) predicate.Evidence
- func CollectionProcedureContains(v string) predicate.Evidence
- func CollectionProcedureContainsFold(v string) predicate.Evidence
- func CollectionProcedureEQ(v string) predicate.Evidence
- func CollectionProcedureEqualFold(v string) predicate.Evidence
- func CollectionProcedureGT(v string) predicate.Evidence
- func CollectionProcedureGTE(v string) predicate.Evidence
- func CollectionProcedureHasPrefix(v string) predicate.Evidence
- func CollectionProcedureHasSuffix(v string) predicate.Evidence
- func CollectionProcedureIn(vs ...string) predicate.Evidence
- func CollectionProcedureIsNil() predicate.Evidence
- func CollectionProcedureLT(v string) predicate.Evidence
- func CollectionProcedureLTE(v string) predicate.Evidence
- func CollectionProcedureNEQ(v string) predicate.Evidence
- func CollectionProcedureNotIn(vs ...string) predicate.Evidence
- func CollectionProcedureNotNil() predicate.Evidence
- func CreatedAt(v time.Time) predicate.Evidence
- func CreatedAtEQ(v time.Time) predicate.Evidence
- func CreatedAtGT(v time.Time) predicate.Evidence
- func CreatedAtGTE(v time.Time) predicate.Evidence
- func CreatedAtIn(vs ...time.Time) predicate.Evidence
- func CreatedAtIsNil() predicate.Evidence
- func CreatedAtLT(v time.Time) predicate.Evidence
- func CreatedAtLTE(v time.Time) predicate.Evidence
- func CreatedAtNEQ(v time.Time) predicate.Evidence
- func CreatedAtNotIn(vs ...time.Time) predicate.Evidence
- func CreatedAtNotNil() predicate.Evidence
- func CreatedBy(v string) predicate.Evidence
- func CreatedByContains(v string) predicate.Evidence
- func CreatedByContainsFold(v string) predicate.Evidence
- func CreatedByEQ(v string) predicate.Evidence
- func CreatedByEqualFold(v string) predicate.Evidence
- func CreatedByGT(v string) predicate.Evidence
- func CreatedByGTE(v string) predicate.Evidence
- func CreatedByHasPrefix(v string) predicate.Evidence
- func CreatedByHasSuffix(v string) predicate.Evidence
- func CreatedByIn(vs ...string) predicate.Evidence
- func CreatedByIsNil() predicate.Evidence
- func CreatedByLT(v string) predicate.Evidence
- func CreatedByLTE(v string) predicate.Evidence
- func CreatedByNEQ(v string) predicate.Evidence
- func CreatedByNotIn(vs ...string) predicate.Evidence
- func CreatedByNotNil() predicate.Evidence
- func CreationDate(v time.Time) predicate.Evidence
- func CreationDateEQ(v time.Time) predicate.Evidence
- func CreationDateGT(v time.Time) predicate.Evidence
- func CreationDateGTE(v time.Time) predicate.Evidence
- func CreationDateIn(vs ...time.Time) predicate.Evidence
- func CreationDateLT(v time.Time) predicate.Evidence
- func CreationDateLTE(v time.Time) predicate.Evidence
- func CreationDateNEQ(v time.Time) predicate.Evidence
- func CreationDateNotIn(vs ...time.Time) predicate.Evidence
- func DeletedAt(v time.Time) predicate.Evidence
- func DeletedAtEQ(v time.Time) predicate.Evidence
- func DeletedAtGT(v time.Time) predicate.Evidence
- func DeletedAtGTE(v time.Time) predicate.Evidence
- func DeletedAtIn(vs ...time.Time) predicate.Evidence
- func DeletedAtIsNil() predicate.Evidence
- func DeletedAtLT(v time.Time) predicate.Evidence
- func DeletedAtLTE(v time.Time) predicate.Evidence
- func DeletedAtNEQ(v time.Time) predicate.Evidence
- func DeletedAtNotIn(vs ...time.Time) predicate.Evidence
- func DeletedAtNotNil() predicate.Evidence
- func DeletedBy(v string) predicate.Evidence
- func DeletedByContains(v string) predicate.Evidence
- func DeletedByContainsFold(v string) predicate.Evidence
- func DeletedByEQ(v string) predicate.Evidence
- func DeletedByEqualFold(v string) predicate.Evidence
- func DeletedByGT(v string) predicate.Evidence
- func DeletedByGTE(v string) predicate.Evidence
- func DeletedByHasPrefix(v string) predicate.Evidence
- func DeletedByHasSuffix(v string) predicate.Evidence
- func DeletedByIn(vs ...string) predicate.Evidence
- func DeletedByIsNil() predicate.Evidence
- func DeletedByLT(v string) predicate.Evidence
- func DeletedByLTE(v string) predicate.Evidence
- func DeletedByNEQ(v string) predicate.Evidence
- func DeletedByNotIn(vs ...string) predicate.Evidence
- func DeletedByNotNil() predicate.Evidence
- func Description(v string) predicate.Evidence
- func DescriptionContains(v string) predicate.Evidence
- func DescriptionContainsFold(v string) predicate.Evidence
- func DescriptionEQ(v string) predicate.Evidence
- func DescriptionEqualFold(v string) predicate.Evidence
- func DescriptionGT(v string) predicate.Evidence
- func DescriptionGTE(v string) predicate.Evidence
- func DescriptionHasPrefix(v string) predicate.Evidence
- func DescriptionHasSuffix(v string) predicate.Evidence
- func DescriptionIn(vs ...string) predicate.Evidence
- func DescriptionIsNil() predicate.Evidence
- func DescriptionLT(v string) predicate.Evidence
- func DescriptionLTE(v string) predicate.Evidence
- func DescriptionNEQ(v string) predicate.Evidence
- func DescriptionNotIn(vs ...string) predicate.Evidence
- func DescriptionNotNil() predicate.Evidence
- func DisplayID(v string) predicate.Evidence
- func DisplayIDContains(v string) predicate.Evidence
- func DisplayIDContainsFold(v string) predicate.Evidence
- func DisplayIDEQ(v string) predicate.Evidence
- func DisplayIDEqualFold(v string) predicate.Evidence
- func DisplayIDGT(v string) predicate.Evidence
- func DisplayIDGTE(v string) predicate.Evidence
- func DisplayIDHasPrefix(v string) predicate.Evidence
- func DisplayIDHasSuffix(v string) predicate.Evidence
- func DisplayIDIn(vs ...string) predicate.Evidence
- func DisplayIDLT(v string) predicate.Evidence
- func DisplayIDLTE(v string) predicate.Evidence
- func DisplayIDNEQ(v string) predicate.Evidence
- func DisplayIDNotIn(vs ...string) predicate.Evidence
- func EnvironmentID(v string) predicate.Evidence
- func EnvironmentIDContains(v string) predicate.Evidence
- func EnvironmentIDContainsFold(v string) predicate.Evidence
- func EnvironmentIDEQ(v string) predicate.Evidence
- func EnvironmentIDEqualFold(v string) predicate.Evidence
- func EnvironmentIDGT(v string) predicate.Evidence
- func EnvironmentIDGTE(v string) predicate.Evidence
- func EnvironmentIDHasPrefix(v string) predicate.Evidence
- func EnvironmentIDHasSuffix(v string) predicate.Evidence
- func EnvironmentIDIn(vs ...string) predicate.Evidence
- func EnvironmentIDIsNil() predicate.Evidence
- func EnvironmentIDLT(v string) predicate.Evidence
- func EnvironmentIDLTE(v string) predicate.Evidence
- func EnvironmentIDNEQ(v string) predicate.Evidence
- func EnvironmentIDNotIn(vs ...string) predicate.Evidence
- func EnvironmentIDNotNil() predicate.Evidence
- func EnvironmentName(v string) predicate.Evidence
- func EnvironmentNameContains(v string) predicate.Evidence
- func EnvironmentNameContainsFold(v string) predicate.Evidence
- func EnvironmentNameEQ(v string) predicate.Evidence
- func EnvironmentNameEqualFold(v string) predicate.Evidence
- func EnvironmentNameGT(v string) predicate.Evidence
- func EnvironmentNameGTE(v string) predicate.Evidence
- func EnvironmentNameHasPrefix(v string) predicate.Evidence
- func EnvironmentNameHasSuffix(v string) predicate.Evidence
- func EnvironmentNameIn(vs ...string) predicate.Evidence
- func EnvironmentNameIsNil() predicate.Evidence
- func EnvironmentNameLT(v string) predicate.Evidence
- func EnvironmentNameLTE(v string) predicate.Evidence
- func EnvironmentNameNEQ(v string) predicate.Evidence
- func EnvironmentNameNotIn(vs ...string) predicate.Evidence
- func EnvironmentNameNotNil() predicate.Evidence
- func ExternalUUID(v string) predicate.Evidence
- func ExternalUUIDContains(v string) predicate.Evidence
- func ExternalUUIDContainsFold(v string) predicate.Evidence
- func ExternalUUIDEQ(v string) predicate.Evidence
- func ExternalUUIDEqualFold(v string) predicate.Evidence
- func ExternalUUIDGT(v string) predicate.Evidence
- func ExternalUUIDGTE(v string) predicate.Evidence
- func ExternalUUIDHasPrefix(v string) predicate.Evidence
- func ExternalUUIDHasSuffix(v string) predicate.Evidence
- func ExternalUUIDIn(vs ...string) predicate.Evidence
- func ExternalUUIDIsNil() predicate.Evidence
- func ExternalUUIDLT(v string) predicate.Evidence
- func ExternalUUIDLTE(v string) predicate.Evidence
- func ExternalUUIDNEQ(v string) predicate.Evidence
- func ExternalUUIDNotIn(vs ...string) predicate.Evidence
- func ExternalUUIDNotNil() predicate.Evidence
- func HasComments() predicate.Evidence
- func HasCommentsWith(preds ...predicate.Note) predicate.Evidence
- func HasControlImplementations() predicate.Evidence
- func HasControlImplementationsWith(preds ...predicate.ControlImplementation) predicate.Evidence
- func HasControlObjectives() predicate.Evidence
- func HasControlObjectivesWith(preds ...predicate.ControlObjective) predicate.Evidence
- func HasControls() predicate.Evidence
- func HasControlsWith(preds ...predicate.Control) predicate.Evidence
- func HasEnvironment() predicate.Evidence
- func HasEnvironmentWith(preds ...predicate.CustomTypeEnum) predicate.Evidence
- func HasFiles() predicate.Evidence
- func HasFilesWith(preds ...predicate.File) predicate.Evidence
- func HasOwner() predicate.Evidence
- func HasOwnerWith(preds ...predicate.Organization) predicate.Evidence
- func HasPlatforms() predicate.Evidence
- func HasPlatformsWith(preds ...predicate.Platform) predicate.Evidence
- func HasPrograms() predicate.Evidence
- func HasProgramsWith(preds ...predicate.Program) predicate.Evidence
- func HasScans() predicate.Evidence
- func HasScansWith(preds ...predicate.Scan) predicate.Evidence
- func HasScope() predicate.Evidence
- func HasScopeWith(preds ...predicate.CustomTypeEnum) predicate.Evidence
- func HasSubcontrols() predicate.Evidence
- func HasSubcontrolsWith(preds ...predicate.Subcontrol) predicate.Evidence
- func HasTasks() predicate.Evidence
- func HasTasksWith(preds ...predicate.Task) predicate.Evidence
- func HasWorkflowObjectRefs() predicate.Evidence
- func HasWorkflowObjectRefsWith(preds ...predicate.WorkflowObjectRef) predicate.Evidence
- func ID(id string) predicate.Evidence
- func IDContainsFold(id string) predicate.Evidence
- func IDEQ(id string) predicate.Evidence
- func IDEqualFold(id string) predicate.Evidence
- func IDGT(id string) predicate.Evidence
- func IDGTE(id string) predicate.Evidence
- func IDIn(ids ...string) predicate.Evidence
- func IDLT(id string) predicate.Evidence
- func IDLTE(id string) predicate.Evidence
- func IDNEQ(id string) predicate.Evidence
- func IDNotIn(ids ...string) predicate.Evidence
- func IsAutomated(v bool) predicate.Evidence
- func IsAutomatedEQ(v bool) predicate.Evidence
- func IsAutomatedIsNil() predicate.Evidence
- func IsAutomatedNEQ(v bool) predicate.Evidence
- func IsAutomatedNotNil() predicate.Evidence
- func Name(v string) predicate.Evidence
- func NameContains(v string) predicate.Evidence
- func NameContainsFold(v string) predicate.Evidence
- func NameEQ(v string) predicate.Evidence
- func NameEqualFold(v string) predicate.Evidence
- func NameGT(v string) predicate.Evidence
- func NameGTE(v string) predicate.Evidence
- func NameHasPrefix(v string) predicate.Evidence
- func NameHasSuffix(v string) predicate.Evidence
- func NameIn(vs ...string) predicate.Evidence
- func NameLT(v string) predicate.Evidence
- func NameLTE(v string) predicate.Evidence
- func NameNEQ(v string) predicate.Evidence
- func NameNotIn(vs ...string) predicate.Evidence
- func Not(p predicate.Evidence) predicate.Evidence
- func Or(predicates ...predicate.Evidence) predicate.Evidence
- func OwnerID(v string) predicate.Evidence
- func OwnerIDContains(v string) predicate.Evidence
- func OwnerIDContainsFold(v string) predicate.Evidence
- func OwnerIDEQ(v string) predicate.Evidence
- func OwnerIDEqualFold(v string) predicate.Evidence
- func OwnerIDGT(v string) predicate.Evidence
- func OwnerIDGTE(v string) predicate.Evidence
- func OwnerIDHasPrefix(v string) predicate.Evidence
- func OwnerIDHasSuffix(v string) predicate.Evidence
- func OwnerIDIn(vs ...string) predicate.Evidence
- func OwnerIDIsNil() predicate.Evidence
- func OwnerIDLT(v string) predicate.Evidence
- func OwnerIDLTE(v string) predicate.Evidence
- func OwnerIDNEQ(v string) predicate.Evidence
- func OwnerIDNotIn(vs ...string) predicate.Evidence
- func OwnerIDNotNil() predicate.Evidence
- func RenewalDate(v time.Time) predicate.Evidence
- func RenewalDateEQ(v time.Time) predicate.Evidence
- func RenewalDateGT(v time.Time) predicate.Evidence
- func RenewalDateGTE(v time.Time) predicate.Evidence
- func RenewalDateIn(vs ...time.Time) predicate.Evidence
- func RenewalDateIsNil() predicate.Evidence
- func RenewalDateLT(v time.Time) predicate.Evidence
- func RenewalDateLTE(v time.Time) predicate.Evidence
- func RenewalDateNEQ(v time.Time) predicate.Evidence
- func RenewalDateNotIn(vs ...time.Time) predicate.Evidence
- func RenewalDateNotNil() predicate.Evidence
- func ScopeID(v string) predicate.Evidence
- func ScopeIDContains(v string) predicate.Evidence
- func ScopeIDContainsFold(v string) predicate.Evidence
- func ScopeIDEQ(v string) predicate.Evidence
- func ScopeIDEqualFold(v string) predicate.Evidence
- func ScopeIDGT(v string) predicate.Evidence
- func ScopeIDGTE(v string) predicate.Evidence
- func ScopeIDHasPrefix(v string) predicate.Evidence
- func ScopeIDHasSuffix(v string) predicate.Evidence
- func ScopeIDIn(vs ...string) predicate.Evidence
- func ScopeIDIsNil() predicate.Evidence
- func ScopeIDLT(v string) predicate.Evidence
- func ScopeIDLTE(v string) predicate.Evidence
- func ScopeIDNEQ(v string) predicate.Evidence
- func ScopeIDNotIn(vs ...string) predicate.Evidence
- func ScopeIDNotNil() predicate.Evidence
- func ScopeName(v string) predicate.Evidence
- func ScopeNameContains(v string) predicate.Evidence
- func ScopeNameContainsFold(v string) predicate.Evidence
- func ScopeNameEQ(v string) predicate.Evidence
- func ScopeNameEqualFold(v string) predicate.Evidence
- func ScopeNameGT(v string) predicate.Evidence
- func ScopeNameGTE(v string) predicate.Evidence
- func ScopeNameHasPrefix(v string) predicate.Evidence
- func ScopeNameHasSuffix(v string) predicate.Evidence
- func ScopeNameIn(vs ...string) predicate.Evidence
- func ScopeNameIsNil() predicate.Evidence
- func ScopeNameLT(v string) predicate.Evidence
- func ScopeNameLTE(v string) predicate.Evidence
- func ScopeNameNEQ(v string) predicate.Evidence
- func ScopeNameNotIn(vs ...string) predicate.Evidence
- func ScopeNameNotNil() predicate.Evidence
- func Source(v string) predicate.Evidence
- func SourceContains(v string) predicate.Evidence
- func SourceContainsFold(v string) predicate.Evidence
- func SourceEQ(v string) predicate.Evidence
- func SourceEqualFold(v string) predicate.Evidence
- func SourceGT(v string) predicate.Evidence
- func SourceGTE(v string) predicate.Evidence
- func SourceHasPrefix(v string) predicate.Evidence
- func SourceHasSuffix(v string) predicate.Evidence
- func SourceIn(vs ...string) predicate.Evidence
- func SourceIsNil() predicate.Evidence
- func SourceLT(v string) predicate.Evidence
- func SourceLTE(v string) predicate.Evidence
- func SourceNEQ(v string) predicate.Evidence
- func SourceNotIn(vs ...string) predicate.Evidence
- func SourceNotNil() predicate.Evidence
- func StatusEQ(v enums.EvidenceStatus) predicate.Evidence
- func StatusIn(vs ...enums.EvidenceStatus) predicate.Evidence
- func StatusIsNil() predicate.Evidence
- func StatusNEQ(v enums.EvidenceStatus) predicate.Evidence
- func StatusNotIn(vs ...enums.EvidenceStatus) predicate.Evidence
- func StatusNotNil() predicate.Evidence
- func StatusValidator(s enums.EvidenceStatus) error
- func TagsIsNil() predicate.Evidence
- func TagsNotNil() predicate.Evidence
- func URL(v string) predicate.Evidence
- func URLContains(v string) predicate.Evidence
- func URLContainsFold(v string) predicate.Evidence
- func URLEQ(v string) predicate.Evidence
- func URLEqualFold(v string) predicate.Evidence
- func URLGT(v string) predicate.Evidence
- func URLGTE(v string) predicate.Evidence
- func URLHasPrefix(v string) predicate.Evidence
- func URLHasSuffix(v string) predicate.Evidence
- func URLIn(vs ...string) predicate.Evidence
- func URLIsNil() predicate.Evidence
- func URLLT(v string) predicate.Evidence
- func URLLTE(v string) predicate.Evidence
- func URLNEQ(v string) predicate.Evidence
- func URLNotIn(vs ...string) predicate.Evidence
- func URLNotNil() predicate.Evidence
- func UpdatedAt(v time.Time) predicate.Evidence
- func UpdatedAtEQ(v time.Time) predicate.Evidence
- func UpdatedAtGT(v time.Time) predicate.Evidence
- func UpdatedAtGTE(v time.Time) predicate.Evidence
- func UpdatedAtIn(vs ...time.Time) predicate.Evidence
- func UpdatedAtIsNil() predicate.Evidence
- func UpdatedAtLT(v time.Time) predicate.Evidence
- func UpdatedAtLTE(v time.Time) predicate.Evidence
- func UpdatedAtNEQ(v time.Time) predicate.Evidence
- func UpdatedAtNotIn(vs ...time.Time) predicate.Evidence
- func UpdatedAtNotNil() predicate.Evidence
- func UpdatedBy(v string) predicate.Evidence
- func UpdatedByContains(v string) predicate.Evidence
- func UpdatedByContainsFold(v string) predicate.Evidence
- func UpdatedByEQ(v string) predicate.Evidence
- func UpdatedByEqualFold(v string) predicate.Evidence
- func UpdatedByGT(v string) predicate.Evidence
- func UpdatedByGTE(v string) predicate.Evidence
- func UpdatedByHasPrefix(v string) predicate.Evidence
- func UpdatedByHasSuffix(v string) predicate.Evidence
- func UpdatedByIn(vs ...string) predicate.Evidence
- func UpdatedByIsNil() predicate.Evidence
- func UpdatedByLT(v string) predicate.Evidence
- func UpdatedByLTE(v string) predicate.Evidence
- func UpdatedByNEQ(v string) predicate.Evidence
- func UpdatedByNotIn(vs ...string) predicate.Evidence
- func UpdatedByNotNil() predicate.Evidence
- func ValidColumn(column string) bool
- func WorkflowEligibleMarker(v bool) predicate.Evidence
- func WorkflowEligibleMarkerEQ(v bool) predicate.Evidence
- func WorkflowEligibleMarkerIsNil() predicate.Evidence
- func WorkflowEligibleMarkerNEQ(v bool) predicate.Evidence
- func WorkflowEligibleMarkerNotNil() predicate.Evidence
- type OrderOption
- func ByCollectionProcedure(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 ByCreationDate(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByDisplayID(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 ByFiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFilesCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsAutomated(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByPlatforms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByPlatformsCount(opts ...sql.OrderTermOption) OrderOption
- func ByPrograms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProgramsCount(opts ...sql.OrderTermOption) OrderOption
- func ByRenewalDate(opts ...sql.OrderTermOption) OrderOption
- func ByScans(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByScansCount(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 BySource(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 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 evidence type in the database. Label = "evidence" // 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" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldCollectionProcedure holds the string denoting the collection_procedure field in the database. FieldCollectionProcedure = "collection_procedure" // FieldCreationDate holds the string denoting the creation_date field in the database. FieldCreationDate = "creation_date" // FieldRenewalDate holds the string denoting the renewal_date field in the database. FieldRenewalDate = "renewal_date" // FieldSource holds the string denoting the source field in the database. FieldSource = "source" // FieldIsAutomated holds the string denoting the is_automated field in the database. FieldIsAutomated = "is_automated" // FieldURL holds the string denoting the url field in the database. FieldURL = "url" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // 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" // 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" // 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" // EdgeFiles holds the string denoting the files edge name in mutations. EdgeFiles = "files" // EdgePrograms holds the string denoting the programs edge name in mutations. EdgePrograms = "programs" // EdgeTasks holds the string denoting the tasks edge name in mutations. EdgeTasks = "tasks" // EdgePlatforms holds the string denoting the platforms edge name in mutations. EdgePlatforms = "platforms" // EdgeScans holds the string denoting the scans edge name in mutations. EdgeScans = "scans" // EdgeComments holds the string denoting the comments edge name in mutations. EdgeComments = "comments" // EdgeWorkflowObjectRefs holds the string denoting the workflow_object_refs edge name in mutations. EdgeWorkflowObjectRefs = "workflow_object_refs" // Table holds the table name of the evidence in the database. Table = "evidences" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "evidences" // 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" // EnvironmentTable is the table that holds the environment relation/edge. EnvironmentTable = "evidences" // 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 = "evidences" // 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" // ControlsTable is the table that holds the controls relation/edge. The primary key declared below. ControlsTable = "evidence_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 = "evidence_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" // ControlObjectivesTable is the table that holds the control_objectives relation/edge. The primary key declared below. ControlObjectivesTable = "evidence_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 = "evidence_control_implementations" // FilesTable is the table that holds the files relation/edge. The primary key declared below. FilesTable = "evidence_files" // FilesInverseTable is the table name for the File entity. // It exists in this package in order to avoid circular dependency with the "file" package. FilesInverseTable = "files" // ProgramsTable is the table that holds the programs relation/edge. The primary key declared below. ProgramsTable = "program_evidence" // 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" // TasksTable is the table that holds the tasks relation/edge. The primary key declared below. TasksTable = "task_evidence" // 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" // PlatformsTable is the table that holds the platforms relation/edge. The primary key declared below. PlatformsTable = "platform_evidence" // PlatformsInverseTable is the table name for the Platform entity. // It exists in this package in order to avoid circular dependency with the "platform" package. PlatformsInverseTable = "platforms" // ScansTable is the table that holds the scans relation/edge. The primary key declared below. ScansTable = "scan_evidence" // ScansInverseTable is the table name for the Scan entity. // It exists in this package in order to avoid circular dependency with the "scan" package. ScansInverseTable = "scans" // 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 = "evidence_comments" // 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 = "evidence_id" )
Variables ¶
var ( // ControlsPrimaryKey and ControlsColumn2 are the table columns denoting the // primary key for the controls relation (M2M). ControlsPrimaryKey = []string{"evidence_id", "control_id"} // SubcontrolsPrimaryKey and SubcontrolsColumn2 are the table columns denoting the // primary key for the subcontrols relation (M2M). SubcontrolsPrimaryKey = []string{"evidence_id", "subcontrol_id"} // ControlObjectivesPrimaryKey and ControlObjectivesColumn2 are the table columns denoting the // primary key for the control_objectives relation (M2M). ControlObjectivesPrimaryKey = []string{"evidence_id", "control_objective_id"} // FilesPrimaryKey and FilesColumn2 are the table columns denoting the // primary key for the files relation (M2M). FilesPrimaryKey = []string{"evidence_id", "file_id"} // ProgramsPrimaryKey and ProgramsColumn2 are the table columns denoting the // primary key for the programs relation (M2M). ProgramsPrimaryKey = []string{"program_id", "evidence_id"} // TasksPrimaryKey and TasksColumn2 are the table columns denoting the // primary key for the tasks relation (M2M). TasksPrimaryKey = []string{"task_id", "evidence_id"} // PlatformsPrimaryKey and PlatformsColumn2 are the table columns denoting the // primary key for the platforms relation (M2M). PlatformsPrimaryKey = []string{"platform_id", "evidence_id"} // ScansPrimaryKey and ScansColumn2 are the table columns denoting the // primary key for the scans relation (M2M). ScansPrimaryKey = []string{"scan_id", "evidence_id"} )
var ( Hooks [12]ent.Hook Interceptors [3]ent.Interceptor Policy ent.Policy // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DisplayIDValidator is a validator for the "display_id" field. It is called by the builders before save. DisplayIDValidator func(string) error // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save. OwnerIDValidator func(string) error // DefaultWorkflowEligibleMarker holds the default value on creation for the "workflow_eligible_marker" field. DefaultWorkflowEligibleMarker bool // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultCreationDate holds the default value on creation for the "creation_date" field. DefaultCreationDate func() time.Time // DefaultRenewalDate holds the default value on creation for the "renewal_date" field. DefaultRenewalDate time.Time // DefaultIsAutomated holds the default value on creation for the "is_automated" field. DefaultIsAutomated bool // URLValidator is a validator for the "url" field. It is called by the builders before save. URLValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/theopenlane/core/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldDeletedAt, FieldDeletedBy, FieldDisplayID, FieldTags, FieldOwnerID, FieldEnvironmentName, FieldEnvironmentID, FieldScopeName, FieldScopeID, FieldWorkflowEligibleMarker, FieldExternalUUID, FieldName, FieldDescription, FieldCollectionProcedure, FieldCreationDate, FieldRenewalDate, FieldSource, FieldIsAutomated, FieldURL, FieldStatus, }
Columns holds all SQL columns for evidence fields.
Functions ¶
func CollectionProcedure ¶
CollectionProcedure applies equality check predicate on the "collection_procedure" field. It's identical to CollectionProcedureEQ.
func CollectionProcedureContains ¶
CollectionProcedureContains applies the Contains predicate on the "collection_procedure" field.
func CollectionProcedureContainsFold ¶
CollectionProcedureContainsFold applies the ContainsFold predicate on the "collection_procedure" field.
func CollectionProcedureEQ ¶
CollectionProcedureEQ applies the EQ predicate on the "collection_procedure" field.
func CollectionProcedureEqualFold ¶
CollectionProcedureEqualFold applies the EqualFold predicate on the "collection_procedure" field.
func CollectionProcedureGT ¶
CollectionProcedureGT applies the GT predicate on the "collection_procedure" field.
func CollectionProcedureGTE ¶
CollectionProcedureGTE applies the GTE predicate on the "collection_procedure" field.
func CollectionProcedureHasPrefix ¶
CollectionProcedureHasPrefix applies the HasPrefix predicate on the "collection_procedure" field.
func CollectionProcedureHasSuffix ¶
CollectionProcedureHasSuffix applies the HasSuffix predicate on the "collection_procedure" field.
func CollectionProcedureIn ¶
CollectionProcedureIn applies the In predicate on the "collection_procedure" field.
func CollectionProcedureIsNil ¶
CollectionProcedureIsNil applies the IsNil predicate on the "collection_procedure" field.
func CollectionProcedureLT ¶
CollectionProcedureLT applies the LT predicate on the "collection_procedure" field.
func CollectionProcedureLTE ¶
CollectionProcedureLTE applies the LTE predicate on the "collection_procedure" field.
func CollectionProcedureNEQ ¶
CollectionProcedureNEQ applies the NEQ predicate on the "collection_procedure" field.
func CollectionProcedureNotIn ¶
CollectionProcedureNotIn applies the NotIn predicate on the "collection_procedure" field.
func CollectionProcedureNotNil ¶
CollectionProcedureNotNil applies the NotNil predicate on the "collection_procedure" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func CreationDate ¶
CreationDate applies equality check predicate on the "creation_date" field. It's identical to CreationDateEQ.
func CreationDateEQ ¶
CreationDateEQ applies the EQ predicate on the "creation_date" field.
func CreationDateGT ¶
CreationDateGT applies the GT predicate on the "creation_date" field.
func CreationDateGTE ¶
CreationDateGTE applies the GTE predicate on the "creation_date" field.
func CreationDateIn ¶
CreationDateIn applies the In predicate on the "creation_date" field.
func CreationDateLT ¶
CreationDateLT applies the LT predicate on the "creation_date" field.
func CreationDateLTE ¶
CreationDateLTE applies the LTE predicate on the "creation_date" field.
func CreationDateNEQ ¶
CreationDateNEQ applies the NEQ predicate on the "creation_date" field.
func CreationDateNotIn ¶
CreationDateNotIn applies the NotIn predicate on the "creation_date" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func DisplayID ¶
DisplayID applies equality check predicate on the "display_id" field. It's identical to DisplayIDEQ.
func DisplayIDContains ¶
DisplayIDContains applies the Contains predicate on the "display_id" field.
func DisplayIDContainsFold ¶
DisplayIDContainsFold applies the ContainsFold predicate on the "display_id" field.
func DisplayIDEQ ¶
DisplayIDEQ applies the EQ predicate on the "display_id" field.
func DisplayIDEqualFold ¶
DisplayIDEqualFold applies the EqualFold predicate on the "display_id" field.
func DisplayIDGT ¶
DisplayIDGT applies the GT predicate on the "display_id" field.
func DisplayIDGTE ¶
DisplayIDGTE applies the GTE predicate on the "display_id" field.
func DisplayIDHasPrefix ¶
DisplayIDHasPrefix applies the HasPrefix predicate on the "display_id" field.
func DisplayIDHasSuffix ¶
DisplayIDHasSuffix applies the HasSuffix predicate on the "display_id" field.
func DisplayIDIn ¶
DisplayIDIn applies the In predicate on the "display_id" field.
func DisplayIDLT ¶
DisplayIDLT applies the LT predicate on the "display_id" field.
func DisplayIDLTE ¶
DisplayIDLTE applies the LTE predicate on the "display_id" field.
func DisplayIDNEQ ¶
DisplayIDNEQ applies the NEQ predicate on the "display_id" field.
func DisplayIDNotIn ¶
DisplayIDNotIn applies the NotIn predicate on the "display_id" field.
func EnvironmentID ¶ added in v1.5.0
EnvironmentID applies equality check predicate on the "environment_id" field. It's identical to EnvironmentIDEQ.
func EnvironmentIDContains ¶ added in v1.5.0
EnvironmentIDContains applies the Contains predicate on the "environment_id" field.
func EnvironmentIDContainsFold ¶ added in v1.5.0
EnvironmentIDContainsFold applies the ContainsFold predicate on the "environment_id" field.
func EnvironmentIDEQ ¶ added in v1.5.0
EnvironmentIDEQ applies the EQ predicate on the "environment_id" field.
func EnvironmentIDEqualFold ¶ added in v1.5.0
EnvironmentIDEqualFold applies the EqualFold predicate on the "environment_id" field.
func EnvironmentIDGT ¶ added in v1.5.0
EnvironmentIDGT applies the GT predicate on the "environment_id" field.
func EnvironmentIDGTE ¶ added in v1.5.0
EnvironmentIDGTE applies the GTE predicate on the "environment_id" field.
func EnvironmentIDHasPrefix ¶ added in v1.5.0
EnvironmentIDHasPrefix applies the HasPrefix predicate on the "environment_id" field.
func EnvironmentIDHasSuffix ¶ added in v1.5.0
EnvironmentIDHasSuffix applies the HasSuffix predicate on the "environment_id" field.
func EnvironmentIDIn ¶ added in v1.5.0
EnvironmentIDIn applies the In predicate on the "environment_id" field.
func EnvironmentIDIsNil ¶ added in v1.5.0
EnvironmentIDIsNil applies the IsNil predicate on the "environment_id" field.
func EnvironmentIDLT ¶ added in v1.5.0
EnvironmentIDLT applies the LT predicate on the "environment_id" field.
func EnvironmentIDLTE ¶ added in v1.5.0
EnvironmentIDLTE applies the LTE predicate on the "environment_id" field.
func EnvironmentIDNEQ ¶ added in v1.5.0
EnvironmentIDNEQ applies the NEQ predicate on the "environment_id" field.
func EnvironmentIDNotIn ¶ added in v1.5.0
EnvironmentIDNotIn applies the NotIn predicate on the "environment_id" field.
func EnvironmentIDNotNil ¶ added in v1.5.0
EnvironmentIDNotNil applies the NotNil predicate on the "environment_id" field.
func EnvironmentName ¶ added in v1.5.0
EnvironmentName applies equality check predicate on the "environment_name" field. It's identical to EnvironmentNameEQ.
func EnvironmentNameContains ¶ added in v1.5.0
EnvironmentNameContains applies the Contains predicate on the "environment_name" field.
func EnvironmentNameContainsFold ¶ added in v1.5.0
EnvironmentNameContainsFold applies the ContainsFold predicate on the "environment_name" field.
func EnvironmentNameEQ ¶ added in v1.5.0
EnvironmentNameEQ applies the EQ predicate on the "environment_name" field.
func EnvironmentNameEqualFold ¶ added in v1.5.0
EnvironmentNameEqualFold applies the EqualFold predicate on the "environment_name" field.
func EnvironmentNameGT ¶ added in v1.5.0
EnvironmentNameGT applies the GT predicate on the "environment_name" field.
func EnvironmentNameGTE ¶ added in v1.5.0
EnvironmentNameGTE applies the GTE predicate on the "environment_name" field.
func EnvironmentNameHasPrefix ¶ added in v1.5.0
EnvironmentNameHasPrefix applies the HasPrefix predicate on the "environment_name" field.
func EnvironmentNameHasSuffix ¶ added in v1.5.0
EnvironmentNameHasSuffix applies the HasSuffix predicate on the "environment_name" field.
func EnvironmentNameIn ¶ added in v1.5.0
EnvironmentNameIn applies the In predicate on the "environment_name" field.
func EnvironmentNameIsNil ¶ added in v1.5.0
EnvironmentNameIsNil applies the IsNil predicate on the "environment_name" field.
func EnvironmentNameLT ¶ added in v1.5.0
EnvironmentNameLT applies the LT predicate on the "environment_name" field.
func EnvironmentNameLTE ¶ added in v1.5.0
EnvironmentNameLTE applies the LTE predicate on the "environment_name" field.
func EnvironmentNameNEQ ¶ added in v1.5.0
EnvironmentNameNEQ applies the NEQ predicate on the "environment_name" field.
func EnvironmentNameNotIn ¶ added in v1.5.0
EnvironmentNameNotIn applies the NotIn predicate on the "environment_name" field.
func EnvironmentNameNotNil ¶ added in v1.5.0
EnvironmentNameNotNil applies the NotNil predicate on the "environment_name" field.
func ExternalUUID ¶ added in v1.11.6
ExternalUUID applies equality check predicate on the "external_uuid" field. It's identical to ExternalUUIDEQ.
func ExternalUUIDContains ¶ added in v1.11.6
ExternalUUIDContains applies the Contains predicate on the "external_uuid" field.
func ExternalUUIDContainsFold ¶ added in v1.11.6
ExternalUUIDContainsFold applies the ContainsFold predicate on the "external_uuid" field.
func ExternalUUIDEQ ¶ added in v1.11.6
ExternalUUIDEQ applies the EQ predicate on the "external_uuid" field.
func ExternalUUIDEqualFold ¶ added in v1.11.6
ExternalUUIDEqualFold applies the EqualFold predicate on the "external_uuid" field.
func ExternalUUIDGT ¶ added in v1.11.6
ExternalUUIDGT applies the GT predicate on the "external_uuid" field.
func ExternalUUIDGTE ¶ added in v1.11.6
ExternalUUIDGTE applies the GTE predicate on the "external_uuid" field.
func ExternalUUIDHasPrefix ¶ added in v1.11.6
ExternalUUIDHasPrefix applies the HasPrefix predicate on the "external_uuid" field.
func ExternalUUIDHasSuffix ¶ added in v1.11.6
ExternalUUIDHasSuffix applies the HasSuffix predicate on the "external_uuid" field.
func ExternalUUIDIn ¶ added in v1.11.6
ExternalUUIDIn applies the In predicate on the "external_uuid" field.
func ExternalUUIDIsNil ¶ added in v1.11.6
ExternalUUIDIsNil applies the IsNil predicate on the "external_uuid" field.
func ExternalUUIDLT ¶ added in v1.11.6
ExternalUUIDLT applies the LT predicate on the "external_uuid" field.
func ExternalUUIDLTE ¶ added in v1.11.6
ExternalUUIDLTE applies the LTE predicate on the "external_uuid" field.
func ExternalUUIDNEQ ¶ added in v1.11.6
ExternalUUIDNEQ applies the NEQ predicate on the "external_uuid" field.
func ExternalUUIDNotIn ¶ added in v1.11.6
ExternalUUIDNotIn applies the NotIn predicate on the "external_uuid" field.
func ExternalUUIDNotNil ¶ added in v1.11.6
ExternalUUIDNotNil applies the NotNil predicate on the "external_uuid" field.
func HasComments ¶ added in v0.48.1
HasComments applies the HasEdge predicate on the "comments" edge.
func HasCommentsWith ¶ added in v0.48.1
HasCommentsWith applies the HasEdge predicate on the "comments" edge with a given conditions (other predicates).
func HasControlImplementations ¶ added in v0.26.11
HasControlImplementations applies the HasEdge predicate on the "control_implementations" edge.
func HasControlImplementationsWith ¶ added in v0.26.11
func HasControlImplementationsWith(preds ...predicate.ControlImplementation) predicate.Evidence
HasControlImplementationsWith applies the HasEdge predicate on the "control_implementations" edge with a given conditions (other predicates).
func HasControlObjectives ¶
HasControlObjectives applies the HasEdge predicate on the "control_objectives" edge.
func HasControlObjectivesWith ¶
func HasControlObjectivesWith(preds ...predicate.ControlObjective) predicate.Evidence
HasControlObjectivesWith applies the HasEdge predicate on the "control_objectives" edge with a given conditions (other predicates).
func HasControls ¶
HasControls applies the HasEdge predicate on the "controls" edge.
func HasControlsWith ¶
HasControlsWith applies the HasEdge predicate on the "controls" edge with a given conditions (other predicates).
func HasEnvironment ¶ added in v1.5.0
HasEnvironment applies the HasEdge predicate on the "environment" edge.
func HasEnvironmentWith ¶ added in v1.5.0
func HasEnvironmentWith(preds ...predicate.CustomTypeEnum) predicate.Evidence
HasEnvironmentWith applies the HasEdge predicate on the "environment" edge with a given conditions (other predicates).
func HasFilesWith ¶
HasFilesWith applies the HasEdge predicate on the "files" edge with a given conditions (other predicates).
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.Organization) predicate.Evidence
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasPlatforms ¶ added in v1.5.0
HasPlatforms applies the HasEdge predicate on the "platforms" edge.
func HasPlatformsWith ¶ added in v1.5.0
HasPlatformsWith applies the HasEdge predicate on the "platforms" edge with a given conditions (other predicates).
func HasPrograms ¶
HasPrograms applies the HasEdge predicate on the "programs" edge.
func HasProgramsWith ¶
HasProgramsWith applies the HasEdge predicate on the "programs" edge with a given conditions (other predicates).
func HasScansWith ¶ added in v1.5.0
HasScansWith applies the HasEdge predicate on the "scans" edge with a given conditions (other predicates).
func HasScopeWith ¶ added in v1.5.0
func HasScopeWith(preds ...predicate.CustomTypeEnum) predicate.Evidence
HasScopeWith applies the HasEdge predicate on the "scope" edge with a given conditions (other predicates).
func HasSubcontrols ¶
HasSubcontrols applies the HasEdge predicate on the "subcontrols" edge.
func HasSubcontrolsWith ¶
func HasSubcontrolsWith(preds ...predicate.Subcontrol) predicate.Evidence
HasSubcontrolsWith applies the HasEdge predicate on the "subcontrols" edge with a given conditions (other predicates).
func HasTasksWith ¶
HasTasksWith applies the HasEdge predicate on the "tasks" edge with a given conditions (other predicates).
func HasWorkflowObjectRefs ¶ added in v0.52.0
HasWorkflowObjectRefs applies the HasEdge predicate on the "workflow_object_refs" edge.
func HasWorkflowObjectRefsWith ¶ added in v0.52.0
func HasWorkflowObjectRefsWith(preds ...predicate.WorkflowObjectRef) predicate.Evidence
HasWorkflowObjectRefsWith applies the HasEdge predicate on the "workflow_object_refs" edge with a given conditions (other predicates).
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func IsAutomated ¶
IsAutomated applies equality check predicate on the "is_automated" field. It's identical to IsAutomatedEQ.
func IsAutomatedEQ ¶
IsAutomatedEQ applies the EQ predicate on the "is_automated" field.
func IsAutomatedIsNil ¶
IsAutomatedIsNil applies the IsNil predicate on the "is_automated" field.
func IsAutomatedNEQ ¶
IsAutomatedNEQ applies the NEQ predicate on the "is_automated" field.
func IsAutomatedNotNil ¶
IsAutomatedNotNil applies the NotNil predicate on the "is_automated" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func OwnerID ¶
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEqualFold ¶
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGTE ¶
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIsNil ¶ added in v0.7.1
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLTE ¶
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶ added in v0.7.1
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func RenewalDate ¶
RenewalDate applies equality check predicate on the "renewal_date" field. It's identical to RenewalDateEQ.
func RenewalDateEQ ¶
RenewalDateEQ applies the EQ predicate on the "renewal_date" field.
func RenewalDateGT ¶
RenewalDateGT applies the GT predicate on the "renewal_date" field.
func RenewalDateGTE ¶
RenewalDateGTE applies the GTE predicate on the "renewal_date" field.
func RenewalDateIn ¶
RenewalDateIn applies the In predicate on the "renewal_date" field.
func RenewalDateIsNil ¶
RenewalDateIsNil applies the IsNil predicate on the "renewal_date" field.
func RenewalDateLT ¶
RenewalDateLT applies the LT predicate on the "renewal_date" field.
func RenewalDateLTE ¶
RenewalDateLTE applies the LTE predicate on the "renewal_date" field.
func RenewalDateNEQ ¶
RenewalDateNEQ applies the NEQ predicate on the "renewal_date" field.
func RenewalDateNotIn ¶
RenewalDateNotIn applies the NotIn predicate on the "renewal_date" field.
func RenewalDateNotNil ¶
RenewalDateNotNil applies the NotNil predicate on the "renewal_date" field.
func ScopeID ¶ added in v1.5.0
ScopeID applies equality check predicate on the "scope_id" field. It's identical to ScopeIDEQ.
func ScopeIDContains ¶ added in v1.5.0
ScopeIDContains applies the Contains predicate on the "scope_id" field.
func ScopeIDContainsFold ¶ added in v1.5.0
ScopeIDContainsFold applies the ContainsFold predicate on the "scope_id" field.
func ScopeIDEqualFold ¶ added in v1.5.0
ScopeIDEqualFold applies the EqualFold predicate on the "scope_id" field.
func ScopeIDGTE ¶ added in v1.5.0
ScopeIDGTE applies the GTE predicate on the "scope_id" field.
func ScopeIDHasPrefix ¶ added in v1.5.0
ScopeIDHasPrefix applies the HasPrefix predicate on the "scope_id" field.
func ScopeIDHasSuffix ¶ added in v1.5.0
ScopeIDHasSuffix applies the HasSuffix predicate on the "scope_id" field.
func ScopeIDIsNil ¶ added in v1.5.0
ScopeIDIsNil applies the IsNil predicate on the "scope_id" field.
func ScopeIDLTE ¶ added in v1.5.0
ScopeIDLTE applies the LTE predicate on the "scope_id" field.
func ScopeIDNEQ ¶ added in v1.5.0
ScopeIDNEQ applies the NEQ predicate on the "scope_id" field.
func ScopeIDNotIn ¶ added in v1.5.0
ScopeIDNotIn applies the NotIn predicate on the "scope_id" field.
func ScopeIDNotNil ¶ added in v1.5.0
ScopeIDNotNil applies the NotNil predicate on the "scope_id" field.
func ScopeName ¶ added in v1.5.0
ScopeName applies equality check predicate on the "scope_name" field. It's identical to ScopeNameEQ.
func ScopeNameContains ¶ added in v1.5.0
ScopeNameContains applies the Contains predicate on the "scope_name" field.
func ScopeNameContainsFold ¶ added in v1.5.0
ScopeNameContainsFold applies the ContainsFold predicate on the "scope_name" field.
func ScopeNameEQ ¶ added in v1.5.0
ScopeNameEQ applies the EQ predicate on the "scope_name" field.
func ScopeNameEqualFold ¶ added in v1.5.0
ScopeNameEqualFold applies the EqualFold predicate on the "scope_name" field.
func ScopeNameGT ¶ added in v1.5.0
ScopeNameGT applies the GT predicate on the "scope_name" field.
func ScopeNameGTE ¶ added in v1.5.0
ScopeNameGTE applies the GTE predicate on the "scope_name" field.
func ScopeNameHasPrefix ¶ added in v1.5.0
ScopeNameHasPrefix applies the HasPrefix predicate on the "scope_name" field.
func ScopeNameHasSuffix ¶ added in v1.5.0
ScopeNameHasSuffix applies the HasSuffix predicate on the "scope_name" field.
func ScopeNameIn ¶ added in v1.5.0
ScopeNameIn applies the In predicate on the "scope_name" field.
func ScopeNameIsNil ¶ added in v1.5.0
ScopeNameIsNil applies the IsNil predicate on the "scope_name" field.
func ScopeNameLT ¶ added in v1.5.0
ScopeNameLT applies the LT predicate on the "scope_name" field.
func ScopeNameLTE ¶ added in v1.5.0
ScopeNameLTE applies the LTE predicate on the "scope_name" field.
func ScopeNameNEQ ¶ added in v1.5.0
ScopeNameNEQ applies the NEQ predicate on the "scope_name" field.
func ScopeNameNotIn ¶ added in v1.5.0
ScopeNameNotIn applies the NotIn predicate on the "scope_name" field.
func ScopeNameNotNil ¶ added in v1.5.0
ScopeNameNotNil applies the NotNil predicate on the "scope_name" field.
func Source ¶
Source applies equality check predicate on the "source" field. It's identical to SourceEQ.
func SourceContains ¶
SourceContains applies the Contains predicate on the "source" field.
func SourceContainsFold ¶
SourceContainsFold applies the ContainsFold predicate on the "source" field.
func SourceEqualFold ¶
SourceEqualFold applies the EqualFold predicate on the "source" field.
func SourceHasPrefix ¶
SourceHasPrefix applies the HasPrefix predicate on the "source" field.
func SourceHasSuffix ¶
SourceHasSuffix applies the HasSuffix predicate on the "source" field.
func SourceIsNil ¶
SourceIsNil applies the IsNil predicate on the "source" field.
func SourceNotIn ¶
SourceNotIn applies the NotIn predicate on the "source" field.
func SourceNotNil ¶
SourceNotNil applies the NotNil predicate on the "source" field.
func StatusEQ ¶ added in v0.7.5
func StatusEQ(v enums.EvidenceStatus) predicate.Evidence
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶ added in v0.7.5
func StatusIn(vs ...enums.EvidenceStatus) predicate.Evidence
StatusIn applies the In predicate on the "status" field.
func StatusIsNil ¶ added in v0.7.5
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusNEQ ¶ added in v0.7.5
func StatusNEQ(v enums.EvidenceStatus) predicate.Evidence
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶ added in v0.7.5
func StatusNotIn(vs ...enums.EvidenceStatus) predicate.Evidence
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶ added in v0.7.5
StatusNotNil applies the NotNil predicate on the "status" field.
func StatusValidator ¶ added in v0.7.5
func StatusValidator(s enums.EvidenceStatus) error
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func TagsNotNil ¶
TagsNotNil applies the NotNil predicate on the "tags" field.
func URLContains ¶
URLContains applies the Contains predicate on the "url" field.
func URLContainsFold ¶
URLContainsFold applies the ContainsFold predicate on the "url" field.
func URLEqualFold ¶
URLEqualFold applies the EqualFold predicate on the "url" field.
func URLHasPrefix ¶
URLHasPrefix applies the HasPrefix predicate on the "url" field.
func URLHasSuffix ¶
URLHasSuffix applies the HasSuffix predicate on the "url" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WorkflowEligibleMarker ¶ added in v0.52.0
WorkflowEligibleMarker applies equality check predicate on the "workflow_eligible_marker" field. It's identical to WorkflowEligibleMarkerEQ.
func WorkflowEligibleMarkerEQ ¶ added in v0.52.0
WorkflowEligibleMarkerEQ applies the EQ predicate on the "workflow_eligible_marker" field.
func WorkflowEligibleMarkerIsNil ¶ added in v0.52.0
WorkflowEligibleMarkerIsNil applies the IsNil predicate on the "workflow_eligible_marker" field.
func WorkflowEligibleMarkerNEQ ¶ added in v0.52.0
WorkflowEligibleMarkerNEQ applies the NEQ predicate on the "workflow_eligible_marker" field.
func WorkflowEligibleMarkerNotNil ¶ added in v0.52.0
WorkflowEligibleMarkerNotNil applies the NotNil predicate on the "workflow_eligible_marker" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Evidence queries.
func ByCollectionProcedure ¶
func ByCollectionProcedure(opts ...sql.OrderTermOption) OrderOption
ByCollectionProcedure orders the results by the collection_procedure field.
func ByComments ¶ added in v0.48.1
func ByComments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByComments orders the results by comments terms.
func ByCommentsCount ¶ added in v0.48.1
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 ¶
func ByControlObjectives(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByControlObjectives orders the results by control_objectives terms.
func ByControlObjectivesCount ¶
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 ByCreationDate ¶
func ByCreationDate(opts ...sql.OrderTermOption) OrderOption
ByCreationDate orders the results by the creation_date field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedBy ¶
func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
ByDeletedBy orders the results by the deleted_by field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByDisplayID ¶
func ByDisplayID(opts ...sql.OrderTermOption) OrderOption
ByDisplayID orders the results by the display_id field.
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 ByFiles ¶
func ByFiles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByFiles orders the results by files terms.
func ByFilesCount ¶
func ByFilesCount(opts ...sql.OrderTermOption) OrderOption
ByFilesCount orders the results by files count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIsAutomated ¶
func ByIsAutomated(opts ...sql.OrderTermOption) OrderOption
ByIsAutomated orders the results by the is_automated field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOwnerField ¶
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByPlatforms ¶ added in v1.5.0
func ByPlatforms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByPlatforms orders the results by platforms terms.
func ByPlatformsCount ¶ added in v1.5.0
func ByPlatformsCount(opts ...sql.OrderTermOption) OrderOption
ByPlatformsCount orders the results by platforms count.
func ByPrograms ¶
func ByPrograms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByPrograms orders the results by programs terms.
func ByProgramsCount ¶
func ByProgramsCount(opts ...sql.OrderTermOption) OrderOption
ByProgramsCount orders the results by programs count.
func ByRenewalDate ¶
func ByRenewalDate(opts ...sql.OrderTermOption) OrderOption
ByRenewalDate orders the results by the renewal_date field.
func ByScans ¶ added in v1.5.0
func ByScans(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByScans orders the results by scans terms.
func ByScansCount ¶ added in v1.5.0
func ByScansCount(opts ...sql.OrderTermOption) OrderOption
ByScansCount orders the results by scans 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 BySource ¶
func BySource(opts ...sql.OrderTermOption) OrderOption
BySource orders the results by the source field.
func ByStatus ¶ added in v0.7.5
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func BySubcontrols ¶
func BySubcontrols(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySubcontrols orders the results by subcontrols terms.
func BySubcontrolsCount ¶
func BySubcontrolsCount(opts ...sql.OrderTermOption) OrderOption
BySubcontrolsCount orders the results by subcontrols count.
func ByTasks ¶
func ByTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTasks orders the results by tasks terms.
func ByTasksCount ¶
func ByTasksCount(opts ...sql.OrderTermOption) OrderOption
ByTasksCount orders the results by tasks count.
func ByURL ¶
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.52.0
func ByWorkflowObjectRefs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByWorkflowObjectRefs orders the results by workflow_object_refs terms.
func ByWorkflowObjectRefsCount ¶ added in v0.52.0
func ByWorkflowObjectRefsCount(opts ...sql.OrderTermOption) OrderOption
ByWorkflowObjectRefsCount orders the results by workflow_object_refs count.