scan

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2026 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the scan type in the database.
	Label = "scan"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldDeletedBy holds the string denoting the deleted_by field in the database.
	FieldDeletedBy = "deleted_by"
	// FieldTags holds the string denoting the tags field in the database.
	FieldTags = "tags"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// FieldReviewedBy holds the string denoting the reviewed_by field in the database.
	FieldReviewedBy = "reviewed_by"
	// FieldReviewedByUserID holds the string denoting the reviewed_by_user_id field in the database.
	FieldReviewedByUserID = "reviewed_by_user_id"
	// FieldReviewedByGroupID holds the string denoting the reviewed_by_group_id field in the database.
	FieldReviewedByGroupID = "reviewed_by_group_id"
	// FieldAssignedTo holds the string denoting the assigned_to field in the database.
	FieldAssignedTo = "assigned_to"
	// FieldAssignedToUserID holds the string denoting the assigned_to_user_id field in the database.
	FieldAssignedToUserID = "assigned_to_user_id"
	// FieldAssignedToGroupID holds the string denoting the assigned_to_group_id field in the database.
	FieldAssignedToGroupID = "assigned_to_group_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"
	// FieldTarget holds the string denoting the target field in the database.
	FieldTarget = "target"
	// FieldScanType holds the string denoting the scan_type field in the database.
	FieldScanType = "scan_type"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// FieldScanDate holds the string denoting the scan_date field in the database.
	FieldScanDate = "scan_date"
	// FieldScanSchedule holds the string denoting the scan_schedule field in the database.
	FieldScanSchedule = "scan_schedule"
	// FieldNextScanRunAt holds the string denoting the next_scan_run_at field in the database.
	FieldNextScanRunAt = "next_scan_run_at"
	// FieldPerformedBy holds the string denoting the performed_by field in the database.
	FieldPerformedBy = "performed_by"
	// FieldPerformedByUserID holds the string denoting the performed_by_user_id field in the database.
	FieldPerformedByUserID = "performed_by_user_id"
	// FieldPerformedByGroupID holds the string denoting the performed_by_group_id field in the database.
	FieldPerformedByGroupID = "performed_by_group_id"
	// FieldGeneratedByPlatformID holds the string denoting the generated_by_platform_id field in the database.
	FieldGeneratedByPlatformID = "generated_by_platform_id"
	// FieldVulnerabilityIds holds the string denoting the vulnerability_ids field in the database.
	FieldVulnerabilityIds = "vulnerability_ids"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// 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"
	// EdgeReviewedByUser holds the string denoting the reviewed_by_user edge name in mutations.
	EdgeReviewedByUser = "reviewed_by_user"
	// EdgeReviewedByGroup holds the string denoting the reviewed_by_group edge name in mutations.
	EdgeReviewedByGroup = "reviewed_by_group"
	// EdgeAssignedToUser holds the string denoting the assigned_to_user edge name in mutations.
	EdgeAssignedToUser = "assigned_to_user"
	// EdgeAssignedToGroup holds the string denoting the assigned_to_group edge name in mutations.
	EdgeAssignedToGroup = "assigned_to_group"
	// 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"
	// 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"
	// EdgeEvidence holds the string denoting the evidence edge name in mutations.
	EdgeEvidence = "evidence"
	// EdgeFiles holds the string denoting the files edge name in mutations.
	EdgeFiles = "files"
	// EdgeRemediations holds the string denoting the remediations edge name in mutations.
	EdgeRemediations = "remediations"
	// 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"
	// EdgePlatforms holds the string denoting the platforms edge name in mutations.
	EdgePlatforms = "platforms"
	// EdgeVulnerabilities holds the string denoting the vulnerabilities edge name in mutations.
	EdgeVulnerabilities = "vulnerabilities"
	// EdgeControls holds the string denoting the controls edge name in mutations.
	EdgeControls = "controls"
	// EdgeGeneratedByPlatform holds the string denoting the generated_by_platform edge name in mutations.
	EdgeGeneratedByPlatform = "generated_by_platform"
	// EdgePerformedByUser holds the string denoting the performed_by_user edge name in mutations.
	EdgePerformedByUser = "performed_by_user"
	// EdgePerformedByGroup holds the string denoting the performed_by_group edge name in mutations.
	EdgePerformedByGroup = "performed_by_group"
	// Table holds the table name of the scan in the database.
	Table = "scans"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "scans"
	// 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 = "scan_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 = "scan_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 = "scan_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"
	// ReviewedByUserTable is the table that holds the reviewed_by_user relation/edge.
	ReviewedByUserTable = "scans"
	// ReviewedByUserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	ReviewedByUserInverseTable = "users"
	// ReviewedByUserColumn is the table column denoting the reviewed_by_user relation/edge.
	ReviewedByUserColumn = "reviewed_by_user_id"
	// ReviewedByGroupTable is the table that holds the reviewed_by_group relation/edge.
	ReviewedByGroupTable = "scans"
	// ReviewedByGroupInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	ReviewedByGroupInverseTable = "groups"
	// ReviewedByGroupColumn is the table column denoting the reviewed_by_group relation/edge.
	ReviewedByGroupColumn = "reviewed_by_group_id"
	// AssignedToUserTable is the table that holds the assigned_to_user relation/edge.
	AssignedToUserTable = "scans"
	// AssignedToUserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	AssignedToUserInverseTable = "users"
	// AssignedToUserColumn is the table column denoting the assigned_to_user relation/edge.
	AssignedToUserColumn = "assigned_to_user_id"
	// AssignedToGroupTable is the table that holds the assigned_to_group relation/edge.
	AssignedToGroupTable = "scans"
	// AssignedToGroupInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	AssignedToGroupInverseTable = "groups"
	// AssignedToGroupColumn is the table column denoting the assigned_to_group relation/edge.
	AssignedToGroupColumn = "assigned_to_group_id"
	// EnvironmentTable is the table that holds the environment relation/edge.
	EnvironmentTable = "scans"
	// 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 = "scans"
	// 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"
	// AssetsTable is the table that holds the assets relation/edge. The primary key declared below.
	AssetsTable = "scan_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"
	// 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 = "scan_entities"
	// EvidenceTable is the table that holds the evidence relation/edge. The primary key declared below.
	EvidenceTable = "scan_evidence"
	// EvidenceInverseTable is the table name for the Evidence entity.
	// It exists in this package in order to avoid circular dependency with the "evidence" package.
	EvidenceInverseTable = "evidences"
	// FilesTable is the table that holds the files relation/edge. The primary key declared below.
	FilesTable = "scan_files"
	// FilesInverseTable is the table name for the File entity.
	// It exists in this package in order to avoid circular dependency with the "file" package.
	FilesInverseTable = "files"
	// RemediationsTable is the table that holds the remediations relation/edge. The primary key declared below.
	RemediationsTable = "scan_remediations"
	// 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"
	// ActionPlansTable is the table that holds the action_plans relation/edge. The primary key declared below.
	ActionPlansTable = "scan_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 = "scan_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"
	// PlatformsTable is the table that holds the platforms relation/edge. The primary key declared below.
	PlatformsTable = "platform_scans"
	// 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"
	// VulnerabilitiesTable is the table that holds the vulnerabilities relation/edge. The primary key declared below.
	VulnerabilitiesTable = "vulnerability_scans"
	// 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"
	// ControlsTable is the table that holds the controls relation/edge. The primary key declared below.
	ControlsTable = "control_scans"
	// 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"
	// GeneratedByPlatformTable is the table that holds the generated_by_platform relation/edge.
	GeneratedByPlatformTable = "scans"
	// GeneratedByPlatformInverseTable is the table name for the Platform entity.
	// It exists in this package in order to avoid circular dependency with the "platform" package.
	GeneratedByPlatformInverseTable = "platforms"
	// GeneratedByPlatformColumn is the table column denoting the generated_by_platform relation/edge.
	GeneratedByPlatformColumn = "generated_by_platform_id"
	// PerformedByUserTable is the table that holds the performed_by_user relation/edge.
	PerformedByUserTable = "scans"
	// PerformedByUserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	PerformedByUserInverseTable = "users"
	// PerformedByUserColumn is the table column denoting the performed_by_user relation/edge.
	PerformedByUserColumn = "performed_by_user_id"
	// PerformedByGroupTable is the table that holds the performed_by_group relation/edge.
	PerformedByGroupTable = "scans"
	// PerformedByGroupInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	PerformedByGroupInverseTable = "groups"
	// PerformedByGroupColumn is the table column denoting the performed_by_group relation/edge.
	PerformedByGroupColumn = "performed_by_group_id"
)
View Source
const DefaultScanType enums.ScanType = "DOMAIN"
View Source
const DefaultStatus enums.ScanStatus = "PROCESSING"

Variables

