file

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the file type in the database.
	Label = "file"
	// 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"
	// FieldSystemOwned holds the string denoting the system_owned field in the database.
	FieldSystemOwned = "system_owned"
	// FieldInternalNotes holds the string denoting the internal_notes field in the database.
	FieldInternalNotes = "internal_notes"
	// FieldSystemInternalID holds the string denoting the system_internal_id field in the database.
	FieldSystemInternalID = "system_internal_id"
	// FieldProvidedFileName holds the string denoting the provided_file_name field in the database.
	FieldProvidedFileName = "provided_file_name"
	// FieldProvidedFileExtension holds the string denoting the provided_file_extension field in the database.
	FieldProvidedFileExtension = "provided_file_extension"
	// FieldProvidedFileSize holds the string denoting the provided_file_size field in the database.
	FieldProvidedFileSize = "provided_file_size"
	// FieldPersistedFileSize holds the string denoting the persisted_file_size field in the database.
	FieldPersistedFileSize = "persisted_file_size"
	// FieldDetectedMimeType holds the string denoting the detected_mime_type field in the database.
	FieldDetectedMimeType = "detected_mime_type"
	// FieldMd5Hash holds the string denoting the md5_hash field in the database.
	FieldMd5Hash = "md5_hash"
	// FieldDetectedContentType holds the string denoting the detected_content_type field in the database.
	FieldDetectedContentType = "detected_content_type"
	// FieldStoreKey holds the string denoting the store_key field in the database.
	FieldStoreKey = "store_key"
	// FieldCategoryType holds the string denoting the category_type field in the database.
	FieldCategoryType = "category_type"
	// FieldURI holds the string denoting the uri field in the database.
	FieldURI = "uri"
	// FieldStorageScheme holds the string denoting the storage_scheme field in the database.
	FieldStorageScheme = "storage_scheme"
	// FieldStorageVolume holds the string denoting the storage_volume field in the database.
	FieldStorageVolume = "storage_volume"
	// FieldStoragePath holds the string denoting the storage_path field in the database.
	FieldStoragePath = "storage_path"
	// FieldFileContents holds the string denoting the file_contents field in the database.
	FieldFileContents = "file_contents"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// FieldStorageRegion holds the string denoting the storage_region field in the database.
	FieldStorageRegion = "storage_region"
	// FieldStorageProvider holds the string denoting the storage_provider field in the database.
	FieldStorageProvider = "storage_provider"
	// FieldLastAccessedAt holds the string denoting the last_accessed_at field in the database.
	FieldLastAccessedAt = "last_accessed_at"
	// EdgeOrganization holds the string denoting the organization edge name in mutations.
	EdgeOrganization = "organization"
	// EdgeGroups holds the string denoting the groups edge name in mutations.
	EdgeGroups = "groups"
	// EdgeContact holds the string denoting the contact edge name in mutations.
	EdgeContact = "contact"
	// EdgeEntity holds the string denoting the entity edge name in mutations.
	EdgeEntity = "entity"
	// EdgeOrganizationSetting holds the string denoting the organization_setting edge name in mutations.
	EdgeOrganizationSetting = "organization_setting"
	// EdgeTemplate holds the string denoting the template edge name in mutations.
	EdgeTemplate = "template"
	// EdgeDocument holds the string denoting the document edge name in mutations.
	EdgeDocument = "document"
	// EdgeProgram holds the string denoting the program edge name in mutations.
	EdgeProgram = "program"
	// EdgeEvidence holds the string denoting the evidence edge name in mutations.
	EdgeEvidence = "evidence"
	// EdgeEvents holds the string denoting the events edge name in mutations.
	EdgeEvents = "events"
	// EdgeTrustCenterSetting holds the string denoting the trust_center_setting edge name in mutations.
	EdgeTrustCenterSetting = "trust_center_setting"
	// EdgeIntegrations holds the string denoting the integrations edge name in mutations.
	EdgeIntegrations = "integrations"
	// EdgeSecrets holds the string denoting the secrets edge name in mutations.
	EdgeSecrets = "secrets"
	// EdgeTrustcenterEntities holds the string denoting the trustcenter_entities edge name in mutations.
	EdgeTrustcenterEntities = "trustcenter_entities"
	// Table holds the table name of the file in the database.
	Table = "files"
	// OrganizationTable is the table that holds the organization relation/edge. The primary key declared below.
	OrganizationTable = "organization_files"
	// OrganizationInverseTable is the table name for the Organization entity.
	// It exists in this package in order to avoid circular dependency with the "organization" package.
	OrganizationInverseTable = "organizations"
	// GroupsTable is the table that holds the groups relation/edge. The primary key declared below.
	GroupsTable = "group_files"
	// GroupsInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	GroupsInverseTable = "groups"
	// ContactTable is the table that holds the contact relation/edge. The primary key declared below.
	ContactTable = "contact_files"
	// ContactInverseTable is the table name for the Contact entity.
	// It exists in this package in order to avoid circular dependency with the "contact" package.
	ContactInverseTable = "contacts"
	// EntityTable is the table that holds the entity relation/edge. The primary key declared below.
	EntityTable = "entity_files"
	// EntityInverseTable is the table name for the Entity entity.
	// It exists in this package in order to avoid circular dependency with the "entity" package.
	EntityInverseTable = "entities"
	// OrganizationSettingTable is the table that holds the organization_setting relation/edge. The primary key declared below.
	OrganizationSettingTable = "organization_setting_files"
	// OrganizationSettingInverseTable is the table name for the OrganizationSetting entity.
	// It exists in this package in order to avoid circular dependency with the "organizationsetting" package.
	OrganizationSettingInverseTable = "organization_settings"
	// TemplateTable is the table that holds the template relation/edge. The primary key declared below.
	TemplateTable = "template_files"
	// TemplateInverseTable is the table name for the Template entity.
	// It exists in this package in order to avoid circular dependency with the "template" package.
	TemplateInverseTable = "templates"
	// DocumentTable is the table that holds the document relation/edge. The primary key declared below.
	DocumentTable = "document_data_files"
	// DocumentInverseTable is the table name for the DocumentData entity.
	// It exists in this package in order to avoid circular dependency with the "documentdata" package.
	DocumentInverseTable = "document_data"
	// ProgramTable is the table that holds the program relation/edge. The primary key declared below.
	ProgramTable = "program_files"
	// ProgramInverseTable is the table name for the Program entity.
	// It exists in this package in order to avoid circular dependency with the "program" package.
	ProgramInverseTable = "programs"
	// EvidenceTable is the table that holds the evidence relation/edge. The primary key declared below.
	EvidenceTable = "evidence_files"
	// 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"
	// EventsTable is the table that holds the events relation/edge. The primary key declared below.
	EventsTable = "file_events"
	// EventsInverseTable is the table name for the Event entity.
	// It exists in this package in order to avoid circular dependency with the "event" package.
	EventsInverseTable = "events"
	// TrustCenterSettingTable is the table that holds the trust_center_setting relation/edge. The primary key declared below.
	TrustCenterSettingTable = "trust_center_setting_files"
	// TrustCenterSettingInverseTable is the table name for the TrustCenterSetting entity.
	// It exists in this package in order to avoid circular dependency with the "trustcentersetting" package.
	TrustCenterSettingInverseTable = "trust_center_settings"
	// IntegrationsTable is the table that holds the integrations relation/edge.
	IntegrationsTable = "integrations"
	// IntegrationsInverseTable is the table name for the Integration entity.
	// It exists in this package in order to avoid circular dependency with the "integration" package.
	IntegrationsInverseTable = "integrations"
	// IntegrationsColumn is the table column denoting the integrations relation/edge.
	IntegrationsColumn = "file_integrations"
	// SecretsTable is the table that holds the secrets relation/edge. The primary key declared below.
	SecretsTable = "file_secrets"
	// SecretsInverseTable is the table name for the Hush entity.
	// It exists in this package in order to avoid circular dependency with the "hush" package.
	SecretsInverseTable = "hushes"
	// TrustcenterEntitiesTable is the table that holds the trustcenter_entities relation/edge.
	TrustcenterEntitiesTable = "trustcenter_entities"
	// TrustcenterEntitiesInverseTable is the table name for the TrustcenterEntity entity.
	// It exists in this package in order to avoid circular dependency with the "trustcenterentity" package.
	TrustcenterEntitiesInverseTable = "trustcenter_entities"
	// TrustcenterEntitiesColumn is the table column denoting the trustcenter_entities relation/edge.
	TrustcenterEntitiesColumn = "file_trustcenter_entities"
)

Variables

