fileidentity

package
v0.0.0-...-04b2c92 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the fileidentity type in the database.
	Label = "file_identity"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldTenantID holds the string denoting the tenant_id field in the database.
	FieldTenantID = "tenant_id"
	// FieldAccessKeyID holds the string denoting the access_key_id field in the database.
	FieldAccessKeyID = "access_key_id"
	// FieldAccessKeySecret holds the string denoting the access_key_secret field in the database.
	FieldAccessKeySecret = "access_key_secret"
	// FieldFileSourceID holds the string denoting the file_source_id field in the database.
	FieldFileSourceID = "file_source_id"
	// FieldRoleArn holds the string denoting the role_arn field in the database.
	FieldRoleArn = "role_arn"
	// FieldPolicy holds the string denoting the policy field in the database.
	FieldPolicy = "policy"
	// FieldDurationSeconds holds the string denoting the duration_seconds field in the database.
	FieldDurationSeconds = "duration_seconds"
	// FieldIsDefault holds the string denoting the is_default field in the database.
	FieldIsDefault = "is_default"
	// FieldComments holds the string denoting the comments field in the database.
	FieldComments = "comments"
	// EdgeSource holds the string denoting the source edge name in mutations.
	EdgeSource = "source"
	// EdgeOrg holds the string denoting the org edge name in mutations.
	EdgeOrg = "org"
	// Table holds the table name of the fileidentity in the database.
	Table = "file_identity"
	// SourceTable is the table that holds the source relation/edge.
	SourceTable = "file_identity"
	// SourceInverseTable is the table name for the FileSource entity.
	// It exists in this package in order to avoid circular dependency with the "filesource" package.
	SourceInverseTable = "file_source"
	// SourceColumn is the table column denoting the source relation/edge.
	SourceColumn = "file_source_id"
	// OrgTable is the table that holds the org relation/edge.
	OrgTable = "file_identity"
	// OrgInverseTable is the table name for the Org entity.
	// It exists in this package in order to avoid circular dependency with the "org" package.
	OrgInverseTable = "org"
	// OrgColumn is the table column denoting the org relation/edge.
	OrgColumn = "tenant_id"
)

Variables

View Source
var (
	Hooks        [3]ent.Hook
	Interceptors [1]ent.Interceptor
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// AccessKeyIDValidator is a validator for the "access_key_id" field. It is called by the builders before save.
	AccessKeyIDValidator func(string) error
	// AccessKeySecretValidator is a validator for the "access_key_secret" field. It is called by the builders before save.
	AccessKeySecretValidator func(string) error
	// RoleArnValidator is a validator for the "role_arn" field. It is called by the builders before save.
	RoleArnValidator func(string) error
	// DefaultDurationSeconds holds the default value on creation for the "duration_seconds" field.
	DefaultDurationSeconds int
	// DefaultIsDefault holds the default value on creation for the "is_default" field.
	DefaultIsDefault bool
)

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/woocoos/knockout/ent/runtime"

Columns holds all SQL columns for fileidentity fields.

Functions

func AccessKeyID

func AccessKeyID(v string) predicate.FileIdentity

AccessKeyID applies equality check predicate on the "access_key_id" field. It's identical to AccessKeyIDEQ.

func AccessKeyIDContains

func AccessKeyIDContains(v string) predicate.FileIdentity

AccessKeyIDContains applies the Contains predicate on the "access_key_id" field.

func AccessKeyIDContainsFold

func AccessKeyIDContainsFold(v string) predicate.FileIdentity

AccessKeyIDContainsFold applies the ContainsFold predicate on the "access_key_id" field.

func AccessKeyIDEQ

func AccessKeyIDEQ(v string) predicate.FileIdentity

AccessKeyIDEQ applies the EQ predicate on the "access_key_id" field.

func AccessKeyIDEqualFold

func AccessKeyIDEqualFold(v string) predicate.FileIdentity