View Source
var (
	// BlockedGroupsPrimaryKey and BlockedGroupsColumn2 are the table columns denoting the
	// primary key for the blocked_groups relation (M2M).
	BlockedGroupsPrimaryKey = []string{"scan_id", "group_id"}
	// EditorsPrimaryKey and EditorsColumn2 are the table columns denoting the
	// primary key for the editors relation (M2M).
	EditorsPrimaryKey = []string{"scan_id", "group_id"}
	// ViewersPrimaryKey and ViewersColumn2 are the table columns denoting the
	// primary key for the viewers relation (M2M).
	ViewersPrimaryKey = []string{"scan_id", "group_id"}
	// AssetsPrimaryKey and AssetsColumn2 are the table columns denoting the
	// primary key for the assets relation (M2M).
	AssetsPrimaryKey = []string{"scan_id", "asset_id"}
	// EvidencePrimaryKey and EvidenceColumn2 are the table columns denoting the
	// primary key for the evidence relation (M2M).
	EvidencePrimaryKey = []string{"scan_id", "evidence_id"}
	// FilesPrimaryKey and FilesColumn2 are the table columns denoting the
	// primary key for the files relation (M2M).
	FilesPrimaryKey = []string{"scan_id", "file_id"}
	// RemediationsPrimaryKey and RemediationsColumn2 are the table columns denoting the
	// primary key for the remediations relation (M2M).
	RemediationsPrimaryKey = []string{"scan_id", "remediation_id"}
	// ActionPlansPrimaryKey and ActionPlansColumn2 are the table columns denoting the
	// primary key for the action_plans relation (M2M).
	ActionPlansPrimaryKey = []string{"scan_id", "action_plan_id"}
	// TasksPrimaryKey and TasksColumn2 are the table columns denoting the
	// primary key for the tasks relation (M2M).
	TasksPrimaryKey = []string{"scan_id", "task_id"}
	// PlatformsPrimaryKey and PlatformsColumn2 are the table columns denoting the
	// primary key for the platforms relation (M2M).
	PlatformsPrimaryKey = []string{"platform_id", "scan_id"}
	// VulnerabilitiesPrimaryKey and VulnerabilitiesColumn2 are the table columns denoting the
	// primary key for the vulnerabilities relation (M2M).
	VulnerabilitiesPrimaryKey = []string{"vulnerability_id", "scan_id"}
	// ControlsPrimaryKey and ControlsColumn2 are the table columns denoting the
	// primary key for the controls relation (M2M).
	ControlsPrimaryKey = []string{"control_id", "scan_id"}
)
View Source
var (
	Hooks        [10]ent.Hook
	Interceptors [2]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
	// 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
	// TargetValidator is a validator for the "target" field. It is called by the builders before save.
	TargetValidator func(string) error
	// ScanScheduleValidator is a validator for the "scan_schedule" field. It is called by the builders before save.
	ScanScheduleValidator func(string) error
	// DefaultVulnerabilityIds holds the default value on creation for the "vulnerability_ids" field.
	DefaultVulnerabilityIds []string
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/theopenlane/core/internal/ent/generated/runtime"

Columns holds all SQL columns for scan fields.

View Source
var ForeignKeys = []string{
	"entity_scans",
	"finding_scans",
	"risk_scans",
}

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

Functions

func And

func And(predicates ...predicate.Scan) predicate.Scan

And groups predicates with the AND operator between them.

func AssignedTo added in v1.5.0

func AssignedTo(v string) predicate.Scan

AssignedTo applies equality check predicate on the "assigned_to" field. It's identical to AssignedToEQ.

func AssignedToContains added in v1.5.0

func AssignedToContains(v string) predicate.Scan

AssignedToContains applies the Contains predicate on the "assigned_to" field.

func AssignedToContainsFold added in v1.5.0

func AssignedToContainsFold(v string) predicate.Scan

AssignedToContainsFold applies the ContainsFold predicate on the "assigned_to" field.

func AssignedToEQ added in v1.5.0

func AssignedToEQ(v string) predicate.Scan

AssignedToEQ applies the EQ predicate on the "assigned_to" field.

func AssignedToEqualFold added in v1.5.0

func AssignedToEqualFold(v string) predicate.Scan

AssignedToEqualFold applies the EqualFold predicate on the "assigned_to" field.

func AssignedToGT added in v1.5.0

func AssignedToGT(v string) predicate.Scan

AssignedToGT applies the GT predicate on the "assigned_to" field.

func AssignedToGTE added in v1.5.0

func AssignedToGTE(v string) predicate.Scan

AssignedToGTE applies the GTE predicate on the "assigned_to" field.

func AssignedToGroupID added in v1.5.0

func AssignedToGroupID(v string) predicate.Scan

AssignedToGroupID applies equality check predicate on the "assigned_to_group_id" field. It's identical to AssignedToGroupIDEQ.

func AssignedToGroupIDContains added in v1.5.0

func AssignedToGroupIDContains(v string) predicate.Scan

AssignedToGroupIDContains applies the Contains predicate on the "assigned_to_group_id" field.

func AssignedToGroupIDContainsFold added in v1.5.0

func AssignedToGroupIDContainsFold(v string) predicate.Scan

AssignedToGroupIDContainsFold applies the ContainsFold predicate on the "assigned_to_group_id" field.

func AssignedToGroupIDEQ added in v1.5.0

func AssignedToGroupIDEQ(v string) predicate.Scan

AssignedToGroupIDEQ applies the EQ predicate on the "assigned_to_group_id" field.

func AssignedToGroupIDEqualFold added in v1.5.0

func AssignedToGroupIDEqualFold(v string) predicate.Scan

AssignedToGroupIDEqualFold applies the EqualFold predicate on the "assigned_to_group_id" field.

func AssignedToGroupIDGT added in v1.5.0

func AssignedToGroupIDGT(v string) predicate.Scan

AssignedToGroupIDGT applies the GT predicate on the "assigned_to_group_id" field.

func AssignedToGroupIDGTE added in v1.5.0

func AssignedToGroupIDGTE(v string) predicate.Scan

AssignedToGroupIDGTE applies the GTE predicate on the "assigned_to_group_id" field.

func AssignedToGroupIDHasPrefix added in v1.5.0

func AssignedToGroupIDHasPrefix(v string) predicate.Scan

AssignedToGroupIDHasPrefix applies the HasPrefix predicate on the "assigned_to_group_id" field.

func AssignedToGroupIDHasSuffix added in v1.5.0

func AssignedToGroupIDHasSuffix(v string) predicate.Scan

AssignedToGroupIDHasSuffix applies the HasSuffix predicate on the "assigned_to_group_id" field.

func AssignedToGroupIDIn added in v1.5.0

func AssignedToGroupIDIn(vs ...string) predicate.Scan

AssignedToGroupIDIn applies the In predicate on the "assigned_to_group_id" field.

func AssignedToGroupIDIsNil added in v1.5.0

func AssignedToGroupIDIsNil() predicate.Scan

AssignedToGroupIDIsNil applies the IsNil predicate on the "assigned_to_group_id" field.

func AssignedToGroupIDLT added in v1.5.0

func AssignedToGroupIDLT(v string) predicate.Scan

AssignedToGroupIDLT applies the LT predicate on the "assigned_to_group_id" field.

func AssignedToGroupIDLTE added in v1.5.0

func AssignedToGroupIDLTE(v string) predicate.Scan

AssignedToGroupIDLTE applies the LTE predicate on the "assigned_to_group_id" field.

func AssignedToGroupIDNEQ added in v1.5.0

func AssignedToGroupIDNEQ(v string) predicate.Scan

AssignedToGroupIDNEQ applies the NEQ predicate on the "assigned_to_group_id" field.

func AssignedToGroupIDNotIn added in v1.5.0

func AssignedToGroupIDNotIn(vs ...string) predicate.Scan

AssignedToGroupIDNotIn applies the NotIn predicate on the "assigned_to_group_id" field.

func AssignedToGroupIDNotNil added in v1.5.0

func AssignedToGroupIDNotNil() predicate.Scan

AssignedToGroupIDNotNil applies the NotNil predicate on the "assigned_to_group_id" field.

func AssignedToHasPrefix added in v1.5.0

func AssignedToHasPrefix(v string) predicate.Scan

AssignedToHasPrefix applies the HasPrefix predicate on the "assigned_to" field.

func AssignedToHasSuffix added in v1.5.0

func AssignedToHasSuffix(v string) predicate.Scan

AssignedToHasSuffix applies the HasSuffix predicate on the "assigned_to" field.

func AssignedToIn added in v1.5.0

func AssignedToIn(vs ...string) predicate.Scan

AssignedToIn applies the In predicate on the "assigned_to" field.

func AssignedToIsNil added in v1.5.0

func AssignedToIsNil() predicate.Scan

AssignedToIsNil applies the IsNil predicate on the "assigned_to" field.

func AssignedToLT added in v1.5.0

func AssignedToLT(v string) predicate.Scan

AssignedToLT applies the LT predicate on the "assigned_to" field.

func AssignedToLTE added in v1.5.0

func AssignedToLTE(v string) predicate.Scan

AssignedToLTE applies the LTE predicate on the "assigned_to" field.

func AssignedToNEQ added in v1.5.0

func AssignedToNEQ(v string) predicate.Scan

AssignedToNEQ applies the NEQ predicate on the "assigned_to" field.

func AssignedToNotIn added in v1.5.0

func AssignedToNotIn(vs ...string) predicate.Scan

AssignedToNotIn applies the NotIn predicate on the "assigned_to" field.

func AssignedToNotNil added in v1.5.0

func AssignedToNotNil() predicate.Scan

AssignedToNotNil applies the NotNil predicate on the "assigned_to" field.

func AssignedToUserID added in v1.5.0

func AssignedToUserID(v string) predicate.Scan

AssignedToUserID applies equality check predicate on the "assigned_to_user_id" field. It's identical to AssignedToUserIDEQ.

func AssignedToUserIDContains added in v1.5.0

func AssignedToUserIDContains(v string) predicate.Scan

AssignedToUserIDContains applies the Contains predicate on the "assigned_to_user_id" field.

func AssignedToUserIDContainsFold added in v1.5.0

func AssignedToUserIDContainsFold(v string) predicate.Scan

AssignedToUserIDContainsFold applies the ContainsFold predicate on the "assigned_to_user_id" field.

func AssignedToUserIDEQ added in v1.5.0

func AssignedToUserIDEQ(v string) predicate.Scan

AssignedToUserIDEQ applies the EQ predicate on the "assigned_to_user_id" field.

func AssignedToUserIDEqualFold added in v1.5.0

func AssignedToUserIDEqualFold(v string) predicate.Scan

AssignedToUserIDEqualFold applies the EqualFold predicate on the "assigned_to_user_id" field.

func AssignedToUserIDGT added in v1.5.0

func AssignedToUserIDGT(v string) predicate.Scan

AssignedToUserIDGT applies the GT predicate on the "assigned_to_user_id" field.

func AssignedToUserIDGTE added in v1.5.0

func AssignedToUserIDGTE(v string) predicate.Scan

AssignedToUserIDGTE applies the GTE predicate on the "assigned_to_user_id" field.

func AssignedToUserIDHasPrefix added in v1.5.0

func AssignedToUserIDHasPrefix(v string) predicate.Scan

AssignedToUserIDHasPrefix applies the HasPrefix predicate on the "assigned_to_user_id" field.

func AssignedToUserIDHasSuffix added in v1.5.0

func AssignedToUserIDHasSuffix(v string) predicate.Scan

AssignedToUserIDHasSuffix applies the HasSuffix predicate on the "assigned_to_user_id" field.

func AssignedToUserIDIn added in v1.5.0

func AssignedToUserIDIn(vs ...string) predicate.Scan

AssignedToUserIDIn applies the In predicate on the "assigned_to_user_id" field.

func AssignedToUserIDIsNil added in v1.5.0

func AssignedToUserIDIsNil() predicate.Scan

AssignedToUserIDIsNil applies the IsNil predicate on the "assigned_to_user_id" field.

func AssignedToUserIDLT added in v1.5.0

func AssignedToUserIDLT(v string) predicate.Scan

AssignedToUserIDLT applies the LT predicate on the "assigned_to_user_id" field.

func AssignedToUserIDLTE added in v1.5.0

func AssignedToUserIDLTE(v string) predicate.Scan

AssignedToUserIDLTE applies the LTE predicate on the "assigned_to_user_id" field.

func AssignedToUserIDNEQ added in v1.5.0

func AssignedToUserIDNEQ(v string) predicate.Scan

AssignedToUserIDNEQ applies the NEQ predicate on the "assigned_to_user_id" field.

func AssignedToUserIDNotIn added in v1.5.0

func AssignedToUserIDNotIn(vs ...string) predicate.Scan

AssignedToUserIDNotIn applies the NotIn predicate on the "assigned_to_user_id" field.

func AssignedToUserIDNotNil added in v1.5.0

func AssignedToUserIDNotNil() predicate.Scan

AssignedToUserIDNotNil applies the NotNil predicate on the "assigned_to_user_id" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Scan

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Scan

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Scan

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Scan

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.Scan

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Scan

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Scan

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Scan

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.Scan

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

func CreatedBy

func CreatedBy(v string) predicate.Scan

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

func CreatedByContains

func CreatedByContains(v string) predicate.Scan

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.Scan

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.Scan

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.Scan

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

func CreatedByGT

func CreatedByGT(v string) predicate.Scan

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.Scan

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.Scan

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.Scan

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.Scan

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

func CreatedByLT

func CreatedByLT(v string) predicate.Scan

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.Scan

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.Scan

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.Scan

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

func DeletedAt

func DeletedAt(v time.Time) predicate.Scan

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Scan

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Scan

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Scan

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Scan

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Scan

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Scan

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Scan

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Scan

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

func DeletedBy

func DeletedBy(v string) predicate.Scan

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

func DeletedByContains

func DeletedByContains(v string) predicate.Scan

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.Scan

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

func DeletedByEQ

func DeletedByEQ(v string) predicate.Scan

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.Scan

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

func DeletedByGT

func DeletedByGT(v string) predicate.Scan

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.Scan

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.Scan

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.Scan

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.Scan

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

func DeletedByLT

func DeletedByLT(v string) predicate.Scan

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.Scan

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.Scan

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.Scan

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

func EnvironmentID added in v1.5.0

func EnvironmentID(v string) predicate.Scan

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

func EnvironmentIDContains added in v1.5.0

func EnvironmentIDContains(v string) predicate.Scan

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

func EnvironmentIDContainsFold added in v1.5.0

func EnvironmentIDContainsFold(v string) predicate.Scan

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

func EnvironmentIDEQ added in v1.5.0

func EnvironmentIDEQ(v string) predicate.Scan

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

func EnvironmentIDEqualFold added in v1.5.0

func EnvironmentIDEqualFold(v string) predicate.Scan

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

func EnvironmentIDGT added in v1.5.0

func EnvironmentIDGT(v string) predicate.Scan

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

func EnvironmentIDGTE added in v1.5.0

func EnvironmentIDGTE(v string) predicate.Scan

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

func EnvironmentIDHasPrefix added in v1.5.0

func EnvironmentIDHasPrefix(v string) predicate.Scan

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

func EnvironmentIDHasSuffix added in v1.5.0

func EnvironmentIDHasSuffix(v string) predicate.Scan

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

func EnvironmentIDIn added in v1.5.0

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

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

func EnvironmentIDIsNil added in v1.5.0

func EnvironmentIDIsNil() predicate.Scan

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

func EnvironmentIDLT added in v1.5.0

func EnvironmentIDLT(v string) predicate.Scan

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

func EnvironmentIDLTE added in v1.5.0

func EnvironmentIDLTE(v string) predicate.Scan

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

func EnvironmentIDNEQ added in v1.5.0

func EnvironmentIDNEQ(v string) predicate.Scan

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

func EnvironmentIDNotIn added in v1.5.0

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

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

func EnvironmentIDNotNil added in v1.5.0

func EnvironmentIDNotNil() predicate.Scan

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

func EnvironmentName added in v1.5.0

func EnvironmentName(v string) predicate.Scan

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

func EnvironmentNameContains added in v1.5.0

func EnvironmentNameContains(v string) predicate.Scan

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

func EnvironmentNameContainsFold added in v1.5.0

func EnvironmentNameContainsFold(v string) predicate.Scan

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

func EnvironmentNameEQ added in v1.5.0

func EnvironmentNameEQ(v string) predicate.Scan

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

func EnvironmentNameEqualFold added in v1.5.0

func EnvironmentNameEqualFold(v string) predicate.Scan

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

func EnvironmentNameGT added in v1.5.0

func EnvironmentNameGT(v string) predicate.Scan

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

func EnvironmentNameGTE added in v1.5.0

func EnvironmentNameGTE(v string) predicate.Scan

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

func EnvironmentNameHasPrefix added in v1.5.0

func EnvironmentNameHasPrefix(v string) predicate.Scan

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

func EnvironmentNameHasSuffix added in v1.5.0

func EnvironmentNameHasSuffix(v string) predicate.Scan

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

func EnvironmentNameIn added in v1.5.0

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

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

func EnvironmentNameIsNil added in v1.5.0

func EnvironmentNameIsNil() predicate.Scan

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

func EnvironmentNameLT added in v1.5.0

func EnvironmentNameLT(v string) predicate.Scan

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

func EnvironmentNameLTE added in v1.5.0

func EnvironmentNameLTE(v string) predicate.Scan

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

func EnvironmentNameNEQ added in v1.5.0

func EnvironmentNameNEQ(v string) predicate.Scan

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

func EnvironmentNameNotIn added in v1.5.0

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

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

func EnvironmentNameNotNil added in v1.5.0

func EnvironmentNameNotNil() predicate.Scan

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

func GeneratedByPlatformID added in v1.5.0

func GeneratedByPlatformID(v string) predicate.Scan

GeneratedByPlatformID applies equality check predicate on the "generated_by_platform_id" field. It's identical to GeneratedByPlatformIDEQ.

func GeneratedByPlatformIDContains added in v1.5.0

func GeneratedByPlatformIDContains(v string) predicate.Scan

GeneratedByPlatformIDContains applies the Contains predicate on the "generated_by_platform_id" field.

func GeneratedByPlatformIDContainsFold added in v1.5.0

func GeneratedByPlatformIDContainsFold(v string) predicate.Scan

GeneratedByPlatformIDContainsFold applies the ContainsFold predicate on the "generated_by_platform_id" field.

func GeneratedByPlatformIDEQ added in v1.5.0

func GeneratedByPlatformIDEQ(v string) predicate.Scan

GeneratedByPlatformIDEQ applies the EQ predicate on the "generated_by_platform_id" field.

func GeneratedByPlatformIDEqualFold added in v1.5.0

func GeneratedByPlatformIDEqualFold(v string) predicate.Scan

GeneratedByPlatformIDEqualFold applies the EqualFold predicate on the "generated_by_platform_id" field.

func GeneratedByPlatformIDGT added in v1.5.0

func GeneratedByPlatformIDGT(v string) predicate.Scan

GeneratedByPlatformIDGT applies the GT predicate on the "generated_by_platform_id" field.

func GeneratedByPlatformIDGTE added in v1.5.0

func GeneratedByPlatformIDGTE(v string) predicate.Scan

GeneratedByPlatformIDGTE applies the GTE predicate on the "generated_by_platform_id" field.

func GeneratedByPlatformIDHasPrefix added in v1.5.0

func GeneratedByPlatformIDHasPrefix(v string) predicate.Scan

GeneratedByPlatformIDHasPrefix applies the HasPrefix predicate on the "generated_by_platform_id" field.

func GeneratedByPlatformIDHasSuffix added in v1.5.0

func GeneratedByPlatformIDHasSuffix(v string) predicate.Scan

GeneratedByPlatformIDHasSuffix applies the HasSuffix predicate on the "generated_by_platform_id" field.

func GeneratedByPlatformIDIn added in v1.5.0

func GeneratedByPlatformIDIn(vs ...string) predicate.Scan

GeneratedByPlatformIDIn applies the In predicate on the "generated_by_platform_id" field.

func GeneratedByPlatformIDIsNil added in v1.5.0

func GeneratedByPlatformIDIsNil() predicate.Scan

GeneratedByPlatformIDIsNil applies the IsNil predicate on the "generated_by_platform_id" field.

func GeneratedByPlatformIDLT added in v1.5.0

func GeneratedByPlatformIDLT(v string) predicate.Scan

GeneratedByPlatformIDLT applies the LT predicate on the "generated_by_platform_id" field.

func GeneratedByPlatformIDLTE added in v1.5.0

func GeneratedByPlatformIDLTE(v string) predicate.Scan

GeneratedByPlatformIDLTE applies the LTE predicate on the "generated_by_platform_id" field.

func GeneratedByPlatformIDNEQ added in v1.5.0

func GeneratedByPlatformIDNEQ(v string) predicate.Scan

GeneratedByPlatformIDNEQ applies the NEQ predicate on the "generated_by_platform_id" field.

func GeneratedByPlatformIDNotIn added in v1.5.0

func GeneratedByPlatformIDNotIn(vs ...string) predicate.Scan

GeneratedByPlatformIDNotIn applies the NotIn predicate on the "generated_by_platform_id" field.

func GeneratedByPlatformIDNotNil added in v1.5.0

func GeneratedByPlatformIDNotNil() predicate.Scan

GeneratedByPlatformIDNotNil applies the NotNil predicate on the "generated_by_platform_id" field.

func HasActionPlans added in v1.5.0

func HasActionPlans() predicate.Scan

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

func HasActionPlansWith added in v1.5.0

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

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

func HasAssets

func HasAssets() predicate.Scan

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

func HasAssetsWith

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

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

func HasAssignedToGroup added in v1.5.0

func HasAssignedToGroup() predicate.Scan

HasAssignedToGroup applies the HasEdge predicate on the "assigned_to_group" edge.

func HasAssignedToGroupWith added in v1.5.0

func HasAssignedToGroupWith(preds ...predicate.Group) predicate.Scan

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

func HasAssignedToUser added in v1.5.0

func HasAssignedToUser() predicate.Scan

HasAssignedToUser applies the HasEdge predicate on the "assigned_to_user" edge.

func HasAssignedToUserWith added in v1.5.0

func HasAssignedToUserWith(preds ...predicate.User) predicate.Scan

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

func HasBlockedGroups

func HasBlockedGroups() predicate.Scan

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

func HasBlockedGroupsWith

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

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

func HasControls added in v1.5.0

func HasControls() predicate.Scan

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

func HasControlsWith added in v1.5.0

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

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

func HasEditors

func HasEditors() predicate.Scan

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

func HasEditorsWith

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

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

func HasEntities

func HasEntities() predicate.Scan

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

func HasEntitiesWith

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

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

func HasEnvironment added in v1.5.0

func HasEnvironment() predicate.Scan

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

func HasEnvironmentWith added in v1.5.0

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

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

func HasEvidence added in v1.5.0

func HasEvidence() predicate.Scan

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

func HasEvidenceWith added in v1.5.0

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

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

func HasFiles added in v1.5.0

func HasFiles() predicate.Scan

HasFiles applies the HasEdge predicate on the "files" edge.

func HasFilesWith added in v1.5.0

func HasFilesWith(preds ...predicate.File) predicate.Scan

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

func HasGeneratedByPlatform added in v1.5.0

func HasGeneratedByPlatform() predicate.Scan

HasGeneratedByPlatform applies the HasEdge predicate on the "generated_by_platform" edge.

func HasGeneratedByPlatformWith added in v1.5.0

func HasGeneratedByPlatformWith(preds ...predicate.Platform) predicate.Scan

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

func HasOwner

func HasOwner() predicate.Scan

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

func HasOwnerWith

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

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

func HasPerformedByGroup added in v1.5.0

func HasPerformedByGroup() predicate.Scan

HasPerformedByGroup applies the HasEdge predicate on the "performed_by_group" edge.

func HasPerformedByGroupWith added in v1.5.0

func HasPerformedByGroupWith(preds ...predicate.Group) predicate.Scan

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

func HasPerformedByUser added in v1.5.0

func HasPerformedByUser() predicate.Scan

HasPerformedByUser applies the HasEdge predicate on the "performed_by_user" edge.

func HasPerformedByUserWith added in v1.5.0

func HasPerformedByUserWith(preds ...predicate.User) predicate.Scan

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

func HasPlatforms added in v1.5.0

func HasPlatforms() predicate.Scan

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

func HasPlatformsWith added in v1.5.0

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

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

func HasRemediations added in v1.5.0

func HasRemediations() predicate.Scan

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

func HasRemediationsWith added in v1.5.0

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

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

func HasReviewedByGroup added in v1.5.0

func HasReviewedByGroup() predicate.Scan

HasReviewedByGroup applies the HasEdge predicate on the "reviewed_by_group" edge.

func HasReviewedByGroupWith added in v1.5.0

func HasReviewedByGroupWith(preds ...predicate.Group) predicate.Scan

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

func HasReviewedByUser added in v1.5.0

func HasReviewedByUser() predicate.Scan

HasReviewedByUser applies the HasEdge predicate on the "reviewed_by_user" edge.

func HasReviewedByUserWith added in v1.5.0

func HasReviewedByUserWith(preds ...predicate.User) predicate.Scan

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

func HasScope added in v1.5.0

func HasScope() predicate.Scan

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

func HasScopeWith added in v1.5.0

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

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

func HasTasks added in v1.5.0

func HasTasks() predicate.Scan

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

func HasTasksWith added in v1.5.0

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

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

func HasViewers

func HasViewers() predicate.Scan

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

func HasViewersWith

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

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

func HasVulnerabilities added in v1.5.0

func HasVulnerabilities() predicate.Scan

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

func HasVulnerabilitiesWith added in v1.5.0

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

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

func ID

func ID(id string) predicate.Scan

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Scan

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Scan

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Scan

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Scan

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Scan

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Scan

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Scan

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Scan

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func MetadataIsNil

func MetadataIsNil() predicate.Scan

MetadataIsNil applies the IsNil predicate on the "metadata" field.

func MetadataNotNil

func MetadataNotNil() predicate.Scan

MetadataNotNil applies the NotNil predicate on the "metadata" field.

func NextScanRunAt added in v1.5.0

func NextScanRunAt(v models.DateTime) predicate.Scan

NextScanRunAt applies equality check predicate on the "next_scan_run_at" field. It's identical to NextScanRunAtEQ.

func NextScanRunAtEQ added in v1.5.0

func NextScanRunAtEQ(v models.DateTime) predicate.Scan

NextScanRunAtEQ applies the EQ predicate on the "next_scan_run_at" field.

func NextScanRunAtGT added in v1.5.0

func NextScanRunAtGT(v models.DateTime) predicate.Scan

NextScanRunAtGT applies the GT predicate on the "next_scan_run_at" field.

func NextScanRunAtGTE added in v1.5.0

func NextScanRunAtGTE(v models.DateTime) predicate.Scan

NextScanRunAtGTE applies the GTE predicate on the "next_scan_run_at" field.

func NextScanRunAtIn added in v1.5.0

func NextScanRunAtIn(vs ...models.DateTime) predicate.Scan

NextScanRunAtIn applies the In predicate on the "next_scan_run_at" field.

func NextScanRunAtIsNil added in v1.5.0

func NextScanRunAtIsNil() predicate.Scan

NextScanRunAtIsNil applies the IsNil predicate on the "next_scan_run_at" field.

func NextScanRunAtLT added in v1.5.0

func NextScanRunAtLT(v models.DateTime) predicate.Scan

NextScanRunAtLT applies the LT predicate on the "next_scan_run_at" field.

func NextScanRunAtLTE added in v1.5.0

func NextScanRunAtLTE(v models.DateTime) predicate.Scan

NextScanRunAtLTE applies the LTE predicate on the "next_scan_run_at" field.

func NextScanRunAtNEQ added in v1.5.0

func NextScanRunAtNEQ(v models.DateTime) predicate.Scan

NextScanRunAtNEQ applies the NEQ predicate on the "next_scan_run_at" field.

func NextScanRunAtNotIn added in v1.5.0

func NextScanRunAtNotIn(vs ...models.DateTime) predicate.Scan

NextScanRunAtNotIn applies the NotIn predicate on the "next_scan_run_at" field.

func NextScanRunAtNotNil added in v1.5.0

func NextScanRunAtNotNil() predicate.Scan

NextScanRunAtNotNil applies the NotNil predicate on the "next_scan_run_at" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Scan) predicate.Scan

