directorysyncrun

package
v0.52.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the directorysyncrun type in the database.
	Label = "directory_sync_run"
	// 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"
	// FieldDisplayID holds the string denoting the display_id field in the database.
	FieldDisplayID = "display_id"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// FieldIntegrationID holds the string denoting the integration_id field in the database.
	FieldIntegrationID = "integration_id"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldStartedAt holds the string denoting the started_at field in the database.
	FieldStartedAt = "started_at"
	// FieldCompletedAt holds the string denoting the completed_at field in the database.
	FieldCompletedAt = "completed_at"
	// FieldSourceCursor holds the string denoting the source_cursor field in the database.
	FieldSourceCursor = "source_cursor"
	// FieldFullCount holds the string denoting the full_count field in the database.
	FieldFullCount = "full_count"
	// FieldDeltaCount holds the string denoting the delta_count field in the database.
	FieldDeltaCount = "delta_count"
	// FieldError holds the string denoting the error field in the database.
	FieldError = "error"
	// FieldRawManifestFileID holds the string denoting the raw_manifest_file_id field in the database.
	FieldRawManifestFileID = "raw_manifest_file_id"
	// FieldStats holds the string denoting the stats field in the database.
	FieldStats = "stats"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// EdgeIntegration holds the string denoting the integration edge name in mutations.
	EdgeIntegration = "integration"
	// EdgeDirectoryAccounts holds the string denoting the directory_accounts edge name in mutations.
	EdgeDirectoryAccounts = "directory_accounts"
	// EdgeDirectoryGroups holds the string denoting the directory_groups edge name in mutations.
	EdgeDirectoryGroups = "directory_groups"
	// EdgeDirectoryMemberships holds the string denoting the directory_memberships edge name in mutations.
	EdgeDirectoryMemberships = "directory_memberships"
	// Table holds the table name of the directorysyncrun in the database.
	Table = "directory_sync_runs"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "directory_sync_runs"
	// 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"
	// IntegrationTable is the table that holds the integration relation/edge.
	IntegrationTable = "directory_sync_runs"
	// IntegrationInverseTable is the table name for the Integration entity.
	// It exists in this package in order to avoid circular dependency with the "integration" package.
	IntegrationInverseTable = "integrations"
	// IntegrationColumn is the table column denoting the integration relation/edge.
	IntegrationColumn = "integration_id"
	// DirectoryAccountsTable is the table that holds the directory_accounts relation/edge.
	DirectoryAccountsTable = "directory_accounts"
	// DirectoryAccountsInverseTable is the table name for the DirectoryAccount entity.
	// It exists in this package in order to avoid circular dependency with the "directoryaccount" package.
	DirectoryAccountsInverseTable = "directory_accounts"
	// DirectoryAccountsColumn is the table column denoting the directory_accounts relation/edge.
	DirectoryAccountsColumn = "directory_sync_run_directory_accounts"
	// DirectoryGroupsTable is the table that holds the directory_groups relation/edge.
	DirectoryGroupsTable = "directory_groups"
	// DirectoryGroupsInverseTable is the table name for the DirectoryGroup entity.
	// It exists in this package in order to avoid circular dependency with the "directorygroup" package.
	DirectoryGroupsInverseTable = "directory_groups"
	// DirectoryGroupsColumn is the table column denoting the directory_groups relation/edge.
	DirectoryGroupsColumn = "directory_sync_run_directory_groups"
	// DirectoryMembershipsTable is the table that holds the directory_memberships relation/edge.
	DirectoryMembershipsTable = "directory_memberships"
	// DirectoryMembershipsInverseTable is the table name for the DirectoryMembership entity.
	// It exists in this package in order to avoid circular dependency with the "directorymembership" package.
	DirectoryMembershipsInverseTable = "directory_memberships"
	// DirectoryMembershipsColumn is the table column denoting the directory_memberships relation/edge.
	DirectoryMembershipsColumn = "directory_sync_run_directory_memberships"
)
View Source
const DefaultStatus enums.DirectorySyncRunStatus = "PENDING"

Variables