View Source
var (
	// OrganizationPrimaryKey and OrganizationColumn2 are the table columns denoting the
	// primary key for the organization relation (M2M).
	OrganizationPrimaryKey = []string{"organization_id", "file_id"}
	// GroupsPrimaryKey and GroupsColumn2 are the table columns denoting the
	// primary key for the groups relation (M2M).
	GroupsPrimaryKey = []string{"group_id", "file_id"}
	// ContactPrimaryKey and ContactColumn2 are the table columns denoting the
	// primary key for the contact relation (M2M).
	ContactPrimaryKey = []string{"contact_id", "file_id"}
	// EntityPrimaryKey and EntityColumn2 are the table columns denoting the
	// primary key for the entity relation (M2M).
	EntityPrimaryKey = []string{"entity_id", "file_id"}
	// OrganizationSettingPrimaryKey and OrganizationSettingColumn2 are the table columns denoting the
	// primary key for the organization_setting relation (M2M).
	OrganizationSettingPrimaryKey = []string{"organization_setting_id", "file_id"}
	// TemplatePrimaryKey and TemplateColumn2 are the table columns denoting the
	// primary key for the template relation (M2M).
	TemplatePrimaryKey = []string{"template_id", "file_id"}
	// DocumentPrimaryKey and DocumentColumn2 are the table columns denoting the
	// primary key for the document relation (M2M).
	DocumentPrimaryKey = []string{"document_data_id", "file_id"}
	// ProgramPrimaryKey and ProgramColumn2 are the table columns denoting the
	// primary key for the program relation (M2M).
	ProgramPrimaryKey = []string{"program_id", "file_id"}
	// EvidencePrimaryKey and EvidenceColumn2 are the table columns denoting the
	// primary key for the evidence relation (M2M).
	EvidencePrimaryKey = []string{"evidence_id", "file_id"}
	// EventsPrimaryKey and EventsColumn2 are the table columns denoting the
	// primary key for the events relation (M2M).
	EventsPrimaryKey = []string{"file_id", "event_id"}
	// TrustCenterSettingPrimaryKey and TrustCenterSettingColumn2 are the table columns denoting the
	// primary key for the trust_center_setting relation (M2M).
	TrustCenterSettingPrimaryKey = []string{"trust_center_setting_id", "file_id"}
	// SecretsPrimaryKey and SecretsColumn2 are the table columns denoting the
	// primary key for the secrets relation (M2M).
	SecretsPrimaryKey = []string{"file_id", "hush_id"}
)
View Source
var (
	Hooks        [6]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
	// DefaultSystemOwned holds the default value on creation for the "system_owned" field.
	DefaultSystemOwned bool
	// ProvidedFileSizeValidator is a validator for the "provided_file_size" field. It is called by the builders before save.
	ProvidedFileSizeValidator func(int64) error
	// PersistedFileSizeValidator is a validator for the "persisted_file_size" field. It is called by the builders before save.
	PersistedFileSizeValidator func(int64) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

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

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

Columns holds all SQL columns for file fields.

View Source
var ForeignKeys = []string{
	"export_files",
	"finding_files",
	"integration_files",
	"note_files",
	"remediation_files",
	"review_files",
	"vulnerability_files",
}

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

Functions

func And

func And(predicates ...predicate.File) predicate.File

And groups predicates with the AND operator between them.

func CategoryType added in v0.3.0

func CategoryType(v string) predicate.File

CategoryType applies equality check predicate on the "category_type" field. It's identical to CategoryTypeEQ.

func CategoryTypeContains added in v0.3.0

func CategoryTypeContains(v string) predicate.File

CategoryTypeContains applies the Contains predicate on the "category_type" field.

func CategoryTypeContainsFold added in v0.3.0

func CategoryTypeContainsFold(v string) predicate.File

CategoryTypeContainsFold applies the ContainsFold predicate on the "category_type" field.

func CategoryTypeEQ added in v0.3.0

func CategoryTypeEQ(v string) predicate.File

CategoryTypeEQ applies the EQ predicate on the "category_type" field.

func CategoryTypeEqualFold added in v0.3.0

func CategoryTypeEqualFold(v string) predicate.File

CategoryTypeEqualFold applies the EqualFold predicate on the "category_type" field.

func CategoryTypeGT added in v0.3.0

func CategoryTypeGT(v string) predicate.File

CategoryTypeGT applies the GT predicate on the "category_type" field.

func CategoryTypeGTE added in v0.3.0

func CategoryTypeGTE(v string) predicate.File

CategoryTypeGTE applies the GTE predicate on the "category_type" field.

func CategoryTypeHasPrefix added in v0.3.0

func CategoryTypeHasPrefix(v string) predicate.File

CategoryTypeHasPrefix applies the HasPrefix predicate on the "category_type" field.

func CategoryTypeHasSuffix added in v0.3.0

func CategoryTypeHasSuffix(v string) predicate.File

CategoryTypeHasSuffix applies the HasSuffix predicate on the "category_type" field.

func CategoryTypeIn added in v0.3.0

func CategoryTypeIn(vs ...string) predicate.File

CategoryTypeIn applies the In predicate on the "category_type" field.

func CategoryTypeIsNil added in v0.3.0

func CategoryTypeIsNil() predicate.File

CategoryTypeIsNil applies the IsNil predicate on the "category_type" field.

func CategoryTypeLT added in v0.3.0

func CategoryTypeLT(v string) predicate.File

CategoryTypeLT applies the LT predicate on the "category_type" field.

func CategoryTypeLTE added in v0.3.0

func CategoryTypeLTE(v string) predicate.File

CategoryTypeLTE applies the LTE predicate on the "category_type" field.

func CategoryTypeNEQ added in v0.3.0

func CategoryTypeNEQ(v string) predicate.File

CategoryTypeNEQ applies the NEQ predicate on the "category_type" field.

func CategoryTypeNotIn added in v0.3.0

func CategoryTypeNotIn(vs ...string) predicate.File

CategoryTypeNotIn applies the NotIn predicate on the "category_type" field.

func CategoryTypeNotNil added in v0.3.0

func CategoryTypeNotNil() predicate.File

CategoryTypeNotNil applies the NotNil predicate on the "category_type" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.File

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.File

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.File

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.File

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.File

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.File

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.File

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.File

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.File

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

func CreatedBy

func CreatedBy(v string) predicate.File

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

func CreatedByContains

func CreatedByContains(v string) predicate.File

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.File

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.File

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.File

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

func CreatedByGT

func CreatedByGT(v string) predicate.File

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.File

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.File

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.File

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.File

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

func CreatedByLT

func CreatedByLT(v string) predicate.File

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.File

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.File

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.File

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

func DeletedAt

func DeletedAt(v time.Time) predicate.File

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.File

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.File

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.File

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.File

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.File

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.File

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.File

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.File

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

func DeletedBy

func DeletedBy(v string) predicate.File

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

func DeletedByContains

func DeletedByContains(v string) predicate.File

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.File

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

func DeletedByEQ

func DeletedByEQ(v string) predicate.File

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.File

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

func DeletedByGT

func DeletedByGT(v string) predicate.File

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.File

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.File

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.File

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.File

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

func DeletedByLT

func DeletedByLT(v string) predicate.File

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.File

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.File

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.File

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

func DetectedContentType added in v0.3.0

func DetectedContentType(v string) predicate.File

DetectedContentType applies equality check predicate on the "detected_content_type" field. It's identical to DetectedContentTypeEQ.

func DetectedContentTypeContains added in v0.3.0

func DetectedContentTypeContains(v string) predicate.File

DetectedContentTypeContains applies the Contains predicate on the "detected_content_type" field.

func DetectedContentTypeContainsFold added in v0.3.0

func DetectedContentTypeContainsFold(v string) predicate.File

DetectedContentTypeContainsFold applies the ContainsFold predicate on the "detected_content_type" field.

func DetectedContentTypeEQ added in v0.3.0

func DetectedContentTypeEQ(v string) predicate.File

DetectedContentTypeEQ applies the EQ predicate on the "detected_content_type" field.

func DetectedContentTypeEqualFold added in v0.3.0

func DetectedContentTypeEqualFold(v string) predicate.File

DetectedContentTypeEqualFold applies the EqualFold predicate on the "detected_content_type" field.

func DetectedContentTypeGT added in v0.3.0

func DetectedContentTypeGT(v string) predicate.File

DetectedContentTypeGT applies the GT predicate on the "detected_content_type" field.

func DetectedContentTypeGTE added in v0.3.0

func DetectedContentTypeGTE(v string) predicate.File

DetectedContentTypeGTE applies the GTE predicate on the "detected_content_type" field.

func DetectedContentTypeHasPrefix added in v0.3.0

func DetectedContentTypeHasPrefix(v string) predicate.File

DetectedContentTypeHasPrefix applies the HasPrefix predicate on the "detected_content_type" field.

func DetectedContentTypeHasSuffix added in v0.3.0

func DetectedContentTypeHasSuffix(v string) predicate.File

DetectedContentTypeHasSuffix applies the HasSuffix predicate on the "detected_content_type" field.

func DetectedContentTypeIn added in v0.3.0

func DetectedContentTypeIn(vs ...string) predicate.File

DetectedContentTypeIn applies the In predicate on the "detected_content_type" field.

func DetectedContentTypeLT added in v0.3.0

func DetectedContentTypeLT(v string) predicate.File

DetectedContentTypeLT applies the LT predicate on the "detected_content_type" field.

func DetectedContentTypeLTE added in v0.3.0

func DetectedContentTypeLTE(v string) predicate.File

DetectedContentTypeLTE applies the LTE predicate on the "detected_content_type" field.

func DetectedContentTypeNEQ added in v0.3.0

func DetectedContentTypeNEQ(v string) predicate.File

DetectedContentTypeNEQ applies the NEQ predicate on the "detected_content_type" field.

func DetectedContentTypeNotIn added in v0.3.0

func DetectedContentTypeNotIn(vs ...string) predicate.File

DetectedContentTypeNotIn applies the NotIn predicate on the "detected_content_type" field.

func DetectedMimeType added in v0.3.0

func DetectedMimeType(v string) predicate.File

DetectedMimeType applies equality check predicate on the "detected_mime_type" field. It's identical to DetectedMimeTypeEQ.

func DetectedMimeTypeContains added in v0.3.0

func DetectedMimeTypeContains(v string) predicate.File

DetectedMimeTypeContains applies the Contains predicate on the "detected_mime_type" field.

func DetectedMimeTypeContainsFold added in v0.3.0

func DetectedMimeTypeContainsFold(v string) predicate.File

DetectedMimeTypeContainsFold applies the ContainsFold predicate on the "detected_mime_type" field.

func DetectedMimeTypeEQ added in v0.3.0

func DetectedMimeTypeEQ(v string) predicate.File

DetectedMimeTypeEQ applies the EQ predicate on the "detected_mime_type" field.

func DetectedMimeTypeEqualFold added in v0.3.0

func DetectedMimeTypeEqualFold(v string) predicate.File

DetectedMimeTypeEqualFold applies the EqualFold predicate on the "detected_mime_type" field.

func DetectedMimeTypeGT added in v0.3.0

func DetectedMimeTypeGT(v string) predicate.File

DetectedMimeTypeGT applies the GT predicate on the "detected_mime_type" field.

func DetectedMimeTypeGTE added in v0.3.0

func DetectedMimeTypeGTE(v string) predicate.File

DetectedMimeTypeGTE applies the GTE predicate on the "detected_mime_type" field.

func DetectedMimeTypeHasPrefix added in v0.3.0

func DetectedMimeTypeHasPrefix(v string) predicate.File

DetectedMimeTypeHasPrefix applies the HasPrefix predicate on the "detected_mime_type" field.

func DetectedMimeTypeHasSuffix added in v0.3.0

func DetectedMimeTypeHasSuffix(v string) predicate.File

DetectedMimeTypeHasSuffix applies the HasSuffix predicate on the "detected_mime_type" field.

func DetectedMimeTypeIn added in v0.3.0

func DetectedMimeTypeIn(vs ...string) predicate.File

DetectedMimeTypeIn applies the In predicate on the "detected_mime_type" field.

func DetectedMimeTypeIsNil added in v0.3.0

func DetectedMimeTypeIsNil() predicate.File

DetectedMimeTypeIsNil applies the IsNil predicate on the "detected_mime_type" field.

func DetectedMimeTypeLT added in v0.3.0

func DetectedMimeTypeLT(v string) predicate.File

DetectedMimeTypeLT applies the LT predicate on the "detected_mime_type" field.

func DetectedMimeTypeLTE added in v0.3.0

func DetectedMimeTypeLTE(v string) predicate.File

DetectedMimeTypeLTE applies the LTE predicate on the "detected_mime_type" field.

func DetectedMimeTypeNEQ added in v0.3.0

func DetectedMimeTypeNEQ(v string) predicate.File

DetectedMimeTypeNEQ applies the NEQ predicate on the "detected_mime_type" field.

func DetectedMimeTypeNotIn added in v0.3.0

func DetectedMimeTypeNotIn(vs ...string) predicate.File

DetectedMimeTypeNotIn applies the NotIn predicate on the "detected_mime_type" field.

func DetectedMimeTypeNotNil added in v0.3.0

func DetectedMimeTypeNotNil() predicate.File

DetectedMimeTypeNotNil applies the NotNil predicate on the "detected_mime_type" field.

func FileContents added in v0.3.0

func FileContents(v []byte) predicate.File

FileContents applies equality check predicate on the "file_contents" field. It's identical to FileContentsEQ.

func FileContentsEQ added in v0.3.0

func FileContentsEQ(v []byte) predicate.File

FileContentsEQ applies the EQ predicate on the "file_contents" field.

func FileContentsGT added in v0.3.0

func FileContentsGT(v []byte) predicate.File

FileContentsGT applies the GT predicate on the "file_contents" field.

func FileContentsGTE added in v0.3.0

func FileContentsGTE(v []byte) predicate.File

FileContentsGTE applies the GTE predicate on the "file_contents" field.

func FileContentsIn added in v0.3.0

func FileContentsIn(vs ...[]byte) predicate.File

FileContentsIn applies the In predicate on the "file_contents" field.

func FileContentsIsNil added in v0.3.0

func FileContentsIsNil() predicate.File

FileContentsIsNil applies the IsNil predicate on the "file_contents" field.

func FileContentsLT added in v0.3.0

func FileContentsLT(v []byte) predicate.File

FileContentsLT applies the LT predicate on the "file_contents" field.

func FileContentsLTE added in v0.3.0

func FileContentsLTE(v []byte) predicate.File

FileContentsLTE applies the LTE predicate on the "file_contents" field.

func FileContentsNEQ added in v0.3.0

func FileContentsNEQ(v []byte) predicate.File

FileContentsNEQ applies the NEQ predicate on the "file_contents" field.

func FileContentsNotIn added in v0.3.0

func FileContentsNotIn(vs ...[]byte) predicate.File

FileContentsNotIn applies the NotIn predicate on the "file_contents" field.

func FileContentsNotNil added in v0.3.0

func FileContentsNotNil() predicate.File

FileContentsNotNil applies the NotNil predicate on the "file_contents" field.

func HasContact added in v0.3.0

func HasContact() predicate.File

HasContact applies the HasEdge predicate on the "contact" edge.

func HasContactWith added in v0.3.0

func HasContactWith(preds ...predicate.Contact) predicate.File

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

func HasDocument added in v0.8.2

func HasDocument() predicate.File

HasDocument applies the HasEdge predicate on the "document" edge.

func HasDocumentWith added in v0.8.2

func HasDocumentWith(preds ...predicate.DocumentData) predicate.File

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

func HasEntity

func HasEntity() predicate.File

HasEntity applies the HasEdge predicate on the "entity" edge.

func HasEntityWith

func HasEntityWith(preds ...predicate.Entity) predicate.File

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

func HasEvents added in v0.3.0

func HasEvents() predicate.File

HasEvents applies the HasEdge predicate on the "events" edge.

func HasEventsWith added in v0.3.0

func HasEventsWith(preds ...predicate.Event) predicate.File

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

func HasEvidence added in v0.6.19

func HasEvidence() predicate.File

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

func HasEvidenceWith added in v0.6.19

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

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

func HasGroups added in v0.8.2

func HasGroups() predicate.File

HasGroups applies the HasEdge predicate on the "groups" edge.

func HasGroupsWith added in v0.8.2

func HasGroupsWith(preds ...predicate.Group) predicate.File

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

func HasIntegrations added in v0.33.3

func HasIntegrations() predicate.File

HasIntegrations applies the HasEdge predicate on the "integrations" edge.

func HasIntegrationsWith added in v0.33.3

func HasIntegrationsWith(preds ...predicate.Integration) predicate.File

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

func HasOrganization

func HasOrganization() predicate.File

HasOrganization applies the HasEdge predicate on the "organization" edge.

func HasOrganizationSetting added in v0.6.1

func HasOrganizationSetting() predicate.File

HasOrganizationSetting applies the HasEdge predicate on the "organization_setting" edge.

func HasOrganizationSettingWith added in v0.6.1

func HasOrganizationSettingWith(preds ...predicate.OrganizationSetting) predicate.File

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

func HasOrganizationWith

func HasOrganizationWith(preds ...predicate.Organization) predicate.File

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

func HasProgram added in v0.3.5

func HasProgram() predicate.File

HasProgram applies the HasEdge predicate on the "program" edge.

func HasProgramWith added in v0.3.5

func HasProgramWith(preds ...predicate.Program) predicate.File

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

func HasSecrets added in v0.33.3

func HasSecrets() predicate.File

HasSecrets applies the HasEdge predicate on the "secrets" edge.

func HasSecretsWith added in v0.33.3

func HasSecretsWith(preds ...predicate.Hush) predicate.File

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

func HasTemplate added in v0.3.0

func HasTemplate() predicate.File

HasTemplate applies the HasEdge predicate on the "template" edge.

func HasTemplateWith added in v0.3.0

func HasTemplateWith(preds ...predicate.Template) predicate.File

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

func HasTrustCenterSetting added in v0.20.7

func HasTrustCenterSetting() predicate.File

HasTrustCenterSetting applies the HasEdge predicate on the "trust_center_setting" edge.

func HasTrustCenterSettingWith added in v0.20.7

func HasTrustCenterSettingWith(preds ...predicate.TrustCenterSetting) predicate.File

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

func HasTrustcenterEntities added in v0.47.5

func HasTrustcenterEntities() predicate.File

HasTrustcenterEntities applies the HasEdge predicate on the "trustcenter_entities" edge.

func HasTrustcenterEntitiesWith added in v0.47.5

func HasTrustcenterEntitiesWith(preds ...predicate.TrustcenterEntity) predicate.File

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

func ID

func ID(id string) predicate.File

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.File

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.File

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.File

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.File

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.File

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.File

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.File

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.File

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func InternalNotes added in v0.34.0

func InternalNotes(v string) predicate.File

InternalNotes applies equality check predicate on the "internal_notes" field. It's identical to InternalNotesEQ.

func InternalNotesContains added in v0.34.0

func InternalNotesContains(v string) predicate.File

InternalNotesContains applies the Contains predicate on the "internal_notes" field.

func InternalNotesContainsFold added in v0.34.0

func InternalNotesContainsFold(v string) predicate.File

InternalNotesContainsFold applies the ContainsFold predicate on the "internal_notes" field.

func InternalNotesEQ added in v0.34.0

func InternalNotesEQ(v string) predicate.File

InternalNotesEQ applies the EQ predicate on the "internal_notes" field.

func InternalNotesEqualFold added in v0.34.0

func InternalNotesEqualFold(v string) predicate.File

InternalNotesEqualFold applies the EqualFold predicate on the "internal_notes" field.

func InternalNotesGT added in v0.34.0

func InternalNotesGT(v string) predicate.File

InternalNotesGT applies the GT predicate on the "internal_notes" field.

func InternalNotesGTE added in v0.34.0

func InternalNotesGTE(v string) predicate.File

InternalNotesGTE applies the GTE predicate on the "internal_notes" field.

func InternalNotesHasPrefix added in v0.34.0

func InternalNotesHasPrefix(v string) predicate.File

InternalNotesHasPrefix applies the HasPrefix predicate on the "internal_notes" field.

func InternalNotesHasSuffix added in v0.34.0

func InternalNotesHasSuffix(v string) predicate.File

InternalNotesHasSuffix applies the HasSuffix predicate on the "internal_notes" field.

func InternalNotesIn added in v0.34.0

func InternalNotesIn(vs ...string) predicate.File

InternalNotesIn applies the In predicate on the "internal_notes" field.

func InternalNotesIsNil added in v0.34.0

func InternalNotesIsNil() predicate.File

InternalNotesIsNil applies the IsNil predicate on the "internal_notes" field.

func InternalNotesLT added in v0.34.0

func InternalNotesLT(v string) predicate.File

InternalNotesLT applies the LT predicate on the "internal_notes" field.

func InternalNotesLTE added in v0.34.0

func InternalNotesLTE(v string) predicate.File

InternalNotesLTE applies the LTE predicate on the "internal_notes" field.

func InternalNotesNEQ added in v0.34.0

func InternalNotesNEQ(v string) predicate.File

InternalNotesNEQ applies the NEQ predicate on the "internal_notes" field.

func InternalNotesNotIn added in v0.34.0

func InternalNotesNotIn(vs ...string) predicate.File

InternalNotesNotIn applies the NotIn predicate on the "internal_notes" field.

func InternalNotesNotNil added in v0.34.0

func InternalNotesNotNil() predicate.File

InternalNotesNotNil applies the NotNil predicate on the "internal_notes" field.

func LastAccessedAt added in v0.33.3

func LastAccessedAt(v time.Time) predicate.File

LastAccessedAt applies equality check predicate on the "last_accessed_at" field. It's identical to LastAccessedAtEQ.

func LastAccessedAtEQ added in v0.33.3

func LastAccessedAtEQ(v time.Time) predicate.File

LastAccessedAtEQ applies the EQ predicate on the "last_accessed_at" field.

func LastAccessedAtGT added in v0.33.3

func LastAccessedAtGT(v time.Time) predicate.File

LastAccessedAtGT applies the GT predicate on the "last_accessed_at" field.

func LastAccessedAtGTE added in v0.33.3

func LastAccessedAtGTE(v time.Time) predicate.File

LastAccessedAtGTE applies the GTE predicate on the "last_accessed_at" field.

func LastAccessedAtIn added in v0.33.3

func LastAccessedAtIn(vs ...time.Time) predicate.File

LastAccessedAtIn applies the In predicate on the "last_accessed_at" field.

func LastAccessedAtIsNil added in v0.33.3

func LastAccessedAtIsNil() predicate.File

LastAccessedAtIsNil applies the IsNil predicate on the "last_accessed_at" field.

func LastAccessedAtLT added in v0.33.3

func LastAccessedAtLT(v time.Time) predicate.File

LastAccessedAtLT applies the LT predicate on the "last_accessed_at" field.

func LastAccessedAtLTE added in v0.33.3

func LastAccessedAtLTE(v time.Time) predicate.File

LastAccessedAtLTE applies the LTE predicate on the "last_accessed_at" field.

func LastAccessedAtNEQ added in v0.33.3

func LastAccessedAtNEQ(v time.Time) predicate.File

LastAccessedAtNEQ applies the NEQ predicate on the "last_accessed_at" field.

func LastAccessedAtNotIn added in v0.33.3

func LastAccessedAtNotIn(vs ...time.Time) predicate.File

LastAccessedAtNotIn applies the NotIn predicate on the "last_accessed_at" field.

func LastAccessedAtNotNil added in v0.33.3

func LastAccessedAtNotNil() predicate.File

LastAccessedAtNotNil applies the NotNil predicate on the "last_accessed_at" field.

func Md5Hash added in v0.3.0

func Md5Hash(v string) predicate.File

Md5Hash applies equality check predicate on the "md5_hash" field. It's identical to Md5HashEQ.

func Md5HashContains added in v0.3.0

func Md5HashContains(v string) predicate.File

Md5HashContains applies the Contains predicate on the "md5_hash" field.

func Md5HashContainsFold added in v0.3.0

func Md5HashContainsFold(v string) predicate.File

Md5HashContainsFold applies the ContainsFold predicate on the "md5_hash" field.

func Md5HashEQ added in v0.3.0

func Md5HashEQ(v string) predicate.File

Md5HashEQ applies the EQ predicate on the "md5_hash" field.

func Md5HashEqualFold added in v0.3.0

func Md5HashEqualFold(v string) predicate.File

Md5HashEqualFold applies the EqualFold predicate on the "md5_hash" field.

func Md5HashGT added in v0.3.0

func Md5HashGT(v string) predicate.File

Md5HashGT applies the GT predicate on the "md5_hash" field.

func Md5HashGTE added in v0.3.0

func Md5HashGTE(v string) predicate.File

Md5HashGTE applies the GTE predicate on the "md5_hash" field.

func Md5HashHasPrefix added in v0.3.0

func Md5HashHasPrefix(v string) predicate.File

Md5HashHasPrefix applies the HasPrefix predicate on the "md5_hash" field.

func Md5HashHasSuffix added in v0.3.0

func Md5HashHasSuffix(v string) predicate.File

Md5HashHasSuffix applies the HasSuffix predicate on the "md5_hash" field.

func Md5HashIn added in v0.3.0

func Md5HashIn(vs ...string) predicate.File

Md5HashIn applies the In predicate on the "md5_hash" field.

func Md5HashIsNil added in v0.3.0

func Md5HashIsNil() predicate.File

Md5HashIsNil applies the IsNil predicate on the "md5_hash" field.

func Md5HashLT added in v0.3.0

func Md5HashLT(v string) predicate.File

Md5HashLT applies the LT predicate on the "md5_hash" field.

func Md5HashLTE added in v0.3.0

func Md5HashLTE(v string) predicate.File

Md5HashLTE applies the LTE predicate on the "md5_hash" field.

func Md5HashNEQ added in v0.3.0

func Md5HashNEQ(v string) predicate.File

Md5HashNEQ applies the NEQ predicate on the "md5_hash" field.

func Md5HashNotIn added in v0.3.0

func Md5HashNotIn(vs ...string) predicate.File

Md5HashNotIn applies the NotIn predicate on the "md5_hash" field.

func Md5HashNotNil added in v0.3.0

func Md5HashNotNil() predicate.File

Md5HashNotNil applies the NotNil predicate on the "md5_hash" field.

func MetadataIsNil added in v0.33.3

func MetadataIsNil() predicate.File

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

func MetadataNotNil added in v0.33.3

func MetadataNotNil() predicate.File

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.File) predicate.File

