bouncer

package
v1.6.3-rc7 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the bouncer type in the database.
	Label = "bouncer"
	// 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"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldAPIKey holds the string denoting the api_key field in the database.
	FieldAPIKey = "api_key"
	// FieldRevoked holds the string denoting the revoked field in the database.
	FieldRevoked = "revoked"
	// FieldIPAddress holds the string denoting the ip_address field in the database.
	FieldIPAddress = "ip_address"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldLastPull holds the string denoting the last_pull field in the database.
	FieldLastPull = "last_pull"
	// FieldAuthType holds the string denoting the auth_type field in the database.
	FieldAuthType = "auth_type"
	// FieldOsname holds the string denoting the osname field in the database.
	FieldOsname = "osname"
	// FieldOsversion holds the string denoting the osversion field in the database.
	FieldOsversion = "osversion"
	// FieldFeatureflags holds the string denoting the featureflags field in the database.
	FieldFeatureflags = "featureflags"
	// Table holds the table name of the bouncer in the database.
	Table = "bouncers"
)

Variables

View Source
var (
	// 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
	// DefaultIPAddress holds the default value on creation for the "ip_address" field.
	DefaultIPAddress string
	// DefaultAuthType holds the default value on creation for the "auth_type" field.
	DefaultAuthType string
)

Columns holds all SQL columns for bouncer fields.

Functions

func APIKey

func APIKey(v string) predicate.Bouncer

APIKey applies equality check predicate on the "api_key" field. It's identical to APIKeyEQ.

func APIKeyContains

func APIKeyContains(v string) predicate.Bouncer

APIKeyContains applies the Contains predicate on the "api_key" field.

func APIKeyContainsFold

func APIKeyContainsFold(v string) predicate.Bouncer

APIKeyContainsFold applies the ContainsFold predicate on the "api_key" field.

func APIKeyEQ

func APIKeyEQ(v string) predicate.Bouncer

APIKeyEQ applies the EQ predicate on the "api_key" field.

func APIKeyEqualFold

func APIKeyEqualFold(v string) predicate.Bouncer

APIKeyEqualFold applies the EqualFold predicate on the "api_key" field.

func APIKeyGT

func APIKeyGT(v string) predicate.Bouncer

APIKeyGT applies the GT predicate on the "api_key" field.

func APIKeyGTE

func APIKeyGTE(v string) predicate.Bouncer

APIKeyGTE applies the GTE predicate on the "api_key" field.

func APIKeyHasPrefix

func APIKeyHasPrefix(v string) predicate.Bouncer

APIKeyHasPrefix applies the HasPrefix predicate on the "api_key" field.

func APIKeyHasSuffix

func APIKeyHasSuffix(v string) predicate.Bouncer

APIKeyHasSuffix applies the HasSuffix predicate on the "api_key" field.

func APIKeyIn

func APIKeyIn(vs ...string) predicate.Bouncer

APIKeyIn applies the In predicate on the "api_key" field.

func APIKeyLT

func APIKeyLT(v string) predicate.Bouncer

APIKeyLT applies the LT predicate on the "api_key" field.

func APIKeyLTE

func APIKeyLTE(v string) predicate.Bouncer

APIKeyLTE applies the LTE predicate on the "api_key" field.

func APIKeyNEQ

func APIKeyNEQ(v string) predicate.Bouncer

APIKeyNEQ applies the NEQ predicate on the "api_key" field.

func APIKeyNotIn

func APIKeyNotIn(vs ...string) predicate.Bouncer

APIKeyNotIn applies the NotIn predicate on the "api_key" field.

func And

func And(predicates ...predicate.Bouncer) predicate.Bouncer

And groups predicates with the AND operator between them.

func AuthType added in v1.4.0

func AuthType(v string) predicate.Bouncer

AuthType applies equality check predicate on the "auth_type" field. It's identical to AuthTypeEQ.

func AuthTypeContains added in v1.4.0

func AuthTypeContains(v string) predicate.Bouncer

AuthTypeContains applies the Contains predicate on the "auth_type" field.

func AuthTypeContainsFold added in v1.4.0

func AuthTypeContainsFold(v string) predicate.Bouncer

AuthTypeContainsFold applies the ContainsFold predicate on the "auth_type" field.

func AuthTypeEQ added in v1.4.0

