template

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the template type in the database.
	Label = "template"
	// 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"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// 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"
	// FieldEnvironmentName holds the string denoting the environment_name field in the database.
	FieldEnvironmentName = "environment_name"
	// FieldEnvironmentID holds the string denoting the environment_id field in the database.
	FieldEnvironmentID = "environment_id"
	// FieldScopeName holds the string denoting the scope_name field in the database.
	FieldScopeName = "scope_name"
	// FieldScopeID holds the string denoting the scope_id field in the database.
	FieldScopeID = "scope_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldTemplateType holds the string denoting the template_type field in the database.
	FieldTemplateType = "template_type"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldKind holds the string denoting the kind field in the database.
	FieldKind = "kind"
	// FieldJsonconfig holds the string denoting the jsonconfig field in the database.
	FieldJsonconfig = "jsonconfig"
	// FieldUischema holds the string denoting the uischema field in the database.
	FieldUischema = "uischema"
	// FieldTrustCenterID holds the string denoting the trust_center_id field in the database.
	FieldTrustCenterID = "trust_center_id"
	// FieldTransformConfiguration holds the string denoting the transform_configuration field in the database.
	FieldTransformConfiguration = "transform_configuration"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// EdgeEnvironment holds the string denoting the environment edge name in mutations.
	EdgeEnvironment = "environment"
	// EdgeScope holds the string denoting the scope edge name in mutations.
	EdgeScope = "scope"
	// EdgeDocuments holds the string denoting the documents edge name in mutations.
	EdgeDocuments = "documents"
	// EdgeFiles holds the string denoting the files edge name in mutations.
	EdgeFiles = "files"
	// EdgeTrustCenter holds the string denoting the trust_center edge name in mutations.
	EdgeTrustCenter = "trust_center"
	// EdgeAssessments holds the string denoting the assessments edge name in mutations.
	EdgeAssessments = "assessments"
	// EdgeCampaigns holds the string denoting the campaigns edge name in mutations.
	EdgeCampaigns = "campaigns"
	// EdgeIdentityHolders holds the string denoting the identity_holders edge name in mutations.
	EdgeIdentityHolders = "identity_holders"
	// Table holds the table name of the template in the database.
	Table = "templates"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "templates"
	// OwnerInverseTable is the table name for the Organization entity.
	// It exists in this package in order to avoid circular dependency with the "organization" package.
	OwnerInverseTable = "organizations"
	// OwnerColumn is the table column denoting the owner relation/edge.
	OwnerColumn = "owner_id"
	// EnvironmentTable is the table that holds the environment relation/edge.
	EnvironmentTable = "templates"
	// EnvironmentInverseTable is the table name for the CustomTypeEnum entity.
	// It exists in this package in order to avoid circular dependency with the "customtypeenum" package.
	EnvironmentInverseTable = "custom_type_enums"
	// EnvironmentColumn is the table column denoting the environment relation/edge.
	EnvironmentColumn = "environment_id"
	// ScopeTable is the table that holds the scope relation/edge.
	ScopeTable = "templates"
	// ScopeInverseTable is the table name for the CustomTypeEnum entity.
	// It exists in this package in order to avoid circular dependency with the "customtypeenum" package.
	ScopeInverseTable = "custom_type_enums"
	// ScopeColumn is the table column denoting the scope relation/edge.
	ScopeColumn = "scope_id"
	// DocumentsTable is the table that holds the documents relation/edge.
	DocumentsTable = "document_data"
	// DocumentsInverseTable is the table name for the DocumentData entity.
	// It exists in this package in order to avoid circular dependency with the "documentdata" package.
	DocumentsInverseTable = "document_data"
	// DocumentsColumn is the table column denoting the documents relation/edge.
	DocumentsColumn = "template_id"
	// FilesTable is the table that holds the files relation/edge. The primary key declared below.
	FilesTable = "template_files"
	// FilesInverseTable is the table name for the File entity.
	// It exists in this package in order to avoid circular dependency with the "file" package.
	FilesInverseTable = "files"
	// TrustCenterTable is the table that holds the trust_center relation/edge.
	TrustCenterTable = "templates"
	// TrustCenterInverseTable is the table name for the TrustCenter entity.
	// It exists in this package in order to avoid circular dependency with the "trustcenter" package.
	TrustCenterInverseTable = "trust_centers"
	// TrustCenterColumn is the table column denoting the trust_center relation/edge.
	TrustCenterColumn = "trust_center_id"
	// AssessmentsTable is the table that holds the assessments relation/edge.
	AssessmentsTable = "assessments"
	// AssessmentsInverseTable is the table name for the Assessment entity.
	// It exists in this package in order to avoid circular dependency with the "assessment" package.
	AssessmentsInverseTable = "assessments"
	// AssessmentsColumn is the table column denoting the assessments relation/edge.
	AssessmentsColumn = "template_id"
	// CampaignsTable is the table that holds the campaigns relation/edge.
	CampaignsTable = "campaigns"
	// CampaignsInverseTable is the table name for the Campaign entity.
	// It exists in this package in order to avoid circular dependency with the "campaign" package.
	CampaignsInverseTable = "campaigns"
	// CampaignsColumn is the table column denoting the campaigns relation/edge.
	CampaignsColumn = "template_id"
	// IdentityHoldersTable is the table that holds the identity_holders relation/edge. The primary key declared below.
	IdentityHoldersTable = "identity_holder_templates"
	// IdentityHoldersInverseTable is the table name for the IdentityHolder entity.
	// It exists in this package in order to avoid circular dependency with the "identityholder" package.
	IdentityHoldersInverseTable = "identity_holders"
)
View Source
const DefaultKind enums.TemplateKind = "QUESTIONNAIRE"
View Source
const DefaultTemplateType enums.DocumentType = "DOCUMENT"