AccessKeyIDEqualFold applies the EqualFold predicate on the "access_key_id" field.

func AccessKeyIDGT

func AccessKeyIDGT(v string) predicate.FileIdentity

AccessKeyIDGT applies the GT predicate on the "access_key_id" field.

func AccessKeyIDGTE

func AccessKeyIDGTE(v string) predicate.FileIdentity

AccessKeyIDGTE applies the GTE predicate on the "access_key_id" field.

func AccessKeyIDHasPrefix

func AccessKeyIDHasPrefix(v string) predicate.FileIdentity

AccessKeyIDHasPrefix applies the HasPrefix predicate on the "access_key_id" field.

func AccessKeyIDHasSuffix

func AccessKeyIDHasSuffix(v string) predicate.FileIdentity

AccessKeyIDHasSuffix applies the HasSuffix predicate on the "access_key_id" field.

func AccessKeyIDIn

func AccessKeyIDIn(vs ...string) predicate.FileIdentity

AccessKeyIDIn applies the In predicate on the "access_key_id" field.

func AccessKeyIDLT

func AccessKeyIDLT(v string) predicate.FileIdentity

AccessKeyIDLT applies the LT predicate on the "access_key_id" field.

func AccessKeyIDLTE

func AccessKeyIDLTE(v string) predicate.FileIdentity

AccessKeyIDLTE applies the LTE predicate on the "access_key_id" field.

func AccessKeyIDNEQ

func AccessKeyIDNEQ(v string) predicate.FileIdentity

AccessKeyIDNEQ applies the NEQ predicate on the "access_key_id" field.

func AccessKeyIDNotIn

func AccessKeyIDNotIn(vs ...string) predicate.FileIdentity

AccessKeyIDNotIn applies the NotIn predicate on the "access_key_id" field.

func AccessKeySecret

func AccessKeySecret(v string) predicate.FileIdentity

AccessKeySecret applies equality check predicate on the "access_key_secret" field. It's identical to AccessKeySecretEQ.

func AccessKeySecretContains

func AccessKeySecretContains(v string) predicate.FileIdentity

AccessKeySecretContains applies the Contains predicate on the "access_key_secret" field.

func AccessKeySecretContainsFold

func AccessKeySecretContainsFold(v string) predicate.FileIdentity

AccessKeySecretContainsFold applies the ContainsFold predicate on the "access_key_secret" field.

func AccessKeySecretEQ

func AccessKeySecretEQ(v string) predicate.FileIdentity

AccessKeySecretEQ applies the EQ predicate on the "access_key_secret" field.

func AccessKeySecretEqualFold

func AccessKeySecretEqualFold(v string) predicate.FileIdentity

AccessKeySecretEqualFold applies the EqualFold predicate on the "access_key_secret" field.

func AccessKeySecretGT

func AccessKeySecretGT(v string) predicate.FileIdentity

AccessKeySecretGT applies the GT predicate on the "access_key_secret" field.

func AccessKeySecretGTE

func AccessKeySecretGTE(v string) predicate.FileIdentity

AccessKeySecretGTE applies the GTE predicate on the "access_key_secret" field.

func AccessKeySecretHasPrefix

func AccessKeySecretHasPrefix(v string) predicate.FileIdentity

AccessKeySecretHasPrefix applies the HasPrefix predicate on the "access_key_secret" field.

func AccessKeySecretHasSuffix

func AccessKeySecretHasSuffix(v string) predicate.FileIdentity

AccessKeySecretHasSuffix applies the HasSuffix predicate on the "access_key_secret" field.

func AccessKeySecretIn

func AccessKeySecretIn(vs ...string) predicate.FileIdentity

AccessKeySecretIn applies the In predicate on the "access_key_secret" field.

func AccessKeySecretLT

func AccessKeySecretLT(v string) predicate.FileIdentity

AccessKeySecretLT applies the LT predicate on the "access_key_secret" field.