Or groups predicates with the OR operator between them.

func PersistedFileSize added in v0.3.0

func PersistedFileSize(v int64) predicate.File

PersistedFileSize applies equality check predicate on the "persisted_file_size" field. It's identical to PersistedFileSizeEQ.

func PersistedFileSizeEQ added in v0.3.0

func PersistedFileSizeEQ(v int64) predicate.File

PersistedFileSizeEQ applies the EQ predicate on the "persisted_file_size" field.

func PersistedFileSizeGT added in v0.3.0

func PersistedFileSizeGT(v int64) predicate.File

PersistedFileSizeGT applies the GT predicate on the "persisted_file_size" field.

func PersistedFileSizeGTE added in v0.3.0

func PersistedFileSizeGTE(v int64) predicate.File

PersistedFileSizeGTE applies the GTE predicate on the "persisted_file_size" field.

func PersistedFileSizeIn added in v0.3.0

func PersistedFileSizeIn(vs ...int64) predicate.File

PersistedFileSizeIn applies the In predicate on the "persisted_file_size" field.

func PersistedFileSizeIsNil added in v0.3.0

func PersistedFileSizeIsNil() predicate.File

PersistedFileSizeIsNil applies the IsNil predicate on the "persisted_file_size" field.

func PersistedFileSizeLT added in v0.3.0