Variables

View Source
var (
	// FilesPrimaryKey and FilesColumn2 are the table columns denoting the
	// primary key for the files relation (M2M).
	FilesPrimaryKey = []string{"template_id", "file_id"}
	// IdentityHoldersPrimaryKey and IdentityHoldersColumn2 are the table columns denoting the
	// primary key for the identity_holders relation (M2M).
	IdentityHoldersPrimaryKey = []string{"identity_holder_id", "template_id"}
)
View Source
var (
	Hooks        [14]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
	// DefaultSystemOwned holds the default value on creation for the "system_owned" field.
	DefaultSystemOwned bool
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator 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 template fields.

Functions

func And

func And(predicates ...predicate.Template) predicate.Template

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.Template

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Template

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Template

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Template

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.Template

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Template

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Template

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Template

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.Template

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

func CreatedBy

func CreatedBy(v string) predicate.Template

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

func CreatedByContains

func CreatedByContains(v string) predicate.Template

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.Template

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.Template

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.Template

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

func CreatedByGT

func CreatedByGT(v string) predicate.Template

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.Template

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.Template

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.Template

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.Template

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

func CreatedByLT

func CreatedByLT(v string) predicate.Template

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.Template

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.Template

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.Template

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

func DeletedAt

func DeletedAt(v time.Time) predicate.Template

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Template

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Template

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Template

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Template

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Template

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Template

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Template

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Template

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

func DeletedBy

func DeletedBy(v string) predicate.Template

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

func DeletedByContains

func DeletedByContains(v string) predicate.Template

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.Template

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

func DeletedByEQ

func DeletedByEQ(v string) predicate.Template

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.Template

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

func DeletedByGT

func DeletedByGT(v string) predicate.Template

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.Template

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.Template

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.Template

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.Template

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

func DeletedByLT

func DeletedByLT(v string) predicate.Template

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.Template

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.Template

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.Template

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

func Description

func Description(v string) predicate.Template

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.Template

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Template

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.Template

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Template

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.Template

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.Template

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Template

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Template

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.Template

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.Template

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.Template

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.Template

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Template

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.Template

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.Template

DescriptionNotNil applies the NotNil predicate on the "description" field.

func EnvironmentID

func EnvironmentID(v string) predicate.Template

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

func EnvironmentIDContains

func EnvironmentIDContains(v string) predicate.Template

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

func EnvironmentIDContainsFold

func EnvironmentIDContainsFold(v string) predicate.Template

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

func EnvironmentIDEQ

func EnvironmentIDEQ(v string) predicate.Template

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

func EnvironmentIDEqualFold

func EnvironmentIDEqualFold(v string) predicate.Template

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

func EnvironmentIDGT

func EnvironmentIDGT(v string) predicate.Template

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

func EnvironmentIDGTE

func EnvironmentIDGTE(v string) predicate.Template

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

func EnvironmentIDHasPrefix

func EnvironmentIDHasPrefix(v string) predicate.Template

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

func EnvironmentIDHasSuffix

func EnvironmentIDHasSuffix(v string) predicate.Template

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

func EnvironmentIDIn

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

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

func EnvironmentIDIsNil

func EnvironmentIDIsNil() predicate.Template

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

func EnvironmentIDLT

func EnvironmentIDLT(v string) predicate.Template

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

func EnvironmentIDLTE

func EnvironmentIDLTE(v string) predicate.Template

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

func EnvironmentIDNEQ

func EnvironmentIDNEQ(v string) predicate.Template

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

func EnvironmentIDNotIn

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

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

func EnvironmentIDNotNil

func EnvironmentIDNotNil() predicate.Template

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

func EnvironmentName

func EnvironmentName(v string) predicate.Template

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

func EnvironmentNameContains

func EnvironmentNameContains(v string) predicate.Template

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

func EnvironmentNameContainsFold

func EnvironmentNameContainsFold(v string) predicate.Template

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

func EnvironmentNameEQ

func EnvironmentNameEQ(v string) predicate.Template

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

func EnvironmentNameEqualFold

func EnvironmentNameEqualFold(v string) predicate.Template

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

func EnvironmentNameGT

func EnvironmentNameGT(v string) predicate.Template

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

func EnvironmentNameGTE

func EnvironmentNameGTE(v string) predicate.Template

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

func EnvironmentNameHasPrefix

func EnvironmentNameHasPrefix(v string) predicate.Template

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

func EnvironmentNameHasSuffix

func EnvironmentNameHasSuffix(v string) predicate.Template

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

func EnvironmentNameIn

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

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

func EnvironmentNameIsNil

func EnvironmentNameIsNil() predicate.Template

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

func EnvironmentNameLT

func EnvironmentNameLT(v string) predicate.Template

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

func EnvironmentNameLTE

func EnvironmentNameLTE(v string) predicate.Template

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

func EnvironmentNameNEQ

func EnvironmentNameNEQ(v string) predicate.Template

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

func EnvironmentNameNotIn

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

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

func EnvironmentNameNotNil

func EnvironmentNameNotNil() predicate.Template

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

func HasAssessments

func HasAssessments() predicate.Template

HasAssessments applies the HasEdge predicate on the "assessments" edge.

func HasAssessmentsWith

func HasAssessmentsWith(preds ...predicate.Assessment) predicate.Template

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

func HasCampaigns

func HasCampaigns() predicate.Template

HasCampaigns applies the HasEdge predicate on the "campaigns" edge.

func HasCampaignsWith

func HasCampaignsWith(preds ...predicate.Campaign) predicate.Template

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

func HasDocuments

func HasDocuments() predicate.Template

HasDocuments applies the HasEdge predicate on the "documents" edge.

func HasDocumentsWith

func HasDocumentsWith(preds ...predicate.DocumentData) predicate.Template

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

func HasEnvironment

func HasEnvironment() predicate.Template

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

func HasEnvironmentWith

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

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

func HasFiles

func HasFiles() predicate.Template

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

func HasFilesWith

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

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

func HasIdentityHolders

func HasIdentityHolders() predicate.Template

HasIdentityHolders applies the HasEdge predicate on the "identity_holders" edge.

func HasIdentityHoldersWith

func HasIdentityHoldersWith(preds ...predicate.IdentityHolder) predicate.Template

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

func HasOwner

func HasOwner() predicate.Template

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

func HasOwnerWith

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

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

func HasScope

func HasScope() predicate.Template

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

func HasScopeWith

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

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

func HasTrustCenter

func HasTrustCenter() predicate.Template

HasTrustCenter applies the HasEdge predicate on the "trust_center" edge.

func HasTrustCenterWith

func HasTrustCenterWith(preds ...predicate.TrustCenter) predicate.Template

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

func ID

func ID(id string) predicate.Template

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Template

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Template

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Template

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Template

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Template

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Template

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Template

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Template

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func InternalNotes

func InternalNotes(v string) predicate.Template

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

func InternalNotesContains

func InternalNotesContains(v string) predicate.Template

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

func InternalNotesContainsFold

func InternalNotesContainsFold(v string) predicate.Template

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

func InternalNotesEQ

func InternalNotesEQ(v string) predicate.Template

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

func InternalNotesEqualFold

func InternalNotesEqualFold(v string) predicate.Template

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

func InternalNotesGT

func InternalNotesGT(v string) predicate.Template

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

func InternalNotesGTE

func InternalNotesGTE(v string) predicate.Template

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

func InternalNotesHasPrefix

func InternalNotesHasPrefix(v string) predicate.Template

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

func InternalNotesHasSuffix

func InternalNotesHasSuffix(v string) predicate.Template

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

func InternalNotesIn

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

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

func InternalNotesIsNil

func InternalNotesIsNil() predicate.Template

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

func InternalNotesLT

func InternalNotesLT(v string) predicate.Template

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

func InternalNotesLTE

func InternalNotesLTE(v string) predicate.Template

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

func InternalNotesNEQ

func InternalNotesNEQ(v string) predicate.Template

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

func InternalNotesNotIn

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

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

func InternalNotesNotNil

func InternalNotesNotNil() predicate.Template

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

func KindEQ

KindEQ applies the EQ predicate on the "kind" field.

func KindIn

func KindIn(vs ...enums.TemplateKind) predicate.Template

KindIn applies the In predicate on the "kind" field.

func KindIsNil

func KindIsNil() predicate.Template

KindIsNil applies the IsNil predicate on the "kind" field.

func KindNEQ

KindNEQ applies the NEQ predicate on the "kind" field.

func KindNotIn

func KindNotIn(vs ...enums.TemplateKind) predicate.Template

KindNotIn applies the NotIn predicate on the "kind" field.

func KindNotNil

func KindNotNil() predicate.Template

KindNotNil applies the NotNil predicate on the "kind" field.

func KindValidator

func KindValidator(k enums.TemplateKind) error

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

func Name

func Name(v string) predicate.Template

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

func NameContains

func NameContains(v string) predicate.Template

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

func NameContainsFold

func NameContainsFold(v string) predicate.Template

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

func NameEQ

func NameEQ(v string) predicate.Template

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

func NameEqualFold

func NameEqualFold(v string) predicate.Template

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

func NameGT

func NameGT(v string) predicate.Template

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

func NameGTE

func NameGTE(v string) predicate.Template

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.Template

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.Template

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.Template

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

func NameLTE

func NameLTE(v string) predicate.Template

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

func NameNEQ

func NameNEQ(v string) predicate.Template

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

func NameNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Template) predicate.Template

