risk

package
v2.14.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the risk type in the database.
	Label = "risk"
	// 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"
	// FieldUpdatedByImpersonator holds the string denoting the updated_by_impersonator field in the database.
	FieldUpdatedByImpersonator = "updated_by_impersonator"
	// 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"
	// FieldSourceDefinitionID holds the string denoting the source_definition_id field in the database.
	FieldSourceDefinitionID = "source_definition_id"
	// FieldSourceDefinitionVersion holds the string denoting the source_definition_version field in the database.
	FieldSourceDefinitionVersion = "source_definition_version"
	// FieldSourceInstanceID holds the string denoting the source_instance_id field in the database.
	FieldSourceInstanceID = "source_instance_id"
	// FieldManagedBy holds the string denoting the managed_by field in the database.
	FieldManagedBy = "managed_by"
	// FieldIntegrationRunID holds the string denoting the integration_run_id field in the database.
	FieldIntegrationRunID = "integration_run_id"
	// FieldExternalID holds the string denoting the external_id field in the database.
	FieldExternalID = "external_id"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// FieldStakeholderName holds the string denoting the stakeholder_name field in the database.
	FieldStakeholderName = "stakeholder_name"
	// FieldStakeholderUserID holds the string denoting the stakeholder_user_id field in the database.
	FieldStakeholderUserID = "stakeholder_user_id"
	// FieldStakeholderGroupID holds the string denoting the stakeholder_group_id field in the database.
	FieldStakeholderGroupID = "stakeholder_group_id"
	// FieldStakeholderIdentityHolderID holds the string denoting the stakeholder_identity_holder_id field in the database.
	FieldStakeholderIdentityHolderID = "stakeholder_identity_holder_id"
	// FieldDelegateName holds the string denoting the delegate_name field in the database.
	FieldDelegateName = "delegate_name"
	// FieldDelegateUserID holds the string denoting the delegate_user_id field in the database.
	FieldDelegateUserID = "delegate_user_id"
	// FieldDelegateGroupID holds the string denoting the delegate_group_id field in the database.
	FieldDelegateGroupID = "delegate_group_id"
	// FieldDelegateIdentityHolderID holds the string denoting the delegate_identity_holder_id field in the database.
	FieldDelegateIdentityHolderID = "delegate_identity_holder_id"
	// FieldRiskKindName holds the string denoting the risk_kind_name field in the database.
	FieldRiskKindName = "risk_kind_name"
	// FieldRiskKindID holds the string denoting the risk_kind_id field in the database.
	FieldRiskKindID = "risk_kind_id"
	// FieldRiskCategoryName holds the string denoting the risk_category_name field in the database.
	FieldRiskCategoryName = "risk_category_name"
	// FieldRiskCategoryID holds the string denoting the risk_category_id field in the database.
	FieldRiskCategoryID = "risk_category_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"
	// FieldIntegrationID holds the string denoting the integration_id field in the database.
	FieldIntegrationID = "integration_id"
	// FieldObservedAt holds the string denoting the observed_at field in the database.
	FieldObservedAt = "observed_at"
	// 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"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldImpact holds the string denoting the impact field in the database.
	FieldImpact = "impact"
	// FieldLikelihood holds the string denoting the likelihood field in the database.
	FieldLikelihood = "likelihood"
	// FieldScore holds the string denoting the score field in the database.
	FieldScore = "score"
	// FieldMitigation holds the string denoting the mitigation field in the database.
	FieldMitigation = "mitigation"
	// FieldMitigationJSON holds the string denoting the mitigation_json field in the database.
	FieldMitigationJSON = "mitigation_json"
	// 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"
	// FieldBusinessCosts holds the string denoting the business_costs field in the database.
	FieldBusinessCosts = "business_costs"
	// FieldBusinessCostsJSON holds the string denoting the business_costs_json field in the database.
	FieldBusinessCostsJSON = "business_costs_json"
	// FieldStakeholderID holds the string denoting the stakeholder_id field in the database.
	FieldStakeholderID = "stakeholder_id"
	// FieldDelegateID holds the string denoting the delegate_id field in the database.
	FieldDelegateID = "delegate_id"
	// FieldMitigatedAt holds the string denoting the mitigated_at field in the database.
	FieldMitigatedAt = "mitigated_at"
	// FieldReviewRequired holds the string denoting the review_required field in the database.
	FieldReviewRequired = "review_required"
	// FieldLastReviewedAt holds the string denoting the last_reviewed_at field in the database.
	FieldLastReviewedAt = "last_reviewed_at"
	// FieldReviewFrequency holds the string denoting the review_frequency field in the database.
	FieldReviewFrequency = "review_frequency"
	// FieldDueDate holds the string denoting the due_date field in the database.
	FieldDueDate = "due_date"
	// FieldNextReviewDueAt holds the string denoting the next_review_due_at field in the database.
	FieldNextReviewDueAt = "next_review_due_at"
	// FieldResidualScore holds the string denoting the residual_score field in the database.
	FieldResidualScore = "residual_score"
	// FieldRiskDecision holds the string denoting the risk_decision field in the database.
	FieldRiskDecision = "risk_decision"
	// EdgeIntegrationRuns holds the string denoting the integration_runs edge name in mutations.
	EdgeIntegrationRuns = "integration_runs"
	// 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"
	// EdgeViewers holds the string denoting the viewers edge name in mutations.
	EdgeViewers = "viewers"
	// EdgeStakeholderUser holds the string denoting the stakeholder_user edge name in mutations.
	EdgeStakeholderUser = "stakeholder_user"
	// EdgeStakeholderGroup holds the string denoting the stakeholder_group edge name in mutations.
	EdgeStakeholderGroup = "stakeholder_group"
	// EdgeStakeholderIdentityHolder holds the string denoting the stakeholder_identity_holder edge name in mutations.
	EdgeStakeholderIdentityHolder = "stakeholder_identity_holder"
	// EdgeDelegateUser holds the string denoting the delegate_user edge name in mutations.
	EdgeDelegateUser = "delegate_user"
	// EdgeDelegateGroup holds the string denoting the delegate_group edge name in mutations.
	EdgeDelegateGroup = "delegate_group"
	// EdgeDelegateIdentityHolder holds the string denoting the delegate_identity_holder edge name in mutations.
	EdgeDelegateIdentityHolder = "delegate_identity_holder"
	// EdgeRiskKind holds the string denoting the risk_kind edge name in mutations.
	EdgeRiskKind = "risk_kind"
	// EdgeRiskCategory holds the string denoting the risk_category edge name in mutations.
	EdgeRiskCategory = "risk_category"
	// 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"
	// EdgeProcedures holds the string denoting the procedures edge name in mutations.
	EdgeProcedures = "procedures"
	// EdgeInternalPolicies holds the string denoting the internal_policies edge name in mutations.
	EdgeInternalPolicies = "internal_policies"
	// EdgePrograms holds the string denoting the programs edge name in mutations.
	EdgePrograms = "programs"
	// EdgePlatforms holds the string denoting the platforms edge name in mutations.
	EdgePlatforms = "platforms"
	// EdgeActionPlans holds the string denoting the action_plans edge name in mutations.
	EdgeActionPlans = "action_plans"
	// EdgeTasks holds the string denoting the tasks edge name in mutations.
	EdgeTasks = "tasks"
	// EdgeAssets holds the string denoting the assets edge name in mutations.
	EdgeAssets = "assets"
	// EdgeEntities holds the string denoting the entities edge name in mutations.
	EdgeEntities = "entities"
	// EdgeScans holds the string denoting the scans edge name in mutations.
	EdgeScans = "scans"
	// EdgeStakeholder holds the string denoting the stakeholder edge name in mutations.
	EdgeStakeholder = "stakeholder"
	// EdgeDelegate holds the string denoting the delegate edge name in mutations.
	EdgeDelegate = "delegate"
	// 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"
	// EdgeReviews holds the string denoting the reviews edge name in mutations.
	EdgeReviews = "reviews"
	// EdgeRemediations holds the string denoting the remediations edge name in mutations.
	EdgeRemediations = "remediations"
	// EdgeVulnerabilities holds the string denoting the vulnerabilities edge name in mutations.
	EdgeVulnerabilities = "vulnerabilities"
	// EdgeFindings holds the string denoting the findings edge name in mutations.
	EdgeFindings = "findings"
	// EdgeWorkflowObjectRefs holds the string denoting the workflow_object_refs edge name in mutations.
	EdgeWorkflowObjectRefs = "workflow_object_refs"
	// Table holds the table name of the risk in the database.
	Table = "risks"
	// IntegrationRunsTable is the table that holds the integration_runs relation/edge. The primary key declared below.
	IntegrationRunsTable = "risk_integration_runs"
	// IntegrationRunsInverseTable is the table name for the IntegrationRun entity.
	// It exists in this package in order to avoid circular dependency with the "integrationrun" package.
	IntegrationRunsInverseTable = "integration_runs"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "risks"
	// 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 = "risk_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 = "risk_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"
	// ViewersTable is the table that holds the viewers relation/edge. The primary key declared below.
	ViewersTable = "risk_viewers"
	// ViewersInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	ViewersInverseTable = "groups"
	// StakeholderUserTable is the table that holds the stakeholder_user relation/edge.
	StakeholderUserTable = "risks"
	// StakeholderUserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	StakeholderUserInverseTable = "users"
	// StakeholderUserColumn is the table column denoting the stakeholder_user relation/edge.
	StakeholderUserColumn = "stakeholder_user_id"
	// StakeholderGroupTable is the table that holds the stakeholder_group relation/edge.
	StakeholderGroupTable = "risks"
	// StakeholderGroupInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	StakeholderGroupInverseTable = "groups"
	// StakeholderGroupColumn is the table column denoting the stakeholder_group relation/edge.
	StakeholderGroupColumn = "stakeholder_group_id"
	// StakeholderIdentityHolderTable is the table that holds the stakeholder_identity_holder relation/edge.
	StakeholderIdentityHolderTable = "risks"
	// StakeholderIdentityHolderInverseTable is the table name for the IdentityHolder entity.
	// It exists in this package in order to avoid circular dependency with the "identityholder" package.
	StakeholderIdentityHolderInverseTable = "identity_holders"
	// StakeholderIdentityHolderColumn is the table column denoting the stakeholder_identity_holder relation/edge.
	StakeholderIdentityHolderColumn = "stakeholder_identity_holder_id"
	// DelegateUserTable is the table that holds the delegate_user relation/edge.
	DelegateUserTable = "risks"
	// DelegateUserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	DelegateUserInverseTable = "users"
	// DelegateUserColumn is the table column denoting the delegate_user relation/edge.
	DelegateUserColumn = "delegate_user_id"
	// DelegateGroupTable is the table that holds the delegate_group relation/edge.
	DelegateGroupTable = "risks"
	// DelegateGroupInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	DelegateGroupInverseTable = "groups"
	// DelegateGroupColumn is the table column denoting the delegate_group relation/edge.
	DelegateGroupColumn = "delegate_group_id"
	// DelegateIdentityHolderTable is the table that holds the delegate_identity_holder relation/edge.
	DelegateIdentityHolderTable = "risks"
	// DelegateIdentityHolderInverseTable is the table name for the IdentityHolder entity.
	// It exists in this package in order to avoid circular dependency with the "identityholder" package.
	DelegateIdentityHolderInverseTable = "identity_holders"
	// DelegateIdentityHolderColumn is the table column denoting the delegate_identity_holder relation/edge.
	DelegateIdentityHolderColumn = "delegate_identity_holder_id"
	// RiskKindTable is the table that holds the risk_kind relation/edge.
	RiskKindTable = "risks"
	// RiskKindInverseTable is the table name for the CustomTypeEnum entity.
	// It exists in this package in order to avoid circular dependency with the "customtypeenum" package.
	RiskKindInverseTable = "custom_type_enums"
	// RiskKindColumn is the table column denoting the risk_kind relation/edge.
	RiskKindColumn = "risk_kind_id"
	// RiskCategoryTable is the table that holds the risk_category relation/edge.
	RiskCategoryTable = "risks"
	// RiskCategoryInverseTable is the table name for the CustomTypeEnum entity.
	// It exists in this package in order to avoid circular dependency with the "customtypeenum" package.
	RiskCategoryInverseTable = "custom_type_enums"
	// RiskCategoryColumn is the table column denoting the risk_category relation/edge.
	RiskCategoryColumn = "risk_category_id"
	// EnvironmentTable is the table that holds the environment relation/edge.
	EnvironmentTable = "risks"
	// 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 = "risks"
	// 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 = "control_risks"
	// 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 = "subcontrol_risks"
	// 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 = "procedure_risks"
	// ProceduresInverseTable is the table name for the Procedure entity.
	// It exists in this package in order to avoid circular dependency with the "procedure" package.
	ProceduresInverseTable = "procedures"
	// InternalPoliciesTable is the table that holds the internal_policies relation/edge. The primary key declared below.
	InternalPoliciesTable = "internal_policy_risks"
	// InternalPoliciesInverseTable is the table name for the InternalPolicy entity.
	// It exists in this package in order to avoid circular dependency with the "internalpolicy" package.
	InternalPoliciesInverseTable = "internal_policies"
	// ProgramsTable is the table that holds the programs relation/edge. The primary key declared below.
	ProgramsTable = "program_risks"
	// 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"
	// PlatformsTable is the table that holds the platforms relation/edge. The primary key declared below.
	PlatformsTable = "platform_risks"
	// 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"
	// ActionPlansTable is the table that holds the action_plans relation/edge. The primary key declared below.
	ActionPlansTable = "risk_action_plans"
	// ActionPlansInverseTable is the table name for the ActionPlan entity.
	// It exists in this package in order to avoid circular dependency with the "actionplan" package.
	ActionPlansInverseTable = "action_plans"
	// TasksTable is the table that holds the tasks relation/edge. The primary key declared below.
	TasksTable = "risk_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"
	// AssetsTable is the table that holds the assets relation/edge.
	AssetsTable = "assets"
	// AssetsInverseTable is the table name for the Asset entity.
	// It exists in this package in order to avoid circular dependency with the "asset" package.
	AssetsInverseTable = "assets"
	// AssetsColumn is the table column denoting the assets relation/edge.
	AssetsColumn = "risk_assets"
	// EntitiesTable is the table that holds the entities relation/edge.
	EntitiesTable = "entities"
	// EntitiesInverseTable is the table name for the Entity entity.
	// It exists in this package in order to avoid circular dependency with the "entity" package.
	EntitiesInverseTable = "entities"
	// EntitiesColumn is the table column denoting the entities relation/edge.
	EntitiesColumn = "risk_entities"
	// ScansTable is the table that holds the scans relation/edge.
	ScansTable = "scans"
	// ScansInverseTable is the table name for the Scan entity.
	// It exists in this package in order to avoid circular dependency with the "scan" package.
	ScansInverseTable = "scans"
	// ScansColumn is the table column denoting the scans relation/edge.
	ScansColumn = "risk_scans"
	// StakeholderTable is the table that holds the stakeholder relation/edge.
	StakeholderTable = "risks"
	// StakeholderInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	StakeholderInverseTable = "groups"
	// StakeholderColumn is the table column denoting the stakeholder relation/edge.
	StakeholderColumn = "stakeholder_id"
	// DelegateTable is the table that holds the delegate relation/edge.
	DelegateTable = "risks"
	// 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"
	// 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 = "risk_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 = "risk_discussions"
	// ReviewsTable is the table that holds the reviews relation/edge. The primary key declared below.
	ReviewsTable = "review_risks"
	// ReviewsInverseTable is the table name for the Review entity.
	// It exists in this package in order to avoid circular dependency with the "review" package.
	ReviewsInverseTable = "reviews"
	// RemediationsTable is the table that holds the remediations relation/edge. The primary key declared below.
	RemediationsTable = "remediation_risks"
	// RemediationsInverseTable is the table name for the Remediation entity.
	// It exists in this package in order to avoid circular dependency with the "remediation" package.
	RemediationsInverseTable = "remediations"
	// VulnerabilitiesTable is the table that holds the vulnerabilities relation/edge. The primary key declared below.
	VulnerabilitiesTable = "vulnerability_risks"
	// VulnerabilitiesInverseTable is the table name for the Vulnerability entity.
	// It exists in this package in order to avoid circular dependency with the "vulnerability" package.
	VulnerabilitiesInverseTable = "vulnerabilities"
	// FindingsTable is the table that holds the findings relation/edge. The primary key declared below.
	FindingsTable = "finding_risks"
	// FindingsInverseTable is the table name for the Finding entity.
	// It exists in this package in order to avoid circular dependency with the "finding" package.
	FindingsInverseTable = "findings"
	// 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 = "risk_id"
)
View Source
const DefaultLikelihood enums.RiskLikelihood = "LIKELY"
View Source
const DefaultReviewFrequency enums.Frequency = "YEARLY"
View Source
const DefaultRiskDecision enums.RiskDecision = "NONE"

Variables