func PersistedFileSizeLT(v int64) predicate.File

PersistedFileSizeLT applies the LT predicate on the "persisted_file_size" field.

func PersistedFileSizeLTE added in v0.3.0

func PersistedFileSizeLTE(v int64) predicate.File

PersistedFileSizeLTE applies the LTE predicate on the "persisted_file_size" field.

func PersistedFileSizeNEQ added in v0.3.0

func PersistedFileSizeNEQ(v int64) predicate.File

PersistedFileSizeNEQ applies the NEQ predicate on the "persisted_file_size" field.

func PersistedFileSizeNotIn added in v0.3.0

func PersistedFileSizeNotIn(vs ...int64) predicate.File

PersistedFileSizeNotIn applies the NotIn predicate on the "persisted_file_size" field.

func PersistedFileSizeNotNil added in v0.3.0

func PersistedFileSizeNotNil() predicate.File

PersistedFileSizeNotNil applies the NotNil predicate on the "persisted_file_size" field.

func ProvidedFileExtension added in v0.3.0

func ProvidedFileExtension(v string) predicate.File

ProvidedFileExtension applies equality check predicate on the "provided_file_extension" field. It's identical to ProvidedFileExtensionEQ.

func ProvidedFileExtensionContains added in v0.3.0

func ProvidedFileExtensionContains(v string) predicate.File