func AuthTypeEQ(v string) predicate.Bouncer

AuthTypeEQ applies the EQ predicate on the "auth_type" field.

func AuthTypeEqualFold added in v1.4.0

func AuthTypeEqualFold(v string) predicate.Bouncer

AuthTypeEqualFold applies the EqualFold predicate on the "auth_type" field.

func AuthTypeGT added in v1.4.0

func AuthTypeGT(v string) predicate.Bouncer

AuthTypeGT applies the GT predicate on the "auth_type" field.

func AuthTypeGTE added in v1.4.0

func AuthTypeGTE(v string) predicate.Bouncer

AuthTypeGTE applies the GTE predicate on the "auth_type" field.

func AuthTypeHasPrefix added in v1.4.0

func AuthTypeHasPrefix(v string) predicate.Bouncer

AuthTypeHasPrefix applies the HasPrefix predicate on the "auth_type" field.

func AuthTypeHasSuffix added in v1.4.0

func AuthTypeHasSuffix(v string) predicate.Bouncer

AuthTypeHasSuffix applies the HasSuffix predicate on the "auth_type" field.

func AuthTypeIn added in v1.4.0

func AuthTypeIn(vs ...string) predicate.Bouncer

AuthTypeIn applies the In predicate on the "auth_type" field.

func AuthTypeLT added in v1.4.0

func AuthTypeLT(v string) predicate.Bouncer

AuthTypeLT applies the LT predicate on the "auth_type" field.

func AuthTypeLTE added in v1.4.0

func AuthTypeLTE(v string) predicate.Bouncer

AuthTypeLTE applies the LTE predicate on the "auth_type" field.

func AuthTypeNEQ added in v1.4.0

func AuthTypeNEQ(v string) predicate.Bouncer

AuthTypeNEQ applies the NEQ predicate on the "auth_type" field.

func AuthTypeNotIn added in v1.4.0

func AuthTypeNotIn(vs ...string) predicate.Bouncer

AuthTypeNotIn applies the NotIn predicate on the "auth_type" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Bouncer

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Bouncer

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Bouncer

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Bouncer

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Bouncer

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Bouncer

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Bouncer

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

func CreatedAtNotIn

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

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

func Featureflags added in v1.6.3

func Featureflags(v string) predicate.Bouncer

Featureflags applies equality check predicate on the "featureflags" field. It's identical to FeatureflagsEQ.

func FeatureflagsContains added in v1.6.3

func FeatureflagsContains(v string) predicate.Bouncer

FeatureflagsContains applies the Contains predicate on the "featureflags" field.

func FeatureflagsContainsFold added in v1.6.3

func FeatureflagsContainsFold(v string) predicate.Bouncer

FeatureflagsContainsFold applies the ContainsFold predicate on the "featureflags" field.

func FeatureflagsEQ added in v1.6.3

func FeatureflagsEQ(v string) predicate.Bouncer

FeatureflagsEQ applies the EQ predicate on the "featureflags" field.

func FeatureflagsEqualFold added in v1.6.3

func FeatureflagsEqualFold(v string) predicate.Bouncer

FeatureflagsEqualFold applies the EqualFold predicate on the "featureflags" field.

func FeatureflagsGT added in v1.6.3

func FeatureflagsGT(v string) predicate.Bouncer

FeatureflagsGT applies the GT predicate on the "featureflags" field.

func FeatureflagsGTE added in v1.6.3

func FeatureflagsGTE(v string) predicate.Bouncer

FeatureflagsGTE applies the GTE predicate on the "featureflags" field.

func FeatureflagsHasPrefix added in v1.6.3

func FeatureflagsHasPrefix(v string) predicate.Bouncer

FeatureflagsHasPrefix applies the HasPrefix predicate on the "featureflags" field.

func FeatureflagsHasSuffix added in v1.6.3

func FeatureflagsHasSuffix(v string) predicate.Bouncer

FeatureflagsHasSuffix applies the HasSuffix predicate on the "featureflags" field.

func FeatureflagsIn added in v1.6.3

func FeatureflagsIn(vs ...string) predicate.Bouncer

FeatureflagsIn applies the In predicate on the "featureflags" field.

func FeatureflagsIsNil added in v1.6.3

func FeatureflagsIsNil() predicate.Bouncer

FeatureflagsIsNil applies the IsNil predicate on the "featureflags" field.

