checkresult

package
v2.17.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the checkresult type in the database.
	Label = "check_result"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldUpdatedByImpersonator holds the string denoting the updated_by_impersonator field in the database.
	FieldUpdatedByImpersonator = "updated_by_impersonator"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldDeletedBy holds the string denoting the deleted_by field in the database.
	FieldDeletedBy = "deleted_by"
	// FieldTags holds the string denoting the tags field in the database.
	FieldTags = "tags"
	// FieldSourceDefinitionID holds the string denoting the source_definition_id field in the database.
	FieldSourceDefinitionID = "source_definition_id"
	// FieldSourceDefinitionVersion holds the string denoting the source_definition_version field in the database.
	FieldSourceDefinitionVersion = "source_definition_version"
	// FieldSourceInstanceID holds the string denoting the source_instance_id field in the database.
	FieldSourceInstanceID = "source_instance_id"
	// FieldManagedBy holds the string denoting the managed_by field in the database.
	FieldManagedBy = "managed_by"
	// FieldIntegrationRunID holds the string denoting the integration_run_id field in the database.
	FieldIntegrationRunID = "integration_run_id"
	// FieldSourceKey holds the string denoting the source_key field in the database.
	FieldSourceKey = "source_key"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldSource holds the string denoting the source field in the database.
	FieldSource = "source"
	// FieldLastObservedAt holds the string denoting the last_observed_at field in the database.
	FieldLastObservedAt = "last_observed_at"
	// FieldExternalURI holds the string denoting the external_uri field in the database.
	FieldExternalURI = "external_uri"
	// FieldDetails holds the string denoting the details field in the database.
	FieldDetails = "details"
	// FieldParentExternalID holds the string denoting the parent_external_id field in the database.
	FieldParentExternalID = "parent_external_id"
	// FieldIntegrationID holds the string denoting the integration_id field in the database.
	FieldIntegrationID = "integration_id"
	// EdgeIntegrationRuns holds the string denoting the integration_runs edge name in mutations.
	EdgeIntegrationRuns = "integration_runs"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// EdgeBlockedGroups holds the string denoting the blocked_groups edge name in mutations.
	EdgeBlockedGroups = "blocked_groups"
	// EdgeEditors holds the string denoting the editors edge name in mutations.
	EdgeEditors = "editors"
	// EdgeViewers holds the string denoting the viewers edge name in mutations.
	EdgeViewers = "viewers"
	// EdgeControls holds the string denoting the controls edge name in mutations.
	EdgeControls = "controls"
	// EdgeFindings holds the string denoting the findings edge name in mutations.
	EdgeFindings = "findings"
	// EdgeIntegration holds the string denoting the integration edge name in mutations.
	EdgeIntegration = "integration"
	// Table holds the table name of the checkresult in the database.
	Table = "check_results"
	// IntegrationRunsTable is the table that holds the integration_runs relation/edge. The primary key declared below.
	IntegrationRunsTable = "check_result_integration_runs"
	// IntegrationRunsInverseTable is the table name for the IntegrationRun entity.
	// It exists in this package in order to avoid circular dependency with the "integrationrun" package.
	IntegrationRunsInverseTable = "integration_runs"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "check_results"
	// 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.
	BlockedGroupsTable = "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"
	// BlockedGroupsColumn is the table column denoting the blocked_groups relation/edge.
	BlockedGroupsColumn = "check_result_blocked_groups"
	// EditorsTable is the table that holds the editors relation/edge.
	EditorsTable = "groups"
	// 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"
	// EditorsColumn is the table column denoting the editors relation/edge.
	EditorsColumn = "check_result_editors"
	// ViewersTable is the table that holds the viewers relation/edge.
	ViewersTable = "groups"
	// 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"
	// ViewersColumn is the table column denoting the viewers relation/edge.
	ViewersColumn = "check_result_viewers"
	// ControlsTable is the table that holds the controls relation/edge. The primary key declared below.
	ControlsTable = "check_result_controls"
	// ControlsInverseTable is the table name for the Control entity.
	// It exists in this package in order to avoid circular dependency with the "control" package.
	ControlsInverseTable = "controls"
	// FindingsTable is the table that holds the findings relation/edge. The primary key declared below.
	FindingsTable = "finding_check_results"
	// FindingsInverseTable is the table name for the Finding entity.
	// It exists in this package in order to avoid circular dependency with the "finding" package.
	FindingsInverseTable = "findings"
	// IntegrationTable is the table that holds the integration relation/edge.
	IntegrationTable = "check_results"
	// IntegrationInverseTable is the table name for the Integration entity.
	// It exists in this package in order to avoid circular dependency with the "integration" package.
	IntegrationInverseTable = "integrations"
	// IntegrationColumn is the table column denoting the integration relation/edge.
	IntegrationColumn = "integration_id"
)
View Source
const DefaultStatus enums.CheckStatus = "UNKNOWN"