Or groups predicates with the OR operator between them.

func OwnerID

func OwnerID(v string) predicate.Scan

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

func OwnerIDContains

func OwnerIDContains(v string) predicate.Scan

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

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.Scan

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

func OwnerIDEQ

func OwnerIDEQ(v string) predicate.Scan

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

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.Scan

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

func OwnerIDGT

func OwnerIDGT(v string) predicate.Scan

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

func OwnerIDGTE

func OwnerIDGTE(v string) predicate.Scan

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

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.Scan

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

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.Scan

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

func OwnerIDIn

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

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

func OwnerIDIsNil

func OwnerIDIsNil() predicate.Scan

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

func OwnerIDLT

func OwnerIDLT(v string) predicate.Scan

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

func OwnerIDLTE

func OwnerIDLTE(v string) predicate.Scan

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

func OwnerIDNEQ

func OwnerIDNEQ(v string) predicate.Scan

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

func OwnerIDNotIn

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

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

func OwnerIDNotNil

func OwnerIDNotNil() predicate.Scan

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

func PerformedBy added in v1.5.0

func PerformedBy(v string) predicate.Scan

PerformedBy applies equality check predicate on the "performed_by" field. It's identical to PerformedByEQ.

func PerformedByContains added in v1.5.0

func PerformedByContains(v string) predicate.Scan