func AccessKeySecretLTE

func AccessKeySecretLTE(v string) predicate.FileIdentity

AccessKeySecretLTE applies the LTE predicate on the "access_key_secret" field.

func AccessKeySecretNEQ

func AccessKeySecretNEQ(v string) predicate.FileIdentity

AccessKeySecretNEQ applies the NEQ predicate on the "access_key_secret" field.

func AccessKeySecretNotIn

func AccessKeySecretNotIn(vs ...string) predicate.FileIdentity

AccessKeySecretNotIn applies the NotIn predicate on the "access_key_secret" field.

func And

func And(predicates ...predicate.FileIdentity) predicate.FileIdentity

And groups predicates with the AND operator between them.

func Comments

func Comments(v string) predicate.FileIdentity

Comments applies equality check predicate on the "comments" field. It's identical to CommentsEQ.

func CommentsContains

func CommentsContains(v string) predicate.FileIdentity

CommentsContains applies the Contains predicate on the "comments" field.

func CommentsContainsFold

func CommentsContainsFold(v string) predicate.FileIdentity

CommentsContainsFold applies the ContainsFold predicate on the "comments" field.

func CommentsEQ

func CommentsEQ(v string) predicate.FileIdentity

CommentsEQ applies the EQ predicate on the "comments" field.

func CommentsEqualFold

func CommentsEqualFold(v string) predicate.FileIdentity

CommentsEqualFold applies the EqualFold predicate on the "comments" field.

func CommentsGT

func CommentsGT(v string) predicate.FileIdentity

CommentsGT applies the GT predicate on the "comments" field.

func CommentsGTE

func CommentsGTE(v string) predicate.FileIdentity

CommentsGTE applies the GTE predicate on the "comments" field.

func CommentsHasPrefix

func CommentsHasPrefix(v string) predicate.FileIdentity

CommentsHasPrefix applies the HasPrefix predicate on the "comments" field.

func CommentsHasSuffix

func CommentsHasSuffix(v string) predicate.FileIdentity

CommentsHasSuffix applies the HasSuffix predicate on the "comments" field.

func CommentsIn

func CommentsIn(vs ...string) predicate.FileIdentity

CommentsIn applies the In predicate on the "comments" field.

func CommentsIsNil

func CommentsIsNil() predicate.FileIdentity

CommentsIsNil applies the IsNil predicate on the "comments" field.

func CommentsLT

func CommentsLT(v string) predicate.FileIdentity

CommentsLT applies the LT predicate on the "comments" field.

func CommentsLTE

func CommentsLTE(v string) predicate.FileIdentity

CommentsLTE applies the LTE predicate on the "comments" field.

func CommentsNEQ

func CommentsNEQ(v string) predicate.FileIdentity

CommentsNEQ applies the NEQ predicate on the "comments" field.

func CommentsNotIn

func CommentsNotIn(vs ...string) predicate.FileIdentity

CommentsNotIn applies the NotIn predicate on the "comments" field.

func CommentsNotNil

func CommentsNotNil() predicate.FileIdentity

CommentsNotNil applies the NotNil predicate on the "comments" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.FileIdentity

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.FileIdentity

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.FileIdentity

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.FileIdentity

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.FileIdentity

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.FileIdentity

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.FileIdentity

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

func CreatedAtNotIn

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

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

func CreatedBy

func CreatedBy(v int) predicate.FileIdentity

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

func CreatedByEQ

func CreatedByEQ(v int) predicate.FileIdentity

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

func CreatedByGT

func CreatedByGT(v int) predicate.FileIdentity

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

func CreatedByGTE

func CreatedByGTE(v int) predicate.FileIdentity

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

func CreatedByIn

func CreatedByIn(vs ...int) predicate.FileIdentity

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

func CreatedByLT

func CreatedByLT(v int) predicate.FileIdentity

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

func CreatedByLTE