func FeatureflagsLT added in v1.6.3

func FeatureflagsLT(v string) predicate.Bouncer

FeatureflagsLT applies the LT predicate on the "featureflags" field.

func FeatureflagsLTE added in v1.6.3

func FeatureflagsLTE(v string) predicate.Bouncer

FeatureflagsLTE applies the LTE predicate on the "featureflags" field.

func FeatureflagsNEQ added in v1.6.3

func FeatureflagsNEQ(v string) predicate.Bouncer

FeatureflagsNEQ applies the NEQ predicate on the "featureflags" field.

func FeatureflagsNotIn added in v1.6.3

func FeatureflagsNotIn(vs ...string) predicate.Bouncer

FeatureflagsNotIn applies the NotIn predicate on the "featureflags" field.

func FeatureflagsNotNil added in v1.6.3

func FeatureflagsNotNil() predicate.Bouncer

FeatureflagsNotNil applies the NotNil predicate on the "featureflags" field.

func ID

func ID(id int) predicate.Bouncer

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Bouncer

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Bouncer

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Bouncer

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Bouncer

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Bouncer

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Bouncer

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IPAddress

func IPAddress(v string) predicate.Bouncer

IPAddress applies equality check predicate on the "ip_address" field. It's identical to IPAddressEQ.

func IPAddressContains

func IPAddressContains(v string) predicate.Bouncer

IPAddressContains applies the Contains predicate on the "ip_address" field.

func IPAddressContainsFold

func IPAddressContainsFold(v string) predicate.Bouncer

IPAddressContainsFold applies the ContainsFold predicate on the "ip_address" field.

func IPAddressEQ

func IPAddressEQ(v string) predicate.Bouncer

IPAddressEQ applies the EQ predicate on the "ip_address" field.

func IPAddressEqualFold

func IPAddressEqualFold(v string) predicate.Bouncer

IPAddressEqualFold applies the EqualFold predicate on the "ip_address" field.

func IPAddressGT

func IPAddressGT(v string) predicate.Bouncer

IPAddressGT applies the GT predicate on the "ip_address" field.

func IPAddressGTE

func IPAddressGTE(v string) predicate.Bouncer

IPAddressGTE applies the GTE predicate on the "ip_address" field.

func IPAddressHasPrefix

func IPAddressHasPrefix(v string) predicate.Bouncer

IPAddressHasPrefix applies the HasPrefix predicate on the "ip_address" field.

func IPAddressHasSuffix

func IPAddressHasSuffix(v string) predicate.Bouncer

IPAddressHasSuffix applies the HasSuffix predicate on the "ip_address" field.

func IPAddressIn

func IPAddressIn(vs ...string) predicate.Bouncer

IPAddressIn applies the In predicate on the "ip_address" field.

func IPAddressIsNil

func IPAddressIsNil() predicate.Bouncer

IPAddressIsNil applies the IsNil predicate on the "ip_address" field.

func IPAddressLT

func IPAddressLT(v string) predicate.Bouncer

IPAddressLT applies the LT predicate on the "ip_address" field.

func IPAddressLTE

func IPAddressLTE(v string) predicate.Bouncer

IPAddressLTE applies the LTE predicate on the "ip_address" field.

func IPAddressNEQ

func IPAddressNEQ(v string) predicate.Bouncer

IPAddressNEQ applies the NEQ predicate on the "ip_address" field.

func IPAddressNotIn

func IPAddressNotIn(vs ...string) predicate.Bouncer

IPAddressNotIn applies the NotIn predicate on the "ip_address" field.

func IPAddressNotNil

func IPAddressNotNil() predicate.Bouncer

IPAddressNotNil applies the NotNil predicate on the "ip_address" field.

func LastPull

func LastPull(v time.Time) predicate.Bouncer

LastPull applies equality check predicate on the "last_pull" field. It's identical to LastPullEQ.

func LastPullEQ

func LastPullEQ(v time.Time) predicate.Bouncer

LastPullEQ applies the EQ predicate on the "last_pull" field.

func LastPullGT

func LastPullGT(v time.Time) predicate.Bouncer

LastPullGT applies the GT predicate on the "last_pull" field.

func LastPullGTE

func LastPullGTE(v time.Time) predicate.Bouncer

LastPullGTE applies the GTE predicate on the "last_pull" field.