Or groups predicates with the OR operator between them.

func OwnerID

func OwnerID(v string) predicate.Template

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

func OwnerIDContains

func OwnerIDContains(v string) predicate.Template

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

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.Template

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

func OwnerIDEQ

func OwnerIDEQ(v string) predicate.Template

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

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.Template

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

func OwnerIDGT

func OwnerIDGT(v string) predicate.Template

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

func OwnerIDGTE

func OwnerIDGTE(v string) predicate.Template

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

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.Template

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

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.Template

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

func OwnerIDIn

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

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

func OwnerIDIsNil

func OwnerIDIsNil() predicate.Template

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

func OwnerIDLT

func OwnerIDLT(v string) predicate.Template

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

func OwnerIDLTE

func OwnerIDLTE(v string) predicate.Template

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

func OwnerIDNEQ

func OwnerIDNEQ(v string) predicate.Template

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

func OwnerIDNotIn

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

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

func OwnerIDNotNil

func OwnerIDNotNil() predicate.Template

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

func ScopeID

func ScopeID(v string) predicate.Template

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

func ScopeIDContains

func ScopeIDContains(v string) predicate.Template

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

func ScopeIDContainsFold

func ScopeIDContainsFold(v string) predicate.Template

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

func ScopeIDEQ

func ScopeIDEQ(v string) predicate.Template

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