Variables

View Source
var (
	// IntegrationRunsPrimaryKey and IntegrationRunsColumn2 are the table columns denoting the
	// primary key for the integration_runs relation (M2M).
	IntegrationRunsPrimaryKey = []string{"check_result_id", "integration_run_id"}
	// ControlsPrimaryKey and ControlsColumn2 are the table columns denoting the
	// primary key for the controls relation (M2M).
	ControlsPrimaryKey = []string{"check_result_id", "control_id"}
	// FindingsPrimaryKey and FindingsColumn2 are the table columns denoting the
	// primary key for the findings relation (M2M).
	FindingsPrimaryKey = []string{"finding_id", "check_result_id"}
)
View Source
var (
	Hooks        [10]ent.Hook
	Interceptors [4]ent.Interceptor
	Policy       ent.Policy
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// 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
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

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

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

Columns holds all SQL columns for checkresult fields.

Functions

func And

func And(predicates ...predicate.CheckResult) predicate.CheckResult

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.CheckResult

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.CheckResult

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.CheckResult

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.CheckResult

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.CheckResult

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.CheckResult

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.CheckResult

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.CheckResult

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.CheckResult

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

func CreatedBy

func CreatedBy(v string) predicate.CheckResult

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

func CreatedByContains

func CreatedByContains(v string) predicate.CheckResult

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.CheckResult

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.CheckResult

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.CheckResult

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

func CreatedByGT

func CreatedByGT(v string) predicate.CheckResult

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.CheckResult

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.CheckResult

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.CheckResult

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.CheckResult

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

func CreatedByLT

func CreatedByLT(v string) predicate.CheckResult

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.CheckResult

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.CheckResult

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.CheckResult

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

func DeletedAt

func DeletedAt(v time.Time) predicate.CheckResult

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.CheckResult

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.CheckResult

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.CheckResult

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.CheckResult

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.CheckResult

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.CheckResult

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.CheckResult

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.CheckResult

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

func DeletedBy

func DeletedBy(v string) predicate.CheckResult

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

func DeletedByContains

func DeletedByContains(v string) predicate.CheckResult

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.CheckResult

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

func DeletedByEQ

func DeletedByEQ(v string) predicate.CheckResult

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.CheckResult

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

func DeletedByGT

func DeletedByGT(v string) predicate.CheckResult

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.CheckResult

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.CheckResult

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.CheckResult

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.CheckResult

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

func DeletedByLT

func DeletedByLT(v string) predicate.CheckResult

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.CheckResult

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.CheckResult

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.CheckResult

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

func Details

func Details(v string) predicate.CheckResult

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

func DetailsContains

func DetailsContains(v string) predicate.CheckResult

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

func DetailsContainsFold

func DetailsContainsFold(v string) predicate.CheckResult

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

func DetailsEQ

func DetailsEQ(v string) predicate.CheckResult

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

func DetailsEqualFold

func DetailsEqualFold(v string) predicate.CheckResult

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

func DetailsGT

func DetailsGT(v string) predicate.CheckResult

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

func DetailsGTE

func DetailsGTE(v string) predicate.CheckResult

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

func DetailsHasPrefix

func DetailsHasPrefix(v string) predicate.CheckResult

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

func DetailsHasSuffix

func DetailsHasSuffix(v string) predicate.CheckResult

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

func DetailsIn

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

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

func DetailsIsNil

func DetailsIsNil() predicate.CheckResult

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

func DetailsLT

func DetailsLT(v string) predicate.CheckResult

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

func DetailsLTE

func DetailsLTE(v string) predicate.CheckResult

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

func DetailsNEQ

func DetailsNEQ(v string) predicate.CheckResult

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

func DetailsNotIn

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

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

func DetailsNotNil

func DetailsNotNil() predicate.CheckResult

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

func ExternalURI

func ExternalURI(v string) predicate.CheckResult

ExternalURI applies equality check predicate on the "external_uri" field. It's identical to ExternalURIEQ.

func ExternalURIContains

func ExternalURIContains(v string) predicate.CheckResult

ExternalURIContains applies the Contains predicate on the "external_uri" field.

func ExternalURIContainsFold

func ExternalURIContainsFold(v string) predicate.CheckResult

ExternalURIContainsFold applies the ContainsFold predicate on the "external_uri" field.

func ExternalURIEQ

func ExternalURIEQ(v string) predicate.CheckResult

ExternalURIEQ applies the EQ predicate on the "external_uri" field.

func ExternalURIEqualFold

func ExternalURIEqualFold(v string) predicate.CheckResult

ExternalURIEqualFold applies the EqualFold predicate on the "external_uri" field.

func ExternalURIGT

func ExternalURIGT(v string) predicate.CheckResult

ExternalURIGT applies the GT predicate on the "external_uri" field.

func ExternalURIGTE

func ExternalURIGTE(v string) predicate.CheckResult

ExternalURIGTE applies the GTE predicate on the "external_uri" field.

func ExternalURIHasPrefix

func ExternalURIHasPrefix(v string) predicate.CheckResult

ExternalURIHasPrefix applies the HasPrefix predicate on the "external_uri" field.

func ExternalURIHasSuffix

func ExternalURIHasSuffix(v string) predicate.CheckResult

ExternalURIHasSuffix applies the HasSuffix predicate on the "external_uri" field.

func ExternalURIIn

func ExternalURIIn(vs ...string) predicate.CheckResult

ExternalURIIn applies the In predicate on the "external_uri" field.

func ExternalURIIsNil

func ExternalURIIsNil() predicate.CheckResult

ExternalURIIsNil applies the IsNil predicate on the "external_uri" field.

func ExternalURILT

func ExternalURILT(v string) predicate.CheckResult

ExternalURILT applies the LT predicate on the "external_uri" field.

func ExternalURILTE

func ExternalURILTE(v string) predicate.CheckResult

ExternalURILTE applies the LTE predicate on the "external_uri" field.

func ExternalURINEQ

func ExternalURINEQ(v string) predicate.CheckResult

ExternalURINEQ applies the NEQ predicate on the "external_uri" field.

func ExternalURINotIn

func ExternalURINotIn(vs ...string) predicate.CheckResult

ExternalURINotIn applies the NotIn predicate on the "external_uri" field.

func ExternalURINotNil

func ExternalURINotNil() predicate.CheckResult

ExternalURINotNil applies the NotNil predicate on the "external_uri" field.

func HasBlockedGroups

func HasBlockedGroups() predicate.CheckResult

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

func HasBlockedGroupsWith

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

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

func HasControls

func HasControls() predicate.CheckResult

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

func HasControlsWith

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

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

func HasEditors

func HasEditors() predicate.CheckResult

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

func HasEditorsWith

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

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

func HasFindings

func HasFindings() predicate.CheckResult

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

func HasFindingsWith

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

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

func HasIntegration

func HasIntegration() predicate.CheckResult

HasIntegration applies the HasEdge predicate on the "integration" edge.

func HasIntegrationRuns

func HasIntegrationRuns() predicate.CheckResult

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

func HasIntegrationRunsWith

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

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

func HasIntegrationWith

func HasIntegrationWith(preds ...predicate.Integration) predicate.CheckResult

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

func HasOwner

func HasOwner() predicate.CheckResult

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

func HasOwnerWith

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

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

func HasViewers

func HasViewers() predicate.CheckResult

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

func HasViewersWith

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

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.CheckResult

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.CheckResult

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.CheckResult

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.CheckResult

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.CheckResult

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.CheckResult

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.CheckResult

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.CheckResult

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IntegrationID

func IntegrationID(v string) predicate.CheckResult

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

func IntegrationIDContains

func IntegrationIDContains(v string) predicate.CheckResult

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

func IntegrationIDContainsFold

func IntegrationIDContainsFold(v string) predicate.CheckResult

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

func IntegrationIDEQ

func IntegrationIDEQ(v string) predicate.CheckResult

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

func IntegrationIDEqualFold

func IntegrationIDEqualFold(v string) predicate.CheckResult

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

func IntegrationIDGT

func IntegrationIDGT(v string) predicate.CheckResult

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

func IntegrationIDGTE

func IntegrationIDGTE(v string) predicate.CheckResult

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

func IntegrationIDHasPrefix

func IntegrationIDHasPrefix(v string) predicate.CheckResult

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

func IntegrationIDHasSuffix

func IntegrationIDHasSuffix(v string) predicate.CheckResult

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

func IntegrationIDIn

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

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

func IntegrationIDIsNil

func IntegrationIDIsNil() predicate.CheckResult

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

func IntegrationIDLT

func IntegrationIDLT(v string) predicate.CheckResult

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

func IntegrationIDLTE

func IntegrationIDLTE(v string) predicate.CheckResult

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

func IntegrationIDNEQ

func IntegrationIDNEQ(v string) predicate.CheckResult

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

func IntegrationIDNotIn

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

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

func IntegrationIDNotNil

func IntegrationIDNotNil() predicate.CheckResult

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

func IntegrationRunID

func IntegrationRunID(v string) predicate.CheckResult

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

func IntegrationRunIDContains

func IntegrationRunIDContains(v string) predicate.CheckResult

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

func IntegrationRunIDContainsFold

func IntegrationRunIDContainsFold(v string) predicate.CheckResult

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

func IntegrationRunIDEQ

func IntegrationRunIDEQ(v string) predicate.CheckResult

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

func IntegrationRunIDEqualFold

func IntegrationRunIDEqualFold(v string) predicate.CheckResult

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

func IntegrationRunIDGT

func IntegrationRunIDGT(v string) predicate.CheckResult

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

func IntegrationRunIDGTE

func IntegrationRunIDGTE(v string) predicate.CheckResult

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

func IntegrationRunIDHasPrefix

func IntegrationRunIDHasPrefix(v string) predicate.CheckResult

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

func IntegrationRunIDHasSuffix

func IntegrationRunIDHasSuffix(v string) predicate.CheckResult

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

func IntegrationRunIDIn

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

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

func IntegrationRunIDIsNil

func IntegrationRunIDIsNil() predicate.CheckResult

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

func IntegrationRunIDLT

func IntegrationRunIDLT(v string) predicate.CheckResult

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

func IntegrationRunIDLTE

func IntegrationRunIDLTE(v string) predicate.CheckResult

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

func IntegrationRunIDNEQ

func IntegrationRunIDNEQ(v string) predicate.CheckResult

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

func IntegrationRunIDNotIn

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

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

func IntegrationRunIDNotNil

func IntegrationRunIDNotNil() predicate.CheckResult

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

func LastObservedAt

func LastObservedAt(v models.DateTime) predicate.CheckResult

LastObservedAt applies equality check predicate on the "last_observed_at" field. It's identical to LastObservedAtEQ.

func LastObservedAtEQ

func LastObservedAtEQ(v models.DateTime) predicate.CheckResult

LastObservedAtEQ applies the EQ predicate on the "last_observed_at" field.

func LastObservedAtGT

func LastObservedAtGT(v models.DateTime) predicate.CheckResult

LastObservedAtGT applies the GT predicate on the "last_observed_at" field.

func LastObservedAtGTE

func LastObservedAtGTE(v models.DateTime) predicate.CheckResult

LastObservedAtGTE applies the GTE predicate on the "last_observed_at" field.

func LastObservedAtIn

func LastObservedAtIn(vs ...models.DateTime) predicate.CheckResult

LastObservedAtIn applies the In predicate on the "last_observed_at" field.

func LastObservedAtIsNil

func LastObservedAtIsNil() predicate.CheckResult

LastObservedAtIsNil applies the IsNil predicate on the "last_observed_at" field.

func LastObservedAtLT

func LastObservedAtLT(v models.DateTime) predicate.CheckResult

LastObservedAtLT applies the LT predicate on the "last_observed_at" field.

func LastObservedAtLTE

func LastObservedAtLTE(v models.DateTime) predicate.CheckResult

LastObservedAtLTE applies the LTE predicate on the "last_observed_at" field.

func LastObservedAtNEQ

func LastObservedAtNEQ(v models.DateTime) predicate.CheckResult

LastObservedAtNEQ applies the NEQ predicate on the "last_observed_at" field.

func LastObservedAtNotIn

func LastObservedAtNotIn(vs ...models.DateTime) predicate.CheckResult

LastObservedAtNotIn applies the NotIn predicate on the "last_observed_at" field.

func LastObservedAtNotNil

func LastObservedAtNotNil() predicate.CheckResult

LastObservedAtNotNil applies the NotNil predicate on the "last_observed_at" field.

func ManagedBy

func ManagedBy(v string) predicate.CheckResult

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

func ManagedByContains

func ManagedByContains(v string) predicate.CheckResult

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

func ManagedByContainsFold

func ManagedByContainsFold(v string) predicate.CheckResult

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

func ManagedByEQ

func ManagedByEQ(v string) predicate.CheckResult

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

func ManagedByEqualFold

func ManagedByEqualFold(v string) predicate.CheckResult

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

func ManagedByGT

func ManagedByGT(v string) predicate.CheckResult

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

func ManagedByGTE

func ManagedByGTE(v string) predicate.CheckResult

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

func ManagedByHasPrefix

func ManagedByHasPrefix(v string) predicate.CheckResult

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

func ManagedByHasSuffix

func ManagedByHasSuffix(v string) predicate.CheckResult

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

func ManagedByIn

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

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

func ManagedByIsNil

func ManagedByIsNil() predicate.CheckResult

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

func ManagedByLT

func ManagedByLT(v string) predicate.CheckResult

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

func ManagedByLTE

func ManagedByLTE(v string) predicate.CheckResult

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

func ManagedByNEQ

func ManagedByNEQ(v string) predicate.CheckResult

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

func ManagedByNotIn

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

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

func ManagedByNotNil

func ManagedByNotNil() predicate.CheckResult

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.CheckResult) predicate.CheckResult