func CreatedByLTE(v int) predicate.FileIdentity

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

func CreatedByNEQ

func CreatedByNEQ(v int) predicate.FileIdentity

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

func CreatedByNotIn

func CreatedByNotIn(vs ...int) predicate.FileIdentity

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

func DurationSeconds

func DurationSeconds(v int) predicate.FileIdentity

DurationSeconds applies equality check predicate on the "duration_seconds" field. It's identical to DurationSecondsEQ.

func DurationSecondsEQ

func DurationSecondsEQ(v int) predicate.FileIdentity

DurationSecondsEQ applies the EQ predicate on the "duration_seconds" field.

func DurationSecondsGT

func DurationSecondsGT(v int) predicate.FileIdentity

DurationSecondsGT applies the GT predicate on the "duration_seconds" field.

func DurationSecondsGTE

func DurationSecondsGTE(v int) predicate.FileIdentity

DurationSecondsGTE applies the GTE predicate on the "duration_seconds" field.

func DurationSecondsIn

func DurationSecondsIn(vs ...int) predicate.FileIdentity

DurationSecondsIn applies the In predicate on the "duration_seconds" field.

func DurationSecondsIsNil

func DurationSecondsIsNil() predicate.FileIdentity

DurationSecondsIsNil applies the IsNil predicate on the "duration_seconds" field.

func DurationSecondsLT

func DurationSecondsLT(v int) predicate.FileIdentity

DurationSecondsLT applies the LT predicate on the "duration_seconds" field.

func DurationSecondsLTE

func DurationSecondsLTE(v int) predicate.FileIdentity

DurationSecondsLTE applies the LTE predicate on the "duration_seconds" field.

func DurationSecondsNEQ

func DurationSecondsNEQ(v int) predicate.FileIdentity

DurationSecondsNEQ applies the NEQ predicate on the "duration_seconds" field.

func DurationSecondsNotIn

func DurationSecondsNotIn(vs ...int) predicate.FileIdentity

DurationSecondsNotIn applies the NotIn predicate on the "duration_seconds" field.

func DurationSecondsNotNil

func DurationSecondsNotNil() predicate.FileIdentity

DurationSecondsNotNil applies the NotNil predicate on the "duration_seconds" field.

func FileSourceID

func FileSourceID(v int) predicate.FileIdentity

FileSourceID applies equality check predicate on the "file_source_id" field. It's identical to FileSourceIDEQ.

func FileSourceIDEQ

func FileSourceIDEQ(v int) predicate.FileIdentity

FileSourceIDEQ applies the EQ predicate on the "file_source_id" field.

func FileSourceIDIn

func FileSourceIDIn(vs ...int) predicate.FileIdentity

FileSourceIDIn applies the In predicate on the "file_source_id" field.

func FileSourceIDNEQ

func FileSourceIDNEQ(v int) predicate.FileIdentity

FileSourceIDNEQ applies the NEQ predicate on the "file_source_id" field.

func FileSourceIDNotIn

func FileSourceIDNotIn(vs ...int) predicate.FileIdentity

FileSourceIDNotIn applies the NotIn predicate on the "file_source_id" field.

func HasOrg

func HasOrg() predicate.FileIdentity

HasOrg applies the HasEdge predicate on the "org" edge.

func HasOrgWith

func HasOrgWith(preds ...predicate.Org) predicate.FileIdentity

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

func HasSource

func HasSource() predicate.FileIdentity

HasSource applies the HasEdge predicate on the "source" edge.

func HasSourceWith

func HasSourceWith(preds ...predicate.FileSource) predicate.FileIdentity

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

func ID

func ID(id int) predicate.FileIdentity

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.FileIdentity

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.FileIdentity

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.FileIdentity

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.FileIdentity

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.FileIdentity

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.FileIdentity

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.FileIdentity

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.FileIdentity

IDNotIn applies the NotIn predicate on the ID field.

func IsDefault