View Source
var (
	// IntegrationRunsPrimaryKey and IntegrationRunsColumn2 are the table columns denoting the
	// primary key for the integration_runs relation (M2M).
	IntegrationRunsPrimaryKey = []string{"risk_id", "integration_run_id"}
	// BlockedGroupsPrimaryKey and BlockedGroupsColumn2 are the table columns denoting the
	// primary key for the blocked_groups relation (M2M).
	BlockedGroupsPrimaryKey = []string{"risk_id", "group_id"}
	// EditorsPrimaryKey and EditorsColumn2 are the table columns denoting the
	// primary key for the editors relation (M2M).
	EditorsPrimaryKey = []string{"risk_id", "group_id"}
	// ViewersPrimaryKey and ViewersColumn2 are the table columns denoting the
	// primary key for the viewers relation (M2M).
	ViewersPrimaryKey = []string{"risk_id", "group_id"}
	// ControlsPrimaryKey and ControlsColumn2 are the table columns denoting the
	// primary key for the controls relation (M2M).
	ControlsPrimaryKey = []string{"control_id", "risk_id"}
	// SubcontrolsPrimaryKey and SubcontrolsColumn2 are the table columns denoting the
	// primary key for the subcontrols relation (M2M).
	SubcontrolsPrimaryKey = []string{"subcontrol_id", "risk_id"}
	// ProceduresPrimaryKey and ProceduresColumn2 are the table columns denoting the
	// primary key for the procedures relation (M2M).
	ProceduresPrimaryKey = []string{"procedure_id", "risk_id"}
	// InternalPoliciesPrimaryKey and InternalPoliciesColumn2 are the table columns denoting the
	// primary key for the internal_policies relation (M2M).
	InternalPoliciesPrimaryKey = []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", "risk_id"}
	// PlatformsPrimaryKey and PlatformsColumn2 are the table columns denoting the
	// primary key for the platforms relation (M2M).
	PlatformsPrimaryKey = []string{"platform_id", "risk_id"}
	// ActionPlansPrimaryKey and ActionPlansColumn2 are the table columns denoting the
	// primary key for the action_plans relation (M2M).
	ActionPlansPrimaryKey = []string{"risk_id", "action_plan_id"}
	// TasksPrimaryKey and TasksColumn2 are the table columns denoting the
	// primary key for the tasks relation (M2M).
	TasksPrimaryKey = []string{"risk_id", "task_id"}
	// ReviewsPrimaryKey and ReviewsColumn2 are the table columns denoting the
	// primary key for the reviews relation (M2M).
	ReviewsPrimaryKey = []string{"review_id", "risk_id"}
	// RemediationsPrimaryKey and RemediationsColumn2 are the table columns denoting the
	// primary key for the remediations relation (M2M).
	RemediationsPrimaryKey = []string{"remediation_id", "risk_id"}
	// VulnerabilitiesPrimaryKey and VulnerabilitiesColumn2 are the table columns denoting the
	// primary key for the vulnerabilities relation (M2M).
	VulnerabilitiesPrimaryKey = []string{"vulnerability_id", "risk_id"}
	// FindingsPrimaryKey and FindingsColumn2 are the table columns denoting the
	// primary key for the findings relation (M2M).
	FindingsPrimaryKey = []string{"finding_id", "risk_id"}
)
View Source
var (
	Hooks        [20]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
	// DefaultReviewRequired holds the default value on creation for the "review_required" field.
	DefaultReviewRequired 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/v2/internal/ent/generated/runtime"

Columns holds all SQL columns for risk fields.

View Source
var ForeignKeys = []string{
	"control_objective_risks",
	"custom_type_enum_risks",
	"custom_type_enum_risk_categories",
}

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

Functions

func And

func And(predicates ...predicate.Risk) predicate.Risk

And groups predicates with the AND operator between them.

func BusinessCosts

func BusinessCosts(v string) predicate.Risk

BusinessCosts applies equality check predicate on the "business_costs" field. It's identical to BusinessCostsEQ.

func BusinessCostsContains

func BusinessCostsContains(v string) predicate.Risk

BusinessCostsContains applies the Contains predicate on the "business_costs" field.

func BusinessCostsContainsFold

func BusinessCostsContainsFold(v string) predicate.Risk

BusinessCostsContainsFold applies the ContainsFold predicate on the "business_costs" field.

func BusinessCostsEQ

func BusinessCostsEQ(v string) predicate.Risk

BusinessCostsEQ applies the EQ predicate on the "business_costs" field.

func BusinessCostsEqualFold

func BusinessCostsEqualFold(v string) predicate.Risk

BusinessCostsEqualFold applies the EqualFold predicate on the "business_costs" field.

func BusinessCostsGT

func BusinessCostsGT(v string) predicate.Risk

BusinessCostsGT applies the GT predicate on the "business_costs" field.

func BusinessCostsGTE

func BusinessCostsGTE(v string) predicate.Risk

BusinessCostsGTE applies the GTE predicate on the "business_costs" field.

func BusinessCostsHasPrefix

func BusinessCostsHasPrefix(v string) predicate.Risk

BusinessCostsHasPrefix applies the HasPrefix predicate on the "business_costs" field.

func BusinessCostsHasSuffix

func BusinessCostsHasSuffix(v string) predicate.Risk

BusinessCostsHasSuffix applies the HasSuffix predicate on the "business_costs" field.

func BusinessCostsIn

func BusinessCostsIn(vs ...string) predicate.Risk

BusinessCostsIn applies the In predicate on the "business_costs" field.

func BusinessCostsIsNil

func BusinessCostsIsNil() predicate.Risk

BusinessCostsIsNil applies the IsNil predicate on the "business_costs" field.

func BusinessCostsJSONIsNil

func BusinessCostsJSONIsNil() predicate.Risk

BusinessCostsJSONIsNil applies the IsNil predicate on the "business_costs_json" field.

func BusinessCostsJSONNotNil

func BusinessCostsJSONNotNil() predicate.Risk

BusinessCostsJSONNotNil applies the NotNil predicate on the "business_costs_json" field.

func BusinessCostsLT

func BusinessCostsLT(v string) predicate.Risk

BusinessCostsLT applies the LT predicate on the "business_costs" field.

func BusinessCostsLTE

func BusinessCostsLTE(v string) predicate.Risk

BusinessCostsLTE applies the LTE predicate on the "business_costs" field.

func BusinessCostsNEQ

func BusinessCostsNEQ(v string) predicate.Risk

BusinessCostsNEQ applies the NEQ predicate on the "business_costs" field.

func BusinessCostsNotIn

func BusinessCostsNotIn(vs ...string) predicate.Risk

BusinessCostsNotIn applies the NotIn predicate on the "business_costs" field.

func BusinessCostsNotNil

func BusinessCostsNotNil() predicate.Risk

BusinessCostsNotNil applies the NotNil predicate on the "business_costs" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Risk

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Risk

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Risk

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Risk

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.Risk

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Risk

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Risk

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Risk

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.Risk

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

func CreatedBy

func CreatedBy(v string) predicate.Risk

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

func CreatedByContains

func CreatedByContains(v string) predicate.Risk

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.Risk

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.Risk

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.Risk

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

func CreatedByGT

func CreatedByGT(v string) predicate.Risk

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.Risk

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.Risk

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.Risk

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.Risk

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

func CreatedByLT

func CreatedByLT(v string) predicate.Risk

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.Risk

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.Risk

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.Risk

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

func DelegateGroupID

func DelegateGroupID(v string) predicate.Risk

DelegateGroupID applies equality check predicate on the "delegate_group_id" field. It's identical to DelegateGroupIDEQ.

func DelegateGroupIDContains

func DelegateGroupIDContains(v string) predicate.Risk

DelegateGroupIDContains applies the Contains predicate on the "delegate_group_id" field.

func DelegateGroupIDContainsFold

func DelegateGroupIDContainsFold(v string) predicate.Risk

DelegateGroupIDContainsFold applies the ContainsFold predicate on the "delegate_group_id" field.

func DelegateGroupIDEQ

func DelegateGroupIDEQ(v string) predicate.Risk

DelegateGroupIDEQ applies the EQ predicate on the "delegate_group_id" field.

func DelegateGroupIDEqualFold

func DelegateGroupIDEqualFold(v string) predicate.Risk

DelegateGroupIDEqualFold applies the EqualFold predicate on the "delegate_group_id" field.

func DelegateGroupIDGT

func DelegateGroupIDGT(v string) predicate.Risk

DelegateGroupIDGT applies the GT predicate on the "delegate_group_id" field.

func DelegateGroupIDGTE

func DelegateGroupIDGTE(v string) predicate.Risk

DelegateGroupIDGTE applies the GTE predicate on the "delegate_group_id" field.

func DelegateGroupIDHasPrefix

func DelegateGroupIDHasPrefix(v string) predicate.Risk

DelegateGroupIDHasPrefix applies the HasPrefix predicate on the "delegate_group_id" field.

func DelegateGroupIDHasSuffix

func DelegateGroupIDHasSuffix(v string) predicate.Risk

DelegateGroupIDHasSuffix applies the HasSuffix predicate on the "delegate_group_id" field.

func DelegateGroupIDIn

func DelegateGroupIDIn(vs ...string) predicate.Risk

DelegateGroupIDIn applies the In predicate on the "delegate_group_id" field.

func DelegateGroupIDIsNil

func DelegateGroupIDIsNil() predicate.Risk

DelegateGroupIDIsNil applies the IsNil predicate on the "delegate_group_id" field.

func DelegateGroupIDLT

func DelegateGroupIDLT(v string) predicate.Risk

DelegateGroupIDLT applies the LT predicate on the "delegate_group_id" field.

func DelegateGroupIDLTE

func DelegateGroupIDLTE(v string) predicate.Risk

DelegateGroupIDLTE applies the LTE predicate on the "delegate_group_id" field.

func DelegateGroupIDNEQ

func DelegateGroupIDNEQ(v string) predicate.Risk

DelegateGroupIDNEQ applies the NEQ predicate on the "delegate_group_id" field.

func DelegateGroupIDNotIn

func DelegateGroupIDNotIn(vs ...string) predicate.Risk

DelegateGroupIDNotIn applies the NotIn predicate on the "delegate_group_id" field.

func DelegateGroupIDNotNil

func DelegateGroupIDNotNil() predicate.Risk

DelegateGroupIDNotNil applies the NotNil predicate on the "delegate_group_id" field.

func DelegateID

func DelegateID(v string) predicate.Risk

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

func DelegateIDContains

func DelegateIDContains(v string) predicate.Risk

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

func DelegateIDContainsFold

func DelegateIDContainsFold(v string) predicate.Risk

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

func DelegateIDEQ

func DelegateIDEQ(v string) predicate.Risk

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

func DelegateIDEqualFold

func DelegateIDEqualFold(v string) predicate.Risk

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

func DelegateIDGT

func DelegateIDGT(v string) predicate.Risk

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

func DelegateIDGTE

func DelegateIDGTE(v string) predicate.Risk

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

func DelegateIDHasPrefix

func DelegateIDHasPrefix(v string) predicate.Risk

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

func DelegateIDHasSuffix

func DelegateIDHasSuffix(v string) predicate.Risk

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

func DelegateIDIn

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

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

func DelegateIDIsNil

func DelegateIDIsNil() predicate.Risk

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

func DelegateIDLT

func DelegateIDLT(v string) predicate.Risk

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

func DelegateIDLTE

func DelegateIDLTE(v string) predicate.Risk

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

func DelegateIDNEQ

func DelegateIDNEQ(v string) predicate.Risk

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

func DelegateIDNotIn

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

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

func DelegateIDNotNil

func DelegateIDNotNil() predicate.Risk

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

func DelegateIdentityHolderID

func DelegateIdentityHolderID(v string) predicate.Risk

DelegateIdentityHolderID applies equality check predicate on the "delegate_identity_holder_id" field. It's identical to DelegateIdentityHolderIDEQ.

func DelegateIdentityHolderIDContains

func DelegateIdentityHolderIDContains(v string) predicate.Risk

DelegateIdentityHolderIDContains applies the Contains predicate on the "delegate_identity_holder_id" field.

func DelegateIdentityHolderIDContainsFold

func DelegateIdentityHolderIDContainsFold(v string) predicate.Risk

DelegateIdentityHolderIDContainsFold applies the ContainsFold predicate on the "delegate_identity_holder_id" field.

func DelegateIdentityHolderIDEQ

func DelegateIdentityHolderIDEQ(v string) predicate.Risk

DelegateIdentityHolderIDEQ applies the EQ predicate on the "delegate_identity_holder_id" field.

func DelegateIdentityHolderIDEqualFold

func DelegateIdentityHolderIDEqualFold(v string) predicate.Risk

DelegateIdentityHolderIDEqualFold applies the EqualFold predicate on the "delegate_identity_holder_id" field.

func DelegateIdentityHolderIDGT

func DelegateIdentityHolderIDGT(v string) predicate.Risk

DelegateIdentityHolderIDGT applies the GT predicate on the "delegate_identity_holder_id" field.

func DelegateIdentityHolderIDGTE

func DelegateIdentityHolderIDGTE(v string) predicate.Risk

DelegateIdentityHolderIDGTE applies the GTE predicate on the "delegate_identity_holder_id" field.

func DelegateIdentityHolderIDHasPrefix

func DelegateIdentityHolderIDHasPrefix(v string) predicate.Risk

DelegateIdentityHolderIDHasPrefix applies the HasPrefix predicate on the "delegate_identity_holder_id" field.

func DelegateIdentityHolderIDHasSuffix

func DelegateIdentityHolderIDHasSuffix(v string) predicate.Risk

DelegateIdentityHolderIDHasSuffix applies the HasSuffix predicate on the "delegate_identity_holder_id" field.

func DelegateIdentityHolderIDIn

func DelegateIdentityHolderIDIn(vs ...string) predicate.Risk

DelegateIdentityHolderIDIn applies the In predicate on the "delegate_identity_holder_id" field.

func DelegateIdentityHolderIDIsNil

func DelegateIdentityHolderIDIsNil() predicate.Risk

DelegateIdentityHolderIDIsNil applies the IsNil predicate on the "delegate_identity_holder_id" field.

func DelegateIdentityHolderIDLT

func DelegateIdentityHolderIDLT(v string) predicate.Risk

DelegateIdentityHolderIDLT applies the LT predicate on the "delegate_identity_holder_id" field.

func DelegateIdentityHolderIDLTE

func DelegateIdentityHolderIDLTE(v string) predicate.Risk

DelegateIdentityHolderIDLTE applies the LTE predicate on the "delegate_identity_holder_id" field.

func DelegateIdentityHolderIDNEQ

func DelegateIdentityHolderIDNEQ(v string) predicate.Risk

DelegateIdentityHolderIDNEQ applies the NEQ predicate on the "delegate_identity_holder_id" field.

func DelegateIdentityHolderIDNotIn

func DelegateIdentityHolderIDNotIn(vs ...string) predicate.Risk

DelegateIdentityHolderIDNotIn applies the NotIn predicate on the "delegate_identity_holder_id" field.

func DelegateIdentityHolderIDNotNil

func DelegateIdentityHolderIDNotNil() predicate.Risk

DelegateIdentityHolderIDNotNil applies the NotNil predicate on the "delegate_identity_holder_id" field.

func DelegateName

func DelegateName(v string) predicate.Risk

DelegateName applies equality check predicate on the "delegate_name" field. It's identical to DelegateNameEQ.

func DelegateNameContains

func DelegateNameContains(v string) predicate.Risk

DelegateNameContains applies the Contains predicate on the "delegate_name" field.

func DelegateNameContainsFold

func DelegateNameContainsFold(v string) predicate.Risk

DelegateNameContainsFold applies the ContainsFold predicate on the "delegate_name" field.

func DelegateNameEQ

func DelegateNameEQ(v string) predicate.Risk

DelegateNameEQ applies the EQ predicate on the "delegate_name" field.

func DelegateNameEqualFold

func DelegateNameEqualFold(v string) predicate.Risk

DelegateNameEqualFold applies the EqualFold predicate on the "delegate_name" field.

func DelegateNameGT

func DelegateNameGT(v string) predicate.Risk

DelegateNameGT applies the GT predicate on the "delegate_name" field.

func DelegateNameGTE

func DelegateNameGTE(v string) predicate.Risk

DelegateNameGTE applies the GTE predicate on the "delegate_name" field.

func DelegateNameHasPrefix

func DelegateNameHasPrefix(v string) predicate.Risk

DelegateNameHasPrefix applies the HasPrefix predicate on the "delegate_name" field.

func DelegateNameHasSuffix

func DelegateNameHasSuffix(v string) predicate.Risk

DelegateNameHasSuffix applies the HasSuffix predicate on the "delegate_name" field.

func DelegateNameIn

func DelegateNameIn(vs ...string) predicate.Risk

DelegateNameIn applies the In predicate on the "delegate_name" field.

func DelegateNameIsNil

func DelegateNameIsNil() predicate.Risk

DelegateNameIsNil applies the IsNil predicate on the "delegate_name" field.

func DelegateNameLT

func DelegateNameLT(v string) predicate.Risk

DelegateNameLT applies the LT predicate on the "delegate_name" field.

func DelegateNameLTE

func DelegateNameLTE(v string) predicate.Risk

DelegateNameLTE applies the LTE predicate on the "delegate_name" field.

func DelegateNameNEQ

func DelegateNameNEQ(v string) predicate.Risk

DelegateNameNEQ applies the NEQ predicate on the "delegate_name" field.

func DelegateNameNotIn

func DelegateNameNotIn(vs ...string) predicate.Risk

DelegateNameNotIn applies the NotIn predicate on the "delegate_name" field.

func DelegateNameNotNil

func DelegateNameNotNil() predicate.Risk

DelegateNameNotNil applies the NotNil predicate on the "delegate_name" field.

func DelegateUserID

func DelegateUserID(v string) predicate.Risk

DelegateUserID applies equality check predicate on the "delegate_user_id" field. It's identical to DelegateUserIDEQ.

func DelegateUserIDContains

func DelegateUserIDContains(v string) predicate.Risk

DelegateUserIDContains applies the Contains predicate on the "delegate_user_id" field.

func DelegateUserIDContainsFold

func DelegateUserIDContainsFold(v string) predicate.Risk

DelegateUserIDContainsFold applies the ContainsFold predicate on the "delegate_user_id" field.

func DelegateUserIDEQ

func DelegateUserIDEQ(v string) predicate.Risk

DelegateUserIDEQ applies the EQ predicate on the "delegate_user_id" field.

func DelegateUserIDEqualFold

func DelegateUserIDEqualFold(v string) predicate.Risk

DelegateUserIDEqualFold applies the EqualFold predicate on the "delegate_user_id" field.

func DelegateUserIDGT

func DelegateUserIDGT(v string) predicate.Risk

DelegateUserIDGT applies the GT predicate on the "delegate_user_id" field.

func DelegateUserIDGTE

func DelegateUserIDGTE(v string) predicate.Risk

DelegateUserIDGTE applies the GTE predicate on the "delegate_user_id" field.

func DelegateUserIDHasPrefix

func DelegateUserIDHasPrefix(v string) predicate.Risk

DelegateUserIDHasPrefix applies the HasPrefix predicate on the "delegate_user_id" field.

func DelegateUserIDHasSuffix

func DelegateUserIDHasSuffix(v string) predicate.Risk

DelegateUserIDHasSuffix applies the HasSuffix predicate on the "delegate_user_id" field.

func DelegateUserIDIn

func DelegateUserIDIn(vs ...string) predicate.Risk

DelegateUserIDIn applies the In predicate on the "delegate_user_id" field.

func DelegateUserIDIsNil

func DelegateUserIDIsNil() predicate.Risk

DelegateUserIDIsNil applies the IsNil predicate on the "delegate_user_id" field.

func DelegateUserIDLT

func DelegateUserIDLT(v string) predicate.Risk

DelegateUserIDLT applies the LT predicate on the "delegate_user_id" field.

func DelegateUserIDLTE

func DelegateUserIDLTE(v string) predicate.Risk

DelegateUserIDLTE applies the LTE predicate on the "delegate_user_id" field.

func DelegateUserIDNEQ

func DelegateUserIDNEQ(v string) predicate.Risk

DelegateUserIDNEQ applies the NEQ predicate on the "delegate_user_id" field.

func DelegateUserIDNotIn

func DelegateUserIDNotIn(vs ...string) predicate.Risk

DelegateUserIDNotIn applies the NotIn predicate on the "delegate_user_id" field.

func DelegateUserIDNotNil

func DelegateUserIDNotNil() predicate.Risk

DelegateUserIDNotNil applies the NotNil predicate on the "delegate_user_id" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.Risk

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Risk

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Risk

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Risk

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Risk

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Risk

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Risk

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Risk

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Risk

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

func DeletedBy

func DeletedBy(v string) predicate.Risk

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

func DeletedByContains

func DeletedByContains(v string) predicate.Risk

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.Risk

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

func DeletedByEQ

func DeletedByEQ(v string) predicate.Risk

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.Risk

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

func DeletedByGT

func DeletedByGT(v string) predicate.Risk

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.Risk

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.Risk

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.Risk

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.Risk

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

func DeletedByLT

func DeletedByLT(v string) predicate.Risk

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.Risk

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.Risk

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.Risk

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

func Details

func Details(v string) predicate.Risk

Details applies equality check predicate on the "details" field. It's identical to DetailsEQ.

func DetailsContains

func DetailsContains(v string) predicate.Risk

DetailsContains applies the Contains predicate on the "details" field.

func DetailsContainsFold

func DetailsContainsFold(v string) predicate.Risk

DetailsContainsFold applies the ContainsFold predicate on the "details" field.

func DetailsEQ

func DetailsEQ(v string) predicate.Risk

DetailsEQ applies the EQ predicate on the "details" field.

func DetailsEqualFold

func DetailsEqualFold(v string) predicate.Risk

DetailsEqualFold applies the EqualFold predicate on the "details" field.

func DetailsGT

func DetailsGT(v string) predicate.Risk

DetailsGT applies the GT predicate on the "details" field.

func DetailsGTE

func DetailsGTE(v string) predicate.Risk

DetailsGTE applies the GTE predicate on the "details" field.

func DetailsHasPrefix

func DetailsHasPrefix(v string) predicate.Risk

DetailsHasPrefix applies the HasPrefix predicate on the "details" field.

func DetailsHasSuffix

func DetailsHasSuffix(v string) predicate.Risk

DetailsHasSuffix applies the HasSuffix predicate on the "details" field.

func DetailsIn

func DetailsIn(vs ...string) predicate.Risk

DetailsIn applies the In predicate on the "details" field.

func DetailsIsNil

func DetailsIsNil() predicate.Risk

DetailsIsNil applies the IsNil predicate on the "details" field.

func DetailsJSONIsNil

func DetailsJSONIsNil() predicate.Risk

DetailsJSONIsNil applies the IsNil predicate on the "details_json" field.

func DetailsJSONNotNil

func DetailsJSONNotNil() predicate.Risk

DetailsJSONNotNil applies the NotNil predicate on the "details_json" field.

func DetailsLT

func DetailsLT(v string) predicate.Risk

DetailsLT applies the LT predicate on the "details" field.

func DetailsLTE

func DetailsLTE(v string) predicate.Risk

DetailsLTE applies the LTE predicate on the "details" field.

func DetailsNEQ

func DetailsNEQ(v string) predicate.Risk

DetailsNEQ applies the NEQ predicate on the "details" field.

func DetailsNotIn

func DetailsNotIn(vs ...string) predicate.Risk

DetailsNotIn applies the NotIn predicate on the "details" field.

func DetailsNotNil

func DetailsNotNil() predicate.Risk

DetailsNotNil applies the NotNil predicate on the "details" field.

func DisplayID

func DisplayID(v string) predicate.Risk

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

func DisplayIDContains

func DisplayIDContains(v string) predicate.Risk

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

func DisplayIDContainsFold

func DisplayIDContainsFold(v string) predicate.Risk

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

func DisplayIDEQ

func DisplayIDEQ(v string) predicate.Risk

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

func DisplayIDEqualFold

func DisplayIDEqualFold(v string) predicate.Risk

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

func DisplayIDGT

func DisplayIDGT(v string) predicate.Risk

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

func DisplayIDGTE

func DisplayIDGTE(v string) predicate.Risk

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

func DisplayIDHasPrefix

func DisplayIDHasPrefix(v string) predicate.Risk

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

func DisplayIDHasSuffix

func DisplayIDHasSuffix(v string) predicate.Risk

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

func DisplayIDIn

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

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

func DisplayIDLT

func DisplayIDLT(v string) predicate.Risk

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

func DisplayIDLTE

func DisplayIDLTE(v string) predicate.Risk

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

func DisplayIDNEQ

func DisplayIDNEQ(v string) predicate.Risk

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

func DisplayIDNotIn

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

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

func DueDate

func DueDate(v models.DateTime) predicate.Risk

DueDate applies equality check predicate on the "due_date" field. It's identical to DueDateEQ.

func DueDateEQ

func DueDateEQ(v models.DateTime) predicate.Risk

DueDateEQ applies the EQ predicate on the "due_date" field.

func DueDateGT

func DueDateGT(v models.DateTime) predicate.Risk

DueDateGT applies the GT predicate on the "due_date" field.

func DueDateGTE

func DueDateGTE(v models.DateTime) predicate.Risk

DueDateGTE applies the GTE predicate on the "due_date" field.

func DueDateIn

func DueDateIn(vs ...models.DateTime) predicate.Risk

DueDateIn applies the In predicate on the "due_date" field.

func DueDateIsNil

func DueDateIsNil() predicate.Risk

DueDateIsNil applies the IsNil predicate on the "due_date" field.

func DueDateLT

func DueDateLT(v models.DateTime) predicate.Risk

DueDateLT applies the LT predicate on the "due_date" field.

func DueDateLTE

func DueDateLTE(v models.DateTime) predicate.Risk

DueDateLTE applies the LTE predicate on the "due_date" field.

func DueDateNEQ

func DueDateNEQ(v models.DateTime) predicate.Risk

DueDateNEQ applies the NEQ predicate on the "due_date" field.

func DueDateNotIn

func DueDateNotIn(vs ...models.DateTime) predicate.Risk

DueDateNotIn applies the NotIn predicate on the "due_date" field.

func DueDateNotNil

func DueDateNotNil() predicate.Risk

DueDateNotNil applies the NotNil predicate on the "due_date" field.

func EnvironmentID

func EnvironmentID(v string) predicate.Risk

EnvironmentID applies equality check predicate on the "environment_id" field. It's identical to EnvironmentIDEQ.

func EnvironmentIDContains

func EnvironmentIDContains(v string) predicate.Risk

EnvironmentIDContains applies the Contains predicate on the "environment_id" field.

func EnvironmentIDContainsFold

func EnvironmentIDContainsFold(v string) predicate.Risk

EnvironmentIDContainsFold applies the ContainsFold predicate on the "environment_id" field.

func EnvironmentIDEQ

func EnvironmentIDEQ(v string) predicate.Risk

EnvironmentIDEQ applies the EQ predicate on the "environment_id" field.

func EnvironmentIDEqualFold

func EnvironmentIDEqualFold(v string) predicate.Risk

EnvironmentIDEqualFold applies the EqualFold predicate on the "environment_id" field.

func EnvironmentIDGT

func EnvironmentIDGT(v string) predicate.Risk

EnvironmentIDGT applies the GT predicate on the "environment_id" field.

func EnvironmentIDGTE

func EnvironmentIDGTE(v string) predicate.Risk

EnvironmentIDGTE applies the GTE predicate on the "environment_id" field.

func EnvironmentIDHasPrefix

func EnvironmentIDHasPrefix(v string) predicate.Risk

EnvironmentIDHasPrefix applies the HasPrefix predicate on the "environment_id" field.

func EnvironmentIDHasSuffix

func EnvironmentIDHasSuffix(v string) predicate.Risk

EnvironmentIDHasSuffix applies the HasSuffix predicate on the "environment_id" field.

func EnvironmentIDIn

func EnvironmentIDIn(vs ...string) predicate.Risk

EnvironmentIDIn applies the In predicate on the "environment_id" field.

func EnvironmentIDIsNil

func EnvironmentIDIsNil() predicate.Risk

EnvironmentIDIsNil applies the IsNil predicate on the "environment_id" field.

func EnvironmentIDLT

func EnvironmentIDLT(v string) predicate.Risk

EnvironmentIDLT applies the LT predicate on the "environment_id" field.

func EnvironmentIDLTE

func EnvironmentIDLTE(v string) predicate.Risk

EnvironmentIDLTE applies the LTE predicate on the "environment_id" field.

func EnvironmentIDNEQ

func EnvironmentIDNEQ(v string) predicate.Risk

EnvironmentIDNEQ applies the NEQ predicate on the "environment_id" field.

func EnvironmentIDNotIn

func EnvironmentIDNotIn(vs ...string) predicate.Risk

EnvironmentIDNotIn applies the NotIn predicate on the "environment_id" field.

func EnvironmentIDNotNil

func EnvironmentIDNotNil() predicate.Risk

EnvironmentIDNotNil applies the NotNil predicate on the "environment_id" field.

func EnvironmentName

func EnvironmentName(v string) predicate.Risk

EnvironmentName applies equality check predicate on the "environment_name" field. It's identical to EnvironmentNameEQ.

func EnvironmentNameContains

func EnvironmentNameContains(v string) predicate.Risk

EnvironmentNameContains applies the Contains predicate on the "environment_name" field.

func EnvironmentNameContainsFold

func EnvironmentNameContainsFold(v string) predicate.Risk

EnvironmentNameContainsFold applies the ContainsFold predicate on the "environment_name" field.

func EnvironmentNameEQ

func EnvironmentNameEQ(v string) predicate.Risk

EnvironmentNameEQ applies the EQ predicate on the "environment_name" field.

func EnvironmentNameEqualFold

func EnvironmentNameEqualFold(v string) predicate.Risk

EnvironmentNameEqualFold applies the EqualFold predicate on the "environment_name" field.

func EnvironmentNameGT

func EnvironmentNameGT(v string) predicate.Risk

EnvironmentNameGT applies the GT predicate on the "environment_name" field.

func EnvironmentNameGTE

func EnvironmentNameGTE(v string) predicate.Risk

EnvironmentNameGTE applies the GTE predicate on the "environment_name" field.

func EnvironmentNameHasPrefix

func EnvironmentNameHasPrefix(v string) predicate.Risk

EnvironmentNameHasPrefix applies the HasPrefix predicate on the "environment_name" field.

func EnvironmentNameHasSuffix

func EnvironmentNameHasSuffix(v string) predicate.Risk

EnvironmentNameHasSuffix applies the HasSuffix predicate on the "environment_name" field.

func EnvironmentNameIn

func EnvironmentNameIn(vs ...string) predicate.Risk

EnvironmentNameIn applies the In predicate on the "environment_name" field.

func EnvironmentNameIsNil

func EnvironmentNameIsNil() predicate.Risk

EnvironmentNameIsNil applies the IsNil predicate on the "environment_name" field.

func EnvironmentNameLT

func EnvironmentNameLT(v string) predicate.Risk

EnvironmentNameLT applies the LT predicate on the "environment_name" field.

func EnvironmentNameLTE

func EnvironmentNameLTE(v string) predicate.Risk

EnvironmentNameLTE applies the LTE predicate on the "environment_name" field.

func EnvironmentNameNEQ

func EnvironmentNameNEQ(v string) predicate.Risk

EnvironmentNameNEQ applies the NEQ predicate on the "environment_name" field.

func EnvironmentNameNotIn

func EnvironmentNameNotIn(vs ...string) predicate.Risk

EnvironmentNameNotIn applies the NotIn predicate on the "environment_name" field.

func EnvironmentNameNotNil

func EnvironmentNameNotNil() predicate.Risk

EnvironmentNameNotNil applies the NotNil predicate on the "environment_name" field.

func ExternalID

func ExternalID(v string) predicate.Risk

ExternalID applies equality check predicate on the "external_id" field. It's identical to ExternalIDEQ.

func ExternalIDContains

func ExternalIDContains(v string) predicate.Risk

ExternalIDContains applies the Contains predicate on the "external_id" field.

func ExternalIDContainsFold

func ExternalIDContainsFold(v string) predicate.Risk

ExternalIDContainsFold applies the ContainsFold predicate on the "external_id" field.

func ExternalIDEQ

func ExternalIDEQ(v string) predicate.Risk

ExternalIDEQ applies the EQ predicate on the "external_id" field.

func ExternalIDEqualFold

func ExternalIDEqualFold(v string) predicate.Risk

ExternalIDEqualFold applies the EqualFold predicate on the "external_id" field.

func ExternalIDGT

func ExternalIDGT(v string) predicate.Risk

ExternalIDGT applies the GT predicate on the "external_id" field.

func ExternalIDGTE

func ExternalIDGTE(v string) predicate.Risk

ExternalIDGTE applies the GTE predicate on the "external_id" field.

func ExternalIDHasPrefix

func ExternalIDHasPrefix(v string) predicate.Risk

ExternalIDHasPrefix applies the HasPrefix predicate on the "external_id" field.

func ExternalIDHasSuffix

func ExternalIDHasSuffix(v string) predicate.Risk

ExternalIDHasSuffix applies the HasSuffix predicate on the "external_id" field.

func ExternalIDIn

func ExternalIDIn(vs ...string) predicate.Risk

ExternalIDIn applies the In predicate on the "external_id" field.

func ExternalIDIsNil

func ExternalIDIsNil() predicate.Risk

ExternalIDIsNil applies the IsNil predicate on the "external_id" field.

func ExternalIDLT

func ExternalIDLT(v string) predicate.Risk

ExternalIDLT applies the LT predicate on the "external_id" field.

func ExternalIDLTE

func ExternalIDLTE(v string) predicate.Risk

ExternalIDLTE applies the LTE predicate on the "external_id" field.

func ExternalIDNEQ

func ExternalIDNEQ(v string) predicate.Risk

ExternalIDNEQ applies the NEQ predicate on the "external_id" field.

func ExternalIDNotIn

func ExternalIDNotIn(vs ...string) predicate.Risk

ExternalIDNotIn applies the NotIn predicate on the "external_id" field.

func ExternalIDNotNil

func ExternalIDNotNil() predicate.Risk

ExternalIDNotNil applies the NotNil predicate on the "external_id" field.

func ExternalUUID

func ExternalUUID(v string) predicate.Risk

ExternalUUID applies equality check predicate on the "external_uuid" field. It's identical to ExternalUUIDEQ.

func ExternalUUIDContains

func ExternalUUIDContains(v string) predicate.Risk

ExternalUUIDContains applies the Contains predicate on the "external_uuid" field.

func ExternalUUIDContainsFold

func ExternalUUIDContainsFold(v string) predicate.Risk

ExternalUUIDContainsFold applies the ContainsFold predicate on the "external_uuid" field.

func ExternalUUIDEQ

func ExternalUUIDEQ(v string) predicate.Risk

ExternalUUIDEQ applies the EQ predicate on the "external_uuid" field.

func ExternalUUIDEqualFold

func ExternalUUIDEqualFold(v string) predicate.Risk

ExternalUUIDEqualFold applies the EqualFold predicate on the "external_uuid" field.

func ExternalUUIDGT

func ExternalUUIDGT(v string) predicate.Risk

ExternalUUIDGT applies the GT predicate on the "external_uuid" field.

func ExternalUUIDGTE

func ExternalUUIDGTE(v string) predicate.Risk

ExternalUUIDGTE applies the GTE predicate on the "external_uuid" field.

func ExternalUUIDHasPrefix

func ExternalUUIDHasPrefix(v string) predicate.Risk

ExternalUUIDHasPrefix applies the HasPrefix predicate on the "external_uuid" field.

func ExternalUUIDHasSuffix

func ExternalUUIDHasSuffix(v string) predicate.Risk

ExternalUUIDHasSuffix applies the HasSuffix predicate on the "external_uuid" field.

func ExternalUUIDIn

func ExternalUUIDIn(vs ...string) predicate.Risk

ExternalUUIDIn applies the In predicate on the "external_uuid" field.

func ExternalUUIDIsNil

func ExternalUUIDIsNil() predicate.Risk

ExternalUUIDIsNil applies the IsNil predicate on the "external_uuid" field.

func ExternalUUIDLT

func ExternalUUIDLT(v string) predicate.Risk

ExternalUUIDLT applies the LT predicate on the "external_uuid" field.

func ExternalUUIDLTE

func ExternalUUIDLTE(v string) predicate.Risk

ExternalUUIDLTE applies the LTE predicate on the "external_uuid" field.

func ExternalUUIDNEQ

func ExternalUUIDNEQ(v string) predicate.Risk

ExternalUUIDNEQ applies the NEQ predicate on the "external_uuid" field.

func ExternalUUIDNotIn

func ExternalUUIDNotIn(vs ...string) predicate.Risk

ExternalUUIDNotIn applies the NotIn predicate on the "external_uuid" field.

func ExternalUUIDNotNil

func ExternalUUIDNotNil() predicate.Risk

ExternalUUIDNotNil applies the NotNil predicate on the "external_uuid" field.

func HasActionPlans

func HasActionPlans() predicate.Risk

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

func HasActionPlansWith

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

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

func HasAssets

func HasAssets() predicate.Risk

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

func HasAssetsWith

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

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

func HasBlockedGroups

func HasBlockedGroups() predicate.Risk

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

func HasBlockedGroupsWith

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

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

func HasComments

func HasComments() predicate.Risk

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

func HasCommentsWith

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

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

func HasControls

func HasControls() predicate.Risk

HasControls applies the HasEdge predicate on the "controls" edge.

func HasControlsWith

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

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

func HasDelegate

func HasDelegate() predicate.Risk

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

func HasDelegateGroup

func HasDelegateGroup() predicate.Risk

HasDelegateGroup applies the HasEdge predicate on the "delegate_group" edge.

func HasDelegateGroupWith

func HasDelegateGroupWith(preds ...predicate.Group) predicate.Risk

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

func HasDelegateIdentityHolder

func HasDelegateIdentityHolder() predicate.Risk

HasDelegateIdentityHolder applies the HasEdge predicate on the "delegate_identity_holder" edge.

func HasDelegateIdentityHolderWith

func HasDelegateIdentityHolderWith(preds ...predicate.IdentityHolder) predicate.Risk

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

func HasDelegateUser

func HasDelegateUser() predicate.Risk

HasDelegateUser applies the HasEdge predicate on the "delegate_user" edge.

func HasDelegateUserWith

func HasDelegateUserWith(preds ...predicate.User) predicate.Risk

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

func HasDelegateWith

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

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

func HasDiscussions

func HasDiscussions() predicate.Risk

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

func HasDiscussionsWith

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

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

func HasEditors

func HasEditors() predicate.Risk

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

func HasEditorsWith

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

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

func HasEntities

func HasEntities() predicate.Risk

HasEntities applies the HasEdge predicate on the "entities" edge.

func HasEntitiesWith

func HasEntitiesWith(preds ...predicate.Entity) predicate.Risk

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

func HasEnvironment

func HasEnvironment() predicate.Risk

HasEnvironment applies the HasEdge predicate on the "environment" edge.

func HasEnvironmentWith

func HasEnvironmentWith(preds ...predicate.CustomTypeEnum) predicate.Risk

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

func HasFindings

func HasFindings() predicate.Risk

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

func HasFindingsWith

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

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

func HasIntegrationRuns

func HasIntegrationRuns() predicate.Risk

HasIntegrationRuns applies the HasEdge predicate on the "integration_runs" edge.

func HasIntegrationRunsWith

func HasIntegrationRunsWith(preds ...predicate.IntegrationRun) predicate.Risk

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

func HasInternalPolicies

func HasInternalPolicies() predicate.Risk

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

func HasInternalPoliciesWith

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

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

func HasOwner

func HasOwner() predicate.Risk

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

func HasOwnerWith

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

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

func HasPlatforms

func HasPlatforms() predicate.Risk

HasPlatforms applies the HasEdge predicate on the "platforms" edge.

func HasPlatformsWith

func HasPlatformsWith(preds ...predicate.Platform) predicate.Risk

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

func HasProcedures

func HasProcedures() predicate.Risk

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

func HasProceduresWith

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

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

func HasPrograms

func HasPrograms() predicate.Risk

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

func HasProgramsWith

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

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

func HasRemediations

func HasRemediations() predicate.Risk

HasRemediations applies the HasEdge predicate on the "remediations" edge.

func HasRemediationsWith

func HasRemediationsWith(preds ...predicate.Remediation) predicate.Risk

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

func HasReviews

func HasReviews() predicate.Risk

HasReviews applies the HasEdge predicate on the "reviews" edge.

func HasReviewsWith

func HasReviewsWith(preds ...predicate.Review) predicate.Risk

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

func HasRiskCategory

func HasRiskCategory() predicate.Risk

HasRiskCategory applies the HasEdge predicate on the "risk_category" edge.

func HasRiskCategoryWith

func HasRiskCategoryWith(preds ...predicate.CustomTypeEnum) predicate.Risk

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

func HasRiskKind

func HasRiskKind() predicate.Risk

HasRiskKind applies the HasEdge predicate on the "risk_kind" edge.

func HasRiskKindWith

func HasRiskKindWith(preds ...predicate.CustomTypeEnum) predicate.Risk

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

func HasScans

func HasScans() predicate.Risk

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

func HasScansWith

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

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

func HasScope

func HasScope() predicate.Risk

HasScope applies the HasEdge predicate on the "scope" edge.

func HasScopeWith

func HasScopeWith(preds ...predicate.CustomTypeEnum) predicate.Risk

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

func HasStakeholder

func HasStakeholder() predicate.Risk

HasStakeholder applies the HasEdge predicate on the "stakeholder" edge.

func HasStakeholderGroup

func HasStakeholderGroup() predicate.Risk

HasStakeholderGroup applies the HasEdge predicate on the "stakeholder_group" edge.

func HasStakeholderGroupWith

func HasStakeholderGroupWith(preds ...predicate.Group) predicate.Risk

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

func HasStakeholderIdentityHolder

func HasStakeholderIdentityHolder() predicate.Risk

HasStakeholderIdentityHolder applies the HasEdge predicate on the "stakeholder_identity_holder" edge.

func HasStakeholderIdentityHolderWith

func HasStakeholderIdentityHolderWith(preds ...predicate.IdentityHolder) predicate.Risk

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

func HasStakeholderUser

func HasStakeholderUser() predicate.Risk

HasStakeholderUser applies the HasEdge predicate on the "stakeholder_user" edge.

func HasStakeholderUserWith

func HasStakeholderUserWith(preds ...predicate.User) predicate.Risk

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

func HasStakeholderWith

func HasStakeholderWith(preds ...predicate.Group) predicate.Risk

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

func HasSubcontrols

func HasSubcontrols() predicate.Risk

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

func HasSubcontrolsWith

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

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

func HasTasks

func HasTasks() predicate.Risk

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

func HasTasksWith

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

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

func HasViewers

func HasViewers() predicate.Risk

HasViewers applies the HasEdge predicate on the "viewers" edge.

func HasViewersWith

func HasViewersWith(preds ...predicate.Group) predicate.Risk

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

func HasVulnerabilities

func HasVulnerabilities() predicate.Risk

HasVulnerabilities applies the HasEdge predicate on the "vulnerabilities" edge.

func HasVulnerabilitiesWith

func HasVulnerabilitiesWith(preds ...predicate.Vulnerability) predicate.Risk

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

func HasWorkflowObjectRefs

func HasWorkflowObjectRefs() predicate.Risk

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

func HasWorkflowObjectRefsWith

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

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

func ID

func ID(id string) predicate.Risk

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Risk

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Risk

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Risk

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Risk

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Risk

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Risk

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Risk

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Risk

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func ImpactEQ

func ImpactEQ(v enums.RiskImpact) predicate.Risk

ImpactEQ applies the EQ predicate on the "impact" field.

func ImpactIn

func ImpactIn(vs ...enums.RiskImpact) predicate.Risk

ImpactIn applies the In predicate on the "impact" field.

func ImpactIsNil

func ImpactIsNil() predicate.Risk

ImpactIsNil applies the IsNil predicate on the "impact" field.

func ImpactNEQ

func ImpactNEQ(v enums.RiskImpact) predicate.Risk

ImpactNEQ applies the NEQ predicate on the "impact" field.

func ImpactNotIn

func ImpactNotIn(vs ...enums.RiskImpact) predicate.Risk

ImpactNotIn applies the NotIn predicate on the "impact" field.

func ImpactNotNil

func ImpactNotNil() predicate.Risk

ImpactNotNil applies the NotNil predicate on the "impact" field.

func ImpactValidator

func ImpactValidator(i enums.RiskImpact) error

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

func IntegrationID

func IntegrationID(v string) predicate.Risk

IntegrationID applies equality check predicate on the "integration_id" field. It's identical to IntegrationIDEQ.

func IntegrationIDContains

func IntegrationIDContains(v string) predicate.Risk

IntegrationIDContains applies the Contains predicate on the "integration_id" field.

func IntegrationIDContainsFold

func IntegrationIDContainsFold(v string) predicate.Risk

IntegrationIDContainsFold applies the ContainsFold predicate on the "integration_id" field.

func IntegrationIDEQ

func IntegrationIDEQ(v string) predicate.Risk

IntegrationIDEQ applies the EQ predicate on the "integration_id" field.

func IntegrationIDEqualFold

func IntegrationIDEqualFold(v string) predicate.Risk

IntegrationIDEqualFold applies the EqualFold predicate on the "integration_id" field.

func IntegrationIDGT

func IntegrationIDGT(v string) predicate.Risk

IntegrationIDGT applies the GT predicate on the "integration_id" field.

func IntegrationIDGTE

func IntegrationIDGTE(v string) predicate.Risk

IntegrationIDGTE applies the GTE predicate on the "integration_id" field.

func IntegrationIDHasPrefix

func IntegrationIDHasPrefix(v string) predicate.Risk

IntegrationIDHasPrefix applies the HasPrefix predicate on the "integration_id" field.

func IntegrationIDHasSuffix

func IntegrationIDHasSuffix(v string) predicate.Risk

IntegrationIDHasSuffix applies the HasSuffix predicate on the "integration_id" field.

func IntegrationIDIn

func IntegrationIDIn(vs ...string) predicate.Risk

IntegrationIDIn applies the In predicate on the "integration_id" field.

func IntegrationIDIsNil

func IntegrationIDIsNil() predicate.Risk

IntegrationIDIsNil applies the IsNil predicate on the "integration_id" field.

func IntegrationIDLT

func IntegrationIDLT(v string) predicate.Risk

IntegrationIDLT applies the LT predicate on the "integration_id" field.

func IntegrationIDLTE

func IntegrationIDLTE(v string) predicate.Risk

IntegrationIDLTE applies the LTE predicate on the "integration_id" field.

func IntegrationIDNEQ

func IntegrationIDNEQ(v string) predicate.Risk

IntegrationIDNEQ applies the NEQ predicate on the "integration_id" field.

func IntegrationIDNotIn

func IntegrationIDNotIn(vs ...string) predicate.Risk

IntegrationIDNotIn applies the NotIn predicate on the "integration_id" field.

func IntegrationIDNotNil

func IntegrationIDNotNil() predicate.Risk

IntegrationIDNotNil applies the NotNil predicate on the "integration_id" field.

func IntegrationRunID

func IntegrationRunID(v string) predicate.Risk

IntegrationRunID applies equality check predicate on the "integration_run_id" field. It's identical to IntegrationRunIDEQ.

func IntegrationRunIDContains

func IntegrationRunIDContains(v string) predicate.Risk

IntegrationRunIDContains applies the Contains predicate on the "integration_run_id" field.

func IntegrationRunIDContainsFold

func IntegrationRunIDContainsFold(v string) predicate.Risk

IntegrationRunIDContainsFold applies the ContainsFold predicate on the "integration_run_id" field.

func IntegrationRunIDEQ

func IntegrationRunIDEQ(v string) predicate.Risk

IntegrationRunIDEQ applies the EQ predicate on the "integration_run_id" field.

func IntegrationRunIDEqualFold

func IntegrationRunIDEqualFold(v string) predicate.Risk

IntegrationRunIDEqualFold applies the EqualFold predicate on the "integration_run_id" field.

func IntegrationRunIDGT

func IntegrationRunIDGT(v string) predicate.Risk

IntegrationRunIDGT applies the GT predicate on the "integration_run_id" field.

func IntegrationRunIDGTE

func IntegrationRunIDGTE(v string) predicate.Risk

IntegrationRunIDGTE applies the GTE predicate on the "integration_run_id" field.

func IntegrationRunIDHasPrefix

func IntegrationRunIDHasPrefix(v string) predicate.Risk

IntegrationRunIDHasPrefix applies the HasPrefix predicate on the "integration_run_id" field.

func IntegrationRunIDHasSuffix

func IntegrationRunIDHasSuffix(v string) predicate.Risk

IntegrationRunIDHasSuffix applies the HasSuffix predicate on the "integration_run_id" field.

func IntegrationRunIDIn

func IntegrationRunIDIn(vs ...string) predicate.Risk

IntegrationRunIDIn applies the In predicate on the "integration_run_id" field.

func IntegrationRunIDIsNil

func IntegrationRunIDIsNil() predicate.Risk

IntegrationRunIDIsNil applies the IsNil predicate on the "integration_run_id" field.

func IntegrationRunIDLT

func IntegrationRunIDLT(v string) predicate.Risk

IntegrationRunIDLT applies the LT predicate on the "integration_run_id" field.

func IntegrationRunIDLTE

func IntegrationRunIDLTE(v string) predicate.Risk

IntegrationRunIDLTE applies the LTE predicate on the "integration_run_id" field.

func IntegrationRunIDNEQ

func IntegrationRunIDNEQ(v string) predicate.Risk

IntegrationRunIDNEQ applies the NEQ predicate on the "integration_run_id" field.

func IntegrationRunIDNotIn

func IntegrationRunIDNotIn(vs ...string) predicate.Risk

IntegrationRunIDNotIn applies the NotIn predicate on the "integration_run_id" field.

func IntegrationRunIDNotNil

func IntegrationRunIDNotNil() predicate.Risk

IntegrationRunIDNotNil applies the NotNil predicate on the "integration_run_id" field.

func LastReviewedAt

func LastReviewedAt(v models.DateTime) predicate.Risk

LastReviewedAt applies equality check predicate on the "last_reviewed_at" field. It's identical to LastReviewedAtEQ.

func LastReviewedAtEQ

func LastReviewedAtEQ(v models.DateTime) predicate.Risk

LastReviewedAtEQ applies the EQ predicate on the "last_reviewed_at" field.

func LastReviewedAtGT

func LastReviewedAtGT(v models.DateTime) predicate.Risk

LastReviewedAtGT applies the GT predicate on the "last_reviewed_at" field.

func LastReviewedAtGTE

func LastReviewedAtGTE(v models.DateTime) predicate.Risk

LastReviewedAtGTE applies the GTE predicate on the "last_reviewed_at" field.

func LastReviewedAtIn

func LastReviewedAtIn(vs ...models.DateTime) predicate.Risk

LastReviewedAtIn applies the In predicate on the "last_reviewed_at" field.

func LastReviewedAtIsNil

func LastReviewedAtIsNil() predicate.Risk

LastReviewedAtIsNil applies the IsNil predicate on the "last_reviewed_at" field.

func LastReviewedAtLT

func LastReviewedAtLT(v models.DateTime) predicate.Risk

LastReviewedAtLT applies the LT predicate on the "last_reviewed_at" field.

func LastReviewedAtLTE

func LastReviewedAtLTE(v models.DateTime) predicate.Risk

LastReviewedAtLTE applies the LTE predicate on the "last_reviewed_at" field.

func LastReviewedAtNEQ

func LastReviewedAtNEQ(v models.DateTime) predicate.Risk

LastReviewedAtNEQ applies the NEQ predicate on the "last_reviewed_at" field.

func LastReviewedAtNotIn

func LastReviewedAtNotIn(vs ...models.DateTime) predicate.Risk

LastReviewedAtNotIn applies the NotIn predicate on the "last_reviewed_at" field.

func LastReviewedAtNotNil

func LastReviewedAtNotNil() predicate.Risk

LastReviewedAtNotNil applies the NotNil predicate on the "last_reviewed_at" field.

func LikelihoodEQ

func LikelihoodEQ(v enums.RiskLikelihood) predicate.Risk

LikelihoodEQ applies the EQ predicate on the "likelihood" field.

func LikelihoodIn

func LikelihoodIn(vs ...enums.RiskLikelihood) predicate.Risk

LikelihoodIn applies the In predicate on the "likelihood" field.

func LikelihoodIsNil

func LikelihoodIsNil() predicate.Risk

LikelihoodIsNil applies the IsNil predicate on the "likelihood" field.

func LikelihoodNEQ

func LikelihoodNEQ(v enums.RiskLikelihood) predicate.Risk

LikelihoodNEQ applies the NEQ predicate on the "likelihood" field.

func LikelihoodNotIn

func LikelihoodNotIn(vs ...enums.RiskLikelihood) predicate.Risk

LikelihoodNotIn applies the NotIn predicate on the "likelihood" field.

func LikelihoodNotNil

func LikelihoodNotNil() predicate.Risk

LikelihoodNotNil applies the NotNil predicate on the "likelihood" field.

func LikelihoodValidator

func LikelihoodValidator(l enums.RiskLikelihood) error

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

func ManagedBy

func ManagedBy(v string) predicate.Risk

ManagedBy applies equality check predicate on the "managed_by" field. It's identical to ManagedByEQ.

func ManagedByContains

func ManagedByContains(v string) predicate.Risk

ManagedByContains applies the Contains predicate on the "managed_by" field.

func ManagedByContainsFold

func ManagedByContainsFold(v string) predicate.Risk

ManagedByContainsFold applies the ContainsFold predicate on the "managed_by" field.

func ManagedByEQ

func ManagedByEQ(v string) predicate.Risk

ManagedByEQ applies the EQ predicate on the "managed_by" field.

func ManagedByEqualFold

func ManagedByEqualFold(v string) predicate.Risk

ManagedByEqualFold applies the EqualFold predicate on the "managed_by" field.

func ManagedByGT

func ManagedByGT(v string) predicate.Risk

ManagedByGT applies the GT predicate on the "managed_by" field.

func ManagedByGTE

func ManagedByGTE(v string) predicate.Risk

ManagedByGTE applies the GTE predicate on the "managed_by" field.

func ManagedByHasPrefix

func ManagedByHasPrefix(v string) predicate.Risk

ManagedByHasPrefix applies the HasPrefix predicate on the "managed_by" field.

func ManagedByHasSuffix

func ManagedByHasSuffix(v string) predicate.Risk

ManagedByHasSuffix applies the HasSuffix predicate on the "managed_by" field.

func ManagedByIn

func ManagedByIn(vs ...string) predicate.Risk

ManagedByIn applies the In predicate on the "managed_by" field.

func ManagedByIsNil

func ManagedByIsNil() predicate.Risk

ManagedByIsNil applies the IsNil predicate on the "managed_by" field.

func ManagedByLT

func ManagedByLT(v string) predicate.Risk

ManagedByLT applies the LT predicate on the "managed_by" field.

func ManagedByLTE

func ManagedByLTE(v string) predicate.Risk

ManagedByLTE applies the LTE predicate on the "managed_by" field.

func ManagedByNEQ

func ManagedByNEQ(v string) predicate.Risk

ManagedByNEQ applies the NEQ predicate on the "managed_by" field.

func ManagedByNotIn

func ManagedByNotIn(vs ...string) predicate.Risk

ManagedByNotIn applies the NotIn predicate on the "managed_by" field.

func ManagedByNotNil

func ManagedByNotNil() predicate.Risk

ManagedByNotNil applies the NotNil predicate on the "managed_by" field.

func MitigatedAt

func MitigatedAt(v models.DateTime) predicate.Risk

MitigatedAt applies equality check predicate on the "mitigated_at" field. It's identical to MitigatedAtEQ.

func MitigatedAtEQ

func MitigatedAtEQ(v models.DateTime) predicate.Risk

MitigatedAtEQ applies the EQ predicate on the "mitigated_at" field.

func MitigatedAtGT

func MitigatedAtGT(v models.DateTime) predicate.Risk

MitigatedAtGT applies the GT predicate on the "mitigated_at" field.

func MitigatedAtGTE

func MitigatedAtGTE(v models.DateTime) predicate.Risk

MitigatedAtGTE applies the GTE predicate on the "mitigated_at" field.

func MitigatedAtIn

func MitigatedAtIn(vs ...models.DateTime) predicate.Risk

MitigatedAtIn applies the In predicate on the "mitigated_at" field.

func MitigatedAtIsNil

func MitigatedAtIsNil() predicate.Risk

MitigatedAtIsNil applies the IsNil predicate on the "mitigated_at" field.

func MitigatedAtLT

func MitigatedAtLT(v models.DateTime) predicate.Risk

MitigatedAtLT applies the LT predicate on the "mitigated_at" field.

func MitigatedAtLTE

func MitigatedAtLTE(v models.DateTime) predicate.Risk

MitigatedAtLTE applies the LTE predicate on the "mitigated_at" field.

func MitigatedAtNEQ

func MitigatedAtNEQ(v models.DateTime) predicate.Risk

MitigatedAtNEQ applies the NEQ predicate on the "mitigated_at" field.

func MitigatedAtNotIn

func MitigatedAtNotIn(vs ...models.DateTime) predicate.Risk

MitigatedAtNotIn applies the NotIn predicate on the "mitigated_at" field.

func MitigatedAtNotNil

func MitigatedAtNotNil() predicate.Risk

MitigatedAtNotNil applies the NotNil predicate on the "mitigated_at" field.

func Mitigation

func Mitigation(v string) predicate.Risk

Mitigation applies equality check predicate on the "mitigation" field. It's identical to MitigationEQ.

func MitigationContains

func MitigationContains(v string) predicate.Risk

MitigationContains applies the Contains predicate on the "mitigation" field.

func MitigationContainsFold

func MitigationContainsFold(v string) predicate.Risk

MitigationContainsFold applies the ContainsFold predicate on the "mitigation" field.

func MitigationEQ

func MitigationEQ(v string) predicate.Risk

MitigationEQ applies the EQ predicate on the "mitigation" field.

func MitigationEqualFold

func MitigationEqualFold(v string) predicate.Risk

MitigationEqualFold applies the EqualFold predicate on the "mitigation" field.

func MitigationGT

func MitigationGT(v string) predicate.Risk

MitigationGT applies the GT predicate on the "mitigation" field.

func MitigationGTE

func MitigationGTE(v string) predicate.Risk

MitigationGTE applies the GTE predicate on the "mitigation" field.

func MitigationHasPrefix

func MitigationHasPrefix(v string) predicate.Risk

MitigationHasPrefix applies the HasPrefix predicate on the "mitigation" field.

func MitigationHasSuffix

func MitigationHasSuffix(v string) predicate.Risk

MitigationHasSuffix applies the HasSuffix predicate on the "mitigation" field.

func MitigationIn

func MitigationIn(vs ...string) predicate.Risk

MitigationIn applies the In predicate on the "mitigation" field.

func MitigationIsNil

func MitigationIsNil() predicate.Risk

MitigationIsNil applies the IsNil predicate on the "mitigation" field.

func MitigationJSONIsNil

func MitigationJSONIsNil() predicate.Risk

MitigationJSONIsNil applies the IsNil predicate on the "mitigation_json" field.

func MitigationJSONNotNil

func MitigationJSONNotNil() predicate.Risk

MitigationJSONNotNil applies the NotNil predicate on the "mitigation_json" field.

func MitigationLT

func MitigationLT(v string) predicate.Risk

MitigationLT applies the LT predicate on the "mitigation" field.

func MitigationLTE

func MitigationLTE(v string) predicate.Risk

MitigationLTE applies the LTE predicate on the "mitigation" field.

func MitigationNEQ

func MitigationNEQ(v string) predicate.Risk

MitigationNEQ applies the NEQ predicate on the "mitigation" field.

func MitigationNotIn

func MitigationNotIn(vs ...string) predicate.Risk

MitigationNotIn applies the NotIn predicate on the "mitigation" field.

func MitigationNotNil

func MitigationNotNil() predicate.Risk

MitigationNotNil applies the NotNil predicate on the "mitigation" field.

func Name

func Name(v string) predicate.Risk

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Risk

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Risk

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Risk

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Risk

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Risk

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Risk

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Risk

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Risk

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Risk

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Risk

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Risk

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Risk

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Risk

NameNotIn applies the NotIn predicate on the "name" field.

func NextReviewDueAt

func NextReviewDueAt(v models.DateTime) predicate.Risk

NextReviewDueAt applies equality check predicate on the "next_review_due_at" field. It's identical to NextReviewDueAtEQ.

func NextReviewDueAtEQ

func NextReviewDueAtEQ(v models.DateTime) predicate.Risk

NextReviewDueAtEQ applies the EQ predicate on the "next_review_due_at" field.

func NextReviewDueAtGT

func NextReviewDueAtGT(v models.DateTime) predicate.Risk

NextReviewDueAtGT applies the GT predicate on the "next_review_due_at" field.

func NextReviewDueAtGTE

func NextReviewDueAtGTE(v models.DateTime) predicate.Risk

NextReviewDueAtGTE applies the GTE predicate on the "next_review_due_at" field.

func NextReviewDueAtIn

func NextReviewDueAtIn(vs ...models.DateTime) predicate.Risk

NextReviewDueAtIn applies the In predicate on the "next_review_due_at" field.

func NextReviewDueAtIsNil

func NextReviewDueAtIsNil() predicate.Risk

NextReviewDueAtIsNil applies the IsNil predicate on the "next_review_due_at" field.

func NextReviewDueAtLT

func NextReviewDueAtLT(v models.DateTime) predicate.Risk

NextReviewDueAtLT applies the LT predicate on the "next_review_due_at" field.

func NextReviewDueAtLTE

func NextReviewDueAtLTE(v models.DateTime) predicate.Risk

NextReviewDueAtLTE applies the LTE predicate on the "next_review_due_at" field.

func NextReviewDueAtNEQ

func NextReviewDueAtNEQ(v models.DateTime) predicate.Risk

NextReviewDueAtNEQ applies the NEQ predicate on the "next_review_due_at" field.

func NextReviewDueAtNotIn

func NextReviewDueAtNotIn(vs ...models.DateTime) predicate.Risk

NextReviewDueAtNotIn applies the NotIn predicate on the "next_review_due_at" field.

func NextReviewDueAtNotNil

func NextReviewDueAtNotNil() predicate.Risk

NextReviewDueAtNotNil applies the NotNil predicate on the "next_review_due_at" field.

func Not

Not applies the not operator on the given predicate.

func ObservedAt

func ObservedAt(v models.DateTime) predicate.Risk

ObservedAt applies equality check predicate on the "observed_at" field. It's identical to ObservedAtEQ.

func ObservedAtEQ

func ObservedAtEQ(v models.DateTime) predicate.Risk

ObservedAtEQ applies the EQ predicate on the "observed_at" field.

func ObservedAtGT

func ObservedAtGT(v models.DateTime) predicate.Risk

ObservedAtGT applies the GT predicate on the "observed_at" field.

func ObservedAtGTE

func ObservedAtGTE(v models.DateTime) predicate.Risk

ObservedAtGTE applies the GTE predicate on the "observed_at" field.

func ObservedAtIn

func ObservedAtIn(vs ...models.DateTime) predicate.Risk

ObservedAtIn applies the In predicate on the "observed_at" field.

func ObservedAtIsNil

func ObservedAtIsNil() predicate.Risk

ObservedAtIsNil applies the IsNil predicate on the "observed_at" field.

func ObservedAtLT

func ObservedAtLT(v models.DateTime) predicate.Risk

ObservedAtLT applies the LT predicate on the "observed_at" field.

func ObservedAtLTE

func ObservedAtLTE(v models.DateTime) predicate.Risk

ObservedAtLTE applies the LTE predicate on the "observed_at" field.

func ObservedAtNEQ

func ObservedAtNEQ(v models.DateTime) predicate.Risk

ObservedAtNEQ applies the NEQ predicate on the "observed_at" field.

func ObservedAtNotIn

func ObservedAtNotIn(vs ...models.DateTime) predicate.Risk

ObservedAtNotIn applies the NotIn predicate on the "observed_at" field.

func ObservedAtNotNil

func ObservedAtNotNil() predicate.Risk

ObservedAtNotNil applies the NotNil predicate on the "observed_at" field.

func Or

func Or(predicates ...predicate.Risk) predicate.Risk

Or groups predicates with the OR operator between them.

func OwnerID

func OwnerID(v string) predicate.Risk

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

func OwnerIDContains

func OwnerIDContains(v string) predicate.Risk

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

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.Risk

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

func OwnerIDEQ

func OwnerIDEQ(v string) predicate.Risk

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

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.Risk

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

func OwnerIDGT

func OwnerIDGT(v string) predicate.Risk

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

func OwnerIDGTE

func OwnerIDGTE(v string) predicate.Risk

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

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.Risk

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

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.Risk

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

func OwnerIDIn

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

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

func OwnerIDIsNil

func OwnerIDIsNil() predicate.Risk

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

func OwnerIDLT

func OwnerIDLT(v string) predicate.Risk

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

func OwnerIDLTE

func OwnerIDLTE(v string) predicate.Risk

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

func OwnerIDNEQ

func OwnerIDNEQ(v string) predicate.Risk

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

func OwnerIDNotIn

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

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

func OwnerIDNotNil

func OwnerIDNotNil() predicate.Risk

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

func ResidualScore

func ResidualScore(v int) predicate.Risk

ResidualScore applies equality check predicate on the "residual_score" field. It's identical to ResidualScoreEQ.

func ResidualScoreEQ

func ResidualScoreEQ(v int) predicate.Risk

ResidualScoreEQ applies the EQ predicate on the "residual_score" field.

func ResidualScoreGT

func ResidualScoreGT(v int) predicate.Risk

ResidualScoreGT applies the GT predicate on the "residual_score" field.

func ResidualScoreGTE

func ResidualScoreGTE(v int) predicate.Risk

ResidualScoreGTE applies the GTE predicate on the "residual_score" field.

func ResidualScoreIn

func ResidualScoreIn(vs ...int) predicate.Risk

ResidualScoreIn applies the In predicate on the "residual_score" field.

func ResidualScoreIsNil

func ResidualScoreIsNil() predicate.Risk

ResidualScoreIsNil applies the IsNil predicate on the "residual_score" field.

func ResidualScoreLT

func ResidualScoreLT(v int) predicate.Risk

ResidualScoreLT applies the LT predicate on the "residual_score" field.

func ResidualScoreLTE

func ResidualScoreLTE(v int) predicate.Risk

ResidualScoreLTE applies the LTE predicate on the "residual_score" field.

func ResidualScoreNEQ

func ResidualScoreNEQ(v int) predicate.Risk

ResidualScoreNEQ applies the NEQ predicate on the "residual_score" field.

func ResidualScoreNotIn

func ResidualScoreNotIn(vs ...int) predicate.Risk

ResidualScoreNotIn applies the NotIn predicate on the "residual_score" field.

func ResidualScoreNotNil

func ResidualScoreNotNil() predicate.Risk

ResidualScoreNotNil applies the NotNil predicate on the "residual_score" field.

func ReviewFrequencyEQ

func ReviewFrequencyEQ(v enums.Frequency) predicate.Risk

ReviewFrequencyEQ applies the EQ predicate on the "review_frequency" field.

func ReviewFrequencyIn

func ReviewFrequencyIn(vs ...enums.Frequency) predicate.Risk

ReviewFrequencyIn applies the In predicate on the "review_frequency" field.

func ReviewFrequencyIsNil

func ReviewFrequencyIsNil() predicate.Risk

ReviewFrequencyIsNil applies the IsNil predicate on the "review_frequency" field.

func ReviewFrequencyNEQ

func ReviewFrequencyNEQ(v enums.Frequency) predicate.Risk

ReviewFrequencyNEQ applies the NEQ predicate on the "review_frequency" field.

func ReviewFrequencyNotIn

func ReviewFrequencyNotIn(vs ...enums.Frequency) predicate.Risk

ReviewFrequencyNotIn applies the NotIn predicate on the "review_frequency" field.

func ReviewFrequencyNotNil

func ReviewFrequencyNotNil() predicate.Risk

ReviewFrequencyNotNil applies the NotNil predicate on the "review_frequency" field.

func ReviewFrequencyValidator

func ReviewFrequencyValidator(rf enums.Frequency) error

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

func ReviewRequired

func ReviewRequired(v bool) predicate.Risk

ReviewRequired applies equality check predicate on the "review_required" field. It's identical to ReviewRequiredEQ.

func ReviewRequiredEQ

func ReviewRequiredEQ(v bool) predicate.Risk

ReviewRequiredEQ applies the EQ predicate on the "review_required" field.

func ReviewRequiredIsNil

func ReviewRequiredIsNil() predicate.Risk

ReviewRequiredIsNil applies the IsNil predicate on the "review_required" field.

func ReviewRequiredNEQ

func ReviewRequiredNEQ(v bool) predicate.Risk

ReviewRequiredNEQ applies the NEQ predicate on the "review_required" field.

func ReviewRequiredNotNil

func ReviewRequiredNotNil() predicate.Risk

ReviewRequiredNotNil applies the NotNil predicate on the "review_required" field.

func RiskCategoryID

func RiskCategoryID(v string) predicate.Risk

RiskCategoryID applies equality check predicate on the "risk_category_id" field. It's identical to RiskCategoryIDEQ.

func RiskCategoryIDContains

func RiskCategoryIDContains(v string) predicate.Risk

RiskCategoryIDContains applies the Contains predicate on the "risk_category_id" field.

func RiskCategoryIDContainsFold

func RiskCategoryIDContainsFold(v string) predicate.Risk

RiskCategoryIDContainsFold applies the ContainsFold predicate on the "risk_category_id" field.

func RiskCategoryIDEQ

func RiskCategoryIDEQ(v string) predicate.Risk

RiskCategoryIDEQ applies the EQ predicate on the "risk_category_id" field.

func RiskCategoryIDEqualFold

func RiskCategoryIDEqualFold(v string) predicate.Risk

RiskCategoryIDEqualFold applies the EqualFold predicate on the "risk_category_id" field.

func RiskCategoryIDGT

func RiskCategoryIDGT(v string) predicate.Risk

RiskCategoryIDGT applies the GT predicate on the "risk_category_id" field.

func RiskCategoryIDGTE

func RiskCategoryIDGTE(v string) predicate.Risk

RiskCategoryIDGTE applies the GTE predicate on the "risk_category_id" field.

func RiskCategoryIDHasPrefix

func RiskCategoryIDHasPrefix(v string) predicate.Risk

RiskCategoryIDHasPrefix applies the HasPrefix predicate on the "risk_category_id" field.

func RiskCategoryIDHasSuffix

func RiskCategoryIDHasSuffix(v string) predicate.Risk

RiskCategoryIDHasSuffix applies the HasSuffix predicate on the "risk_category_id" field.

func RiskCategoryIDIn

func RiskCategoryIDIn(vs ...string) predicate.Risk

RiskCategoryIDIn applies the In predicate on the "risk_category_id" field.

func RiskCategoryIDIsNil

func RiskCategoryIDIsNil() predicate.Risk

RiskCategoryIDIsNil applies the IsNil predicate on the "risk_category_id" field.

func RiskCategoryIDLT

func RiskCategoryIDLT(v string) predicate.Risk

RiskCategoryIDLT applies the LT predicate on the "risk_category_id" field.

func RiskCategoryIDLTE

func RiskCategoryIDLTE(v string) predicate.Risk

RiskCategoryIDLTE applies the LTE predicate on the "risk_category_id" field.

func RiskCategoryIDNEQ

func RiskCategoryIDNEQ(v string) predicate.Risk

RiskCategoryIDNEQ applies the NEQ predicate on the "risk_category_id" field.

func RiskCategoryIDNotIn

func RiskCategoryIDNotIn(vs ...string) predicate.Risk

RiskCategoryIDNotIn applies the NotIn predicate on the "risk_category_id" field.

func RiskCategoryIDNotNil

func RiskCategoryIDNotNil() predicate.Risk

RiskCategoryIDNotNil applies the NotNil predicate on the "risk_category_id" field.

func RiskCategoryName

func RiskCategoryName(v string) predicate.Risk

RiskCategoryName applies equality check predicate on the "risk_category_name" field. It's identical to RiskCategoryNameEQ.

func RiskCategoryNameContains

func RiskCategoryNameContains(v string) predicate.Risk

RiskCategoryNameContains applies the Contains predicate on the "risk_category_name" field.

func RiskCategoryNameContainsFold

func RiskCategoryNameContainsFold(v string) predicate.Risk

RiskCategoryNameContainsFold applies the ContainsFold predicate on the "risk_category_name" field.

func RiskCategoryNameEQ

func RiskCategoryNameEQ(v string) predicate.Risk

RiskCategoryNameEQ applies the EQ predicate on the "risk_category_name" field.

func RiskCategoryNameEqualFold

func RiskCategoryNameEqualFold(v string) predicate.Risk

RiskCategoryNameEqualFold applies the EqualFold predicate on the "risk_category_name" field.

func RiskCategoryNameGT

func RiskCategoryNameGT(v string) predicate.Risk

RiskCategoryNameGT applies the GT predicate on the "risk_category_name" field.

func RiskCategoryNameGTE

func RiskCategoryNameGTE(v string) predicate.Risk

RiskCategoryNameGTE applies the GTE predicate on the "risk_category_name" field.

func RiskCategoryNameHasPrefix

func RiskCategoryNameHasPrefix(v string) predicate.Risk

RiskCategoryNameHasPrefix applies the HasPrefix predicate on the "risk_category_name" field.

func RiskCategoryNameHasSuffix

func RiskCategoryNameHasSuffix(v string) predicate.Risk

RiskCategoryNameHasSuffix applies the HasSuffix predicate on the "risk_category_name" field.

func RiskCategoryNameIn

func RiskCategoryNameIn(vs ...string) predicate.Risk

RiskCategoryNameIn applies the In predicate on the "risk_category_name" field.

func RiskCategoryNameIsNil

func RiskCategoryNameIsNil() predicate.Risk

RiskCategoryNameIsNil applies the IsNil predicate on the "risk_category_name" field.

func RiskCategoryNameLT

func RiskCategoryNameLT(v string) predicate.Risk

RiskCategoryNameLT applies the LT predicate on the "risk_category_name" field.

func RiskCategoryNameLTE

func RiskCategoryNameLTE(v string) predicate.Risk

RiskCategoryNameLTE applies the LTE predicate on the "risk_category_name" field.

func RiskCategoryNameNEQ

func RiskCategoryNameNEQ(v string) predicate.Risk

RiskCategoryNameNEQ applies the NEQ predicate on the "risk_category_name" field.

func RiskCategoryNameNotIn

func RiskCategoryNameNotIn(vs ...string) predicate.Risk

RiskCategoryNameNotIn applies the NotIn predicate on the "risk_category_name" field.

func RiskCategoryNameNotNil

func RiskCategoryNameNotNil() predicate.Risk

RiskCategoryNameNotNil applies the NotNil predicate on the "risk_category_name" field.

func RiskDecisionEQ

func RiskDecisionEQ(v enums.RiskDecision) predicate.Risk

RiskDecisionEQ applies the EQ predicate on the "risk_decision" field.

func RiskDecisionIn

func RiskDecisionIn(vs ...enums.RiskDecision) predicate.Risk

RiskDecisionIn applies the In predicate on the "risk_decision" field.

func RiskDecisionIsNil

func RiskDecisionIsNil() predicate.Risk

RiskDecisionIsNil applies the IsNil predicate on the "risk_decision" field.

func RiskDecisionNEQ

func RiskDecisionNEQ(v enums.RiskDecision) predicate.Risk

RiskDecisionNEQ applies the NEQ predicate on the "risk_decision" field.

func RiskDecisionNotIn

func RiskDecisionNotIn(vs ...enums.RiskDecision) predicate.Risk

RiskDecisionNotIn applies the NotIn predicate on the "risk_decision" field.

func RiskDecisionNotNil

func RiskDecisionNotNil() predicate.Risk

RiskDecisionNotNil applies the NotNil predicate on the "risk_decision" field.

func RiskDecisionValidator

func RiskDecisionValidator(rd enums.RiskDecision) error

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

func RiskKindID

func RiskKindID(v string) predicate.Risk

RiskKindID applies equality check predicate on the "risk_kind_id" field. It's identical to RiskKindIDEQ.

func RiskKindIDContains

func RiskKindIDContains(v string) predicate.Risk

RiskKindIDContains applies the Contains predicate on the "risk_kind_id" field.

func RiskKindIDContainsFold

func RiskKindIDContainsFold(v string) predicate.Risk

RiskKindIDContainsFold applies the ContainsFold predicate on the "risk_kind_id" field.

func RiskKindIDEQ

func RiskKindIDEQ(v string) predicate.Risk

RiskKindIDEQ applies the EQ predicate on the "risk_kind_id" field.

func RiskKindIDEqualFold

func RiskKindIDEqualFold(v string) predicate.Risk

RiskKindIDEqualFold applies the EqualFold predicate on the "risk_kind_id" field.

func RiskKindIDGT

func RiskKindIDGT(v string) predicate.Risk

RiskKindIDGT applies the GT predicate on the "risk_kind_id" field.

func RiskKindIDGTE

func RiskKindIDGTE(v string) predicate.Risk

RiskKindIDGTE applies the GTE predicate on the "risk_kind_id" field.

func RiskKindIDHasPrefix

func RiskKindIDHasPrefix(v string) predicate.Risk

RiskKindIDHasPrefix applies the HasPrefix predicate on the "risk_kind_id" field.

func RiskKindIDHasSuffix

func RiskKindIDHasSuffix(v string) predicate.Risk

RiskKindIDHasSuffix applies the HasSuffix predicate on the "risk_kind_id" field.

func RiskKindIDIn

func RiskKindIDIn(vs ...string) predicate.Risk

RiskKindIDIn applies the In predicate on the "risk_kind_id" field.

func RiskKindIDIsNil

func RiskKindIDIsNil() predicate.Risk

RiskKindIDIsNil applies the IsNil predicate on the "risk_kind_id" field.

func RiskKindIDLT

func RiskKindIDLT(v string) predicate.Risk

RiskKindIDLT applies the LT predicate on the "risk_kind_id" field.

func RiskKindIDLTE

func RiskKindIDLTE(v string) predicate.Risk

RiskKindIDLTE applies the LTE predicate on the "risk_kind_id" field.

func RiskKindIDNEQ

func RiskKindIDNEQ(v string) predicate.Risk

RiskKindIDNEQ applies the NEQ predicate on the "risk_kind_id" field.

func RiskKindIDNotIn

func RiskKindIDNotIn(vs ...string) predicate.Risk

RiskKindIDNotIn applies the NotIn predicate on the "risk_kind_id" field.

func RiskKindIDNotNil

func RiskKindIDNotNil() predicate.Risk

RiskKindIDNotNil applies the NotNil predicate on the "risk_kind_id" field.

func RiskKindName

func RiskKindName(v string) predicate.Risk

RiskKindName applies equality check predicate on the "risk_kind_name" field. It's identical to RiskKindNameEQ.

func RiskKindNameContains

func RiskKindNameContains(v string) predicate.Risk

RiskKindNameContains applies the Contains predicate on the "risk_kind_name" field.

func RiskKindNameContainsFold

func RiskKindNameContainsFold(v string) predicate.Risk

RiskKindNameContainsFold applies the ContainsFold predicate on the "risk_kind_name" field.

func RiskKindNameEQ

func RiskKindNameEQ(v string) predicate.Risk

RiskKindNameEQ applies the EQ predicate on the "risk_kind_name" field.

func RiskKindNameEqualFold

func RiskKindNameEqualFold(v string) predicate.Risk

RiskKindNameEqualFold applies the EqualFold predicate on the "risk_kind_name" field.

func RiskKindNameGT

func RiskKindNameGT(v string) predicate.Risk

RiskKindNameGT applies the GT predicate on the "risk_kind_name" field.

func RiskKindNameGTE

func RiskKindNameGTE(v string) predicate.Risk

RiskKindNameGTE applies the GTE predicate on the "risk_kind_name" field.

func RiskKindNameHasPrefix

func RiskKindNameHasPrefix(v string) predicate.Risk

RiskKindNameHasPrefix applies the HasPrefix predicate on the "risk_kind_name" field.

func RiskKindNameHasSuffix

func RiskKindNameHasSuffix(v string) predicate.Risk

RiskKindNameHasSuffix applies the HasSuffix predicate on the "risk_kind_name" field.

func RiskKindNameIn

func RiskKindNameIn(vs ...string) predicate.Risk

RiskKindNameIn applies the In predicate on the "risk_kind_name" field.

func RiskKindNameIsNil

func RiskKindNameIsNil() predicate.Risk

RiskKindNameIsNil applies the IsNil predicate on the "risk_kind_name" field.

func RiskKindNameLT

func RiskKindNameLT(v string) predicate.Risk

RiskKindNameLT applies the LT predicate on the "risk_kind_name" field.

func RiskKindNameLTE

func RiskKindNameLTE(v string) predicate.Risk

RiskKindNameLTE applies the LTE predicate on the "risk_kind_name" field.

func RiskKindNameNEQ

func RiskKindNameNEQ(v string) predicate.Risk

RiskKindNameNEQ applies the NEQ predicate on the "risk_kind_name" field.

func RiskKindNameNotIn

func RiskKindNameNotIn(vs ...string) predicate.Risk

RiskKindNameNotIn applies the NotIn predicate on the "risk_kind_name" field.

func RiskKindNameNotNil

func RiskKindNameNotNil() predicate.Risk

RiskKindNameNotNil applies the NotNil predicate on the "risk_kind_name" field.

func ScopeID

func ScopeID(v string) predicate.Risk

ScopeID applies equality check predicate on the "scope_id" field. It's identical to ScopeIDEQ.

func ScopeIDContains

func ScopeIDContains(v string) predicate.Risk

ScopeIDContains applies the Contains predicate on the "scope_id" field.

func ScopeIDContainsFold

func ScopeIDContainsFold(v string) predicate.Risk

ScopeIDContainsFold applies the ContainsFold predicate on the "scope_id" field.

func ScopeIDEQ

func ScopeIDEQ(v string) predicate.Risk

ScopeIDEQ applies the EQ predicate on the "scope_id" field.

func ScopeIDEqualFold

func ScopeIDEqualFold(v string) predicate.Risk

ScopeIDEqualFold applies the EqualFold predicate on the "scope_id" field.

func ScopeIDGT

func ScopeIDGT(v string) predicate.Risk

ScopeIDGT applies the GT predicate on the "scope_id" field.

func ScopeIDGTE

func ScopeIDGTE(v string) predicate.Risk

ScopeIDGTE applies the GTE predicate on the "scope_id" field.

func ScopeIDHasPrefix

func ScopeIDHasPrefix(v string) predicate.Risk

ScopeIDHasPrefix applies the HasPrefix predicate on the "scope_id" field.

func ScopeIDHasSuffix

func ScopeIDHasSuffix(v string) predicate.Risk

ScopeIDHasSuffix applies the HasSuffix predicate on the "scope_id" field.

func ScopeIDIn

func ScopeIDIn(vs ...string) predicate.Risk

ScopeIDIn applies the In predicate on the "scope_id" field.

func ScopeIDIsNil

func ScopeIDIsNil() predicate.Risk

ScopeIDIsNil applies the IsNil predicate on the "scope_id" field.

func ScopeIDLT

func ScopeIDLT(v string) predicate.Risk

ScopeIDLT applies the LT predicate on the "scope_id" field.

func ScopeIDLTE

func ScopeIDLTE(v string) predicate.Risk

ScopeIDLTE applies the LTE predicate on the "scope_id" field.

func ScopeIDNEQ

func ScopeIDNEQ(v string) predicate.Risk

ScopeIDNEQ applies the NEQ predicate on the "scope_id" field.

func ScopeIDNotIn

func ScopeIDNotIn(vs ...string) predicate.Risk

ScopeIDNotIn applies the NotIn predicate on the "scope_id" field.

func ScopeIDNotNil

func ScopeIDNotNil() predicate.Risk

ScopeIDNotNil applies the NotNil predicate on the "scope_id" field.

func ScopeName

func ScopeName(v string) predicate.Risk

ScopeName applies equality check predicate on the "scope_name" field. It's identical to ScopeNameEQ.

func ScopeNameContains

func ScopeNameContains(v string) predicate.Risk

ScopeNameContains applies the Contains predicate on the "scope_name" field.

func ScopeNameContainsFold

func ScopeNameContainsFold(v string) predicate.Risk

ScopeNameContainsFold applies the ContainsFold predicate on the "scope_name" field.

func ScopeNameEQ

func ScopeNameEQ(v string) predicate.Risk

ScopeNameEQ applies the EQ predicate on the "scope_name" field.

func ScopeNameEqualFold

func ScopeNameEqualFold(v string) predicate.Risk

ScopeNameEqualFold applies the EqualFold predicate on the "scope_name" field.

func ScopeNameGT

func ScopeNameGT(v string) predicate.Risk

ScopeNameGT applies the GT predicate on the "scope_name" field.

func ScopeNameGTE

func ScopeNameGTE(v string) predicate.Risk

ScopeNameGTE applies the GTE predicate on the "scope_name" field.

func ScopeNameHasPrefix

func ScopeNameHasPrefix(v string) predicate.Risk

ScopeNameHasPrefix applies the HasPrefix predicate on the "scope_name" field.

func ScopeNameHasSuffix

func ScopeNameHasSuffix(v string) predicate.Risk

ScopeNameHasSuffix applies the HasSuffix predicate on the "scope_name" field.

func ScopeNameIn

func ScopeNameIn(vs ...string) predicate.Risk

ScopeNameIn applies the In predicate on the "scope_name" field.

func ScopeNameIsNil

func ScopeNameIsNil() predicate.Risk

ScopeNameIsNil applies the IsNil predicate on the "scope_name" field.

func ScopeNameLT

func ScopeNameLT(v string) predicate.Risk

ScopeNameLT applies the LT predicate on the "scope_name" field.

func ScopeNameLTE

func ScopeNameLTE(v string) predicate.Risk

ScopeNameLTE applies the LTE predicate on the "scope_name" field.

func ScopeNameNEQ

func ScopeNameNEQ(v string) predicate.Risk

ScopeNameNEQ applies the NEQ predicate on the "scope_name" field.

func ScopeNameNotIn

func ScopeNameNotIn(vs ...string) predicate.Risk

ScopeNameNotIn applies the NotIn predicate on the "scope_name" field.

func ScopeNameNotNil

func ScopeNameNotNil() predicate.Risk

ScopeNameNotNil applies the NotNil predicate on the "scope_name" field.

func Score

func Score(v int) predicate.Risk

Score applies equality check predicate on the "score" field. It's identical to ScoreEQ.

func ScoreEQ

func ScoreEQ(v int) predicate.Risk

ScoreEQ applies the EQ predicate on the "score" field.

func ScoreGT

func ScoreGT(v int) predicate.Risk

ScoreGT applies the GT predicate on the "score" field.

func ScoreGTE

func ScoreGTE(v int) predicate.Risk

ScoreGTE applies the GTE predicate on the "score" field.

func ScoreIn

func ScoreIn(vs ...int) predicate.Risk

ScoreIn applies the In predicate on the "score" field.

func ScoreIsNil

func ScoreIsNil() predicate.Risk

ScoreIsNil applies the IsNil predicate on the "score" field.

func ScoreLT

func ScoreLT(v int) predicate.Risk

ScoreLT applies the LT predicate on the "score" field.

func ScoreLTE

func ScoreLTE(v int) predicate.Risk

ScoreLTE applies the LTE predicate on the "score" field.

func ScoreNEQ

func ScoreNEQ(v int) predicate.Risk

ScoreNEQ applies the NEQ predicate on the "score" field.

func ScoreNotIn

func ScoreNotIn(vs ...int) predicate.Risk

ScoreNotIn applies the NotIn predicate on the "score" field.

func ScoreNotNil

func ScoreNotNil() predicate.Risk

ScoreNotNil applies the NotNil predicate on the "score" field.

func SourceDefinitionID

func SourceDefinitionID(v string) predicate.Risk

SourceDefinitionID applies equality check predicate on the "source_definition_id" field. It's identical to SourceDefinitionIDEQ.

func SourceDefinitionIDContains

func SourceDefinitionIDContains(v string) predicate.Risk

SourceDefinitionIDContains applies the Contains predicate on the "source_definition_id" field.

func SourceDefinitionIDContainsFold

func SourceDefinitionIDContainsFold(v string) predicate.Risk

SourceDefinitionIDContainsFold applies the ContainsFold predicate on the "source_definition_id" field.

func SourceDefinitionIDEQ

func SourceDefinitionIDEQ(v string) predicate.Risk

SourceDefinitionIDEQ applies the EQ predicate on the "source_definition_id" field.

func SourceDefinitionIDEqualFold

func SourceDefinitionIDEqualFold(v string) predicate.Risk

SourceDefinitionIDEqualFold applies the EqualFold predicate on the "source_definition_id" field.

func SourceDefinitionIDGT

func SourceDefinitionIDGT(v string) predicate.Risk

SourceDefinitionIDGT applies the GT predicate on the "source_definition_id" field.

func SourceDefinitionIDGTE

func SourceDefinitionIDGTE(v string) predicate.Risk

SourceDefinitionIDGTE applies the GTE predicate on the "source_definition_id" field.

func SourceDefinitionIDHasPrefix

func SourceDefinitionIDHasPrefix(v string) predicate.Risk

SourceDefinitionIDHasPrefix applies the HasPrefix predicate on the "source_definition_id" field.

func SourceDefinitionIDHasSuffix

func SourceDefinitionIDHasSuffix(v string) predicate.Risk

SourceDefinitionIDHasSuffix applies the HasSuffix predicate on the "source_definition_id" field.

func SourceDefinitionIDIn

func SourceDefinitionIDIn(vs ...string) predicate.Risk

SourceDefinitionIDIn applies the In predicate on the "source_definition_id" field.

func SourceDefinitionIDIsNil

func SourceDefinitionIDIsNil() predicate.Risk

SourceDefinitionIDIsNil applies the IsNil predicate on the "source_definition_id" field.

func SourceDefinitionIDLT

func SourceDefinitionIDLT(v string) predicate.Risk

SourceDefinitionIDLT applies the LT predicate on the "source_definition_id" field.

func SourceDefinitionIDLTE

func SourceDefinitionIDLTE(v string) predicate.Risk

SourceDefinitionIDLTE applies the LTE predicate on the "source_definition_id" field.

func SourceDefinitionIDNEQ

func SourceDefinitionIDNEQ(v string) predicate.Risk

SourceDefinitionIDNEQ applies the NEQ predicate on the "source_definition_id" field.

func SourceDefinitionIDNotIn

func SourceDefinitionIDNotIn(vs ...string) predicate.Risk

SourceDefinitionIDNotIn applies the NotIn predicate on the "source_definition_id" field.

func SourceDefinitionIDNotNil

func SourceDefinitionIDNotNil() predicate.Risk

SourceDefinitionIDNotNil applies the NotNil predicate on the "source_definition_id" field.

func SourceDefinitionVersion

func SourceDefinitionVersion(v string) predicate.Risk

SourceDefinitionVersion applies equality check predicate on the "source_definition_version" field. It's identical to SourceDefinitionVersionEQ.

func SourceDefinitionVersionContains

func SourceDefinitionVersionContains(v string) predicate.Risk

SourceDefinitionVersionContains applies the Contains predicate on the "source_definition_version" field.

func SourceDefinitionVersionContainsFold

func SourceDefinitionVersionContainsFold(v string) predicate.Risk

SourceDefinitionVersionContainsFold applies the ContainsFold predicate on the "source_definition_version" field.

func SourceDefinitionVersionEQ

func SourceDefinitionVersionEQ(v string) predicate.Risk

SourceDefinitionVersionEQ applies the EQ predicate on the "source_definition_version" field.

func SourceDefinitionVersionEqualFold

func SourceDefinitionVersionEqualFold(v string) predicate.Risk

SourceDefinitionVersionEqualFold applies the EqualFold predicate on the "source_definition_version" field.

func SourceDefinitionVersionGT

func SourceDefinitionVersionGT(v string) predicate.Risk

SourceDefinitionVersionGT applies the GT predicate on the "source_definition_version" field.

func SourceDefinitionVersionGTE

func SourceDefinitionVersionGTE(v string) predicate.Risk

SourceDefinitionVersionGTE applies the GTE predicate on the "source_definition_version" field.

func SourceDefinitionVersionHasPrefix

func SourceDefinitionVersionHasPrefix(v string) predicate.Risk

SourceDefinitionVersionHasPrefix applies the HasPrefix predicate on the "source_definition_version" field.

func SourceDefinitionVersionHasSuffix

func SourceDefinitionVersionHasSuffix(v string) predicate.Risk

SourceDefinitionVersionHasSuffix applies the HasSuffix predicate on the "source_definition_version" field.

func SourceDefinitionVersionIn

func SourceDefinitionVersionIn(vs ...string) predicate.Risk

SourceDefinitionVersionIn applies the In predicate on the "source_definition_version" field.

func SourceDefinitionVersionIsNil

func SourceDefinitionVersionIsNil() predicate.Risk

SourceDefinitionVersionIsNil applies the IsNil predicate on the "source_definition_version" field.

func SourceDefinitionVersionLT

func SourceDefinitionVersionLT(v string) predicate.Risk

SourceDefinitionVersionLT applies the LT predicate on the "source_definition_version" field.

func SourceDefinitionVersionLTE

func SourceDefinitionVersionLTE(v string) predicate.Risk

SourceDefinitionVersionLTE applies the LTE predicate on the "source_definition_version" field.

func SourceDefinitionVersionNEQ

func SourceDefinitionVersionNEQ(v string) predicate.Risk

SourceDefinitionVersionNEQ applies the NEQ predicate on the "source_definition_version" field.

func SourceDefinitionVersionNotIn

func SourceDefinitionVersionNotIn(vs ...string) predicate.Risk

SourceDefinitionVersionNotIn applies the NotIn predicate on the "source_definition_version" field.

func SourceDefinitionVersionNotNil

func SourceDefinitionVersionNotNil() predicate.Risk

SourceDefinitionVersionNotNil applies the NotNil predicate on the "source_definition_version" field.

func SourceInstanceID

func SourceInstanceID(v string) predicate.Risk

SourceInstanceID applies equality check predicate on the "source_instance_id" field. It's identical to SourceInstanceIDEQ.

func SourceInstanceIDContains

func SourceInstanceIDContains(v string) predicate.Risk

SourceInstanceIDContains applies the Contains predicate on the "source_instance_id" field.

func SourceInstanceIDContainsFold

func SourceInstanceIDContainsFold(v string) predicate.Risk

SourceInstanceIDContainsFold applies the ContainsFold predicate on the "source_instance_id" field.

func SourceInstanceIDEQ

func SourceInstanceIDEQ(v string) predicate.Risk

SourceInstanceIDEQ applies the EQ predicate on the "source_instance_id" field.

func SourceInstanceIDEqualFold

func SourceInstanceIDEqualFold(v string) predicate.Risk

SourceInstanceIDEqualFold applies the EqualFold predicate on the "source_instance_id" field.

func SourceInstanceIDGT

func SourceInstanceIDGT(v string) predicate.Risk

SourceInstanceIDGT applies the GT predicate on the "source_instance_id" field.

func SourceInstanceIDGTE

func SourceInstanceIDGTE(v string) predicate.Risk

SourceInstanceIDGTE applies the GTE predicate on the "source_instance_id" field.

func SourceInstanceIDHasPrefix

func SourceInstanceIDHasPrefix(v string) predicate.Risk

SourceInstanceIDHasPrefix applies the HasPrefix predicate on the "source_instance_id" field.

func SourceInstanceIDHasSuffix

func SourceInstanceIDHasSuffix(v string) predicate.Risk

SourceInstanceIDHasSuffix applies the HasSuffix predicate on the "source_instance_id" field.

func SourceInstanceIDIn

func SourceInstanceIDIn(vs ...string) predicate.Risk

SourceInstanceIDIn applies the In predicate on the "source_instance_id" field.

func SourceInstanceIDIsNil

func SourceInstanceIDIsNil() predicate.Risk

SourceInstanceIDIsNil applies the IsNil predicate on the "source_instance_id" field.

func SourceInstanceIDLT

func SourceInstanceIDLT(v string) predicate.Risk

SourceInstanceIDLT applies the LT predicate on the "source_instance_id" field.

func SourceInstanceIDLTE

func SourceInstanceIDLTE(v string) predicate.Risk

SourceInstanceIDLTE applies the LTE predicate on the "source_instance_id" field.

func SourceInstanceIDNEQ

func SourceInstanceIDNEQ(v string) predicate.Risk

SourceInstanceIDNEQ applies the NEQ predicate on the "source_instance_id" field.

func SourceInstanceIDNotIn

func SourceInstanceIDNotIn(vs ...string) predicate.Risk

SourceInstanceIDNotIn applies the NotIn predicate on the "source_instance_id" field.

func SourceInstanceIDNotNil

func SourceInstanceIDNotNil() predicate.Risk

SourceInstanceIDNotNil applies the NotNil predicate on the "source_instance_id" field.

func StakeholderGroupID

func StakeholderGroupID(v string) predicate.Risk

StakeholderGroupID applies equality check predicate on the "stakeholder_group_id" field. It's identical to StakeholderGroupIDEQ.

func StakeholderGroupIDContains

func StakeholderGroupIDContains(v string) predicate.Risk

StakeholderGroupIDContains applies the Contains predicate on the "stakeholder_group_id" field.

func StakeholderGroupIDContainsFold

func StakeholderGroupIDContainsFold(v string) predicate.Risk

StakeholderGroupIDContainsFold applies the ContainsFold predicate on the "stakeholder_group_id" field.

func StakeholderGroupIDEQ

func StakeholderGroupIDEQ(v string) predicate.Risk

StakeholderGroupIDEQ applies the EQ predicate on the "stakeholder_group_id" field.

func StakeholderGroupIDEqualFold

func StakeholderGroupIDEqualFold(v string) predicate.Risk

StakeholderGroupIDEqualFold applies the EqualFold predicate on the "stakeholder_group_id" field.

func StakeholderGroupIDGT

func StakeholderGroupIDGT(v string) predicate.Risk

StakeholderGroupIDGT applies the GT predicate on the "stakeholder_group_id" field.

func StakeholderGroupIDGTE

func StakeholderGroupIDGTE(v string) predicate.Risk

StakeholderGroupIDGTE applies the GTE predicate on the "stakeholder_group_id" field.

func StakeholderGroupIDHasPrefix

func StakeholderGroupIDHasPrefix(v string) predicate.Risk

StakeholderGroupIDHasPrefix applies the HasPrefix predicate on the "stakeholder_group_id" field.

func StakeholderGroupIDHasSuffix

func StakeholderGroupIDHasSuffix(v string) predicate.Risk

StakeholderGroupIDHasSuffix applies the HasSuffix predicate on the "stakeholder_group_id" field.

func StakeholderGroupIDIn

func StakeholderGroupIDIn(vs ...string) predicate.Risk

StakeholderGroupIDIn applies the In predicate on the "stakeholder_group_id" field.

func StakeholderGroupIDIsNil

func StakeholderGroupIDIsNil() predicate.Risk

StakeholderGroupIDIsNil applies the IsNil predicate on the "stakeholder_group_id" field.

func StakeholderGroupIDLT

func StakeholderGroupIDLT(v string) predicate.Risk

StakeholderGroupIDLT applies the LT predicate on the "stakeholder_group_id" field.

func StakeholderGroupIDLTE

func StakeholderGroupIDLTE(v string) predicate.Risk

StakeholderGroupIDLTE applies the LTE predicate on the "stakeholder_group_id" field.

func StakeholderGroupIDNEQ

func StakeholderGroupIDNEQ(v string) predicate.Risk

StakeholderGroupIDNEQ applies the NEQ predicate on the "stakeholder_group_id" field.

func StakeholderGroupIDNotIn

func StakeholderGroupIDNotIn(vs ...string) predicate.Risk

StakeholderGroupIDNotIn applies the NotIn predicate on the "stakeholder_group_id" field.

func StakeholderGroupIDNotNil

func StakeholderGroupIDNotNil() predicate.Risk

StakeholderGroupIDNotNil applies the NotNil predicate on the "stakeholder_group_id" field.

func StakeholderID

func StakeholderID(v string) predicate.Risk

StakeholderID applies equality check predicate on the "stakeholder_id" field. It's identical to StakeholderIDEQ.

func StakeholderIDContains

func StakeholderIDContains(v string) predicate.Risk

StakeholderIDContains applies the Contains predicate on the "stakeholder_id" field.

func StakeholderIDContainsFold

func StakeholderIDContainsFold(v string) predicate.Risk

StakeholderIDContainsFold applies the ContainsFold predicate on the "stakeholder_id" field.

func StakeholderIDEQ

func StakeholderIDEQ(v string) predicate.Risk

StakeholderIDEQ applies the EQ predicate on the "stakeholder_id" field.

func StakeholderIDEqualFold

func StakeholderIDEqualFold(v string) predicate.Risk

StakeholderIDEqualFold applies the EqualFold predicate on the "stakeholder_id" field.

func StakeholderIDGT

func StakeholderIDGT(v string) predicate.Risk

StakeholderIDGT applies the GT predicate on the "stakeholder_id" field.

func StakeholderIDGTE

func StakeholderIDGTE(v string) predicate.Risk

StakeholderIDGTE applies the GTE predicate on the "stakeholder_id" field.

func StakeholderIDHasPrefix

func StakeholderIDHasPrefix(v string) predicate.Risk

StakeholderIDHasPrefix applies the HasPrefix predicate on the "stakeholder_id" field.

func StakeholderIDHasSuffix

func StakeholderIDHasSuffix(v string) predicate.Risk

StakeholderIDHasSuffix applies the HasSuffix predicate on the "stakeholder_id" field.

func StakeholderIDIn

func StakeholderIDIn(vs ...string) predicate.Risk

StakeholderIDIn applies the In predicate on the "stakeholder_id" field.

func StakeholderIDIsNil

func StakeholderIDIsNil() predicate.Risk

StakeholderIDIsNil applies the IsNil predicate on the "stakeholder_id" field.

func StakeholderIDLT

func StakeholderIDLT(v string) predicate.Risk

StakeholderIDLT applies the LT predicate on the "stakeholder_id" field.

func StakeholderIDLTE

func StakeholderIDLTE(v string) predicate.Risk

StakeholderIDLTE applies the LTE predicate on the "stakeholder_id" field.

func StakeholderIDNEQ

func StakeholderIDNEQ(v string) predicate.Risk

StakeholderIDNEQ applies the NEQ predicate on the "stakeholder_id" field.

func StakeholderIDNotIn

func StakeholderIDNotIn(vs ...string) predicate.Risk

StakeholderIDNotIn applies the NotIn predicate on the "stakeholder_id" field.

func StakeholderIDNotNil

func StakeholderIDNotNil() predicate.Risk

StakeholderIDNotNil applies the NotNil predicate on the "stakeholder_id" field.

func StakeholderIdentityHolderID

func StakeholderIdentityHolderID(v string) predicate.Risk

StakeholderIdentityHolderID applies equality check predicate on the "stakeholder_identity_holder_id" field. It's identical to StakeholderIdentityHolderIDEQ.

func StakeholderIdentityHolderIDContains

func StakeholderIdentityHolderIDContains(v string) predicate.Risk

StakeholderIdentityHolderIDContains applies the Contains predicate on the "stakeholder_identity_holder_id" field.

func StakeholderIdentityHolderIDContainsFold

func StakeholderIdentityHolderIDContainsFold(v string) predicate.Risk

StakeholderIdentityHolderIDContainsFold applies the ContainsFold predicate on the "stakeholder_identity_holder_id" field.

func StakeholderIdentityHolderIDEQ

func StakeholderIdentityHolderIDEQ(v string) predicate.Risk

StakeholderIdentityHolderIDEQ applies the EQ predicate on the "stakeholder_identity_holder_id" field.

func StakeholderIdentityHolderIDEqualFold

func StakeholderIdentityHolderIDEqualFold(v string) predicate.Risk

StakeholderIdentityHolderIDEqualFold applies the EqualFold predicate on the "stakeholder_identity_holder_id" field.

func StakeholderIdentityHolderIDGT

func StakeholderIdentityHolderIDGT(v string) predicate.Risk

StakeholderIdentityHolderIDGT applies the GT predicate on the "stakeholder_identity_holder_id" field.

func StakeholderIdentityHolderIDGTE

func StakeholderIdentityHolderIDGTE(v string) predicate.Risk

StakeholderIdentityHolderIDGTE applies the GTE predicate on the "stakeholder_identity_holder_id" field.

func StakeholderIdentityHolderIDHasPrefix

func StakeholderIdentityHolderIDHasPrefix(v string) predicate.Risk

StakeholderIdentityHolderIDHasPrefix applies the HasPrefix predicate on the "stakeholder_identity_holder_id" field.

func StakeholderIdentityHolderIDHasSuffix

func StakeholderIdentityHolderIDHasSuffix(v string) predicate.Risk

StakeholderIdentityHolderIDHasSuffix applies the HasSuffix predicate on the "stakeholder_identity_holder_id" field.

func StakeholderIdentityHolderIDIn

func StakeholderIdentityHolderIDIn(vs ...string) predicate.Risk

StakeholderIdentityHolderIDIn applies the In predicate on the "stakeholder_identity_holder_id" field.

func StakeholderIdentityHolderIDIsNil

func StakeholderIdentityHolderIDIsNil() predicate.Risk

StakeholderIdentityHolderIDIsNil applies the IsNil predicate on the "stakeholder_identity_holder_id" field.

func StakeholderIdentityHolderIDLT

func StakeholderIdentityHolderIDLT(v string) predicate.Risk

StakeholderIdentityHolderIDLT applies the LT predicate on the "stakeholder_identity_holder_id" field.

func StakeholderIdentityHolderIDLTE

func StakeholderIdentityHolderIDLTE(v string) predicate.Risk

StakeholderIdentityHolderIDLTE applies the LTE predicate on the "stakeholder_identity_holder_id" field.

func StakeholderIdentityHolderIDNEQ

func StakeholderIdentityHolderIDNEQ(v string) predicate.Risk

StakeholderIdentityHolderIDNEQ applies the NEQ predicate on the "stakeholder_identity_holder_id" field.

func StakeholderIdentityHolderIDNotIn

func StakeholderIdentityHolderIDNotIn(vs ...string) predicate.Risk

StakeholderIdentityHolderIDNotIn applies the NotIn predicate on the "stakeholder_identity_holder_id" field.

func StakeholderIdentityHolderIDNotNil

func StakeholderIdentityHolderIDNotNil() predicate.Risk

StakeholderIdentityHolderIDNotNil applies the NotNil predicate on the "stakeholder_identity_holder_id" field.

func StakeholderName

func StakeholderName(v string) predicate.Risk

StakeholderName applies equality check predicate on the "stakeholder_name" field. It's identical to StakeholderNameEQ.

func StakeholderNameContains

func StakeholderNameContains(v string) predicate.Risk

StakeholderNameContains applies the Contains predicate on the "stakeholder_name" field.

func StakeholderNameContainsFold

func StakeholderNameContainsFold(v string) predicate.Risk

StakeholderNameContainsFold applies the ContainsFold predicate on the "stakeholder_name" field.

func StakeholderNameEQ

func StakeholderNameEQ(v string) predicate.Risk

StakeholderNameEQ applies the EQ predicate on the "stakeholder_name" field.

func StakeholderNameEqualFold

func StakeholderNameEqualFold(v string) predicate.Risk

StakeholderNameEqualFold applies the EqualFold predicate on the "stakeholder_name" field.

func StakeholderNameGT

func StakeholderNameGT(v string) predicate.Risk

StakeholderNameGT applies the GT predicate on the "stakeholder_name" field.

func StakeholderNameGTE

func StakeholderNameGTE(v string) predicate.Risk

StakeholderNameGTE applies the GTE predicate on the "stakeholder_name" field.

func StakeholderNameHasPrefix

func StakeholderNameHasPrefix(v string) predicate.Risk

StakeholderNameHasPrefix applies the HasPrefix predicate on the "stakeholder_name" field.

func StakeholderNameHasSuffix

func StakeholderNameHasSuffix(v string) predicate.Risk

StakeholderNameHasSuffix applies the HasSuffix predicate on the "stakeholder_name" field.

func StakeholderNameIn

func StakeholderNameIn(vs ...string) predicate.Risk

StakeholderNameIn applies the In predicate on the "stakeholder_name" field.

func StakeholderNameIsNil

func StakeholderNameIsNil() predicate.Risk

StakeholderNameIsNil applies the IsNil predicate on the "stakeholder_name" field.

func StakeholderNameLT

func StakeholderNameLT(v string) predicate.Risk

StakeholderNameLT applies the LT predicate on the "stakeholder_name" field.

func StakeholderNameLTE

func StakeholderNameLTE(v string) predicate.Risk

StakeholderNameLTE applies the LTE predicate on the "stakeholder_name" field.

func StakeholderNameNEQ

func StakeholderNameNEQ(v string) predicate.Risk

StakeholderNameNEQ applies the NEQ predicate on the "stakeholder_name" field.

func StakeholderNameNotIn

func StakeholderNameNotIn(vs ...string) predicate.Risk

StakeholderNameNotIn applies the NotIn predicate on the "stakeholder_name" field.

func StakeholderNameNotNil

func StakeholderNameNotNil() predicate.Risk

StakeholderNameNotNil applies the NotNil predicate on the "stakeholder_name" field.

func StakeholderUserID

func StakeholderUserID(v string) predicate.Risk

StakeholderUserID applies equality check predicate on the "stakeholder_user_id" field. It's identical to StakeholderUserIDEQ.

func StakeholderUserIDContains

func StakeholderUserIDContains(v string) predicate.Risk

StakeholderUserIDContains applies the Contains predicate on the "stakeholder_user_id" field.

func StakeholderUserIDContainsFold

func StakeholderUserIDContainsFold(v string) predicate.Risk

StakeholderUserIDContainsFold applies the ContainsFold predicate on the "stakeholder_user_id" field.

func StakeholderUserIDEQ

func StakeholderUserIDEQ(v string) predicate.Risk

StakeholderUserIDEQ applies the EQ predicate on the "stakeholder_user_id" field.

func StakeholderUserIDEqualFold

func StakeholderUserIDEqualFold(v string) predicate.Risk

StakeholderUserIDEqualFold applies the EqualFold predicate on the "stakeholder_user_id" field.

func StakeholderUserIDGT

func StakeholderUserIDGT(v string) predicate.Risk

StakeholderUserIDGT applies the GT predicate on the "stakeholder_user_id" field.

func StakeholderUserIDGTE

func StakeholderUserIDGTE(v string) predicate.Risk

StakeholderUserIDGTE applies the GTE predicate on the "stakeholder_user_id" field.

func StakeholderUserIDHasPrefix

func StakeholderUserIDHasPrefix(v string) predicate.Risk

StakeholderUserIDHasPrefix applies the HasPrefix predicate on the "stakeholder_user_id" field.

func StakeholderUserIDHasSuffix

func StakeholderUserIDHasSuffix(v string) predicate.Risk

StakeholderUserIDHasSuffix applies the HasSuffix predicate on the "stakeholder_user_id" field.

func StakeholderUserIDIn

func StakeholderUserIDIn(vs ...string) predicate.Risk

StakeholderUserIDIn applies the In predicate on the "stakeholder_user_id" field.

func StakeholderUserIDIsNil

func StakeholderUserIDIsNil() predicate.Risk

StakeholderUserIDIsNil applies the IsNil predicate on the "stakeholder_user_id" field.

func StakeholderUserIDLT

func StakeholderUserIDLT(v string) predicate.Risk

StakeholderUserIDLT applies the LT predicate on the "stakeholder_user_id" field.

func StakeholderUserIDLTE

func StakeholderUserIDLTE(v string) predicate.Risk

StakeholderUserIDLTE applies the LTE predicate on the "stakeholder_user_id" field.

func StakeholderUserIDNEQ

func StakeholderUserIDNEQ(v string) predicate.Risk

StakeholderUserIDNEQ applies the NEQ predicate on the "stakeholder_user_id" field.

func StakeholderUserIDNotIn

func StakeholderUserIDNotIn(vs ...string) predicate.Risk

StakeholderUserIDNotIn applies the NotIn predicate on the "stakeholder_user_id" field.

func StakeholderUserIDNotNil

func StakeholderUserIDNotNil() predicate.Risk

StakeholderUserIDNotNil applies the NotNil predicate on the "stakeholder_user_id" field.

func StatusEQ

func StatusEQ(v enums.RiskStatus) predicate.Risk

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

func StatusIn

func StatusIn(vs ...enums.RiskStatus) predicate.Risk

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

func StatusIsNil

func StatusIsNil() predicate.Risk

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

func StatusNEQ

func StatusNEQ(v enums.RiskStatus) predicate.Risk

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

func StatusNotIn

func StatusNotIn(vs ...enums.RiskStatus) predicate.Risk

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

func StatusNotNil

func StatusNotNil() predicate.Risk

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

func StatusValidator

func StatusValidator(s enums.RiskStatus) error

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

func TagsIsNil

func TagsIsNil() predicate.Risk

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

func TagsNotNil

func TagsNotNil() predicate.Risk

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Risk

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Risk

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Risk

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Risk

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.Risk

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Risk

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Risk

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Risk

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.Risk

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

func UpdatedBy

func UpdatedBy(v string) predicate.Risk

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.Risk

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.Risk

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.Risk

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.Risk

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.Risk

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.Risk

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.Risk

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.Risk

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

func UpdatedByImpersonator

func UpdatedByImpersonator(v string) predicate.Risk

UpdatedByImpersonator applies equality check predicate on the "updated_by_impersonator" field. It's identical to UpdatedByImpersonatorEQ.

func UpdatedByImpersonatorContains

func UpdatedByImpersonatorContains(v string) predicate.Risk

UpdatedByImpersonatorContains applies the Contains predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorContainsFold

func UpdatedByImpersonatorContainsFold(v string) predicate.Risk

UpdatedByImpersonatorContainsFold applies the ContainsFold predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorEQ

func UpdatedByImpersonatorEQ(v string) predicate.Risk

UpdatedByImpersonatorEQ applies the EQ predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorEqualFold

func UpdatedByImpersonatorEqualFold(v string) predicate.Risk

UpdatedByImpersonatorEqualFold applies the EqualFold predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorGT

func UpdatedByImpersonatorGT(v string) predicate.Risk

UpdatedByImpersonatorGT applies the GT predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorGTE

func UpdatedByImpersonatorGTE(v string) predicate.Risk

UpdatedByImpersonatorGTE applies the GTE predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorHasPrefix

func UpdatedByImpersonatorHasPrefix(v string) predicate.Risk

UpdatedByImpersonatorHasPrefix applies the HasPrefix predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorHasSuffix

func UpdatedByImpersonatorHasSuffix(v string) predicate.Risk

UpdatedByImpersonatorHasSuffix applies the HasSuffix predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorIn

func UpdatedByImpersonatorIn(vs ...string) predicate.Risk

UpdatedByImpersonatorIn applies the In predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorIsNil

func UpdatedByImpersonatorIsNil() predicate.Risk

UpdatedByImpersonatorIsNil applies the IsNil predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorLT

func UpdatedByImpersonatorLT(v string) predicate.Risk

UpdatedByImpersonatorLT applies the LT predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorLTE

func UpdatedByImpersonatorLTE(v string) predicate.Risk

UpdatedByImpersonatorLTE applies the LTE predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorNEQ

func UpdatedByImpersonatorNEQ(v string) predicate.Risk

UpdatedByImpersonatorNEQ applies the NEQ predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorNotIn

func UpdatedByImpersonatorNotIn(vs ...string) predicate.Risk

UpdatedByImpersonatorNotIn applies the NotIn predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorNotNil

func UpdatedByImpersonatorNotNil() predicate.Risk

UpdatedByImpersonatorNotNil applies the NotNil predicate on the "updated_by_impersonator" field.

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.Risk

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.Risk

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.Risk

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.Risk

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.Risk

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

func ValidColumn

func ValidColumn(column string) bool

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

func WorkflowEligibleMarker

func WorkflowEligibleMarker(v bool) predicate.Risk

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

func WorkflowEligibleMarkerEQ

func WorkflowEligibleMarkerEQ(v bool) predicate.Risk

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

func WorkflowEligibleMarkerIsNil

func WorkflowEligibleMarkerIsNil() predicate.Risk

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

func WorkflowEligibleMarkerNEQ

func WorkflowEligibleMarkerNEQ(v bool) predicate.Risk

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

func WorkflowEligibleMarkerNotNil

func WorkflowEligibleMarkerNotNil() predicate.Risk

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Risk queries.

func ByActionPlans

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

ByActionPlans orders the results by action_plans terms.

func ByActionPlansCount

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

ByActionPlansCount orders the results by action_plans count.

func ByAssets

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

ByAssets orders the results by assets terms.

func ByAssetsCount

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

ByAssetsCount orders the results by assets count.

func ByBlockedGroups

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

ByBlockedGroups orders the results by blocked_groups terms.

func ByBlockedGroupsCount

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

ByBlockedGroupsCount orders the results by blocked_groups count.

func ByBusinessCosts

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

ByBusinessCosts orders the results by the business_costs field.

func ByComments

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

ByComments orders the results by comments terms.

func ByCommentsCount

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

ByCommentsCount orders the results by comments 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

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

ByDelegateField orders the results by delegate field.

func ByDelegateGroupField

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

ByDelegateGroupField orders the results by delegate_group field.

func ByDelegateGroupID

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

ByDelegateGroupID orders the results by the delegate_group_id field.

func ByDelegateID

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

ByDelegateID orders the results by the delegate_id field.

func ByDelegateIdentityHolderField

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

ByDelegateIdentityHolderField orders the results by delegate_identity_holder field.

func ByDelegateIdentityHolderID

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

ByDelegateIdentityHolderID orders the results by the delegate_identity_holder_id field.

func ByDelegateName

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

ByDelegateName orders the results by the delegate_name field.

func ByDelegateUserField

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

ByDelegateUserField orders the results by delegate_user field.

func ByDelegateUserID

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

ByDelegateUserID orders the results by the delegate_user_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

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

ByDetails orders the results by the details field.

func ByDiscussions

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

ByDiscussions orders the results by discussions terms.

func ByDiscussionsCount

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

ByDiscussionsCount orders the results by discussions count.

func ByDisplayID

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

ByDisplayID orders the results by the display_id field.

func ByDueDate

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

ByDueDate orders the results by the due_date field.

func ByEditors

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

ByEditors orders the results by editors terms.

func ByEditorsCount

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

ByEditorsCount orders the results by editors count.

func ByEntities

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

ByEntities orders the results by entities terms.

func ByEntitiesCount

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

ByEntitiesCount orders the results by entities count.

func ByEnvironmentField

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

ByEnvironmentField orders the results by environment field.

func ByEnvironmentID

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

ByEnvironmentID orders the results by the environment_id field.

func ByEnvironmentName

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

ByEnvironmentName orders the results by the environment_name field.

func ByExternalID

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

ByExternalID orders the results by the external_id field.

func ByExternalUUID

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

ByExternalUUID orders the results by the external_uuid field.

func ByFindings

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

ByFindings orders the results by findings terms.

func ByFindingsCount

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

ByFindingsCount orders the results by findings count.

func ByID

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

ByID orders the results by the id field.

func ByImpact

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

ByImpact orders the results by the impact field.

func ByIntegrationID

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

ByIntegrationID orders the results by the integration_id field.

func ByIntegrationRunID

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

ByIntegrationRunID orders the results by the integration_run_id field.

func ByIntegrationRuns

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

ByIntegrationRuns orders the results by integration_runs terms.

func ByIntegrationRunsCount

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

ByIntegrationRunsCount orders the results by integration_runs count.

func ByInternalPolicies

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

ByInternalPolicies orders the results by internal_policies terms.

func ByInternalPoliciesCount

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

ByInternalPoliciesCount orders the results by internal_policies count.

func ByLastReviewedAt

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

ByLastReviewedAt orders the results by the last_reviewed_at field.

func ByLikelihood

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

ByLikelihood orders the results by the likelihood field.

func ByManagedBy

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

ByManagedBy orders the results by the managed_by field.

func ByMitigatedAt

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

ByMitigatedAt orders the results by the mitigated_at field.

func ByMitigation

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

ByMitigation orders the results by the mitigation field.

func ByName

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

ByName orders the results by the name field.

func ByNextReviewDueAt

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

ByNextReviewDueAt orders the results by the next_review_due_at field.

func ByObservedAt

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

ByObservedAt orders the results by the observed_at 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

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

ByPlatforms orders the results by platforms terms.

func ByPlatformsCount

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

ByPlatformsCount orders the results by platforms count.

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

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 ByRemediations

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

ByRemediations orders the results by remediations terms.

func ByRemediationsCount

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

ByRemediationsCount orders the results by remediations count.

func ByResidualScore

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

ByResidualScore orders the results by the residual_score field.

func ByReviewFrequency

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

ByReviewFrequency orders the results by the review_frequency field.

func ByReviewRequired

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

ByReviewRequired orders the results by the review_required field.

func ByReviews

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

ByReviews orders the results by reviews terms.

func ByReviewsCount

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

ByReviewsCount orders the results by reviews count.

func ByRiskCategoryField

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

ByRiskCategoryField orders the results by risk_category field.

func ByRiskCategoryID

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

ByRiskCategoryID orders the results by the risk_category_id field.

func ByRiskCategoryName

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

ByRiskCategoryName orders the results by the risk_category_name field.

func ByRiskDecision

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

ByRiskDecision orders the results by the risk_decision field.

func ByRiskKindField

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

ByRiskKindField orders the results by risk_kind field.

func ByRiskKindID

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

ByRiskKindID orders the results by the risk_kind_id field.

func ByRiskKindName

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

ByRiskKindName orders the results by the risk_kind_name field.

func ByScans

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

ByScans orders the results by scans terms.

func ByScansCount

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

ByScansCount orders the results by scans count.

func ByScopeField

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

ByScopeField orders the results by scope field.

func ByScopeID

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

ByScopeID orders the results by the scope_id field.

func ByScopeName

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

ByScopeName orders the results by the scope_name field.

func ByScore

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

ByScore orders the results by the score field.

func BySourceDefinitionID

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

BySourceDefinitionID orders the results by the source_definition_id field.

func BySourceDefinitionVersion

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

BySourceDefinitionVersion orders the results by the source_definition_version field.

func BySourceInstanceID

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

BySourceInstanceID orders the results by the source_instance_id field.

func ByStakeholderField

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

ByStakeholderField orders the results by stakeholder field.

func ByStakeholderGroupField

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

ByStakeholderGroupField orders the results by stakeholder_group field.

func ByStakeholderGroupID

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

ByStakeholderGroupID orders the results by the stakeholder_group_id field.

func ByStakeholderID

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

ByStakeholderID orders the results by the stakeholder_id field.

func ByStakeholderIdentityHolderField

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

ByStakeholderIdentityHolderField orders the results by stakeholder_identity_holder field.

func ByStakeholderIdentityHolderID

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

ByStakeholderIdentityHolderID orders the results by the stakeholder_identity_holder_id field.

func ByStakeholderName

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

ByStakeholderName orders the results by the stakeholder_name field.

func ByStakeholderUserField

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

ByStakeholderUserField orders the results by stakeholder_user field.

func ByStakeholderUserID

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

ByStakeholderUserID orders the results by the stakeholder_user_id field.

func ByStatus

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 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 ByUpdatedByImpersonator

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

ByUpdatedByImpersonator orders the results by the updated_by_impersonator field.

func ByViewers

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

ByViewers orders the results by viewers terms.

func ByViewersCount

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

ByViewersCount orders the results by viewers count.

func ByVulnerabilities

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

ByVulnerabilities orders the results by vulnerabilities terms.

func ByVulnerabilitiesCount

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

ByVulnerabilitiesCount orders the results by vulnerabilities count.

func ByWorkflowEligibleMarker

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

ByWorkflowEligibleMarker orders the results by the workflow_eligible_marker field.

func ByWorkflowObjectRefs

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

ByWorkflowObjectRefs orders the results by workflow_object_refs terms.

func ByWorkflowObjectRefsCount

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

ByWorkflowObjectRefsCount orders the results by workflow_object_refs count.

Jump to

Keyboard shortcuts

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