Or groups predicates with the OR operator between them.

func OwnerID

func OwnerID(v string) predicate.CheckResult

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

func OwnerIDContains

func OwnerIDContains(v string) predicate.CheckResult

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

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.CheckResult

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

func OwnerIDEQ

func OwnerIDEQ(v string) predicate.CheckResult

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

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.CheckResult

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

func OwnerIDGT

func OwnerIDGT(v string) predicate.CheckResult

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

func OwnerIDGTE

func OwnerIDGTE(v string) predicate.CheckResult

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

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.CheckResult

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

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.CheckResult

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

func OwnerIDIn

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

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

func OwnerIDIsNil

func OwnerIDIsNil() predicate.CheckResult

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

func OwnerIDLT

func OwnerIDLT(v string) predicate.CheckResult

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

func OwnerIDLTE

func OwnerIDLTE(v string) predicate.CheckResult

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

func OwnerIDNEQ

func OwnerIDNEQ(v string) predicate.CheckResult

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

func OwnerIDNotIn

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

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

func OwnerIDNotNil

func OwnerIDNotNil() predicate.CheckResult

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

func ParentExternalID

func ParentExternalID(v string) predicate.CheckResult

ParentExternalID applies equality check predicate on the "parent_external_id" field. It's identical to ParentExternalIDEQ.