ProvidedFileExtensionContains applies the Contains predicate on the "provided_file_extension" field.

func ProvidedFileExtensionContainsFold added in v0.3.0

func ProvidedFileExtensionContainsFold(v string) predicate.File

ProvidedFileExtensionContainsFold applies the ContainsFold predicate on the "provided_file_extension" field.

func ProvidedFileExtensionEQ added in v0.3.0

func ProvidedFileExtensionEQ(v string) predicate.File

ProvidedFileExtensionEQ applies the EQ predicate on the "provided_file_extension" field.

func ProvidedFileExtensionEqualFold added in v0.3.0

func ProvidedFileExtensionEqualFold(v string) predicate.File

ProvidedFileExtensionEqualFold applies the EqualFold predicate on the "provided_file_extension" field.

func ProvidedFileExtensionGT added in v0.3.0

func ProvidedFileExtensionGT(v string) predicate.File

ProvidedFileExtensionGT applies the GT predicate on the "provided_file_extension" field.

func ProvidedFileExtensionGTE added in v0.3.0

func ProvidedFileExtensionGTE(v string) predicate.File

ProvidedFileExtensionGTE applies the GTE predicate on the "provided_file_extension" field.

func ProvidedFileExtensionHasPrefix added in v0.3.0

func ProvidedFileExtensionHasPrefix(v string) predicate.File

ProvidedFileExtensionHasPrefix applies the HasPrefix predicate on the "provided_file_extension" field.

func ProvidedFileExtensionHasSuffix added in v0.3.0

func ProvidedFileExtensionHasSuffix(v string) predicate.File

ProvidedFileExtensionHasSuffix applies the HasSuffix predicate on the "provided_file_extension" field.

func ProvidedFileExtensionIn added in v0.3.0

func ProvidedFileExtensionIn(vs ...string) predicate.File

ProvidedFileExtensionIn applies the In predicate on the "provided_file_extension" field.

func ProvidedFileExtensionLT added in v0.3.0

func ProvidedFileExtensionLT(v string) predicate.File

ProvidedFileExtensionLT applies the LT predicate on the "provided_file_extension" field.

func ProvidedFileExtensionLTE added in v0.3.0

func ProvidedFileExtensionLTE(v string) predicate.File

ProvidedFileExtensionLTE applies the LTE predicate on the "provided_file_extension" field.

func ProvidedFileExtensionNEQ added in v0.3.0

func ProvidedFileExtensionNEQ(v string) predicate.File

ProvidedFileExtensionNEQ applies the NEQ predicate on the "provided_file_extension" field.

func ProvidedFileExtensionNotIn added in v0.3.0

func ProvidedFileExtensionNotIn(vs ...string) predicate.File

ProvidedFileExtensionNotIn applies the NotIn predicate on the "provided_file_extension" field.

func ProvidedFileName added in v0.3.0

func ProvidedFileName(v string) predicate.File

ProvidedFileName applies equality check predicate on the "provided_file_name" field. It's identical to ProvidedFileNameEQ.

func ProvidedFileNameContains added in v0.3.0

func ProvidedFileNameContains(v string) predicate.File

ProvidedFileNameContains applies the Contains predicate on the "provided_file_name" field.

func ProvidedFileNameContainsFold added in v0.3.0

func ProvidedFileNameContainsFold(v string) predicate.File

ProvidedFileNameContainsFold applies the ContainsFold predicate on the "provided_file_name" field.

func ProvidedFileNameEQ added in v0.3.0

func ProvidedFileNameEQ(v string) predicate.File

ProvidedFileNameEQ applies the EQ predicate on the "provided_file_name" field.

func ProvidedFileNameEqualFold added in v0.3.0

func ProvidedFileNameEqualFold(v string) predicate.File

ProvidedFileNameEqualFold applies the EqualFold predicate on the "provided_file_name" field.

func ProvidedFileNameGT added in v0.3.0

func ProvidedFileNameGT(v string) predicate.File

ProvidedFileNameGT applies the GT predicate on the "provided_file_name" field.

func ProvidedFileNameGTE added in v0.3.0

func ProvidedFileNameGTE(v string) predicate.File

ProvidedFileNameGTE applies the GTE predicate on the "provided_file_name" field.

func ProvidedFileNameHasPrefix added in v0.3.0

func ProvidedFileNameHasPrefix(v string) predicate.File

ProvidedFileNameHasPrefix applies the HasPrefix predicate on the "provided_file_name" field.

func ProvidedFileNameHasSuffix added in v0.3.0

func ProvidedFileNameHasSuffix(v string) predicate.File

ProvidedFileNameHasSuffix applies the HasSuffix predicate on the "provided_file_name" field.

func ProvidedFileNameIn added in v0.3.0

func ProvidedFileNameIn(vs ...string) predicate.File

ProvidedFileNameIn applies the In predicate on the "provided_file_name" field.

func ProvidedFileNameLT added in v0.3.0

func ProvidedFileNameLT(v string) predicate.File

ProvidedFileNameLT applies the LT predicate on the "provided_file_name" field.

func ProvidedFileNameLTE added in v0.3.0

func ProvidedFileNameLTE(v string) predicate.File

ProvidedFileNameLTE applies the LTE predicate on the "provided_file_name" field.

func ProvidedFileNameNEQ added in v0.3.0

func ProvidedFileNameNEQ(v string) predicate.File

ProvidedFileNameNEQ applies the NEQ predicate on the "provided_file_name" field.

func ProvidedFileNameNotIn added in v0.3.0

func ProvidedFileNameNotIn(vs ...string) predicate.File

ProvidedFileNameNotIn applies the NotIn predicate on the "provided_file_name" field.

func ProvidedFileSize added in v0.3.0

func ProvidedFileSize(v int64) predicate.File

ProvidedFileSize applies equality check predicate on the "provided_file_size" field. It's identical to ProvidedFileSizeEQ.

func ProvidedFileSizeEQ added in v0.3.0

func ProvidedFileSizeEQ(v int64) predicate.File

ProvidedFileSizeEQ applies the EQ predicate on the "provided_file_size" field.

func ProvidedFileSizeGT added in v0.3.0

func ProvidedFileSizeGT(v int64) predicate.File

ProvidedFileSizeGT applies the GT predicate on the "provided_file_size" field.

func ProvidedFileSizeGTE added in v0.3.0

func ProvidedFileSizeGTE(v int64) predicate.File

ProvidedFileSizeGTE applies the GTE predicate on the "provided_file_size" field.

func ProvidedFileSizeIn added in v0.3.0

func ProvidedFileSizeIn(vs ...int64) predicate.File

ProvidedFileSizeIn applies the In predicate on the "provided_file_size" field.

func ProvidedFileSizeIsNil added in v0.3.0

func ProvidedFileSizeIsNil() predicate.File

ProvidedFileSizeIsNil applies the IsNil predicate on the "provided_file_size" field.

func ProvidedFileSizeLT added in v0.3.0

func ProvidedFileSizeLT(v int64) predicate.File

ProvidedFileSizeLT applies the LT predicate on the "provided_file_size" field.

func ProvidedFileSizeLTE added in v0.3.0

func ProvidedFileSizeLTE(v int64) predicate.File

ProvidedFileSizeLTE applies the LTE predicate on the "provided_file_size" field.

func ProvidedFileSizeNEQ added in v0.3.0

func ProvidedFileSizeNEQ(v int64) predicate.File

ProvidedFileSizeNEQ applies the NEQ predicate on the "provided_file_size" field.

func ProvidedFileSizeNotIn added in v0.3.0

func ProvidedFileSizeNotIn(vs ...int64) predicate.File

ProvidedFileSizeNotIn applies the NotIn predicate on the "provided_file_size" field.

func ProvidedFileSizeNotNil added in v0.3.0

func ProvidedFileSizeNotNil() predicate.File

ProvidedFileSizeNotNil applies the NotNil predicate on the "provided_file_size" field.

func StoragePath added in v0.3.0

func StoragePath(v string) predicate.File

StoragePath applies equality check predicate on the "storage_path" field. It's identical to StoragePathEQ.

func StoragePathContains added in v0.3.0

func StoragePathContains(v string) predicate.File

StoragePathContains applies the Contains predicate on the "storage_path" field.