PerformedByContains applies the Contains predicate on the "performed_by" field.

func PerformedByContainsFold added in v1.5.0

func PerformedByContainsFold(v string) predicate.Scan

PerformedByContainsFold applies the ContainsFold predicate on the "performed_by" field.

func PerformedByEQ added in v1.5.0

func PerformedByEQ(v string) predicate.Scan

PerformedByEQ applies the EQ predicate on the "performed_by" field.

func PerformedByEqualFold added in v1.5.0

func PerformedByEqualFold(v string) predicate.Scan

PerformedByEqualFold applies the EqualFold predicate on the "performed_by" field.

func PerformedByGT added in v1.5.0

func PerformedByGT(v string) predicate.Scan

PerformedByGT applies the GT predicate on the "performed_by" field.

func PerformedByGTE added in v1.5.0

func PerformedByGTE(v string) predicate.Scan

PerformedByGTE applies the GTE predicate on the "performed_by" field.

func PerformedByGroupID added in v1.5.0

func PerformedByGroupID(v string) predicate.Scan

PerformedByGroupID applies equality check predicate on the "performed_by_group_id" field. It's identical to PerformedByGroupIDEQ.

func PerformedByGroupIDContains added in v1.5.0

func PerformedByGroupIDContains(v string) predicate.Scan