func ParentExternalIDContains

func ParentExternalIDContains(v string) predicate.CheckResult

ParentExternalIDContains applies the Contains predicate on the "parent_external_id" field.

func ParentExternalIDContainsFold

func ParentExternalIDContainsFold(v string) predicate.CheckResult

ParentExternalIDContainsFold applies the ContainsFold predicate on the "parent_external_id" field.

func ParentExternalIDEQ

func ParentExternalIDEQ(v string) predicate.CheckResult

ParentExternalIDEQ applies the EQ predicate on the "parent_external_id" field.

func ParentExternalIDEqualFold

func ParentExternalIDEqualFold(v string) predicate.CheckResult

ParentExternalIDEqualFold applies the EqualFold predicate on the "parent_external_id" field.

func ParentExternalIDGT

func ParentExternalIDGT(v string) predicate.CheckResult

ParentExternalIDGT applies the GT predicate on the "parent_external_id" field.

func ParentExternalIDGTE

func ParentExternalIDGTE(v string) predicate.CheckResult

ParentExternalIDGTE applies the GTE predicate on the "parent_external_id" field.

func ParentExternalIDHasPrefix

func ParentExternalIDHasPrefix(v string) predicate.CheckResult

ParentExternalIDHasPrefix applies the HasPrefix predicate on the "parent_external_id" field.