func StoragePathContainsFold added in v0.3.0

func StoragePathContainsFold(v string) predicate.File

StoragePathContainsFold applies the ContainsFold predicate on the "storage_path" field.

func StoragePathEQ added in v0.3.0

func StoragePathEQ(v string) predicate.File

StoragePathEQ applies the EQ predicate on the "storage_path" field.

func StoragePathEqualFold added in v0.3.0

func StoragePathEqualFold(v string) predicate.File

StoragePathEqualFold applies the EqualFold predicate on the "storage_path" field.

func StoragePathGT added in v0.3.0

func StoragePathGT(v string) predicate.File

StoragePathGT applies the GT predicate on the "storage_path" field.

func StoragePathGTE added in v0.3.0

func StoragePathGTE(v string) predicate.File

StoragePathGTE applies the GTE predicate on the "storage_path" field.

func StoragePathHasPrefix added in v0.3.0

func StoragePathHasPrefix(v string) predicate.File

StoragePathHasPrefix applies the HasPrefix predicate on the "storage_path" field.

func StoragePathHasSuffix added in v0.3.0

func StoragePathHasSuffix(v string) predicate.File

StoragePathHasSuffix applies the HasSuffix predicate on the "storage_path" field.

func StoragePathIn added in v0.3.0

func StoragePathIn(vs ...string) predicate.File

StoragePathIn applies the In predicate on the "storage_path" field.

func StoragePathIsNil added in v0.3.0

func StoragePathIsNil() predicate.File

StoragePathIsNil applies the IsNil predicate on the "storage_path" field.

func StoragePathLT added in v0.3.0

func StoragePathLT(v string) predicate.File

StoragePathLT applies the LT predicate on the "storage_path" field.

func StoragePathLTE added in v0.3.0

func StoragePathLTE(v string) predicate.File

StoragePathLTE applies the LTE predicate on the "storage_path" field.

func StoragePathNEQ added in v0.3.0

func StoragePathNEQ(v string) predicate.File

StoragePathNEQ applies the NEQ predicate on the "storage_path" field.

func StoragePathNotIn added in v0.3.0

func StoragePathNotIn(vs ...string) predicate.File

StoragePathNotIn applies the NotIn predicate on the "storage_path" field.

func StoragePathNotNil added in v0.3.0

func StoragePathNotNil() predicate.File

StoragePathNotNil applies the NotNil predicate on the "storage_path" field.

func StorageProvider added in v0.33.3

func StorageProvider(v string) predicate.File

StorageProvider applies equality check predicate on the "storage_provider" field. It's identical to StorageProviderEQ.

func StorageProviderContains added in v0.33.3

func StorageProviderContains(v string) predicate.File

StorageProviderContains applies the Contains predicate on the "storage_provider" field.

func StorageProviderContainsFold added in v0.33.3

func StorageProviderContainsFold(v string) predicate.File

StorageProviderContainsFold applies the ContainsFold predicate on the "storage_provider" field.

func StorageProviderEQ added in v0.33.3

func StorageProviderEQ(v string) predicate.File

StorageProviderEQ applies the EQ predicate on the "storage_provider" field.

func StorageProviderEqualFold added in v0.33.3

func StorageProviderEqualFold(v string) predicate.File

StorageProviderEqualFold applies the EqualFold predicate on the "storage_provider" field.

func StorageProviderGT added in v0.33.3

func StorageProviderGT(v string) predicate.File

StorageProviderGT applies the GT predicate on the "storage_provider" field.

func StorageProviderGTE added in v0.33.3

func StorageProviderGTE(v string) predicate.File

StorageProviderGTE applies the GTE predicate on the "storage_provider" field.

func StorageProviderHasPrefix added in v0.33.3

func StorageProviderHasPrefix(v string) predicate.File

StorageProviderHasPrefix applies the HasPrefix predicate on the "storage_provider" field.

func StorageProviderHasSuffix added in v0.33.3

func StorageProviderHasSuffix(v string) predicate.File

StorageProviderHasSuffix applies the HasSuffix predicate on the "storage_provider" field.

func StorageProviderIn added in v0.33.3

func StorageProviderIn(vs ...string) predicate.File

StorageProviderIn applies the In predicate on the "storage_provider" field.

func StorageProviderIsNil added in v0.33.3

func StorageProviderIsNil() predicate.File

StorageProviderIsNil applies the IsNil predicate on the "storage_provider" field.

func StorageProviderLT added in v0.33.3

func StorageProviderLT(v string) predicate.File

StorageProviderLT applies the LT predicate on the "storage_provider" field.

func StorageProviderLTE added in v0.33.3

func StorageProviderLTE(v string) predicate.File

StorageProviderLTE applies the LTE predicate on the "storage_provider" field.

func StorageProviderNEQ added in v0.33.3

func StorageProviderNEQ(v string) predicate.File

StorageProviderNEQ applies the NEQ predicate on the "storage_provider" field.

func StorageProviderNotIn added in v0.33.3

func StorageProviderNotIn(vs ...string) predicate.File

StorageProviderNotIn applies the NotIn predicate on the "storage_provider" field.

func StorageProviderNotNil added in v0.33.3

func StorageProviderNotNil() predicate.File

StorageProviderNotNil applies the NotNil predicate on the "storage_provider" field.

func StorageRegion added in v0.33.3

func StorageRegion(v string) predicate.File

StorageRegion applies equality check predicate on the "storage_region" field. It's identical to StorageRegionEQ.

func StorageRegionContains added in v0.33.3

func StorageRegionContains(v string) predicate.File

StorageRegionContains applies the Contains predicate on the "storage_region" field.

func StorageRegionContainsFold added in v0.33.3

func StorageRegionContainsFold(v string) predicate.File

StorageRegionContainsFold applies the ContainsFold predicate on the "storage_region" field.

func StorageRegionEQ added in v0.33.3

func StorageRegionEQ(v string) predicate.File

StorageRegionEQ applies the EQ predicate on the "storage_region" field.

func StorageRegionEqualFold added in v0.33.3

func StorageRegionEqualFold(v string) predicate.File

StorageRegionEqualFold applies the EqualFold predicate on the "storage_region" field.

func StorageRegionGT added in v0.33.3

func StorageRegionGT(v string) predicate.File

StorageRegionGT applies the GT predicate on the "storage_region" field.

func StorageRegionGTE added in v0.33.3

func StorageRegionGTE(v string) predicate.File

StorageRegionGTE applies the GTE predicate on the "storage_region" field.

func StorageRegionHasPrefix added in v0.33.3

func StorageRegionHasPrefix(v string) predicate.File

StorageRegionHasPrefix applies the HasPrefix predicate on the "storage_region" field.

func StorageRegionHasSuffix added in v0.33.3

func StorageRegionHasSuffix(v string) predicate.File

StorageRegionHasSuffix applies the HasSuffix predicate on the "storage_region" field.

func StorageRegionIn added in v0.33.3

func StorageRegionIn(vs ...string) predicate.File

StorageRegionIn applies the In predicate on the "storage_region" field.

func StorageRegionIsNil added in v0.33.3

func StorageRegionIsNil() predicate.File

StorageRegionIsNil applies the IsNil predicate on the "storage_region" field.

func StorageRegionLT added in v0.33.3

func StorageRegionLT(v string) predicate.File

StorageRegionLT applies the LT predicate on the "storage_region" field.

func StorageRegionLTE added in v0.33.3

func StorageRegionLTE(v string) predicate.File

StorageRegionLTE applies the LTE predicate on the "storage_region" field.

func StorageRegionNEQ added in v0.33.3

func StorageRegionNEQ(v string) predicate.File

StorageRegionNEQ applies the NEQ predicate on the "storage_region" field.

func StorageRegionNotIn added in v0.33.3

func StorageRegionNotIn(vs ...string) predicate.File

StorageRegionNotIn applies the NotIn predicate on the "storage_region" field.

func StorageRegionNotNil added in v0.33.3

func StorageRegionNotNil() predicate.File

StorageRegionNotNil applies the NotNil predicate on the "storage_region" field.

func StorageScheme added in v0.3.0

func StorageScheme(v string) predicate.File

StorageScheme applies equality check predicate on the "storage_scheme" field. It's identical to StorageSchemeEQ.

func StorageSchemeContains added in v0.3.0

func StorageSchemeContains(v string) predicate.File

StorageSchemeContains applies the Contains predicate on the "storage_scheme" field.

func StorageSchemeContainsFold added in v0.3.0

func StorageSchemeContainsFold(v string) predicate.File

StorageSchemeContainsFold applies the ContainsFold predicate on the "storage_scheme" field.

func StorageSchemeEQ added in v0.3.0

func StorageSchemeEQ(v string) predicate.File

StorageSchemeEQ applies the EQ predicate on the "storage_scheme" field.

func StorageSchemeEqualFold added in v0.3.0

func StorageSchemeEqualFold(v string) predicate.File

StorageSchemeEqualFold applies the EqualFold predicate on the "storage_scheme" field.

func StorageSchemeGT added in v0.3.0

func StorageSchemeGT(v string) predicate.File

StorageSchemeGT applies the GT predicate on the "storage_scheme" field.

func StorageSchemeGTE added in v0.3.0

func StorageSchemeGTE(v string) predicate.File

StorageSchemeGTE applies the GTE predicate on the "storage_scheme" field.