func IsDefault(v bool) predicate.FileIdentity

IsDefault applies equality check predicate on the "is_default" field. It's identical to IsDefaultEQ.

func IsDefaultEQ

func IsDefaultEQ(v bool) predicate.FileIdentity

IsDefaultEQ applies the EQ predicate on the "is_default" field.

func IsDefaultNEQ

func IsDefaultNEQ(v bool) predicate.FileIdentity

IsDefaultNEQ applies the NEQ predicate on the "is_default" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.FileIdentity) predicate.FileIdentity

Or groups predicates with the OR operator between them.

func PolicyContains

func PolicyContains(v string) predicate.FileIdentity

PolicyContains applies the Contains predicate on the "policy" field.

func PolicyContainsFold

func PolicyContainsFold(v string) predicate.FileIdentity

PolicyContainsFold applies the ContainsFold predicate on the "policy" field.

func PolicyEQ

func PolicyEQ(v string) predicate.FileIdentity

PolicyEQ applies the EQ predicate on the "policy" field.

func PolicyEqualFold

func PolicyEqualFold(v string) predicate.FileIdentity

PolicyEqualFold applies the EqualFold predicate on the "policy" field.

func PolicyGT

func PolicyGT(v string) predicate.FileIdentity

PolicyGT applies the GT predicate on the "policy" field.

func PolicyGTE

func PolicyGTE(v string) predicate.FileIdentity

PolicyGTE applies the GTE predicate on the "policy" field.

func PolicyHasPrefix

func PolicyHasPrefix(v string) predicate.FileIdentity

PolicyHasPrefix applies the HasPrefix predicate on the "policy" field.

func PolicyHasSuffix

func PolicyHasSuffix(v string) predicate.FileIdentity

PolicyHasSuffix applies the HasSuffix predicate on the "policy" field.

func PolicyIn

func PolicyIn(vs ...string) predicate.FileIdentity

PolicyIn applies the In predicate on the "policy" field.

func PolicyIsNil

func PolicyIsNil() predicate.FileIdentity

PolicyIsNil applies the IsNil predicate on the "policy" field.

func PolicyLT

func PolicyLT(v string) predicate.FileIdentity

PolicyLT applies the LT predicate on the "policy" field.

func PolicyLTE

func PolicyLTE(v string) predicate.FileIdentity

PolicyLTE applies the LTE predicate on the "policy" field.

func PolicyNEQ

func PolicyNEQ(v string) predicate.FileIdentity

PolicyNEQ applies the NEQ predicate on the "policy" field.

func PolicyNotIn

func PolicyNotIn(vs ...string) predicate.FileIdentity

PolicyNotIn applies the NotIn predicate on the "policy" field.

func PolicyNotNil

func PolicyNotNil() predicate.FileIdentity

PolicyNotNil applies the NotNil predicate on the "policy" field.

func RoleArn

func RoleArn(v string) predicate.FileIdentity

RoleArn applies equality check predicate on the "role_arn" field. It's identical to RoleArnEQ.

func RoleArnContains

func RoleArnContains(v string) predicate.FileIdentity

RoleArnContains applies the Contains predicate on the "role_arn" field.

func RoleArnContainsFold

func RoleArnContainsFold(v string) predicate.FileIdentity

RoleArnContainsFold applies the ContainsFold predicate on the "role_arn" field.

func RoleArnEQ

func RoleArnEQ(v string) predicate.FileIdentity

RoleArnEQ applies the EQ predicate on the "role_arn" field.

func RoleArnEqualFold

func RoleArnEqualFold(v string) predicate.FileIdentity

RoleArnEqualFold applies the EqualFold predicate on the "role_arn" field.

func RoleArnGT

func RoleArnGT(v string) predicate.FileIdentity

RoleArnGT applies the GT predicate on the "role_arn" field.

func RoleArnGTE

func RoleArnGTE(v string) predicate.FileIdentity