PerformedByGroupIDContains applies the Contains predicate on the "performed_by_group_id" field.

func PerformedByGroupIDContainsFold added in v1.5.0

func PerformedByGroupIDContainsFold(v string) predicate.Scan

PerformedByGroupIDContainsFold applies the ContainsFold predicate on the "performed_by_group_id" field.

func PerformedByGroupIDEQ added in v1.5.0

func PerformedByGroupIDEQ(v string) predicate.Scan

PerformedByGroupIDEQ applies the EQ predicate on the "performed_by_group_id" field.

func PerformedByGroupIDEqualFold added in v1.5.0

func PerformedByGroupIDEqualFold(v string) predicate.Scan

PerformedByGroupIDEqualFold applies the EqualFold predicate on the "performed_by_group_id" field.

func PerformedByGroupIDGT added in v1.5.0

func PerformedByGroupIDGT(v string) predicate.Scan

PerformedByGroupIDGT applies the GT predicate on the "performed_by_group_id" field.

func PerformedByGroupIDGTE added in v1.5.0

func PerformedByGroupIDGTE(v string) predicate.Scan

PerformedByGroupIDGTE applies the GTE predicate on the "performed_by_group_id" field.

func PerformedByGroupIDHasPrefix added in v1.5.0

func PerformedByGroupIDHasPrefix(v string) predicate.Scan

PerformedByGroupIDHasPrefix applies the HasPrefix predicate on the "performed_by_group_id" field.

func PerformedByGroupIDHasSuffix added in v1.5.0

func PerformedByGroupIDHasSuffix(v string) predicate.Scan

PerformedByGroupIDHasSuffix applies the HasSuffix predicate on the "performed_by_group_id" field.

func PerformedByGroupIDIn added in v1.5.0

func PerformedByGroupIDIn(vs ...string) predicate.Scan

PerformedByGroupIDIn applies the In predicate on the "performed_by_group_id" field.

func PerformedByGroupIDIsNil added in v1.5.0

func PerformedByGroupIDIsNil() predicate.Scan

PerformedByGroupIDIsNil applies the IsNil predicate on the "performed_by_group_id" field.

func PerformedByGroupIDLT added in v1.5.0

func PerformedByGroupIDLT(v string) predicate.Scan

PerformedByGroupIDLT applies the LT predicate on the "performed_by_group_id" field.

func PerformedByGroupIDLTE added in v1.5.0

func PerformedByGroupIDLTE(v string) predicate.Scan

PerformedByGroupIDLTE applies the LTE predicate on the "performed_by_group_id" field.

func PerformedByGroupIDNEQ added in v1.5.0

func PerformedByGroupIDNEQ(v string) predicate.Scan

PerformedByGroupIDNEQ applies the NEQ predicate on the "performed_by_group_id" field.

func PerformedByGroupIDNotIn added in v1.5.0

func PerformedByGroupIDNotIn(vs ...string) predicate.Scan

PerformedByGroupIDNotIn applies the NotIn predicate on the "performed_by_group_id" field.

func PerformedByGroupIDNotNil added in v1.5.0

func PerformedByGroupIDNotNil() predicate.Scan

PerformedByGroupIDNotNil applies the NotNil predicate on the "performed_by_group_id" field.

func PerformedByHasPrefix added in v1.5.0

func PerformedByHasPrefix(v string) predicate.Scan

PerformedByHasPrefix applies the HasPrefix predicate on the "performed_by" field.

func PerformedByHasSuffix added in v1.5.0

func PerformedByHasSuffix(v string) predicate.Scan

PerformedByHasSuffix applies the HasSuffix predicate on the "performed_by" field.

func PerformedByIn added in v1.5.0

func PerformedByIn(vs ...string) predicate.Scan

PerformedByIn applies the In predicate on the "performed_by" field.

func PerformedByIsNil added in v1.5.0

func PerformedByIsNil() predicate.Scan

PerformedByIsNil applies the IsNil predicate on the "performed_by" field.

func PerformedByLT added in v1.5.0

func PerformedByLT(v string) predicate.Scan

PerformedByLT applies the LT predicate on the "performed_by" field.

func PerformedByLTE added in v1.5.0

func PerformedByLTE(v string) predicate.Scan

PerformedByLTE applies the LTE predicate on the "performed_by" field.

func PerformedByNEQ added in v1.5.0

func PerformedByNEQ(v string) predicate.Scan

PerformedByNEQ applies the NEQ predicate on the "performed_by" field.

func PerformedByNotIn added in v1.5.0

func PerformedByNotIn(vs ...string) predicate.Scan

PerformedByNotIn applies the NotIn predicate on the "performed_by" field.

func PerformedByNotNil added in v1.5.0

func PerformedByNotNil() predicate.Scan

PerformedByNotNil applies the NotNil predicate on the "performed_by" field.

func PerformedByUserID added in v1.5.0

func PerformedByUserID(v string) predicate.Scan

PerformedByUserID applies equality check predicate on the "performed_by_user_id" field. It's identical to PerformedByUserIDEQ.

func PerformedByUserIDContains added in v1.5.0

func PerformedByUserIDContains(v string) predicate.Scan

PerformedByUserIDContains applies the Contains predicate on the "performed_by_user_id" field.

func PerformedByUserIDContainsFold added in v1.5.0

func PerformedByUserIDContainsFold(v string) predicate.Scan

PerformedByUserIDContainsFold applies the ContainsFold predicate on the "performed_by_user_id" field.

func PerformedByUserIDEQ added in v1.5.0

func PerformedByUserIDEQ(v string) predicate.Scan

PerformedByUserIDEQ applies the EQ predicate on the "performed_by_user_id" field.

func PerformedByUserIDEqualFold added in v1.5.0

func PerformedByUserIDEqualFold(v string) predicate.Scan

PerformedByUserIDEqualFold applies the EqualFold predicate on the "performed_by_user_id" field.

func PerformedByUserIDGT added in v1.5.0

func PerformedByUserIDGT(v string) predicate.Scan

PerformedByUserIDGT applies the GT predicate on the "performed_by_user_id" field.

func PerformedByUserIDGTE added in v1.5.0

func PerformedByUserIDGTE(v string) predicate.Scan

PerformedByUserIDGTE applies the GTE predicate on the "performed_by_user_id" field.

func PerformedByUserIDHasPrefix added in v1.5.0

func PerformedByUserIDHasPrefix(v string) predicate.Scan

PerformedByUserIDHasPrefix applies the HasPrefix predicate on the "performed_by_user_id" field.

func PerformedByUserIDHasSuffix added in v1.5.0

func PerformedByUserIDHasSuffix(v string) predicate.Scan

PerformedByUserIDHasSuffix applies the HasSuffix predicate on the "performed_by_user_id" field.

func PerformedByUserIDIn added in v1.5.0

func PerformedByUserIDIn(vs ...string) predicate.Scan

PerformedByUserIDIn applies the In predicate on the "performed_by_user_id" field.

func PerformedByUserIDIsNil added in v1.5.0

func PerformedByUserIDIsNil() predicate.Scan

PerformedByUserIDIsNil applies the IsNil predicate on the "performed_by_user_id" field.