func ParentExternalIDHasSuffix

func ParentExternalIDHasSuffix(v string) predicate.CheckResult

ParentExternalIDHasSuffix applies the HasSuffix predicate on the "parent_external_id" field.

func ParentExternalIDIn

func ParentExternalIDIn(vs ...string) predicate.CheckResult

ParentExternalIDIn applies the In predicate on the "parent_external_id" field.

func ParentExternalIDIsNil

func ParentExternalIDIsNil() predicate.CheckResult

ParentExternalIDIsNil applies the IsNil predicate on the "parent_external_id" field.

func ParentExternalIDLT

func ParentExternalIDLT(v string) predicate.CheckResult

ParentExternalIDLT applies the LT predicate on the "parent_external_id" field.

func ParentExternalIDLTE

func ParentExternalIDLTE(v string) predicate.CheckResult

ParentExternalIDLTE applies the LTE predicate on the "parent_external_id" field.

func ParentExternalIDNEQ

func ParentExternalIDNEQ(v string) predicate.CheckResult

ParentExternalIDNEQ applies the NEQ predicate on the "parent_external_id" field.

func ParentExternalIDNotIn

func ParentExternalIDNotIn(vs ...string) predicate.CheckResult

ParentExternalIDNotIn applies the NotIn predicate on the "parent_external_id" field.

func ParentExternalIDNotNil

func ParentExternalIDNotNil() predicate.CheckResult

ParentExternalIDNotNil applies the NotNil predicate on the "parent_external_id" field.

func Source

func Source(v string) predicate.CheckResult

Source applies equality check predicate on the "source" field. It's identical to SourceEQ.

func SourceContains

func SourceContains(v string) predicate.CheckResult

SourceContains applies the Contains predicate on the "source" field.

func SourceContainsFold

func SourceContainsFold(v string) predicate.CheckResult

SourceContainsFold applies the ContainsFold predicate on the "source" field.

func SourceDefinitionID

func SourceDefinitionID(v string) predicate.CheckResult

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

func SourceDefinitionIDContains

func SourceDefinitionIDContains(v string) predicate.CheckResult

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

func SourceDefinitionIDContainsFold

func SourceDefinitionIDContainsFold(v string) predicate.CheckResult

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

func SourceDefinitionIDEQ

func SourceDefinitionIDEQ(v string) predicate.CheckResult

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

func SourceDefinitionIDEqualFold

func SourceDefinitionIDEqualFold(v string) predicate.CheckResult

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

func SourceDefinitionIDGT

func SourceDefinitionIDGT(v string) predicate.CheckResult

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

