onboarding

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the onboarding type in the database.
	Label = "onboarding"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// 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"
	// FieldOrganizationID holds the string denoting the organization_id field in the database.
	FieldOrganizationID = "organization_id"
	// FieldCompanyName holds the string denoting the company_name field in the database.
	FieldCompanyName = "company_name"
	// FieldDomains holds the string denoting the domains field in the database.
	FieldDomains = "domains"
	// FieldCompanyDetails holds the string denoting the company_details field in the database.
	FieldCompanyDetails = "company_details"
	// FieldUserDetails holds the string denoting the user_details field in the database.
	FieldUserDetails = "user_details"
	// FieldCompliance holds the string denoting the compliance field in the database.
	FieldCompliance = "compliance"
	// EdgeOrganization holds the string denoting the organization edge name in mutations.
	EdgeOrganization = "organization"
	// Table holds the table name of the onboarding in the database.
	Table = "onboardings"
	// OrganizationTable is the table that holds the organization relation/edge.
	OrganizationTable = "onboardings"
	// 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"
	// OrganizationColumn is the table column denoting the organization relation/edge.
	OrganizationColumn = "organization_id"
)

Variables

View Source
var (
	Hooks        [3]ent.Hook
	Interceptors [1]ent.Interceptor
	Policy       ent.Policy
	// OrganizationIDValidator is a validator for the "organization_id" field. It is called by the builders before save.
	OrganizationIDValidator 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/internal/ent/generated/runtime"

Columns holds all SQL columns for onboarding fields.

Functions

func And

func And(predicates ...predicate.Onboarding) predicate.Onboarding

And groups predicates with the AND operator between them.

func CompanyDetailsIsNil

func CompanyDetailsIsNil() predicate.Onboarding

CompanyDetailsIsNil applies the IsNil predicate on the "company_details" field.

func CompanyDetailsNotNil

func CompanyDetailsNotNil() predicate.Onboarding

CompanyDetailsNotNil applies the NotNil predicate on the "company_details" field.

func CompanyName

func CompanyName(v string) predicate.Onboarding

CompanyName applies equality check predicate on the "company_name" field. It's identical to CompanyNameEQ.

func CompanyNameContains

func CompanyNameContains(v string) predicate.Onboarding

CompanyNameContains applies the Contains predicate on the "company_name" field.

func CompanyNameContainsFold

func CompanyNameContainsFold(v string) predicate.Onboarding

CompanyNameContainsFold applies the ContainsFold predicate on the "company_name" field.

func CompanyNameEQ

func CompanyNameEQ(v string) predicate.Onboarding

CompanyNameEQ applies the EQ predicate on the "company_name" field.

func CompanyNameEqualFold

func CompanyNameEqualFold(v string) predicate.Onboarding

CompanyNameEqualFold applies the EqualFold predicate on the "company_name" field.

func CompanyNameGT

func CompanyNameGT(v string) predicate.Onboarding

CompanyNameGT applies the GT predicate on the "company_name" field.

func CompanyNameGTE

func CompanyNameGTE(v string) predicate.Onboarding

CompanyNameGTE applies the GTE predicate on the "company_name" field.

func CompanyNameHasPrefix

func CompanyNameHasPrefix(v string) predicate.Onboarding

CompanyNameHasPrefix applies the HasPrefix predicate on the "company_name" field.

func CompanyNameHasSuffix

func CompanyNameHasSuffix(v string) predicate.Onboarding

CompanyNameHasSuffix applies the HasSuffix predicate on the "company_name" field.

func CompanyNameIn

func CompanyNameIn(vs ...string) predicate.Onboarding

CompanyNameIn applies the In predicate on the "company_name" field.

func CompanyNameLT

func CompanyNameLT(v string) predicate.Onboarding

CompanyNameLT applies the LT predicate on the "company_name" field.

func CompanyNameLTE

func CompanyNameLTE(v string) predicate.Onboarding

CompanyNameLTE applies the LTE predicate on the "company_name" field.

func CompanyNameNEQ

func CompanyNameNEQ(v string) predicate.Onboarding

CompanyNameNEQ applies the NEQ predicate on the "company_name" field.

func CompanyNameNotIn

func CompanyNameNotIn(vs ...string) predicate.Onboarding

CompanyNameNotIn applies the NotIn predicate on the "company_name" field.

func ComplianceIsNil

func ComplianceIsNil() predicate.Onboarding

ComplianceIsNil applies the IsNil predicate on the "compliance" field.

func ComplianceNotNil

func ComplianceNotNil() predicate.Onboarding

ComplianceNotNil applies the NotNil predicate on the "compliance" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.Onboarding

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Onboarding

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Onboarding

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Onboarding

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Onboarding

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Onboarding

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Onboarding

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Onboarding

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Onboarding

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

func DeletedBy

func DeletedBy(v string) predicate.Onboarding

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

func DeletedByContains

func DeletedByContains(v string) predicate.Onboarding

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.Onboarding

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

func DeletedByEQ

func DeletedByEQ(v string) predicate.Onboarding

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.Onboarding

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

func DeletedByGT

func DeletedByGT(v string) predicate.Onboarding

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.Onboarding

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.Onboarding

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.Onboarding

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.Onboarding

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

func DeletedByLT

func DeletedByLT(v string) predicate.Onboarding

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.Onboarding

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.Onboarding

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.Onboarding

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

func DomainsIsNil

func DomainsIsNil() predicate.Onboarding

DomainsIsNil applies the IsNil predicate on the "domains" field.

func DomainsNotNil

func DomainsNotNil() predicate.Onboarding

DomainsNotNil applies the NotNil predicate on the "domains" field.

func HasOrganization

func HasOrganization() predicate.Onboarding

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

func HasOrganizationWith

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

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Onboarding

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Onboarding

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Onboarding

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Onboarding

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Onboarding

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Onboarding

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Onboarding

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Onboarding

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Onboarding) predicate.Onboarding