func PerformedByUserIDLT added in v1.5.0

func PerformedByUserIDLT(v string) predicate.Scan

PerformedByUserIDLT applies the LT predicate on the "performed_by_user_id" field.

func PerformedByUserIDLTE added in v1.5.0

func PerformedByUserIDLTE(v string) predicate.Scan

PerformedByUserIDLTE applies the LTE predicate on the "performed_by_user_id" field.

func PerformedByUserIDNEQ added in v1.5.0

func PerformedByUserIDNEQ(v string) predicate.Scan

PerformedByUserIDNEQ applies the NEQ predicate on the "performed_by_user_id" field.

func PerformedByUserIDNotIn added in v1.5.0

func PerformedByUserIDNotIn(vs ...string) predicate.Scan

PerformedByUserIDNotIn applies the NotIn predicate on the "performed_by_user_id" field.

func PerformedByUserIDNotNil added in v1.5.0

func PerformedByUserIDNotNil() predicate.Scan

PerformedByUserIDNotNil applies the NotNil predicate on the "performed_by_user_id" field.

func ReviewedBy added in v1.5.0

func ReviewedBy(v string) predicate.Scan

ReviewedBy applies equality check predicate on the "reviewed_by" field. It's identical to ReviewedByEQ.

func ReviewedByContains added in v1.5.0

func ReviewedByContains(v string) predicate.Scan

ReviewedByContains applies the Contains predicate on the "reviewed_by" field.

func ReviewedByContainsFold added in v1.5.0

func ReviewedByContainsFold(v string) predicate.Scan

ReviewedByContainsFold applies the ContainsFold predicate on the "reviewed_by" field.

func ReviewedByEQ added in v1.5.0

func ReviewedByEQ(v string) predicate.Scan

ReviewedByEQ applies the EQ predicate on the "reviewed_by" field.

func ReviewedByEqualFold added in v1.5.0

func ReviewedByEqualFold(v string) predicate.Scan

ReviewedByEqualFold applies the EqualFold predicate on the "reviewed_by" field.

func ReviewedByGT added in v1.5.0

func ReviewedByGT(v string) predicate.Scan

ReviewedByGT applies the GT predicate on the "reviewed_by" field.

func ReviewedByGTE added in v1.5.0

func ReviewedByGTE(v string) predicate.Scan

ReviewedByGTE applies the GTE predicate on the "reviewed_by" field.

func ReviewedByGroupID added in v1.5.0

func ReviewedByGroupID(v string) predicate.Scan

ReviewedByGroupID applies equality check predicate on the "reviewed_by_group_id" field. It's identical to ReviewedByGroupIDEQ.

func ReviewedByGroupIDContains added in v1.5.0

func ReviewedByGroupIDContains(v string) predicate.Scan

ReviewedByGroupIDContains applies the Contains predicate on the "reviewed_by_group_id" field.

func ReviewedByGroupIDContainsFold added in v1.5.0

func ReviewedByGroupIDContainsFold(v string) predicate.Scan

ReviewedByGroupIDContainsFold applies the ContainsFold predicate on the "reviewed_by_group_id" field.

func ReviewedByGroupIDEQ added in v1.5.0

func ReviewedByGroupIDEQ(v string) predicate.Scan

ReviewedByGroupIDEQ applies the EQ predicate on the "reviewed_by_group_id" field.

func ReviewedByGroupIDEqualFold added in v1.5.0

func ReviewedByGroupIDEqualFold(v string) predicate.Scan

ReviewedByGroupIDEqualFold applies the EqualFold predicate on the "reviewed_by_group_id" field.

func ReviewedByGroupIDGT added in v1.5.0

func ReviewedByGroupIDGT(v string) predicate.Scan

ReviewedByGroupIDGT applies the GT predicate on the "reviewed_by_group_id" field.

func ReviewedByGroupIDGTE added in v1.5.0

func ReviewedByGroupIDGTE(v string) predicate.Scan

ReviewedByGroupIDGTE applies the GTE predicate on the "reviewed_by_group_id" field.

func ReviewedByGroupIDHasPrefix added in v1.5.0

func ReviewedByGroupIDHasPrefix(v string) predicate.Scan

ReviewedByGroupIDHasPrefix applies the HasPrefix predicate on the "reviewed_by_group_id" field.

func ReviewedByGroupIDHasSuffix added in v1.5.0

func ReviewedByGroupIDHasSuffix(v string) predicate.Scan

ReviewedByGroupIDHasSuffix applies the HasSuffix predicate on the "reviewed_by_group_id" field.

func ReviewedByGroupIDIn added in v1.5.0

func ReviewedByGroupIDIn(vs ...string) predicate.Scan

ReviewedByGroupIDIn applies the In predicate on the "reviewed_by_group_id" field.

func ReviewedByGroupIDIsNil added in v1.5.0

func ReviewedByGroupIDIsNil() predicate.Scan

ReviewedByGroupIDIsNil applies the IsNil predicate on the "reviewed_by_group_id" field.

func ReviewedByGroupIDLT added in v1.5.0

func ReviewedByGroupIDLT(v string) predicate.Scan

ReviewedByGroupIDLT applies the LT predicate on the "reviewed_by_group_id" field.

func ReviewedByGroupIDLTE added in v1.5.0

func ReviewedByGroupIDLTE(v string) predicate.Scan

ReviewedByGroupIDLTE applies the LTE predicate on the "reviewed_by_group_id" field.

func ReviewedByGroupIDNEQ added in v1.5.0

func ReviewedByGroupIDNEQ(v string) predicate.Scan

ReviewedByGroupIDNEQ applies the NEQ predicate on the "reviewed_by_group_id" field.

func ReviewedByGroupIDNotIn added in v1.5.0

func ReviewedByGroupIDNotIn(vs ...string) predicate.Scan

ReviewedByGroupIDNotIn applies the NotIn predicate on the "reviewed_by_group_id" field.

func ReviewedByGroupIDNotNil added in v1.5.0

func ReviewedByGroupIDNotNil() predicate.Scan

ReviewedByGroupIDNotNil applies the NotNil predicate on the "reviewed_by_group_id" field.

func ReviewedByHasPrefix added in v1.5.0

func ReviewedByHasPrefix(v string) predicate.Scan

ReviewedByHasPrefix applies the HasPrefix predicate on the "reviewed_by" field.

func ReviewedByHasSuffix added in v1.5.0

func ReviewedByHasSuffix(v string) predicate.Scan

ReviewedByHasSuffix applies the HasSuffix predicate on the "reviewed_by" field.

func ReviewedByIn added in v1.5.0

func ReviewedByIn(vs ...string) predicate.Scan

ReviewedByIn applies the In predicate on the "reviewed_by" field.

func ReviewedByIsNil added in v1.5.0

func ReviewedByIsNil() predicate.Scan

ReviewedByIsNil applies the IsNil predicate on the "reviewed_by" field.

func ReviewedByLT added in v1.5.0

func ReviewedByLT(v string) predicate.Scan

ReviewedByLT applies the LT predicate on the "reviewed_by" field.

func ReviewedByLTE added in v1.5.0

func ReviewedByLTE(v string) predicate.Scan

ReviewedByLTE applies the LTE predicate on the "reviewed_by" field.

func ReviewedByNEQ added in v1.5.0

func ReviewedByNEQ(v string) predicate.Scan

ReviewedByNEQ applies the NEQ predicate on the "reviewed_by" field.

func ReviewedByNotIn added in v1.5.0

func ReviewedByNotIn(vs ...string) predicate.Scan

ReviewedByNotIn applies the NotIn predicate on the "reviewed_by" field.

func ReviewedByNotNil added in v1.5.0

func ReviewedByNotNil() predicate.Scan

ReviewedByNotNil applies the NotNil predicate on the "reviewed_by" field.

func ReviewedByUserID added in v1.5.0

func ReviewedByUserID(v string) predicate.Scan

ReviewedByUserID applies equality check predicate on the "reviewed_by_user_id" field. It's identical to ReviewedByUserIDEQ.

func ReviewedByUserIDContains added in v1.5.0

func ReviewedByUserIDContains(v string) predicate.Scan

ReviewedByUserIDContains applies the Contains predicate on the "reviewed_by_user_id" field.

func ReviewedByUserIDContainsFold added in v1.5.0

func ReviewedByUserIDContainsFold(v string) predicate.Scan

ReviewedByUserIDContainsFold applies the ContainsFold predicate on the "reviewed_by_user_id" field.

func ReviewedByUserIDEQ added in v1.5.0

func ReviewedByUserIDEQ(v string) predicate.Scan

ReviewedByUserIDEQ applies the EQ predicate on the "reviewed_by_user_id" field.

func ReviewedByUserIDEqualFold added in v1.5.0

func ReviewedByUserIDEqualFold(v string) predicate.Scan

ReviewedByUserIDEqualFold applies the EqualFold predicate on the "reviewed_by_user_id" field.

func ReviewedByUserIDGT added in v1.5.0

func ReviewedByUserIDGT(v string) predicate.Scan

ReviewedByUserIDGT applies the GT predicate on the "reviewed_by_user_id" field.

func ReviewedByUserIDGTE added in v1.5.0

func ReviewedByUserIDGTE(v string) predicate.Scan

ReviewedByUserIDGTE applies the GTE predicate on the "reviewed_by_user_id" field.

func ReviewedByUserIDHasPrefix added in v1.5.0

func ReviewedByUserIDHasPrefix(v string) predicate.Scan