func ScopeIDEqualFold

func ScopeIDEqualFold(v string) predicate.Template

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

func ScopeIDGT

func ScopeIDGT(v string) predicate.Template

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

func ScopeIDGTE

func ScopeIDGTE(v string) predicate.Template

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

func ScopeIDHasPrefix

func ScopeIDHasPrefix(v string) predicate.Template

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

func ScopeIDHasSuffix

func ScopeIDHasSuffix(v string) predicate.Template

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

func ScopeIDIn

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

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

func ScopeIDIsNil

func ScopeIDIsNil() predicate.Template

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

func ScopeIDLT

func ScopeIDLT(v string) predicate.Template

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

func ScopeIDLTE

func ScopeIDLTE(v string) predicate.Template

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

func ScopeIDNEQ

func ScopeIDNEQ(v string) predicate.Template

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

func ScopeIDNotIn

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

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

func ScopeIDNotNil

func ScopeIDNotNil() predicate.Template

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

func ScopeName

func ScopeName(v string) predicate.Template

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

func ScopeNameContains

func ScopeNameContains(v string) predicate.Template

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

func ScopeNameContainsFold

func ScopeNameContainsFold(v string) predicate.Template

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

func ScopeNameEQ

func ScopeNameEQ(v string) predicate.Template

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