func StorageSchemeHasPrefix added in v0.3.0

func StorageSchemeHasPrefix(v string) predicate.File

StorageSchemeHasPrefix applies the HasPrefix predicate on the "storage_scheme" field.

func StorageSchemeHasSuffix added in v0.3.0

func StorageSchemeHasSuffix(v string) predicate.File

StorageSchemeHasSuffix applies the HasSuffix predicate on the "storage_scheme" field.

func StorageSchemeIn added in v0.3.0

func StorageSchemeIn(vs ...string) predicate.File

StorageSchemeIn applies the In predicate on the "storage_scheme" field.

func StorageSchemeIsNil added in v0.3.0

func StorageSchemeIsNil() predicate.File

StorageSchemeIsNil applies the IsNil predicate on the "storage_scheme" field.

func StorageSchemeLT added in v0.3.0

func StorageSchemeLT(v string) predicate.File

StorageSchemeLT applies the LT predicate on the "storage_scheme" field.

func StorageSchemeLTE added in v0.3.0

func StorageSchemeLTE(v string) predicate.File

StorageSchemeLTE applies the LTE predicate on the "storage_scheme" field.

func StorageSchemeNEQ added in v0.3.0

func StorageSchemeNEQ(v string) predicate.File

StorageSchemeNEQ applies the NEQ predicate on the "storage_scheme" field.

func StorageSchemeNotIn added in v0.3.0

func StorageSchemeNotIn(vs ...string) predicate.File

StorageSchemeNotIn applies the NotIn predicate on the "storage_scheme" field.

func StorageSchemeNotNil added in v0.3.0

func StorageSchemeNotNil() predicate.File

StorageSchemeNotNil applies the NotNil predicate on the "storage_scheme" field.

func StorageVolume added in v0.3.0

func StorageVolume(v string) predicate.File

StorageVolume applies equality check predicate on the "storage_volume" field. It's identical to StorageVolumeEQ.

func StorageVolumeContains added in v0.3.0

func StorageVolumeContains(v string) predicate.File

StorageVolumeContains applies the Contains predicate on the "storage_volume" field.

func StorageVolumeContainsFold added in v0.3.0

func StorageVolumeContainsFold(v string) predicate.File

StorageVolumeContainsFold applies the ContainsFold predicate on the "storage_volume" field.

func StorageVolumeEQ added in v0.3.0

func StorageVolumeEQ(v string) predicate.File

StorageVolumeEQ applies the EQ predicate on the "storage_volume" field.

func StorageVolumeEqualFold added in v0.3.0

func StorageVolumeEqualFold(v string) predicate.File

StorageVolumeEqualFold applies the EqualFold predicate on the "storage_volume" field.

func StorageVolumeGT added in v0.3.0

func StorageVolumeGT(v string) predicate.File

StorageVolumeGT applies the GT predicate on the "storage_volume" field.

func StorageVolumeGTE added in v0.3.0

func StorageVolumeGTE(v string) predicate.File

StorageVolumeGTE applies the GTE predicate on the "storage_volume" field.

func StorageVolumeHasPrefix added in v0.3.0

func StorageVolumeHasPrefix(v string) predicate.File

StorageVolumeHasPrefix applies the HasPrefix predicate on the "storage_volume" field.

func StorageVolumeHasSuffix added in v0.3.0

func StorageVolumeHasSuffix(v string) predicate.File

StorageVolumeHasSuffix applies the HasSuffix predicate on the "storage_volume" field.

func StorageVolumeIn added in v0.3.0

func StorageVolumeIn(vs ...string) predicate.File

StorageVolumeIn applies the In predicate on the "storage_volume" field.

func StorageVolumeIsNil added in v0.3.0

func StorageVolumeIsNil() predicate.File

StorageVolumeIsNil applies the IsNil predicate on the "storage_volume" field.

func StorageVolumeLT added in v0.3.0

func StorageVolumeLT(v string) predicate.File

StorageVolumeLT applies the LT predicate on the "storage_volume" field.

func StorageVolumeLTE added in v0.3.0

func StorageVolumeLTE(v string) predicate.File

StorageVolumeLTE applies the LTE predicate on the "storage_volume" field.

func StorageVolumeNEQ added in v0.3.0

func StorageVolumeNEQ(v string) predicate.File

StorageVolumeNEQ applies the NEQ predicate on the "storage_volume" field.

func StorageVolumeNotIn added in v0.3.0

func StorageVolumeNotIn(vs ...string) predicate.File

StorageVolumeNotIn applies the NotIn predicate on the "storage_volume" field.

func StorageVolumeNotNil added in v0.3.0

func StorageVolumeNotNil() predicate.File

StorageVolumeNotNil applies the NotNil predicate on the "storage_volume" field.

func StoreKey

func StoreKey(v string) predicate.File

StoreKey applies equality check predicate on the "store_key" field. It's identical to StoreKeyEQ.

func StoreKeyContains

func StoreKeyContains(v string) predicate.File

StoreKeyContains applies the Contains predicate on the "store_key" field.

func StoreKeyContainsFold

func StoreKeyContainsFold(v string) predicate.File

StoreKeyContainsFold applies the ContainsFold predicate on the "store_key" field.

func StoreKeyEQ

func StoreKeyEQ(v string) predicate.File

StoreKeyEQ applies the EQ predicate on the "store_key" field.

func StoreKeyEqualFold

func StoreKeyEqualFold(v string) predicate.File

StoreKeyEqualFold applies the EqualFold predicate on the "store_key" field.

func StoreKeyGT

func StoreKeyGT(v string) predicate.File

StoreKeyGT applies the GT predicate on the "store_key" field.

func StoreKeyGTE

func StoreKeyGTE(v string) predicate.File

StoreKeyGTE applies the GTE predicate on the "store_key" field.

func StoreKeyHasPrefix

func StoreKeyHasPrefix(v string) predicate.File

StoreKeyHasPrefix applies the HasPrefix predicate on the "store_key" field.

func StoreKeyHasSuffix

func StoreKeyHasSuffix(v string) predicate.File

StoreKeyHasSuffix applies the HasSuffix predicate on the "store_key" field.

func StoreKeyIn

func StoreKeyIn(vs ...string) predicate.File

StoreKeyIn applies the In predicate on the "store_key" field.

func StoreKeyIsNil added in v0.3.0

func StoreKeyIsNil() predicate.File

StoreKeyIsNil applies the IsNil predicate on the "store_key" field.

func StoreKeyLT

func StoreKeyLT(v string) predicate.File

StoreKeyLT applies the LT predicate on the "store_key" field.

func StoreKeyLTE

func StoreKeyLTE(v string) predicate.File

StoreKeyLTE applies the LTE predicate on the "store_key" field.

func StoreKeyNEQ

func StoreKeyNEQ(v string) predicate.File

StoreKeyNEQ applies the NEQ predicate on the "store_key" field.

func StoreKeyNotIn

func StoreKeyNotIn(vs ...string) predicate.File

StoreKeyNotIn applies the NotIn predicate on the "store_key" field.

func StoreKeyNotNil added in v0.3.0

func StoreKeyNotNil() predicate.File

StoreKeyNotNil applies the NotNil predicate on the "store_key" field.

func SystemInternalID added in v0.34.0

func SystemInternalID(v string) predicate.File

SystemInternalID applies equality check predicate on the "system_internal_id" field. It's identical to SystemInternalIDEQ.

func SystemInternalIDContains added in v0.34.0

func SystemInternalIDContains(v string) predicate.File

SystemInternalIDContains applies the Contains predicate on the "system_internal_id" field.

func SystemInternalIDContainsFold added in v0.34.0

func SystemInternalIDContainsFold(v string) predicate.File

SystemInternalIDContainsFold applies the ContainsFold predicate on the "system_internal_id" field.

func SystemInternalIDEQ added in v0.34.0

func SystemInternalIDEQ(v string) predicate.File

SystemInternalIDEQ applies the EQ predicate on the "system_internal_id" field.

func SystemInternalIDEqualFold added in v0.34.0

func SystemInternalIDEqualFold(v string) predicate.File

SystemInternalIDEqualFold applies the EqualFold predicate on the "system_internal_id" field.

func SystemInternalIDGT added in v0.34.0

func SystemInternalIDGT(v string) predicate.File

SystemInternalIDGT applies the GT predicate on the "system_internal_id" field.

func SystemInternalIDGTE added in v0.34.0

func SystemInternalIDGTE(v string) predicate.File

SystemInternalIDGTE applies the GTE predicate on the "system_internal_id" field.

func SystemInternalIDHasPrefix added in v0.34.0

func SystemInternalIDHasPrefix(v string) predicate.File

SystemInternalIDHasPrefix applies the HasPrefix predicate on the "system_internal_id" field.

func SystemInternalIDHasSuffix added in v0.34.0

func SystemInternalIDHasSuffix(v string) predicate.File

SystemInternalIDHasSuffix applies the HasSuffix predicate on the "system_internal_id" field.

func SystemInternalIDIn added in v0.34.0

func SystemInternalIDIn(vs ...string) predicate.File

SystemInternalIDIn applies the In predicate on the "system_internal_id" field.

func SystemInternalIDIsNil added in v0.34.0

func SystemInternalIDIsNil() predicate.File