ReviewedByUserIDHasPrefix applies the HasPrefix predicate on the "reviewed_by_user_id" field.

func ReviewedByUserIDHasSuffix added in v1.5.0

func ReviewedByUserIDHasSuffix(v string) predicate.Scan

ReviewedByUserIDHasSuffix applies the HasSuffix predicate on the "reviewed_by_user_id" field.

func ReviewedByUserIDIn added in v1.5.0

func ReviewedByUserIDIn(vs ...string) predicate.Scan

ReviewedByUserIDIn applies the In predicate on the "reviewed_by_user_id" field.

func ReviewedByUserIDIsNil added in v1.5.0

func ReviewedByUserIDIsNil() predicate.Scan

ReviewedByUserIDIsNil applies the IsNil predicate on the "reviewed_by_user_id" field.

func ReviewedByUserIDLT added in v1.5.0

func ReviewedByUserIDLT(v string) predicate.Scan

ReviewedByUserIDLT applies the LT predicate on the "reviewed_by_user_id" field.

func ReviewedByUserIDLTE added in v1.5.0

func ReviewedByUserIDLTE(v string) predicate.Scan

ReviewedByUserIDLTE applies the LTE predicate on the "reviewed_by_user_id" field.

func ReviewedByUserIDNEQ added in v1.5.0

func ReviewedByUserIDNEQ(v string) predicate.Scan

ReviewedByUserIDNEQ applies the NEQ predicate on the "reviewed_by_user_id" field.

func ReviewedByUserIDNotIn added in v1.5.0

func ReviewedByUserIDNotIn(vs ...string) predicate.Scan

ReviewedByUserIDNotIn applies the NotIn predicate on the "reviewed_by_user_id" field.

func ReviewedByUserIDNotNil added in v1.5.0

func ReviewedByUserIDNotNil() predicate.Scan

ReviewedByUserIDNotNil applies the NotNil predicate on the "reviewed_by_user_id" field.

func ScanDate added in v1.5.0

func ScanDate(v models.DateTime) predicate.Scan

ScanDate applies equality check predicate on the "scan_date" field. It's identical to ScanDateEQ.

func ScanDateEQ added in v1.5.0

func ScanDateEQ(v models.DateTime) predicate.Scan

ScanDateEQ applies the EQ predicate on the "scan_date" field.

func ScanDateGT added in v1.5.0

func ScanDateGT(v models.DateTime) predicate.Scan

ScanDateGT applies the GT predicate on the "scan_date" field.

func ScanDateGTE added in v1.5.0

func ScanDateGTE(v models.DateTime) predicate.Scan

ScanDateGTE applies the GTE predicate on the "scan_date" field.

func ScanDateIn added in v1.5.0

func ScanDateIn(vs ...models.DateTime) predicate.Scan

ScanDateIn applies the In predicate on the "scan_date" field.

func ScanDateIsNil added in v1.5.0

func ScanDateIsNil() predicate.Scan

ScanDateIsNil applies the IsNil predicate on the "scan_date" field.

func ScanDateLT added in v1.5.0

func ScanDateLT(v models.DateTime) predicate.Scan

ScanDateLT applies the LT predicate on the "scan_date" field.

func ScanDateLTE added in v1.5.0

func ScanDateLTE(v models.DateTime) predicate.Scan

ScanDateLTE applies the LTE predicate on the "scan_date" field.

func ScanDateNEQ added in v1.5.0

func ScanDateNEQ(v models.DateTime) predicate.Scan

ScanDateNEQ applies the NEQ predicate on the "scan_date" field.

func ScanDateNotIn added in v1.5.0

func ScanDateNotIn(vs ...models.DateTime) predicate.Scan

ScanDateNotIn applies the NotIn predicate on the "scan_date" field.

func ScanDateNotNil added in v1.5.0

func ScanDateNotNil() predicate.Scan

ScanDateNotNil applies the NotNil predicate on the "scan_date" field.

func ScanSchedule added in v1.5.0

func ScanSchedule(v models.Cron) predicate.Scan

ScanSchedule applies equality check predicate on the "scan_schedule" field. It's identical to ScanScheduleEQ.

func ScanScheduleContains added in v1.5.0

func ScanScheduleContains(v models.Cron) predicate.Scan

ScanScheduleContains applies the Contains predicate on the "scan_schedule" field.

func ScanScheduleContainsFold added in v1.5.0

func ScanScheduleContainsFold(v models.Cron) predicate.Scan

ScanScheduleContainsFold applies the ContainsFold predicate on the "scan_schedule" field.

func ScanScheduleEQ added in v1.5.0

func ScanScheduleEQ(v models.Cron) predicate.Scan

ScanScheduleEQ applies the EQ predicate on the "scan_schedule" field.

func ScanScheduleEqualFold added in v1.5.0

func ScanScheduleEqualFold(v models.Cron) predicate.Scan

ScanScheduleEqualFold applies the EqualFold predicate on the "scan_schedule" field.

func ScanScheduleGT added in v1.5.0

func ScanScheduleGT(v models.Cron) predicate.Scan

ScanScheduleGT applies the GT predicate on the "scan_schedule" field.

func ScanScheduleGTE added in v1.5.0

func ScanScheduleGTE(v models.Cron) predicate.Scan

ScanScheduleGTE applies the GTE predicate on the "scan_schedule" field.

func ScanScheduleHasPrefix added in v1.5.0

func ScanScheduleHasPrefix(v models.Cron) predicate.Scan

ScanScheduleHasPrefix applies the HasPrefix predicate on the "scan_schedule" field.

func ScanScheduleHasSuffix added in v1.5.0

func ScanScheduleHasSuffix(v models.Cron) predicate.Scan

ScanScheduleHasSuffix applies the HasSuffix predicate on the "scan_schedule" field.

func ScanScheduleIn added in v1.5.0

func ScanScheduleIn(vs ...models.Cron) predicate.Scan

ScanScheduleIn applies the In predicate on the "scan_schedule" field.

func ScanScheduleIsNil added in v1.5.0

func ScanScheduleIsNil() predicate.Scan

ScanScheduleIsNil applies the IsNil predicate on the "scan_schedule" field.

func ScanScheduleLT added in v1.5.0

func ScanScheduleLT(v models.Cron) predicate.Scan

ScanScheduleLT applies the LT predicate on the "scan_schedule" field.

func ScanScheduleLTE added in v1.5.0

func ScanScheduleLTE(v models.Cron) predicate.Scan

ScanScheduleLTE applies the LTE predicate on the "scan_schedule" field.

func ScanScheduleNEQ added in v1.5.0

func ScanScheduleNEQ(v models.Cron) predicate.Scan

ScanScheduleNEQ applies the NEQ predicate on the "scan_schedule" field.

func ScanScheduleNotIn added in v1.5.0

func ScanScheduleNotIn(vs ...models.Cron) predicate.Scan

ScanScheduleNotIn applies the NotIn predicate on the "scan_schedule" field.

func ScanScheduleNotNil added in v1.5.0

func ScanScheduleNotNil() predicate.Scan

ScanScheduleNotNil applies the NotNil predicate on the "scan_schedule" field.

func ScanTypeEQ

func ScanTypeEQ(v enums.ScanType) predicate.Scan

ScanTypeEQ applies the EQ predicate on the "scan_type" field.

func ScanTypeIn

func ScanTypeIn(vs ...enums.ScanType) predicate.Scan

ScanTypeIn applies the In predicate on the "scan_type" field.

func ScanTypeNEQ

func ScanTypeNEQ(v enums.ScanType) predicate.Scan

ScanTypeNEQ applies the NEQ predicate on the "scan_type" field.

func ScanTypeNotIn

func ScanTypeNotIn(vs ...enums.ScanType) predicate.Scan

ScanTypeNotIn applies the NotIn predicate on the "scan_type" field.

func ScanTypeValidator

func ScanTypeValidator(st enums.ScanType) error

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

func ScopeID added in v1.5.0

func ScopeID(v string) predicate.Scan

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

func ScopeIDContains added in v1.5.0

func ScopeIDContains(v string) predicate.Scan

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

func ScopeIDContainsFold added in v1.5.0

func ScopeIDContainsFold(v string) predicate.Scan

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

func ScopeIDEQ added in v1.5.0

func ScopeIDEQ(v string) predicate.Scan

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

func ScopeIDEqualFold added in v1.5.0

func ScopeIDEqualFold(v string) predicate.Scan

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

func ScopeIDGT added in v1.5.0

func ScopeIDGT(v string) predicate.Scan

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

func ScopeIDGTE added in v1.5.0

func ScopeIDGTE(v string) predicate.Scan

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

func ScopeIDHasPrefix added in v1.5.0

func ScopeIDHasPrefix(v string) predicate.Scan

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

func ScopeIDHasSuffix added in v1.5.0

func ScopeIDHasSuffix(v string) predicate.Scan

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

func ScopeIDIn added in v1.5.0

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

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

func ScopeIDIsNil added in v1.5.0

func ScopeIDIsNil() predicate.Scan

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

func ScopeIDLT added in v1.5.0

func ScopeIDLT(v string) predicate.Scan

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

func ScopeIDLTE added in v1.5.0

func ScopeIDLTE(v string) predicate.Scan

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

func ScopeIDNEQ added in v1.5.0

func ScopeIDNEQ(v string) predicate.Scan

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

func ScopeIDNotIn added in v1.5.0

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

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

func ScopeIDNotNil added in v1.5.0

func ScopeIDNotNil() predicate.Scan

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