func ScopeNameEqualFold

func ScopeNameEqualFold(v string) predicate.Template

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

func ScopeNameGT

func ScopeNameGT(v string) predicate.Template

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

func ScopeNameGTE

func ScopeNameGTE(v string) predicate.Template

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

func ScopeNameHasPrefix

func ScopeNameHasPrefix(v string) predicate.Template

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

func ScopeNameHasSuffix

func ScopeNameHasSuffix(v string) predicate.Template

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

func ScopeNameIn

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

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

func ScopeNameIsNil

func ScopeNameIsNil() predicate.Template

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

func ScopeNameLT

func ScopeNameLT(v string) predicate.Template

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

func ScopeNameLTE

func ScopeNameLTE(v string) predicate.Template

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

func ScopeNameNEQ

func ScopeNameNEQ(v string) predicate.Template

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

func ScopeNameNotIn

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

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

func ScopeNameNotNil

func ScopeNameNotNil() predicate.Template

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

func SystemInternalID

func SystemInternalID(v string) predicate.Template

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

func SystemInternalIDContains

func SystemInternalIDContains(v string) predicate.Template

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

func SystemInternalIDContainsFold

func SystemInternalIDContainsFold(v string) predicate.Template

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

func SystemInternalIDEQ

func SystemInternalIDEQ(v string) predicate.Template

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

func SystemInternalIDEqualFold

func SystemInternalIDEqualFold(v string) predicate.Template

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

func SystemInternalIDGT

func SystemInternalIDGT(v string) predicate.Template

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

func SystemInternalIDGTE

func SystemInternalIDGTE(v string) predicate.Template

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

func SystemInternalIDHasPrefix

func SystemInternalIDHasPrefix(v string) predicate.Template

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

func SystemInternalIDHasSuffix

func SystemInternalIDHasSuffix(v string) predicate.Template

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

func SystemInternalIDIn

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

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

func SystemInternalIDIsNil

func SystemInternalIDIsNil() predicate.Template

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

func SystemInternalIDLT

func SystemInternalIDLT(v string) predicate.Template

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

func SystemInternalIDLTE

func SystemInternalIDLTE(v string) predicate.Template

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

func SystemInternalIDNEQ

func SystemInternalIDNEQ(v string) predicate.Template

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

func SystemInternalIDNotIn

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

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

func SystemInternalIDNotNil

func SystemInternalIDNotNil() predicate.Template

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

func SystemOwned

func SystemOwned(v bool) predicate.Template

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

func SystemOwnedEQ

func SystemOwnedEQ(v bool) predicate.Template

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

func SystemOwnedIsNil

func SystemOwnedIsNil() predicate.Template

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

func SystemOwnedNEQ

func SystemOwnedNEQ(v bool) predicate.Template

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

func SystemOwnedNotNil

func SystemOwnedNotNil() predicate.Template

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

func TagsIsNil

func TagsIsNil() predicate.Template

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

func TagsNotNil

func TagsNotNil() predicate.Template

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

func TemplateTypeEQ

func TemplateTypeEQ(v enums.DocumentType) predicate.Template