func LastPullIn

func LastPullIn(vs ...time.Time) predicate.Bouncer

LastPullIn applies the In predicate on the "last_pull" field.

func LastPullIsNil added in v1.6.3

func LastPullIsNil() predicate.Bouncer

LastPullIsNil applies the IsNil predicate on the "last_pull" field.

func LastPullLT

func LastPullLT(v time.Time) predicate.Bouncer

LastPullLT applies the LT predicate on the "last_pull" field.

func LastPullLTE

func LastPullLTE(v time.Time) predicate.Bouncer

LastPullLTE applies the LTE predicate on the "last_pull" field.

func LastPullNEQ

func LastPullNEQ(v time.Time) predicate.Bouncer

LastPullNEQ applies the NEQ predicate on the "last_pull" field.

func LastPullNotIn

func LastPullNotIn(vs ...time.Time) predicate.Bouncer

LastPullNotIn applies the NotIn predicate on the "last_pull" field.

func LastPullNotNil added in v1.6.3

func LastPullNotNil() predicate.Bouncer

LastPullNotNil applies the NotNil predicate on the "last_pull" field.

func Name

func Name(v string) predicate.Bouncer

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

func NameContains

func NameContains(v string) predicate.Bouncer

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

func NameContainsFold

func NameContainsFold(v string) predicate.Bouncer

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

func NameEQ

func NameEQ(v string) predicate.Bouncer

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

func NameEqualFold

func NameEqualFold(v string) predicate.Bouncer

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

func NameGT

func NameGT(v string) predicate.Bouncer

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

func NameGTE

func NameGTE(v string) predicate.Bouncer

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.Bouncer

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.Bouncer

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.Bouncer

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

func NameLTE

func NameLTE(v string) predicate.Bouncer

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

func NameNEQ

func NameNEQ(v string) predicate.Bouncer

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

func NameNotIn

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

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.Bouncer) predicate.Bouncer

Or groups predicates with the OR operator between them.

func Osname added in v1.6.3

func Osname(v string) predicate.Bouncer

Osname applies equality check predicate on the "osname" field. It's identical to OsnameEQ.

func OsnameContains added in v1.6.3

func OsnameContains(v string) predicate.Bouncer

OsnameContains applies the Contains predicate on the "osname" field.

func OsnameContainsFold added in v1.6.3

func OsnameContainsFold(v string) predicate.Bouncer

OsnameContainsFold applies the ContainsFold predicate on the "osname" field.

func OsnameEQ added in v1.6.3

func OsnameEQ(v string) predicate.Bouncer

OsnameEQ applies the EQ predicate on the "osname" field.

func OsnameEqualFold added in v1.6.3

func OsnameEqualFold(v string) predicate.Bouncer

OsnameEqualFold applies the EqualFold predicate on the "osname" field.

func OsnameGT added in v1.6.3

func OsnameGT(v string) predicate.Bouncer

OsnameGT applies the GT predicate on the "osname" field.

func OsnameGTE added in v1.6.3

func OsnameGTE(v string) predicate.Bouncer

OsnameGTE applies the GTE predicate on the "osname" field.

func OsnameHasPrefix added in v1.6.3

func OsnameHasPrefix(v string) predicate.Bouncer

OsnameHasPrefix applies the HasPrefix predicate on the "osname" field.

func OsnameHasSuffix added in v1.6.3

func OsnameHasSuffix(v string) predicate.Bouncer

OsnameHasSuffix applies the HasSuffix predicate on the "osname" field.

func OsnameIn added in v1.6.3

func OsnameIn(vs ...string) predicate.Bouncer

OsnameIn applies the In predicate on the "osname" field.

func OsnameIsNil added in v1.6.3

func OsnameIsNil() predicate.Bouncer

OsnameIsNil applies the IsNil predicate on the "osname" field.

func OsnameLT added in v1.6.3

func OsnameLT(v string) predicate.Bouncer

OsnameLT applies the LT predicate on the "osname" field.

func OsnameLTE added in v1.6.3

func OsnameLTE(v string) predicate.Bouncer

OsnameLTE applies the LTE predicate on the "osname" field.

func OsnameNEQ added in v1.6.3

func OsnameNEQ(v string) predicate.Bouncer

OsnameNEQ applies the NEQ predicate on the "osname" field.

func OsnameNotIn added in v1.6.3