func SourceDefinitionIDGTE

func SourceDefinitionIDGTE(v string) predicate.CheckResult

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

func SourceDefinitionIDHasPrefix

func SourceDefinitionIDHasPrefix(v string) predicate.CheckResult

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

func SourceDefinitionIDHasSuffix

func SourceDefinitionIDHasSuffix(v string) predicate.CheckResult

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

func SourceDefinitionIDIn

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

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

func SourceDefinitionIDIsNil

func SourceDefinitionIDIsNil() predicate.CheckResult

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

func SourceDefinitionIDLT

func SourceDefinitionIDLT(v string) predicate.CheckResult

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

func SourceDefinitionIDLTE

func SourceDefinitionIDLTE(v string) predicate.CheckResult

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

func SourceDefinitionIDNEQ

func SourceDefinitionIDNEQ(v string) predicate.CheckResult

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

func SourceDefinitionIDNotIn

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

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

func SourceDefinitionIDNotNil

func SourceDefinitionIDNotNil() predicate.CheckResult

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

func SourceDefinitionVersion

func SourceDefinitionVersion(v string) predicate.CheckResult

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

func SourceDefinitionVersionContains

func SourceDefinitionVersionContains(v string) predicate.CheckResult

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

func SourceDefinitionVersionContainsFold

func SourceDefinitionVersionContainsFold(v string) predicate.CheckResult

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

func SourceDefinitionVersionEQ

func SourceDefinitionVersionEQ(v string) predicate.CheckResult

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

func SourceDefinitionVersionEqualFold

func SourceDefinitionVersionEqualFold(v string) predicate.CheckResult

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

func SourceDefinitionVersionGT

func SourceDefinitionVersionGT(v string) predicate.CheckResult

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

func SourceDefinitionVersionGTE

func SourceDefinitionVersionGTE(v string) predicate.CheckResult

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

func SourceDefinitionVersionHasPrefix

func SourceDefinitionVersionHasPrefix(v string) predicate.CheckResult

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

func SourceDefinitionVersionHasSuffix

func SourceDefinitionVersionHasSuffix(v string) predicate.CheckResult

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

func SourceDefinitionVersionIn

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

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

func SourceDefinitionVersionIsNil

func SourceDefinitionVersionIsNil() predicate.CheckResult

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

func SourceDefinitionVersionLT

func SourceDefinitionVersionLT(v string) predicate.CheckResult

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

func SourceDefinitionVersionLTE

func SourceDefinitionVersionLTE(v string) predicate.CheckResult

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

func SourceDefinitionVersionNEQ

func SourceDefinitionVersionNEQ(v string) predicate.CheckResult

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

func SourceDefinitionVersionNotIn

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

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

func SourceDefinitionVersionNotNil

func SourceDefinitionVersionNotNil() predicate.CheckResult

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

func SourceEQ

func SourceEQ(v string) predicate.CheckResult

SourceEQ applies the EQ predicate on the "source" field.

func SourceEqualFold

func SourceEqualFold(v string) predicate.CheckResult

SourceEqualFold applies the EqualFold predicate on the "source" field.

func SourceGT

func SourceGT(v string) predicate.CheckResult

SourceGT applies the GT predicate on the "source" field.

func SourceGTE

func SourceGTE(v string) predicate.CheckResult

SourceGTE applies the GTE predicate on the "source" field.

func SourceHasPrefix

func SourceHasPrefix(v string) predicate.CheckResult

SourceHasPrefix applies the HasPrefix predicate on the "source" field.

func SourceHasSuffix

func SourceHasSuffix(v string) predicate.CheckResult

SourceHasSuffix applies the HasSuffix predicate on the "source" field.

func SourceIn

func SourceIn(vs ...string) predicate.CheckResult

SourceIn applies the In predicate on the "source" field.

func SourceInstanceID

func SourceInstanceID(v string) predicate.CheckResult

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

func SourceInstanceIDContains

func SourceInstanceIDContains(v string) predicate.CheckResult

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

func SourceInstanceIDContainsFold

func SourceInstanceIDContainsFold(v string) predicate.CheckResult

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

func SourceInstanceIDEQ

func SourceInstanceIDEQ(v string) predicate.CheckResult

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

func SourceInstanceIDEqualFold

func SourceInstanceIDEqualFold(v string) predicate.CheckResult

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

func SourceInstanceIDGT

func SourceInstanceIDGT(v string) predicate.CheckResult

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

func SourceInstanceIDGTE

func SourceInstanceIDGTE(v string) predicate.CheckResult

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

func SourceInstanceIDHasPrefix

func SourceInstanceIDHasPrefix(v string) predicate.CheckResult

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

func SourceInstanceIDHasSuffix

func SourceInstanceIDHasSuffix(v string) predicate.CheckResult

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

func SourceInstanceIDIn

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

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