TemplateTypeEQ applies the EQ predicate on the "template_type" field.

func TemplateTypeIn

func TemplateTypeIn(vs ...enums.DocumentType) predicate.Template

TemplateTypeIn applies the In predicate on the "template_type" field.

func TemplateTypeNEQ

func TemplateTypeNEQ(v enums.DocumentType) predicate.Template

TemplateTypeNEQ applies the NEQ predicate on the "template_type" field.

func TemplateTypeNotIn

func TemplateTypeNotIn(vs ...enums.DocumentType) predicate.Template

TemplateTypeNotIn applies the NotIn predicate on the "template_type" field.

func TemplateTypeValidator

func TemplateTypeValidator(tt enums.DocumentType) error

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

func TransformConfigurationIsNil

func TransformConfigurationIsNil() predicate.Template

TransformConfigurationIsNil applies the IsNil predicate on the "transform_configuration" field.

func TransformConfigurationNotNil

func TransformConfigurationNotNil() predicate.Template

TransformConfigurationNotNil applies the NotNil predicate on the "transform_configuration" field.

func TrustCenterID

func TrustCenterID(v string) predicate.Template

TrustCenterID applies equality check predicate on the "trust_center_id" field. It's identical to TrustCenterIDEQ.

func TrustCenterIDContains

func TrustCenterIDContains(v string) predicate.Template

TrustCenterIDContains applies the Contains predicate on the "trust_center_id" field.

func TrustCenterIDContainsFold

func TrustCenterIDContainsFold(v string) predicate.Template

TrustCenterIDContainsFold applies the ContainsFold predicate on the "trust_center_id" field.

func TrustCenterIDEQ

func TrustCenterIDEQ(v string) predicate.Template

TrustCenterIDEQ applies the EQ predicate on the "trust_center_id" field.

func TrustCenterIDEqualFold

func TrustCenterIDEqualFold(v string) predicate.Template

TrustCenterIDEqualFold applies the EqualFold predicate on the "trust_center_id" field.

func TrustCenterIDGT

func TrustCenterIDGT(v string) predicate.Template

TrustCenterIDGT applies the GT predicate on the "trust_center_id" field.

func TrustCenterIDGTE

func TrustCenterIDGTE(v string) predicate.Template

TrustCenterIDGTE applies the GTE predicate on the "trust_center_id" field.

func TrustCenterIDHasPrefix

func TrustCenterIDHasPrefix(v string) predicate.Template

TrustCenterIDHasPrefix applies the HasPrefix predicate on the "trust_center_id" field.

func TrustCenterIDHasSuffix

func TrustCenterIDHasSuffix(v string) predicate.Template

TrustCenterIDHasSuffix applies the HasSuffix predicate on the "trust_center_id" field.

func TrustCenterIDIn

func TrustCenterIDIn(vs ...string) predicate.Template

TrustCenterIDIn applies the In predicate on the "trust_center_id" field.

func TrustCenterIDIsNil

func TrustCenterIDIsNil() predicate.Template

TrustCenterIDIsNil applies the IsNil predicate on the "trust_center_id" field.

func TrustCenterIDLT

func TrustCenterIDLT(v string) predicate.Template

TrustCenterIDLT applies the LT predicate on the "trust_center_id" field.

func TrustCenterIDLTE

func TrustCenterIDLTE(v string) predicate.Template

TrustCenterIDLTE applies the LTE predicate on the "trust_center_id" field.

func TrustCenterIDNEQ

func TrustCenterIDNEQ(v string) predicate.Template

TrustCenterIDNEQ applies the NEQ predicate on the "trust_center_id" field.

func TrustCenterIDNotIn

func TrustCenterIDNotIn(vs ...string) predicate.Template

TrustCenterIDNotIn applies the NotIn predicate on the "trust_center_id" field.

func TrustCenterIDNotNil

func TrustCenterIDNotNil() predicate.Template

TrustCenterIDNotNil applies the NotNil predicate on the "trust_center_id" field.

func UischemaIsNil

func UischemaIsNil() predicate.Template

UischemaIsNil applies the IsNil predicate on the "uischema" field.

func UischemaNotNil

func UischemaNotNil() predicate.Template

UischemaNotNil applies the NotNil predicate on the "uischema" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Template

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Template

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Template

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Template

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.Template

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Template

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Template

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Template

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.Template

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