RoleArnGTE applies the GTE predicate on the "role_arn" field.

func RoleArnHasPrefix

func RoleArnHasPrefix(v string) predicate.FileIdentity

RoleArnHasPrefix applies the HasPrefix predicate on the "role_arn" field.

func RoleArnHasSuffix

func RoleArnHasSuffix(v string) predicate.FileIdentity

RoleArnHasSuffix applies the HasSuffix predicate on the "role_arn" field.

func RoleArnIn

func RoleArnIn(vs ...string) predicate.FileIdentity

RoleArnIn applies the In predicate on the "role_arn" field.

func RoleArnLT

func RoleArnLT(v string) predicate.FileIdentity

RoleArnLT applies the LT predicate on the "role_arn" field.

func RoleArnLTE

func RoleArnLTE(v string) predicate.FileIdentity

RoleArnLTE applies the LTE predicate on the "role_arn" field.

func RoleArnNEQ

func RoleArnNEQ(v string) predicate.FileIdentity

RoleArnNEQ applies the NEQ predicate on the "role_arn" field.

func RoleArnNotIn

func RoleArnNotIn(vs ...string) predicate.FileIdentity

RoleArnNotIn applies the NotIn predicate on the "role_arn" field.

func TenantID

func TenantID(v int) predicate.FileIdentity

TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.

func TenantIDEQ

func TenantIDEQ(v int) predicate.FileIdentity

TenantIDEQ applies the EQ predicate on the "tenant_id" field.

func TenantIDIn

func TenantIDIn(vs ...int) predicate.FileIdentity

TenantIDIn applies the In predicate on the "tenant_id" field.

func TenantIDNEQ

func TenantIDNEQ(v int) predicate.FileIdentity

TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.

func TenantIDNotIn

func TenantIDNotIn(vs ...int) predicate.FileIdentity

TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.FileIdentity

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.FileIdentity

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.FileIdentity

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.FileIdentity

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.FileIdentity

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.FileIdentity

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.FileIdentity

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.FileIdentity

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.FileIdentity

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

func UpdatedBy

func UpdatedBy(v int) predicate.FileIdentity

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

func UpdatedByEQ

func UpdatedByEQ(v int) predicate.FileIdentity

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

func UpdatedByGT

func UpdatedByGT(v int) predicate.FileIdentity

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

func UpdatedByGTE

func UpdatedByGTE(v int) predicate.FileIdentity

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

func UpdatedByIn

func UpdatedByIn(vs ...int) predicate.FileIdentity

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.FileIdentity

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

func UpdatedByLT

func UpdatedByLT(v int) predicate.FileIdentity

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

func UpdatedByLTE

func UpdatedByLTE(v int) predicate.FileIdentity

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

func UpdatedByNEQ

func UpdatedByNEQ(v int) predicate.FileIdentity

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

func UpdatedByNotIn

func UpdatedByNotIn(vs ...int) predicate.FileIdentity

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.FileIdentity

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

func ByAccessKeyID

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

ByAccessKeyID orders the results by the access_key_id field.

func ByAccessKeySecret

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

ByAccessKeySecret orders the results by the access_key_secret field.

func ByComments

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

ByComments orders the results by the comments 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 ByDurationSeconds

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

ByDurationSeconds orders the results by the duration_seconds field.

func ByFileSourceID

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

ByFileSourceID orders the results by the file_source_id field.

func ByID

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

ByID orders the results by the id field.

func ByIsDefault

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

ByIsDefault orders the results by the is_default field.

func ByOrgField

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

ByOrgField orders the results by org field.

func ByPolicy

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

ByPolicy orders the results by the policy field.

func ByRoleArn

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

ByRoleArn orders the results by the role_arn field.

func BySourceField

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

BySourceField orders the results by source field.

func ByTenantID

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

ByTenantID orders the results by the tenant_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.

Jump to

Keyboard shortcuts

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