SystemInternalIDIsNil applies the IsNil predicate on the "system_internal_id" field.

func SystemInternalIDLT added in v0.34.0

func SystemInternalIDLT(v string) predicate.File

SystemInternalIDLT applies the LT predicate on the "system_internal_id" field.

func SystemInternalIDLTE added in v0.34.0

func SystemInternalIDLTE(v string) predicate.File

SystemInternalIDLTE applies the LTE predicate on the "system_internal_id" field.

func SystemInternalIDNEQ added in v0.34.0

func SystemInternalIDNEQ(v string) predicate.File

SystemInternalIDNEQ applies the NEQ predicate on the "system_internal_id" field.

func SystemInternalIDNotIn added in v0.34.0

func SystemInternalIDNotIn(vs ...string) predicate.File

SystemInternalIDNotIn applies the NotIn predicate on the "system_internal_id" field.

func SystemInternalIDNotNil added in v0.34.0

func SystemInternalIDNotNil() predicate.File

SystemInternalIDNotNil applies the NotNil predicate on the "system_internal_id" field.

func SystemOwned added in v0.34.0

func SystemOwned(v bool) predicate.File

SystemOwned applies equality check predicate on the "system_owned" field. It's identical to SystemOwnedEQ.

func SystemOwnedEQ added in v0.34.0

func SystemOwnedEQ(v bool) predicate.File

SystemOwnedEQ applies the EQ predicate on the "system_owned" field.

func SystemOwnedIsNil added in v0.34.0

func SystemOwnedIsNil() predicate.File

SystemOwnedIsNil applies the IsNil predicate on the "system_owned" field.

func SystemOwnedNEQ added in v0.34.0

func SystemOwnedNEQ(v bool) predicate.File

SystemOwnedNEQ applies the NEQ predicate on the "system_owned" field.

func SystemOwnedNotNil added in v0.34.0

func SystemOwnedNotNil() predicate.File

SystemOwnedNotNil applies the NotNil predicate on the "system_owned" field.

func TagsIsNil

func TagsIsNil() predicate.File

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

func TagsNotNil

func TagsNotNil() predicate.File

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

func URI added in v0.3.0

func URI(v string) predicate.File

URI applies equality check predicate on the "uri" field. It's identical to URIEQ.

func URIContains added in v0.3.0

func URIContains(v string) predicate.File

URIContains applies the Contains predicate on the "uri" field.

func URIContainsFold added in v0.3.0

func URIContainsFold(v string) predicate.File

URIContainsFold applies the ContainsFold predicate on the "uri" field.

func URIEQ added in v0.3.0

func URIEQ(v string) predicate.File

URIEQ applies the EQ predicate on the "uri" field.

func URIEqualFold added in v0.3.0

func URIEqualFold(v string) predicate.File

URIEqualFold applies the EqualFold predicate on the "uri" field.

func URIGT added in v0.3.0

func URIGT(v string) predicate.File

URIGT applies the GT predicate on the "uri" field.

func URIGTE added in v0.3.0

func URIGTE(v string) predicate.File

URIGTE applies the GTE predicate on the "uri" field.

func URIHasPrefix added in v0.3.0

func URIHasPrefix(v string) predicate.File

URIHasPrefix applies the HasPrefix predicate on the "uri" field.

func URIHasSuffix added in v0.3.0

func URIHasSuffix(v string) predicate.File

URIHasSuffix applies the HasSuffix predicate on the "uri" field.

func URIIn added in v0.3.0

func URIIn(vs ...string) predicate.File

URIIn applies the In predicate on the "uri" field.

func URIIsNil added in v0.3.0

func URIIsNil() predicate.File

URIIsNil applies the IsNil predicate on the "uri" field.

func URILT added in v0.3.0

func URILT(v string) predicate.File

URILT applies the LT predicate on the "uri" field.

func URILTE added in v0.3.0

func URILTE(v string) predicate.File

URILTE applies the LTE predicate on the "uri" field.

func URINEQ added in v0.3.0

func URINEQ(v string) predicate.File

URINEQ applies the NEQ predicate on the "uri" field.

func URINotIn added in v0.3.0

func URINotIn(vs ...string) predicate.File

URINotIn applies the NotIn predicate on the "uri" field.

func URINotNil added in v0.3.0

func URINotNil() predicate.File

URINotNil applies the NotNil predicate on the "uri" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.File

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.File

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.File

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.File

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.File

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.File

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.File

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.File

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.File

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

func UpdatedBy

func UpdatedBy(v string) predicate.File

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.File

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.File

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.File

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.File

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.File

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.File

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.File

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.File

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.File

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.File

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.File

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.File

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.File

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 File queries.

func ByCategoryType added in v0.3.0

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

ByCategoryType orders the results by the category_type field.

func ByContact added in v0.3.0

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

ByContact orders the results by contact terms.

func ByContactCount added in v0.3.0

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

ByContactCount orders the results by contact 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 ByDetectedContentType added in v0.3.0

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

ByDetectedContentType orders the results by the detected_content_type field.

func ByDetectedMimeType added in v0.3.0

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

ByDetectedMimeType orders the results by the detected_mime_type field.

func ByDocument added in v0.8.2

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

ByDocument orders the results by document terms.

func ByDocumentCount added in v0.8.2

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

ByDocumentCount orders the results by document count.

func ByEntity

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

ByEntity orders the results by entity terms.

func ByEntityCount

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

ByEntityCount orders the results by entity count.

func ByEvents added in v0.3.0

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

ByEvents orders the results by events terms.

func ByEventsCount added in v0.3.0

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

ByEventsCount orders the results by events count.

func ByEvidence added in v0.6.19

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

ByEvidence orders the results by evidence terms.

func ByEvidenceCount added in v0.6.19

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

ByEvidenceCount orders the results by evidence count.

func ByGroups added in v0.8.2

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

ByGroups orders the results by groups terms.

func ByGroupsCount added in v0.8.2

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

ByGroupsCount orders the results by groups count.

func ByID

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

ByID orders the results by the id field.

func ByIntegrations added in v0.33.3

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

ByIntegrations orders the results by integrations terms.

func ByIntegrationsCount added in v0.33.3

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

ByIntegrationsCount orders the results by integrations count.

func ByInternalNotes added in v0.34.0

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

ByInternalNotes orders the results by the internal_notes field.

func ByLastAccessedAt added in v0.33.3

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

ByLastAccessedAt orders the results by the last_accessed_at field.

func ByMd5Hash added in v0.3.0

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

ByMd5Hash orders the results by the md5_hash field.

func ByOrganization

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

ByOrganization orders the results by organization terms.

func ByOrganizationCount

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

ByOrganizationCount orders the results by organization count.

func ByOrganizationSetting added in v0.6.1

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

ByOrganizationSetting orders the results by organization_setting terms.

func ByOrganizationSettingCount added in v0.6.1

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

ByOrganizationSettingCount orders the results by organization_setting count.

func ByPersistedFileSize added in v0.3.0

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

ByPersistedFileSize orders the results by the persisted_file_size field.

func ByProgram added in v0.3.5

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

ByProgram orders the results by program terms.

func ByProgramCount added in v0.3.5

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

ByProgramCount orders the results by program count.

func ByProvidedFileExtension added in v0.3.0

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

ByProvidedFileExtension orders the results by the provided_file_extension field.

func ByProvidedFileName added in v0.3.0

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

ByProvidedFileName orders the results by the provided_file_name field.

func ByProvidedFileSize added in v0.3.0

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

ByProvidedFileSize orders the results by the provided_file_size field.

func BySecrets added in v0.33.3

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

BySecrets orders the results by secrets terms.

func BySecretsCount added in v0.33.3

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

BySecretsCount orders the results by secrets count.

func ByStoragePath added in v0.3.0

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

ByStoragePath orders the results by the storage_path field.

func ByStorageProvider added in v0.33.3

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

ByStorageProvider orders the results by the storage_provider field.

func ByStorageRegion added in v0.33.3

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

ByStorageRegion orders the results by the storage_region field.

func ByStorageScheme added in v0.3.0

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

ByStorageScheme orders the results by the storage_scheme field.

func ByStorageVolume added in v0.3.0

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

ByStorageVolume orders the results by the storage_volume field.

func ByStoreKey

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

ByStoreKey orders the results by the store_key field.

func BySystemInternalID added in v0.34.0

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

BySystemInternalID orders the results by the system_internal_id field.

func BySystemOwned added in v0.34.0

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

BySystemOwned orders the results by the system_owned field.

func ByTemplate added in v0.3.0

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

ByTemplate orders the results by template terms.

func ByTemplateCount added in v0.3.0

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

ByTemplateCount orders the results by template count.

func ByTrustCenterSetting added in v0.20.7

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

ByTrustCenterSetting orders the results by trust_center_setting terms.

func ByTrustCenterSettingCount added in v0.20.7

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

ByTrustCenterSettingCount orders the results by trust_center_setting count.

func ByTrustcenterEntities added in v0.47.5

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

ByTrustcenterEntities orders the results by trustcenter_entities terms.

func ByTrustcenterEntitiesCount added in v0.47.5

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

ByTrustcenterEntitiesCount orders the results by trustcenter_entities count.

func ByURI added in v0.3.0

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

ByURI orders the results by the uri 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.

Jump to

Keyboard shortcuts

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