Or groups predicates with the OR operator between them.

func OrganizationID

func OrganizationID(v string) predicate.Onboarding

OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.

func OrganizationIDContains

func OrganizationIDContains(v string) predicate.Onboarding

OrganizationIDContains applies the Contains predicate on the "organization_id" field.

func OrganizationIDContainsFold

func OrganizationIDContainsFold(v string) predicate.Onboarding

OrganizationIDContainsFold applies the ContainsFold predicate on the "organization_id" field.

func OrganizationIDEQ

func OrganizationIDEQ(v string) predicate.Onboarding

OrganizationIDEQ applies the EQ predicate on the "organization_id" field.

func OrganizationIDEqualFold

func OrganizationIDEqualFold(v string) predicate.Onboarding

OrganizationIDEqualFold applies the EqualFold predicate on the "organization_id" field.

func OrganizationIDGT

func OrganizationIDGT(v string) predicate.Onboarding

OrganizationIDGT applies the GT predicate on the "organization_id" field.

func OrganizationIDGTE

func OrganizationIDGTE(v string) predicate.Onboarding

OrganizationIDGTE applies the GTE predicate on the "organization_id" field.

func OrganizationIDHasPrefix

func OrganizationIDHasPrefix(v string) predicate.Onboarding

OrganizationIDHasPrefix applies the HasPrefix predicate on the "organization_id" field.

func OrganizationIDHasSuffix

func OrganizationIDHasSuffix(v string) predicate.Onboarding

OrganizationIDHasSuffix applies the HasSuffix predicate on the "organization_id" field.

func OrganizationIDIn

func OrganizationIDIn(vs ...string) predicate.Onboarding

OrganizationIDIn applies the In predicate on the "organization_id" field.

func OrganizationIDIsNil

func OrganizationIDIsNil() predicate.Onboarding

OrganizationIDIsNil applies the IsNil predicate on the "organization_id" field.

func OrganizationIDLT

func OrganizationIDLT(v string) predicate.Onboarding

OrganizationIDLT applies the LT predicate on the "organization_id" field.

func OrganizationIDLTE

func OrganizationIDLTE(v string) predicate.Onboarding

OrganizationIDLTE applies the LTE predicate on the "organization_id" field.

func OrganizationIDNEQ

func OrganizationIDNEQ(v string) predicate.Onboarding

OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.

func OrganizationIDNotIn

func OrganizationIDNotIn(vs ...string) predicate.Onboarding

OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.

func OrganizationIDNotNil

func OrganizationIDNotNil() predicate.Onboarding

OrganizationIDNotNil applies the NotNil predicate on the "organization_id" field.

func UserDetailsIsNil

func UserDetailsIsNil() predicate.Onboarding

UserDetailsIsNil applies the IsNil predicate on the "user_details" field.

func UserDetailsNotNil

func UserDetailsNotNil() predicate.Onboarding

UserDetailsNotNil applies the NotNil predicate on the "user_details" 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 Onboarding queries.

func ByCompanyName

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

ByCompanyName orders the results by the company_name 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 ByID

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

ByID orders the results by the id field.

func ByOrganizationField

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

ByOrganizationField orders the results by organization field.

func ByOrganizationID

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

ByOrganizationID orders the results by the organization_id field.

Jump to

Keyboard shortcuts

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