func OsnameNotIn(vs ...string) predicate.Bouncer

OsnameNotIn applies the NotIn predicate on the "osname" field.

func OsnameNotNil added in v1.6.3

func OsnameNotNil() predicate.Bouncer

OsnameNotNil applies the NotNil predicate on the "osname" field.

func Osversion added in v1.6.3

func Osversion(v string) predicate.Bouncer

Osversion applies equality check predicate on the "osversion" field. It's identical to OsversionEQ.

func OsversionContains added in v1.6.3

func OsversionContains(v string) predicate.Bouncer

OsversionContains applies the Contains predicate on the "osversion" field.

func OsversionContainsFold added in v1.6.3

func OsversionContainsFold(v string) predicate.Bouncer

OsversionContainsFold applies the ContainsFold predicate on the "osversion" field.

func OsversionEQ added in v1.6.3

func OsversionEQ(v string) predicate.Bouncer

OsversionEQ applies the EQ predicate on the "osversion" field.

func OsversionEqualFold added in v1.6.3

func OsversionEqualFold(v string) predicate.Bouncer

OsversionEqualFold applies the EqualFold predicate on the "osversion" field.

func OsversionGT added in v1.6.3

func OsversionGT(v string) predicate.Bouncer

OsversionGT applies the GT predicate on the "osversion" field.

func OsversionGTE added in v1.6.3

func OsversionGTE(v string) predicate.Bouncer

OsversionGTE applies the GTE predicate on the "osversion" field.

func OsversionHasPrefix added in v1.6.3

func OsversionHasPrefix(v string) predicate.Bouncer

OsversionHasPrefix applies the HasPrefix predicate on the "osversion" field.

func OsversionHasSuffix added in v1.6.3

func OsversionHasSuffix(v string) predicate.Bouncer

OsversionHasSuffix applies the HasSuffix predicate on the "osversion" field.

func OsversionIn added in v1.6.3

func OsversionIn(vs ...string) predicate.Bouncer

OsversionIn applies the In predicate on the "osversion" field.

func OsversionIsNil added in v1.6.3

func OsversionIsNil() predicate.Bouncer

OsversionIsNil applies the IsNil predicate on the "osversion" field.

func OsversionLT added in v1.6.3

func OsversionLT(v string) predicate.Bouncer

OsversionLT applies the LT predicate on the "osversion" field.

func OsversionLTE added in v1.6.3

func OsversionLTE(v string) predicate.Bouncer

OsversionLTE applies the LTE predicate on the "osversion" field.

func OsversionNEQ added in v1.6.3

func OsversionNEQ(v string) predicate.Bouncer

OsversionNEQ applies the NEQ predicate on the "osversion" field.

func OsversionNotIn added in v1.6.3

func OsversionNotIn(vs ...string) predicate.Bouncer

OsversionNotIn applies the NotIn predicate on the "osversion" field.

func OsversionNotNil added in v1.6.3

func OsversionNotNil() predicate.Bouncer

OsversionNotNil applies the NotNil predicate on the "osversion" field.

func Revoked

func Revoked(v bool) predicate.Bouncer

Revoked applies equality check predicate on the "revoked" field. It's identical to RevokedEQ.

func RevokedEQ

func RevokedEQ(v bool) predicate.Bouncer

RevokedEQ applies the EQ predicate on the "revoked" field.

func RevokedNEQ

func RevokedNEQ(v bool) predicate.Bouncer

RevokedNEQ applies the NEQ predicate on the "revoked" field.

func Type

func Type(v string) predicate.Bouncer

Type applies equality check predicate on the "type" field. It's identical to TypeEQ.

func TypeContains

func TypeContains(v string) predicate.Bouncer

TypeContains applies the Contains predicate on the "type" field.

func TypeContainsFold

func TypeContainsFold(v string) predicate.Bouncer

TypeContainsFold applies the ContainsFold predicate on the "type" field.

func TypeEQ

func TypeEQ(v string) predicate.Bouncer

TypeEQ applies the EQ predicate on the "type" field.

func TypeEqualFold

func TypeEqualFold(v string) predicate.Bouncer

TypeEqualFold applies the EqualFold predicate on the "type" field.

func TypeGT

func TypeGT(v string) predicate.Bouncer

TypeGT applies the GT predicate on the "type" field.