func SourceInstanceIDIsNil

func SourceInstanceIDIsNil() predicate.CheckResult

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

func SourceInstanceIDLT

func SourceInstanceIDLT(v string) predicate.CheckResult

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

func SourceInstanceIDLTE

func SourceInstanceIDLTE(v string) predicate.CheckResult

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

func SourceInstanceIDNEQ

func SourceInstanceIDNEQ(v string) predicate.CheckResult

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

func SourceInstanceIDNotIn

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

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

func SourceInstanceIDNotNil

func SourceInstanceIDNotNil() predicate.CheckResult

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

func SourceKey

func SourceKey(v string) predicate.CheckResult

SourceKey applies equality check predicate on the "source_key" field. It's identical to SourceKeyEQ.

func SourceKeyContains

func SourceKeyContains(v string) predicate.CheckResult

SourceKeyContains applies the Contains predicate on the "source_key" field.

func SourceKeyContainsFold

func SourceKeyContainsFold(v string) predicate.CheckResult

SourceKeyContainsFold applies the ContainsFold predicate on the "source_key" field.

func SourceKeyEQ

func SourceKeyEQ(v string) predicate.CheckResult

SourceKeyEQ applies the EQ predicate on the "source_key" field.

func SourceKeyEqualFold

func SourceKeyEqualFold(v string) predicate.CheckResult

SourceKeyEqualFold applies the EqualFold predicate on the "source_key" field.

func SourceKeyGT

func SourceKeyGT(v string) predicate.CheckResult

SourceKeyGT applies the GT predicate on the "source_key" field.

func SourceKeyGTE

func SourceKeyGTE(v string) predicate.CheckResult

SourceKeyGTE applies the GTE predicate on the "source_key" field.

func SourceKeyHasPrefix

func SourceKeyHasPrefix(v string) predicate.CheckResult

SourceKeyHasPrefix applies the HasPrefix predicate on the "source_key" field.

func SourceKeyHasSuffix

func SourceKeyHasSuffix(v string) predicate.CheckResult

SourceKeyHasSuffix applies the HasSuffix predicate on the "source_key" field.

func SourceKeyIn

func SourceKeyIn(vs ...string) predicate.CheckResult

SourceKeyIn applies the In predicate on the "source_key" field.

func SourceKeyIsNil

func SourceKeyIsNil() predicate.CheckResult

SourceKeyIsNil applies the IsNil predicate on the "source_key" field.

func SourceKeyLT

func SourceKeyLT(v string) predicate.CheckResult

SourceKeyLT applies the LT predicate on the "source_key" field.

func SourceKeyLTE

func SourceKeyLTE(v string) predicate.CheckResult

SourceKeyLTE applies the LTE predicate on the "source_key" field.

func SourceKeyNEQ

func SourceKeyNEQ(v string) predicate.CheckResult

SourceKeyNEQ applies the NEQ predicate on the "source_key" field.

func SourceKeyNotIn

func SourceKeyNotIn(vs ...string) predicate.CheckResult

SourceKeyNotIn applies the NotIn predicate on the "source_key" field.

func SourceKeyNotNil

func SourceKeyNotNil() predicate.CheckResult

SourceKeyNotNil applies the NotNil predicate on the "source_key" field.

func SourceLT

func SourceLT(v string) predicate.CheckResult

SourceLT applies the LT predicate on the "source" field.

func SourceLTE

func SourceLTE(v string) predicate.CheckResult

SourceLTE applies the LTE predicate on the "source" field.

func SourceNEQ

func SourceNEQ(v string) predicate.CheckResult

SourceNEQ applies the NEQ predicate on the "source" field.

func SourceNotIn

func SourceNotIn(vs ...string) predicate.CheckResult

SourceNotIn applies the NotIn predicate on the "source" field.

func StatusEQ

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

func StatusIn

func StatusIn(vs ...enums.CheckStatus) predicate.CheckResult

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

func StatusNEQ

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

func StatusNotIn

func StatusNotIn(vs ...enums.CheckStatus) predicate.CheckResult

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

func StatusValidator

func StatusValidator(s enums.CheckStatus) error

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

func TagsIsNil

func TagsIsNil() predicate.CheckResult

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

func TagsNotNil

func TagsNotNil() predicate.CheckResult

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.CheckResult

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.CheckResult

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.CheckResult

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.CheckResult

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.CheckResult

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.CheckResult

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.CheckResult

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.CheckResult

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.CheckResult

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

func UpdatedBy

func UpdatedBy(v string) predicate.CheckResult

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.CheckResult

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.CheckResult

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.CheckResult

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.CheckResult

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.CheckResult

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.CheckResult

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.CheckResult

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.CheckResult

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

func UpdatedByImpersonator

func UpdatedByImpersonator(v string) predicate.CheckResult