func UpdatedBy

func UpdatedBy(v string) predicate.Template

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.Template

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.Template

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.Template

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.Template

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.Template

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.Template

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.Template

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.Template

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

func UpdatedByImpersonator

func UpdatedByImpersonator(v string) predicate.Template

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

func UpdatedByImpersonatorContains

func UpdatedByImpersonatorContains(v string) predicate.Template

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

func UpdatedByImpersonatorContainsFold

func UpdatedByImpersonatorContainsFold(v string) predicate.Template

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

func UpdatedByImpersonatorEQ

func UpdatedByImpersonatorEQ(v string) predicate.Template

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

func UpdatedByImpersonatorEqualFold

func UpdatedByImpersonatorEqualFold(v string) predicate.Template

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

func UpdatedByImpersonatorGT

func UpdatedByImpersonatorGT(v string) predicate.Template

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

func UpdatedByImpersonatorGTE

func UpdatedByImpersonatorGTE(v string) predicate.Template

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

func UpdatedByImpersonatorHasPrefix

func UpdatedByImpersonatorHasPrefix(v string) predicate.Template

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

func UpdatedByImpersonatorHasSuffix

func UpdatedByImpersonatorHasSuffix(v string) predicate.Template

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

func UpdatedByImpersonatorIn

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

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

func UpdatedByImpersonatorIsNil

func UpdatedByImpersonatorIsNil() predicate.Template

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

func UpdatedByImpersonatorLT

func UpdatedByImpersonatorLT(v string) predicate.Template

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

func UpdatedByImpersonatorLTE

func UpdatedByImpersonatorLTE(v string) predicate.Template

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

func UpdatedByImpersonatorNEQ

func UpdatedByImpersonatorNEQ(v string) predicate.Template

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

func UpdatedByImpersonatorNotIn

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

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

func UpdatedByImpersonatorNotNil

func UpdatedByImpersonatorNotNil() predicate.Template

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.Template

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.Template

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.Template

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.Template

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.Template

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

func ByAssessments

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

ByAssessments orders the results by assessments terms.

func ByAssessmentsCount

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

ByAssessmentsCount orders the results by assessments count.

func ByCampaigns

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

ByCampaigns orders the results by campaigns terms.

func ByCampaignsCount

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

ByCampaignsCount orders the results by campaigns 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 ByDescription

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

ByDescription orders the results by the description field.

func ByDocuments

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

ByDocuments orders the results by documents terms.

func ByDocumentsCount

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

ByDocumentsCount orders the results by documents count.

func ByEnvironmentField

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

ByEnvironmentField orders the results by environment field.

func ByEnvironmentID

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

ByEnvironmentID orders the results by the environment_id field.

func ByEnvironmentName

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

ByEnvironmentName orders the results by the environment_name field.

func ByFiles

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

ByFiles orders the results by files terms.

func ByFilesCount

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

ByFilesCount orders the results by files count.

func ByID

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

ByID orders the results by the id field.

func ByIdentityHolders

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

ByIdentityHolders orders the results by identity_holders terms.

func ByIdentityHoldersCount

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

ByIdentityHoldersCount orders the results by identity_holders count.

func ByInternalNotes

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

ByInternalNotes orders the results by the internal_notes field.

func ByKind

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

ByKind orders the results by the kind field.

func ByName

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

ByName orders the results by the name field.

func ByOwnerField

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

ByOwnerField orders the results by owner field.

func ByOwnerID

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

ByOwnerID orders the results by the owner_id field.

func ByScopeField

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

ByScopeField orders the results by scope field.

func ByScopeID

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

ByScopeID orders the results by the scope_id field.

func ByScopeName

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

ByScopeName orders the results by the scope_name field.

func BySystemInternalID

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

BySystemInternalID orders the results by the system_internal_id field.

func BySystemOwned

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

BySystemOwned orders the results by the system_owned field.

func ByTemplateType

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

ByTemplateType orders the results by the template_type field.

func ByTrustCenterField

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

ByTrustCenterField orders the results by trust_center field.

func ByTrustCenterID

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

ByTrustCenterID orders the results by the trust_center_id 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.

Jump to

Keyboard shortcuts

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