func TypeGTE

func TypeGTE(v string) predicate.Bouncer

TypeGTE applies the GTE predicate on the "type" field.

func TypeHasPrefix

func TypeHasPrefix(v string) predicate.Bouncer

TypeHasPrefix applies the HasPrefix predicate on the "type" field.

func TypeHasSuffix

func TypeHasSuffix(v string) predicate.Bouncer

TypeHasSuffix applies the HasSuffix predicate on the "type" field.

func TypeIn

func TypeIn(vs ...string) predicate.Bouncer

TypeIn applies the In predicate on the "type" field.

func TypeIsNil

func TypeIsNil() predicate.Bouncer

TypeIsNil applies the IsNil predicate on the "type" field.

func TypeLT

func TypeLT(v string) predicate.Bouncer

TypeLT applies the LT predicate on the "type" field.

func TypeLTE

func TypeLTE(v string) predicate.Bouncer

TypeLTE applies the LTE predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v string) predicate.Bouncer

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...string) predicate.Bouncer

TypeNotIn applies the NotIn predicate on the "type" field.

func TypeNotNil

func TypeNotNil() predicate.Bouncer

TypeNotNil applies the NotNil predicate on the "type" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Bouncer

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Bouncer

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Bouncer

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Bouncer

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Bouncer

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Bouncer

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Bouncer

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

func UpdatedAtNotIn

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

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

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func Version

func Version(v string) predicate.Bouncer

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionContains

func VersionContains(v string) predicate.Bouncer

VersionContains applies the Contains predicate on the "version" field.

func VersionContainsFold

func VersionContainsFold(v string) predicate.Bouncer

VersionContainsFold applies the ContainsFold predicate on the "version" field.

func VersionEQ

func VersionEQ(v string) predicate.Bouncer

VersionEQ applies the EQ predicate on the "version" field.

func VersionEqualFold

func VersionEqualFold(v string) predicate.Bouncer

VersionEqualFold applies the EqualFold predicate on the "version" field.

func VersionGT

func VersionGT(v string) predicate.Bouncer

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v string) predicate.Bouncer

VersionGTE applies the GTE predicate on the "version" field.

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.Bouncer

VersionHasPrefix applies the HasPrefix predicate on the "version" field.

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.Bouncer

VersionHasSuffix applies the HasSuffix predicate on the "version" field.

func VersionIn

func VersionIn(vs ...string) predicate.Bouncer

VersionIn applies the In predicate on the "version" field.

func VersionIsNil

func VersionIsNil() predicate.Bouncer

VersionIsNil applies the IsNil predicate on the "version" field.

func VersionLT

func VersionLT(v string) predicate.Bouncer

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v string) predicate.Bouncer

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v string) predicate.Bouncer

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...string) predicate.Bouncer

VersionNotIn applies the NotIn predicate on the "version" field.

func VersionNotNil

func VersionNotNil() predicate.Bouncer

VersionNotNil applies the NotNil predicate on the "version" field.

Types

type OrderOption added in v1.6.1

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Bouncer queries.

func ByAPIKey added in v1.6.1

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

ByAPIKey orders the results by the api_key field.

func ByAuthType added in v1.6.1

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

ByAuthType orders the results by the auth_type field.

func ByCreatedAt added in v1.6.1

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

ByCreatedAt orders the results by the created_at field.

func ByFeatureflags added in v1.6.3

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

ByFeatureflags orders the results by the featureflags field.

func ByID added in v1.6.1

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

ByID orders the results by the id field.

func ByIPAddress added in v1.6.1

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

ByIPAddress orders the results by the ip_address field.

func ByLastPull added in v1.6.1

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

ByLastPull orders the results by the last_pull field.

func ByName added in v1.6.1

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

ByName orders the results by the name field.

func ByOsname added in v1.6.3

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

ByOsname orders the results by the osname field.

func ByOsversion added in v1.6.3

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

ByOsversion orders the results by the osversion field.

func ByRevoked added in v1.6.1

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

ByRevoked orders the results by the revoked field.

func ByType added in v1.6.1

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

ByType orders the results by the type field.

func ByUpdatedAt added in v1.6.1

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

ByUpdatedAt orders the results by the updated_at field.

func ByVersion added in v1.6.1

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

ByVersion orders the results by the version field.

Jump to

Keyboard shortcuts

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