UpdatedByImpersonator applies equality check predicate on the "updated_by_impersonator" field. It's identical to UpdatedByImpersonatorEQ.

func UpdatedByImpersonatorContains

func UpdatedByImpersonatorContains(v string) predicate.CheckResult

UpdatedByImpersonatorContains applies the Contains predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorContainsFold

func UpdatedByImpersonatorContainsFold(v string) predicate.CheckResult

UpdatedByImpersonatorContainsFold applies the ContainsFold predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorEQ

func UpdatedByImpersonatorEQ(v string) predicate.CheckResult

UpdatedByImpersonatorEQ applies the EQ predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorEqualFold

func UpdatedByImpersonatorEqualFold(v string) predicate.CheckResult

UpdatedByImpersonatorEqualFold applies the EqualFold predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorGT

func UpdatedByImpersonatorGT(v string) predicate.CheckResult

UpdatedByImpersonatorGT applies the GT predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorGTE

func UpdatedByImpersonatorGTE(v string) predicate.CheckResult

UpdatedByImpersonatorGTE applies the GTE predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorHasPrefix

func UpdatedByImpersonatorHasPrefix(v string) predicate.CheckResult

UpdatedByImpersonatorHasPrefix applies the HasPrefix predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorHasSuffix

func UpdatedByImpersonatorHasSuffix(v string) predicate.CheckResult

UpdatedByImpersonatorHasSuffix applies the HasSuffix predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorIn

func UpdatedByImpersonatorIn(vs ...string) predicate.CheckResult

UpdatedByImpersonatorIn applies the In predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorIsNil

func UpdatedByImpersonatorIsNil() predicate.CheckResult

UpdatedByImpersonatorIsNil applies the IsNil predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorLT

func UpdatedByImpersonatorLT(v string) predicate.CheckResult

UpdatedByImpersonatorLT applies the LT predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorLTE

func UpdatedByImpersonatorLTE(v string) predicate.CheckResult

UpdatedByImpersonatorLTE applies the LTE predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorNEQ

func UpdatedByImpersonatorNEQ(v string) predicate.CheckResult

UpdatedByImpersonatorNEQ applies the NEQ predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorNotIn

func UpdatedByImpersonatorNotIn(vs ...string) predicate.CheckResult

UpdatedByImpersonatorNotIn applies the NotIn predicate on the "updated_by_impersonator" field.

func UpdatedByImpersonatorNotNil

func UpdatedByImpersonatorNotNil() predicate.CheckResult

UpdatedByImpersonatorNotNil applies the NotNil predicate on the "updated_by_impersonator" field.

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.CheckResult

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.CheckResult

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.CheckResult

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.CheckResult

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.CheckResult

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).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the CheckResult queries.

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

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

ByControls orders the results by controls terms.

func ByControlsCount

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

ByControlsCount orders the results by controls count.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

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

ByCreatedBy orders the results by the created_by field.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByDeletedBy

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

ByDeletedBy orders the results by the deleted_by field.

func ByDetails

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

ByDetails orders the results by the details field.

func 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 ByExternalURI

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

ByExternalURI orders the results by the external_uri field.

func ByFindings

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

ByFindings orders the results by findings terms.

func ByFindingsCount

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

ByFindingsCount orders the results by findings count.

func ByID

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

ByID orders the results by the id field.

func ByIntegrationField

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

ByIntegrationField orders the results by integration field.

func ByIntegrationID

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

ByIntegrationID orders the results by the integration_id field.

func ByIntegrationRunID

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

ByIntegrationRunID orders the results by the integration_run_id field.

func ByIntegrationRuns

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

ByIntegrationRuns orders the results by integration_runs terms.

func ByIntegrationRunsCount

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

ByIntegrationRunsCount orders the results by integration_runs count.

func ByLastObservedAt

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

ByLastObservedAt orders the results by the last_observed_at field.

func ByManagedBy

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

ByManagedBy orders the results by the managed_by 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 ByParentExternalID

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

ByParentExternalID orders the results by the parent_external_id field.

func BySource

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

BySource orders the results by the source field.

func BySourceDefinitionID

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

BySourceDefinitionID orders the results by the source_definition_id field.

func BySourceDefinitionVersion

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

BySourceDefinitionVersion orders the results by the source_definition_version field.

func BySourceInstanceID

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

BySourceInstanceID orders the results by the source_instance_id field.

func BySourceKey

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

BySourceKey orders the results by the source_key field.

func ByStatus

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

ByStatus orders the results by the status field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedBy

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

ByUpdatedBy orders the results by the updated_by field.

func ByUpdatedByImpersonator

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

ByUpdatedByImpersonator orders the results by the updated_by_impersonator field.

func ByViewers

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

ByViewers orders the results by viewers terms.

func ByViewersCount

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

ByViewersCount orders the results by viewers count.

Jump to

Keyboard shortcuts

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