View Source
var (
	Hooks        [4]ent.Hook
	Interceptors [1]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
	// DisplayIDValidator is a validator for the "display_id" field. It is called by the builders before save.
	DisplayIDValidator func(string) error
	// OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save.
	OwnerIDValidator func(string) error
	// IntegrationIDValidator is a validator for the "integration_id" field. It is called by the builders before save.
	IntegrationIDValidator func(string) error
	// DefaultStartedAt holds the default value on creation for the "started_at" field.
	DefaultStartedAt func() time.Time
	// DefaultFullCount holds the default value on creation for the "full_count" field.
	DefaultFullCount int
	// DefaultDeltaCount holds the default value on creation for the "delta_count" field.
	DefaultDeltaCount int
	// 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 directorysyncrun fields.

View Source
var ForeignKeys = []string{
	"integration_directory_sync_runs",
}

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

Functions

func And

And groups predicates with the AND operator between them.

func CompletedAt

func CompletedAt(v time.Time) predicate.DirectorySyncRun

CompletedAt applies equality check predicate on the "completed_at" field. It's identical to CompletedAtEQ.

func CompletedAtEQ

func CompletedAtEQ(v time.Time) predicate.DirectorySyncRun

CompletedAtEQ applies the EQ predicate on the "completed_at" field.

func CompletedAtGT

func CompletedAtGT(v time.Time) predicate.DirectorySyncRun

CompletedAtGT applies the GT predicate on the "completed_at" field.

func CompletedAtGTE

func CompletedAtGTE(v time.Time) predicate.DirectorySyncRun

CompletedAtGTE applies the GTE predicate on the "completed_at" field.

func CompletedAtIn

func CompletedAtIn(vs ...time.Time) predicate.DirectorySyncRun

CompletedAtIn applies the In predicate on the "completed_at" field.

func CompletedAtIsNil

func CompletedAtIsNil() predicate.DirectorySyncRun

CompletedAtIsNil applies the IsNil predicate on the "completed_at" field.

func CompletedAtLT

func CompletedAtLT(v time.Time) predicate.DirectorySyncRun

CompletedAtLT applies the LT predicate on the "completed_at" field.

func CompletedAtLTE

func CompletedAtLTE(v time.Time) predicate.DirectorySyncRun

CompletedAtLTE applies the LTE predicate on the "completed_at" field.

func CompletedAtNEQ

func CompletedAtNEQ(v time.Time) predicate.DirectorySyncRun

CompletedAtNEQ applies the NEQ predicate on the "completed_at" field.

func CompletedAtNotIn

func CompletedAtNotIn(vs ...time.Time) predicate.DirectorySyncRun

CompletedAtNotIn applies the NotIn predicate on the "completed_at" field.

func CompletedAtNotNil

func CompletedAtNotNil() predicate.DirectorySyncRun

CompletedAtNotNil applies the NotNil predicate on the "completed_at" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.DirectorySyncRun

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.DirectorySyncRun

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.DirectorySyncRun

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.DirectorySyncRun

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.DirectorySyncRun

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.DirectorySyncRun

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.DirectorySyncRun

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.DirectorySyncRun

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.DirectorySyncRun

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

func CreatedBy

func CreatedBy(v string) predicate.DirectorySyncRun

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

func CreatedByContains

func CreatedByContains(v string) predicate.DirectorySyncRun

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.DirectorySyncRun

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.DirectorySyncRun

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.DirectorySyncRun

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

func CreatedByGT

func CreatedByGT(v string) predicate.DirectorySyncRun

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.DirectorySyncRun

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.DirectorySyncRun

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.DirectorySyncRun

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.DirectorySyncRun

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

func CreatedByLT

func CreatedByLT(v string) predicate.DirectorySyncRun

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.DirectorySyncRun

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.DirectorySyncRun

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.DirectorySyncRun

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

func DeltaCount

func DeltaCount(v int) predicate.DirectorySyncRun

DeltaCount applies equality check predicate on the "delta_count" field. It's identical to DeltaCountEQ.

func DeltaCountEQ

func DeltaCountEQ(v int) predicate.DirectorySyncRun

DeltaCountEQ applies the EQ predicate on the "delta_count" field.

func DeltaCountGT

func DeltaCountGT(v int) predicate.DirectorySyncRun

DeltaCountGT applies the GT predicate on the "delta_count" field.

func DeltaCountGTE

func DeltaCountGTE(v int) predicate.DirectorySyncRun

DeltaCountGTE applies the GTE predicate on the "delta_count" field.

func DeltaCountIn

func DeltaCountIn(vs ...int) predicate.DirectorySyncRun

DeltaCountIn applies the In predicate on the "delta_count" field.

func DeltaCountLT

func DeltaCountLT(v int) predicate.DirectorySyncRun

DeltaCountLT applies the LT predicate on the "delta_count" field.

func DeltaCountLTE

func DeltaCountLTE(v int) predicate.DirectorySyncRun

DeltaCountLTE applies the LTE predicate on the "delta_count" field.

func DeltaCountNEQ

func DeltaCountNEQ(v int) predicate.DirectorySyncRun

DeltaCountNEQ applies the NEQ predicate on the "delta_count" field.

func DeltaCountNotIn

func DeltaCountNotIn(vs ...int) predicate.DirectorySyncRun

DeltaCountNotIn applies the NotIn predicate on the "delta_count" field.

func DisplayID

func DisplayID(v string) predicate.DirectorySyncRun

DisplayID applies equality check predicate on the "display_id" field. It's identical to DisplayIDEQ.

func DisplayIDContains

func DisplayIDContains(v string) predicate.DirectorySyncRun

DisplayIDContains applies the Contains predicate on the "display_id" field.

func DisplayIDContainsFold

func DisplayIDContainsFold(v string) predicate.DirectorySyncRun

DisplayIDContainsFold applies the ContainsFold predicate on the "display_id" field.

func DisplayIDEQ

func DisplayIDEQ(v string) predicate.DirectorySyncRun

DisplayIDEQ applies the EQ predicate on the "display_id" field.

func DisplayIDEqualFold

func DisplayIDEqualFold(v string) predicate.DirectorySyncRun

DisplayIDEqualFold applies the EqualFold predicate on the "display_id" field.

func DisplayIDGT

func DisplayIDGT(v string) predicate.DirectorySyncRun

DisplayIDGT applies the GT predicate on the "display_id" field.

func DisplayIDGTE

func DisplayIDGTE(v string) predicate.DirectorySyncRun

DisplayIDGTE applies the GTE predicate on the "display_id" field.

func DisplayIDHasPrefix

func DisplayIDHasPrefix(v string) predicate.DirectorySyncRun

DisplayIDHasPrefix applies the HasPrefix predicate on the "display_id" field.

func DisplayIDHasSuffix

func DisplayIDHasSuffix(v string) predicate.DirectorySyncRun

DisplayIDHasSuffix applies the HasSuffix predicate on the "display_id" field.

func DisplayIDIn

func DisplayIDIn(vs ...string) predicate.DirectorySyncRun

DisplayIDIn applies the In predicate on the "display_id" field.

func DisplayIDLT

func DisplayIDLT(v string) predicate.DirectorySyncRun

DisplayIDLT applies the LT predicate on the "display_id" field.

func DisplayIDLTE

func DisplayIDLTE(v string) predicate.DirectorySyncRun

DisplayIDLTE applies the LTE predicate on the "display_id" field.

func DisplayIDNEQ

func DisplayIDNEQ(v string) predicate.DirectorySyncRun

DisplayIDNEQ applies the NEQ predicate on the "display_id" field.

func DisplayIDNotIn

func DisplayIDNotIn(vs ...string) predicate.DirectorySyncRun

DisplayIDNotIn applies the NotIn predicate on the "display_id" field.

func Error

Error applies equality check predicate on the "error" field. It's identical to ErrorEQ.

func ErrorContains

func ErrorContains(v string) predicate.DirectorySyncRun

ErrorContains applies the Contains predicate on the "error" field.

func ErrorContainsFold

func ErrorContainsFold(v string) predicate.DirectorySyncRun

ErrorContainsFold applies the ContainsFold predicate on the "error" field.

func ErrorEQ

ErrorEQ applies the EQ predicate on the "error" field.

func ErrorEqualFold

func ErrorEqualFold(v string) predicate.DirectorySyncRun

ErrorEqualFold applies the EqualFold predicate on the "error" field.

func ErrorGT

ErrorGT applies the GT predicate on the "error" field.

func ErrorGTE

func ErrorGTE(v string) predicate.DirectorySyncRun

ErrorGTE applies the GTE predicate on the "error" field.

func ErrorHasPrefix

func ErrorHasPrefix(v string) predicate.DirectorySyncRun

ErrorHasPrefix applies the HasPrefix predicate on the "error" field.

func ErrorHasSuffix

func ErrorHasSuffix(v string) predicate.DirectorySyncRun

ErrorHasSuffix applies the HasSuffix predicate on the "error" field.

func ErrorIn

func ErrorIn(vs ...string) predicate.DirectorySyncRun

ErrorIn applies the In predicate on the "error" field.

func ErrorIsNil

func ErrorIsNil() predicate.DirectorySyncRun

ErrorIsNil applies the IsNil predicate on the "error" field.

func ErrorLT

ErrorLT applies the LT predicate on the "error" field.

func ErrorLTE

func ErrorLTE(v string) predicate.DirectorySyncRun

ErrorLTE applies the LTE predicate on the "error" field.

func ErrorNEQ

func ErrorNEQ(v string) predicate.DirectorySyncRun

ErrorNEQ applies the NEQ predicate on the "error" field.

func ErrorNotIn

func ErrorNotIn(vs ...string) predicate.DirectorySyncRun

ErrorNotIn applies the NotIn predicate on the "error" field.

func ErrorNotNil

func ErrorNotNil() predicate.DirectorySyncRun

ErrorNotNil applies the NotNil predicate on the "error" field.

func FullCount

func FullCount(v int) predicate.DirectorySyncRun

FullCount applies equality check predicate on the "full_count" field. It's identical to FullCountEQ.

func FullCountEQ

func FullCountEQ(v int) predicate.DirectorySyncRun

FullCountEQ applies the EQ predicate on the "full_count" field.

func FullCountGT

func FullCountGT(v int) predicate.DirectorySyncRun

FullCountGT applies the GT predicate on the "full_count" field.

func FullCountGTE

func FullCountGTE(v int) predicate.DirectorySyncRun

FullCountGTE applies the GTE predicate on the "full_count" field.

func FullCountIn

func FullCountIn(vs ...int) predicate.DirectorySyncRun

FullCountIn applies the In predicate on the "full_count" field.

func FullCountLT

func FullCountLT(v int) predicate.DirectorySyncRun

FullCountLT applies the LT predicate on the "full_count" field.

func FullCountLTE

func FullCountLTE(v int) predicate.DirectorySyncRun

FullCountLTE applies the LTE predicate on the "full_count" field.

func FullCountNEQ

func FullCountNEQ(v int) predicate.DirectorySyncRun

FullCountNEQ applies the NEQ predicate on the "full_count" field.

func FullCountNotIn

func FullCountNotIn(vs ...int) predicate.DirectorySyncRun

FullCountNotIn applies the NotIn predicate on the "full_count" field.

func HasDirectoryAccounts

func HasDirectoryAccounts() predicate.DirectorySyncRun

HasDirectoryAccounts applies the HasEdge predicate on the "directory_accounts" edge.

func HasDirectoryAccountsWith

func HasDirectoryAccountsWith(preds ...predicate.DirectoryAccount) predicate.DirectorySyncRun

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

func HasDirectoryGroups

func HasDirectoryGroups() predicate.DirectorySyncRun

HasDirectoryGroups applies the HasEdge predicate on the "directory_groups" edge.

func HasDirectoryGroupsWith

func HasDirectoryGroupsWith(preds ...predicate.DirectoryGroup) predicate.DirectorySyncRun

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

func HasDirectoryMemberships

func HasDirectoryMemberships() predicate.DirectorySyncRun

HasDirectoryMemberships applies the HasEdge predicate on the "directory_memberships" edge.

func HasDirectoryMembershipsWith

func HasDirectoryMembershipsWith(preds ...predicate.DirectoryMembership) predicate.DirectorySyncRun

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

func HasIntegration

func HasIntegration() predicate.DirectorySyncRun

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

func HasIntegrationWith

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

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

func HasOwner

func HasOwner() predicate.DirectorySyncRun

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

func HasOwnerWith

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

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.DirectorySyncRun

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.DirectorySyncRun

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IntegrationID

func IntegrationID(v string) predicate.DirectorySyncRun

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

func IntegrationIDContains

func IntegrationIDContains(v string) predicate.DirectorySyncRun

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

func IntegrationIDContainsFold

func IntegrationIDContainsFold(v string) predicate.DirectorySyncRun

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

func IntegrationIDEQ

func IntegrationIDEQ(v string) predicate.DirectorySyncRun

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

func IntegrationIDEqualFold

func IntegrationIDEqualFold(v string) predicate.DirectorySyncRun

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

func IntegrationIDGT

func IntegrationIDGT(v string) predicate.DirectorySyncRun

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

func IntegrationIDGTE

func IntegrationIDGTE(v string) predicate.DirectorySyncRun

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

func IntegrationIDHasPrefix

func IntegrationIDHasPrefix(v string) predicate.DirectorySyncRun

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

func IntegrationIDHasSuffix

func IntegrationIDHasSuffix(v string) predicate.DirectorySyncRun

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

func IntegrationIDIn

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

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

func IntegrationIDLT

func IntegrationIDLT(v string) predicate.DirectorySyncRun

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

func IntegrationIDLTE

func IntegrationIDLTE(v string) predicate.DirectorySyncRun

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

func IntegrationIDNEQ

func IntegrationIDNEQ(v string) predicate.DirectorySyncRun

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

func IntegrationIDNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func OwnerID

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

func OwnerIDContains

func OwnerIDContains(v string) predicate.DirectorySyncRun

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

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.DirectorySyncRun

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

func OwnerIDEQ

func OwnerIDEQ(v string) predicate.DirectorySyncRun

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

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.DirectorySyncRun

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

func OwnerIDGT

func OwnerIDGT(v string) predicate.DirectorySyncRun

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

func OwnerIDGTE

func OwnerIDGTE(v string) predicate.DirectorySyncRun

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

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.DirectorySyncRun

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

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.DirectorySyncRun

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

func OwnerIDIn

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

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

func OwnerIDIsNil

func OwnerIDIsNil() predicate.DirectorySyncRun

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

func OwnerIDLT

func OwnerIDLT(v string) predicate.DirectorySyncRun

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

func OwnerIDLTE

func OwnerIDLTE(v string) predicate.DirectorySyncRun

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

func OwnerIDNEQ

func OwnerIDNEQ(v string) predicate.DirectorySyncRun

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

func OwnerIDNotIn

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

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

func OwnerIDNotNil

func OwnerIDNotNil() predicate.DirectorySyncRun

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

func RawManifestFileID

func RawManifestFileID(v string) predicate.DirectorySyncRun

RawManifestFileID applies equality check predicate on the "raw_manifest_file_id" field. It's identical to RawManifestFileIDEQ.

func RawManifestFileIDContains

func RawManifestFileIDContains(v string) predicate.DirectorySyncRun

RawManifestFileIDContains applies the Contains predicate on the "raw_manifest_file_id" field.

func RawManifestFileIDContainsFold

func RawManifestFileIDContainsFold(v string) predicate.DirectorySyncRun

RawManifestFileIDContainsFold applies the ContainsFold predicate on the "raw_manifest_file_id" field.

func RawManifestFileIDEQ

func RawManifestFileIDEQ(v string) predicate.DirectorySyncRun

RawManifestFileIDEQ applies the EQ predicate on the "raw_manifest_file_id" field.

func RawManifestFileIDEqualFold

func RawManifestFileIDEqualFold(v string) predicate.DirectorySyncRun

RawManifestFileIDEqualFold applies the EqualFold predicate on the "raw_manifest_file_id" field.

func RawManifestFileIDGT

func RawManifestFileIDGT(v string) predicate.DirectorySyncRun

RawManifestFileIDGT applies the GT predicate on the "raw_manifest_file_id" field.

func RawManifestFileIDGTE

func RawManifestFileIDGTE(v string) predicate.DirectorySyncRun

RawManifestFileIDGTE applies the GTE predicate on the "raw_manifest_file_id" field.

func RawManifestFileIDHasPrefix

func RawManifestFileIDHasPrefix(v string) predicate.DirectorySyncRun

RawManifestFileIDHasPrefix applies the HasPrefix predicate on the "raw_manifest_file_id" field.

func RawManifestFileIDHasSuffix

func RawManifestFileIDHasSuffix(v string) predicate.DirectorySyncRun

RawManifestFileIDHasSuffix applies the HasSuffix predicate on the "raw_manifest_file_id" field.

func RawManifestFileIDIn

func RawManifestFileIDIn(vs ...string) predicate.DirectorySyncRun

RawManifestFileIDIn applies the In predicate on the "raw_manifest_file_id" field.

func RawManifestFileIDIsNil

func RawManifestFileIDIsNil() predicate.DirectorySyncRun

RawManifestFileIDIsNil applies the IsNil predicate on the "raw_manifest_file_id" field.

func RawManifestFileIDLT

func RawManifestFileIDLT(v string) predicate.DirectorySyncRun

RawManifestFileIDLT applies the LT predicate on the "raw_manifest_file_id" field.

func RawManifestFileIDLTE

func RawManifestFileIDLTE(v string) predicate.DirectorySyncRun

RawManifestFileIDLTE applies the LTE predicate on the "raw_manifest_file_id" field.

func RawManifestFileIDNEQ

func RawManifestFileIDNEQ(v string) predicate.DirectorySyncRun

RawManifestFileIDNEQ applies the NEQ predicate on the "raw_manifest_file_id" field.

func RawManifestFileIDNotIn

func RawManifestFileIDNotIn(vs ...string) predicate.DirectorySyncRun

RawManifestFileIDNotIn applies the NotIn predicate on the "raw_manifest_file_id" field.

func RawManifestFileIDNotNil

func RawManifestFileIDNotNil() predicate.DirectorySyncRun

RawManifestFileIDNotNil applies the NotNil predicate on the "raw_manifest_file_id" field.

func SourceCursor

func SourceCursor(v string) predicate.DirectorySyncRun

SourceCursor applies equality check predicate on the "source_cursor" field. It's identical to SourceCursorEQ.

func SourceCursorContains

func SourceCursorContains(v string) predicate.DirectorySyncRun

SourceCursorContains applies the Contains predicate on the "source_cursor" field.

func SourceCursorContainsFold

func SourceCursorContainsFold(v string) predicate.DirectorySyncRun

SourceCursorContainsFold applies the ContainsFold predicate on the "source_cursor" field.

func SourceCursorEQ

func SourceCursorEQ(v string) predicate.DirectorySyncRun

SourceCursorEQ applies the EQ predicate on the "source_cursor" field.

func SourceCursorEqualFold

func SourceCursorEqualFold(v string) predicate.DirectorySyncRun

SourceCursorEqualFold applies the EqualFold predicate on the "source_cursor" field.

func SourceCursorGT

func SourceCursorGT(v string) predicate.DirectorySyncRun

SourceCursorGT applies the GT predicate on the "source_cursor" field.

func SourceCursorGTE

func SourceCursorGTE(v string) predicate.DirectorySyncRun

SourceCursorGTE applies the GTE predicate on the "source_cursor" field.

func SourceCursorHasPrefix

func SourceCursorHasPrefix(v string) predicate.DirectorySyncRun

SourceCursorHasPrefix applies the HasPrefix predicate on the "source_cursor" field.

func SourceCursorHasSuffix

func SourceCursorHasSuffix(v string) predicate.DirectorySyncRun

SourceCursorHasSuffix applies the HasSuffix predicate on the "source_cursor" field.

func SourceCursorIn

func SourceCursorIn(vs ...string) predicate.DirectorySyncRun

SourceCursorIn applies the In predicate on the "source_cursor" field.

func SourceCursorIsNil

func SourceCursorIsNil() predicate.DirectorySyncRun

SourceCursorIsNil applies the IsNil predicate on the "source_cursor" field.

func SourceCursorLT

func SourceCursorLT(v string) predicate.DirectorySyncRun

SourceCursorLT applies the LT predicate on the "source_cursor" field.

func SourceCursorLTE

func SourceCursorLTE(v string) predicate.DirectorySyncRun

SourceCursorLTE applies the LTE predicate on the "source_cursor" field.

func SourceCursorNEQ

func SourceCursorNEQ(v string) predicate.DirectorySyncRun

SourceCursorNEQ applies the NEQ predicate on the "source_cursor" field.

func SourceCursorNotIn

func SourceCursorNotIn(vs ...string) predicate.DirectorySyncRun

SourceCursorNotIn applies the NotIn predicate on the "source_cursor" field.

func SourceCursorNotNil

func SourceCursorNotNil() predicate.DirectorySyncRun

SourceCursorNotNil applies the NotNil predicate on the "source_cursor" field.

func StartedAt

func StartedAt(v time.Time) predicate.DirectorySyncRun

StartedAt applies equality check predicate on the "started_at" field. It's identical to StartedAtEQ.

func StartedAtEQ

func StartedAtEQ(v time.Time) predicate.DirectorySyncRun

StartedAtEQ applies the EQ predicate on the "started_at" field.

func StartedAtGT

func StartedAtGT(v time.Time) predicate.DirectorySyncRun

StartedAtGT applies the GT predicate on the "started_at" field.

func StartedAtGTE

func StartedAtGTE(v time.Time) predicate.DirectorySyncRun

StartedAtGTE applies the GTE predicate on the "started_at" field.

func StartedAtIn

func StartedAtIn(vs ...time.Time) predicate.DirectorySyncRun

StartedAtIn applies the In predicate on the "started_at" field.

func StartedAtLT

func StartedAtLT(v time.Time) predicate.DirectorySyncRun

StartedAtLT applies the LT predicate on the "started_at" field.

func StartedAtLTE

func StartedAtLTE(v time.Time) predicate.DirectorySyncRun

StartedAtLTE applies the LTE predicate on the "started_at" field.

func StartedAtNEQ

func StartedAtNEQ(v time.Time) predicate.DirectorySyncRun

StartedAtNEQ applies the NEQ predicate on the "started_at" field.

func StartedAtNotIn

func StartedAtNotIn(vs ...time.Time) predicate.DirectorySyncRun

StartedAtNotIn applies the NotIn predicate on the "started_at" field.

func StatsIsNil

func StatsIsNil() predicate.DirectorySyncRun

StatsIsNil applies the IsNil predicate on the "stats" field.

func StatsNotNil

func StatsNotNil() predicate.DirectorySyncRun

StatsNotNil applies the NotNil predicate on the "stats" field.

func StatusEQ

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

func StatusIn

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

func StatusNEQ

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

func StatusNotIn

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

func StatusValidator

func StatusValidator(s enums.DirectorySyncRunStatus) error

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.DirectorySyncRun

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.DirectorySyncRun

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.DirectorySyncRun

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.DirectorySyncRun

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.DirectorySyncRun

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.DirectorySyncRun

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.DirectorySyncRun

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.DirectorySyncRun

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.DirectorySyncRun

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

func UpdatedBy

func UpdatedBy(v string) predicate.DirectorySyncRun

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.DirectorySyncRun

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.DirectorySyncRun

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.DirectorySyncRun

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.DirectorySyncRun

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.DirectorySyncRun

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.DirectorySyncRun

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.DirectorySyncRun

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.DirectorySyncRun

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.DirectorySyncRun

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.DirectorySyncRun

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.DirectorySyncRun

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.DirectorySyncRun

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.DirectorySyncRun

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

func ByCompletedAt

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

ByCompletedAt orders the results by the completed_at field.

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 ByDeltaCount

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

ByDeltaCount orders the results by the delta_count field.

func ByDirectoryAccounts

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

ByDirectoryAccounts orders the results by directory_accounts terms.

func ByDirectoryAccountsCount

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

ByDirectoryAccountsCount orders the results by directory_accounts count.

func ByDirectoryGroups

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

ByDirectoryGroups orders the results by directory_groups terms.

func ByDirectoryGroupsCount

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

ByDirectoryGroupsCount orders the results by directory_groups count.

func ByDirectoryMemberships

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

ByDirectoryMemberships orders the results by directory_memberships terms.

func ByDirectoryMembershipsCount

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

ByDirectoryMembershipsCount orders the results by directory_memberships count.

func ByDisplayID

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

ByDisplayID orders the results by the display_id field.

func ByError

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

ByError orders the results by the error field.

func ByFullCount

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

ByFullCount orders the results by the full_count field.

func ByID

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

ByID orders the results by the id field.

func ByIntegrationField

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

ByIntegrationField orders the results by integration field.

func ByIntegrationID

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

ByIntegrationID orders the results by the integration_id field.

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

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

ByRawManifestFileID orders the results by the raw_manifest_file_id field.

func BySourceCursor

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

BySourceCursor orders the results by the source_cursor field.

func ByStartedAt

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

ByStartedAt orders the results by the started_at field.

func ByStatus

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

ByStatus orders the results by the status field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedBy

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

ByUpdatedBy orders the results by the updated_by field.

Jump to

Keyboard shortcuts

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