func ScopeName added in v1.5.0

func ScopeName(v string) predicate.Scan

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

func ScopeNameContains added in v1.5.0

func ScopeNameContains(v string) predicate.Scan

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

func ScopeNameContainsFold added in v1.5.0

func ScopeNameContainsFold(v string) predicate.Scan

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

func ScopeNameEQ added in v1.5.0

func ScopeNameEQ(v string) predicate.Scan

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

func ScopeNameEqualFold added in v1.5.0

func ScopeNameEqualFold(v string) predicate.Scan

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

func ScopeNameGT added in v1.5.0

func ScopeNameGT(v string) predicate.Scan

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

func ScopeNameGTE added in v1.5.0

func ScopeNameGTE(v string) predicate.Scan

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

func ScopeNameHasPrefix added in v1.5.0

func ScopeNameHasPrefix(v string) predicate.Scan

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

func ScopeNameHasSuffix added in v1.5.0

func ScopeNameHasSuffix(v string) predicate.Scan

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

func ScopeNameIn added in v1.5.0

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

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

func ScopeNameIsNil added in v1.5.0

func ScopeNameIsNil() predicate.Scan

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

func ScopeNameLT added in v1.5.0

func ScopeNameLT(v string) predicate.Scan

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

func ScopeNameLTE added in v1.5.0

func ScopeNameLTE(v string) predicate.Scan

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

func ScopeNameNEQ added in v1.5.0

func ScopeNameNEQ(v string) predicate.Scan

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

func ScopeNameNotIn added in v1.5.0

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

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

func ScopeNameNotNil added in v1.5.0

func ScopeNameNotNil() predicate.Scan

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

func StatusEQ

func StatusEQ(v enums.ScanStatus) predicate.Scan

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

func StatusIn

func StatusIn(vs ...enums.ScanStatus) predicate.Scan

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

func StatusNEQ

func StatusNEQ(v enums.ScanStatus) predicate.Scan

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

func StatusNotIn

func StatusNotIn(vs ...enums.ScanStatus) predicate.Scan

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

func StatusValidator

func StatusValidator(s enums.ScanStatus) error

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

func TagsIsNil

func TagsIsNil() predicate.Scan

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

func TagsNotNil

func TagsNotNil() predicate.Scan

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

func Target

func Target(v string) predicate.Scan

Target applies equality check predicate on the "target" field. It's identical to TargetEQ.

func TargetContains

func TargetContains(v string) predicate.Scan

TargetContains applies the Contains predicate on the "target" field.

func TargetContainsFold

func TargetContainsFold(v string) predicate.Scan

TargetContainsFold applies the ContainsFold predicate on the "target" field.

func TargetEQ

func TargetEQ(v string) predicate.Scan

TargetEQ applies the EQ predicate on the "target" field.

func TargetEqualFold

func TargetEqualFold(v string) predicate.Scan

TargetEqualFold applies the EqualFold predicate on the "target" field.

func TargetGT

func TargetGT(v string) predicate.Scan

TargetGT applies the GT predicate on the "target" field.

func TargetGTE

func TargetGTE(v string) predicate.Scan

TargetGTE applies the GTE predicate on the "target" field.

func TargetHasPrefix

func TargetHasPrefix(v string) predicate.Scan

TargetHasPrefix applies the HasPrefix predicate on the "target" field.

func TargetHasSuffix

func TargetHasSuffix(v string) predicate.Scan

TargetHasSuffix applies the HasSuffix predicate on the "target" field.

func TargetIn

func TargetIn(vs ...string) predicate.Scan

TargetIn applies the In predicate on the "target" field.

func TargetLT

func TargetLT(v string) predicate.Scan

TargetLT applies the LT predicate on the "target" field.

func TargetLTE

func TargetLTE(v string) predicate.Scan

TargetLTE applies the LTE predicate on the "target" field.

func TargetNEQ

func TargetNEQ(v string) predicate.Scan

TargetNEQ applies the NEQ predicate on the "target" field.

func TargetNotIn

func TargetNotIn(vs ...string) predicate.Scan

TargetNotIn applies the NotIn predicate on the "target" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Scan

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Scan

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Scan

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Scan

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.Scan

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Scan

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Scan

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Scan

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.Scan

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

func UpdatedBy

func UpdatedBy(v string) predicate.Scan

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.Scan

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.Scan

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.Scan

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.Scan

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.Scan

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.Scan

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.Scan

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.Scan

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.Scan

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.Scan

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.Scan

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.Scan

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.Scan

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 VulnerabilityIdsIsNil added in v1.5.0

func VulnerabilityIdsIsNil() predicate.Scan

VulnerabilityIdsIsNil applies the IsNil predicate on the "vulnerability_ids" field.

func VulnerabilityIdsNotNil added in v1.5.0

func VulnerabilityIdsNotNil() predicate.Scan

VulnerabilityIdsNotNil applies the NotNil predicate on the "vulnerability_ids" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Scan queries.

func ByActionPlans added in v1.5.0

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

ByActionPlans orders the results by action_plans terms.

func ByActionPlansCount added in v1.5.0

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 ByAssignedTo added in v1.5.0

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

ByAssignedTo orders the results by the assigned_to field.

func ByAssignedToGroupField added in v1.5.0

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

ByAssignedToGroupField orders the results by assigned_to_group field.

func ByAssignedToGroupID added in v1.5.0

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

ByAssignedToGroupID orders the results by the assigned_to_group_id field.

func ByAssignedToUserField added in v1.5.0

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

ByAssignedToUserField orders the results by assigned_to_user field.

func ByAssignedToUserID added in v1.5.0

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

ByAssignedToUserID orders the results by the assigned_to_user_id field.

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 ByControls added in v1.5.0

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

ByControls orders the results by controls terms.

func ByControlsCount added in v1.5.0

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 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 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 added in v1.5.0

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

ByEnvironmentField orders the results by environment field.

func ByEnvironmentID added in v1.5.0

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

ByEnvironmentID orders the results by the environment_id field.

func ByEnvironmentName added in v1.5.0

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

ByEnvironmentName orders the results by the environment_name field.

func ByEvidence added in v1.5.0

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

ByEvidence orders the results by evidence terms.

func ByEvidenceCount added in v1.5.0

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

ByEvidenceCount orders the results by evidence count.

func ByFiles added in v1.5.0

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

ByFiles orders the results by files terms.

func ByFilesCount added in v1.5.0

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

ByFilesCount orders the results by files count.

func ByGeneratedByPlatformField added in v1.5.0

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

ByGeneratedByPlatformField orders the results by generated_by_platform field.

func ByGeneratedByPlatformID added in v1.5.0

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

ByGeneratedByPlatformID orders the results by the generated_by_platform_id field.

func ByID

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

ByID orders the results by the id field.

func ByNextScanRunAt added in v1.5.0

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

ByNextScanRunAt orders the results by the next_scan_run_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 ByPerformedBy added in v1.5.0

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

ByPerformedBy orders the results by the performed_by field.

func ByPerformedByGroupField added in v1.5.0

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

ByPerformedByGroupField orders the results by performed_by_group field.

func ByPerformedByGroupID added in v1.5.0

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

ByPerformedByGroupID orders the results by the performed_by_group_id field.

func ByPerformedByUserField added in v1.5.0

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

ByPerformedByUserField orders the results by performed_by_user field.

func ByPerformedByUserID added in v1.5.0

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

ByPerformedByUserID orders the results by the performed_by_user_id field.

func ByPlatforms added in v1.5.0

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

ByPlatforms orders the results by platforms terms.

func ByPlatformsCount added in v1.5.0

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

ByPlatformsCount orders the results by platforms count.

func ByRemediations added in v1.5.0

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

ByRemediations orders the results by remediations terms.

func ByRemediationsCount added in v1.5.0

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

ByRemediationsCount orders the results by remediations count.

func ByReviewedBy added in v1.5.0

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

ByReviewedBy orders the results by the reviewed_by field.

func ByReviewedByGroupField added in v1.5.0

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

ByReviewedByGroupField orders the results by reviewed_by_group field.

func ByReviewedByGroupID added in v1.5.0

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

ByReviewedByGroupID orders the results by the reviewed_by_group_id field.

func ByReviewedByUserField added in v1.5.0

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

ByReviewedByUserField orders the results by reviewed_by_user field.

func ByReviewedByUserID added in v1.5.0

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

ByReviewedByUserID orders the results by the reviewed_by_user_id field.

func ByScanDate added in v1.5.0

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

ByScanDate orders the results by the scan_date field.

func ByScanSchedule added in v1.5.0

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

ByScanSchedule orders the results by the scan_schedule field.

func ByScanType

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

ByScanType orders the results by the scan_type field.

func ByScopeField added in v1.5.0

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

ByScopeField orders the results by scope field.

func ByScopeID added in v1.5.0

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

ByScopeID orders the results by the scope_id field.

func ByScopeName added in v1.5.0

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

ByScopeName orders the results by the scope_name field.

func ByStatus

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

ByStatus orders the results by the status field.

func ByTarget

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

ByTarget orders the results by the target field.

func ByTasks added in v1.5.0

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

ByTasks orders the results by tasks terms.

func ByTasksCount added in v1.5.0

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 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 added in v1.5.0

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

ByVulnerabilities orders the results by vulnerabilities terms.

func ByVulnerabilitiesCount added in v1.5.0

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

ByVulnerabilitiesCount orders the results by vulnerabilities count.

Jump to

Keyboard shortcuts

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