Documentation ¶
Index ¶
- Constants
- Variables
- func APIKey(v string) predicate.Bouncer
- func APIKeyContains(v string) predicate.Bouncer
- func APIKeyContainsFold(v string) predicate.Bouncer
- func APIKeyEQ(v string) predicate.Bouncer
- func APIKeyEqualFold(v string) predicate.Bouncer
- func APIKeyGT(v string) predicate.Bouncer
- func APIKeyGTE(v string) predicate.Bouncer
- func APIKeyHasPrefix(v string) predicate.Bouncer
- func APIKeyHasSuffix(v string) predicate.Bouncer
- func APIKeyIn(vs ...string) predicate.Bouncer
- func APIKeyLT(v string) predicate.Bouncer
- func APIKeyLTE(v string) predicate.Bouncer
- func APIKeyNEQ(v string) predicate.Bouncer
- func APIKeyNotIn(vs ...string) predicate.Bouncer
- func And(predicates ...predicate.Bouncer) predicate.Bouncer
- func CreatedAt(v time.Time) predicate.Bouncer
- func CreatedAtEQ(v time.Time) predicate.Bouncer
- func CreatedAtGT(v time.Time) predicate.Bouncer
- func CreatedAtGTE(v time.Time) predicate.Bouncer
- func CreatedAtIn(vs ...time.Time) predicate.Bouncer
- func CreatedAtIsNil() predicate.Bouncer
- func CreatedAtLT(v time.Time) predicate.Bouncer
- func CreatedAtLTE(v time.Time) predicate.Bouncer
- func CreatedAtNEQ(v time.Time) predicate.Bouncer
- func CreatedAtNotIn(vs ...time.Time) predicate.Bouncer
- func CreatedAtNotNil() predicate.Bouncer
- func ID(id int) predicate.Bouncer
- func IDEQ(id int) predicate.Bouncer
- func IDGT(id int) predicate.Bouncer
- func IDGTE(id int) predicate.Bouncer
- func IDIn(ids ...int) predicate.Bouncer
- func IDLT(id int) predicate.Bouncer
- func IDLTE(id int) predicate.Bouncer
- func IDNEQ(id int) predicate.Bouncer
- func IDNotIn(ids ...int) predicate.Bouncer
- func IPAddress(v string) predicate.Bouncer
- func IPAddressContains(v string) predicate.Bouncer
- func IPAddressContainsFold(v string) predicate.Bouncer
- func IPAddressEQ(v string) predicate.Bouncer
- func IPAddressEqualFold(v string) predicate.Bouncer
- func IPAddressGT(v string) predicate.Bouncer
- func IPAddressGTE(v string) predicate.Bouncer
- func IPAddressHasPrefix(v string) predicate.Bouncer
- func IPAddressHasSuffix(v string) predicate.Bouncer
- func IPAddressIn(vs ...string) predicate.Bouncer
- func IPAddressIsNil() predicate.Bouncer
- func IPAddressLT(v string) predicate.Bouncer
- func IPAddressLTE(v string) predicate.Bouncer
- func IPAddressNEQ(v string) predicate.Bouncer
- func IPAddressNotIn(vs ...string) predicate.Bouncer
- func IPAddressNotNil() predicate.Bouncer
- func LastPull(v time.Time) predicate.Bouncer
- func LastPullEQ(v time.Time) predicate.Bouncer
- func LastPullGT(v time.Time) predicate.Bouncer
- func LastPullGTE(v time.Time) predicate.Bouncer
- func LastPullIn(vs ...time.Time) predicate.Bouncer
- func LastPullLT(v time.Time) predicate.Bouncer
- func LastPullLTE(v time.Time) predicate.Bouncer
- func LastPullNEQ(v time.Time) predicate.Bouncer
- func LastPullNotIn(vs ...time.Time) predicate.Bouncer
- func Name(v string) predicate.Bouncer
- func NameContains(v string) predicate.Bouncer
- func NameContainsFold(v string) predicate.Bouncer
- func NameEQ(v string) predicate.Bouncer
- func NameEqualFold(v string) predicate.Bouncer
- func NameGT(v string) predicate.Bouncer
- func NameGTE(v string) predicate.Bouncer
- func NameHasPrefix(v string) predicate.Bouncer
- func NameHasSuffix(v string) predicate.Bouncer
- func NameIn(vs ...string) predicate.Bouncer
- func NameLT(v string) predicate.Bouncer
- func NameLTE(v string) predicate.Bouncer
- func NameNEQ(v string) predicate.Bouncer
- func NameNotIn(vs ...string) predicate.Bouncer
- func Not(p predicate.Bouncer) predicate.Bouncer
- func Or(predicates ...predicate.Bouncer) predicate.Bouncer
- func Revoked(v bool) predicate.Bouncer
- func RevokedEQ(v bool) predicate.Bouncer
- func RevokedNEQ(v bool) predicate.Bouncer
- func Type(v string) predicate.Bouncer
- func TypeContains(v string) predicate.Bouncer
- func TypeContainsFold(v string) predicate.Bouncer
- func TypeEQ(v string) predicate.Bouncer
- func TypeEqualFold(v string) predicate.Bouncer
- func TypeGT(v string) predicate.Bouncer
- func TypeGTE(v string) predicate.Bouncer
- func TypeHasPrefix(v string) predicate.Bouncer
- func TypeHasSuffix(v string) predicate.Bouncer
- func TypeIn(vs ...string) predicate.Bouncer
- func TypeIsNil() predicate.Bouncer
- func TypeLT(v string) predicate.Bouncer
- func TypeLTE(v string) predicate.Bouncer
- func TypeNEQ(v string) predicate.Bouncer
- func TypeNotIn(vs ...string) predicate.Bouncer
- func TypeNotNil() predicate.Bouncer
- func Until(v time.Time) predicate.Bouncer
- func UntilEQ(v time.Time) predicate.Bouncer
- func UntilGT(v time.Time) predicate.Bouncer
- func UntilGTE(v time.Time) predicate.Bouncer
- func UntilIn(vs ...time.Time) predicate.Bouncer
- func UntilIsNil() predicate.Bouncer
- func UntilLT(v time.Time) predicate.Bouncer
- func UntilLTE(v time.Time) predicate.Bouncer
- func UntilNEQ(v time.Time) predicate.Bouncer
- func UntilNotIn(vs ...time.Time) predicate.Bouncer
- func UntilNotNil() predicate.Bouncer
- func UpdatedAt(v time.Time) predicate.Bouncer
- func UpdatedAtEQ(v time.Time) predicate.Bouncer
- func UpdatedAtGT(v time.Time) predicate.Bouncer
- func UpdatedAtGTE(v time.Time) predicate.Bouncer
- func UpdatedAtIn(vs ...time.Time) predicate.Bouncer
- func UpdatedAtIsNil() predicate.Bouncer
- func UpdatedAtLT(v time.Time) predicate.Bouncer
- func UpdatedAtLTE(v time.Time) predicate.Bouncer
- func UpdatedAtNEQ(v time.Time) predicate.Bouncer
- func UpdatedAtNotIn(vs ...time.Time) predicate.Bouncer
- func UpdatedAtNotNil() predicate.Bouncer
- func ValidColumn(column string) bool
- func Version(v string) predicate.Bouncer
- func VersionContains(v string) predicate.Bouncer
- func VersionContainsFold(v string) predicate.Bouncer
- func VersionEQ(v string) predicate.Bouncer
- func VersionEqualFold(v string) predicate.Bouncer
- func VersionGT(v string) predicate.Bouncer
- func VersionGTE(v string) predicate.Bouncer
- func VersionHasPrefix(v string) predicate.Bouncer
- func VersionHasSuffix(v string) predicate.Bouncer
- func VersionIn(vs ...string) predicate.Bouncer
- func VersionIsNil() predicate.Bouncer
- func VersionLT(v string) predicate.Bouncer
- func VersionLTE(v string) predicate.Bouncer
- func VersionNEQ(v string) predicate.Bouncer
- func VersionNotIn(vs ...string) predicate.Bouncer
- func VersionNotNil() predicate.Bouncer
Constants ¶
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" // FieldUntil holds the string denoting the until field in the database. FieldUntil = "until" // FieldLastPull holds the string denoting the last_pull field in the database. FieldLastPull = "last_pull" // Table holds the table name of the bouncer in the database. Table = "bouncers" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // UpdateDefaultCreatedAt holds the default value on update for the "created_at" field. UpdateDefaultCreatedAt 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 // DefaultUntil holds the default value on creation for the "until" field. DefaultUntil func() time.Time // DefaultLastPull holds the default value on creation for the "last_pull" field. DefaultLastPull func() time.Time )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldName, FieldAPIKey, FieldRevoked, FieldIPAddress, FieldType, FieldVersion, FieldUntil, FieldLastPull, }
Columns holds all SQL columns for bouncer fields.
Functions ¶
func APIKey ¶
APIKey applies equality check predicate on the "api_key" field. It's identical to APIKeyEQ.
func APIKeyContains ¶
APIKeyContains applies the Contains predicate on the "api_key" field.
func APIKeyContainsFold ¶
APIKeyContainsFold applies the ContainsFold predicate on the "api_key" field.
func APIKeyEqualFold ¶
APIKeyEqualFold applies the EqualFold predicate on the "api_key" field.
func APIKeyHasPrefix ¶
APIKeyHasPrefix applies the HasPrefix predicate on the "api_key" field.
func APIKeyHasSuffix ¶
APIKeyHasSuffix applies the HasSuffix predicate on the "api_key" field.
func APIKeyNotIn ¶
APIKeyNotIn applies the NotIn predicate on the "api_key" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶ added in v1.3.0
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶ added in v1.3.0
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func IPAddress ¶
IPAddress applies equality check predicate on the "ip_address" field. It's identical to IPAddressEQ.
func IPAddressContains ¶
IPAddressContains applies the Contains predicate on the "ip_address" field.
func IPAddressContainsFold ¶
IPAddressContainsFold applies the ContainsFold predicate on the "ip_address" field.
func IPAddressEQ ¶
IPAddressEQ applies the EQ predicate on the "ip_address" field.
func IPAddressEqualFold ¶
IPAddressEqualFold applies the EqualFold predicate on the "ip_address" field.
func IPAddressGT ¶
IPAddressGT applies the GT predicate on the "ip_address" field.
func IPAddressGTE ¶
IPAddressGTE applies the GTE predicate on the "ip_address" field.
func IPAddressHasPrefix ¶
IPAddressHasPrefix applies the HasPrefix predicate on the "ip_address" field.
func IPAddressHasSuffix ¶
IPAddressHasSuffix applies the HasSuffix predicate on the "ip_address" field.
func IPAddressIn ¶
IPAddressIn applies the In predicate on the "ip_address" field.
func IPAddressIsNil ¶
IPAddressIsNil applies the IsNil predicate on the "ip_address" field.
func IPAddressLT ¶
IPAddressLT applies the LT predicate on the "ip_address" field.
func IPAddressLTE ¶
IPAddressLTE applies the LTE predicate on the "ip_address" field.
func IPAddressNEQ ¶
IPAddressNEQ applies the NEQ predicate on the "ip_address" field.
func IPAddressNotIn ¶
IPAddressNotIn applies the NotIn predicate on the "ip_address" field.
func IPAddressNotNil ¶
IPAddressNotNil applies the NotNil predicate on the "ip_address" field.
func LastPull ¶
LastPull applies equality check predicate on the "last_pull" field. It's identical to LastPullEQ.
func LastPullEQ ¶
LastPullEQ applies the EQ predicate on the "last_pull" field.
func LastPullGT ¶
LastPullGT applies the GT predicate on the "last_pull" field.
func LastPullGTE ¶
LastPullGTE applies the GTE predicate on the "last_pull" field.
func LastPullIn ¶
LastPullIn applies the In predicate on the "last_pull" field.
func LastPullLT ¶
LastPullLT applies the LT predicate on the "last_pull" field.
func LastPullLTE ¶
LastPullLTE applies the LTE predicate on the "last_pull" field.
func LastPullNEQ ¶
LastPullNEQ applies the NEQ predicate on the "last_pull" field.
func LastPullNotIn ¶
LastPullNotIn applies the NotIn predicate on the "last_pull" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func Revoked ¶
Revoked applies equality check predicate on the "revoked" field. It's identical to RevokedEQ.
func RevokedNEQ ¶
RevokedNEQ applies the NEQ predicate on the "revoked" field.
func TypeContains ¶
TypeContains applies the Contains predicate on the "type" field.
func TypeContainsFold ¶
TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeEqualFold ¶
TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeHasPrefix ¶
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasSuffix ¶
TypeHasSuffix applies the HasSuffix predicate on the "type" field.
func TypeNotNil ¶
TypeNotNil applies the NotNil predicate on the "type" field.
func Until ¶
Until applies equality check predicate on the "until" field. It's identical to UntilEQ.
func UntilIsNil ¶
UntilIsNil applies the IsNil predicate on the "until" field.
func UntilNotIn ¶
UntilNotIn applies the NotIn predicate on the "until" field.
func UntilNotNil ¶
UntilNotNil applies the NotNil predicate on the "until" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶ added in v1.3.0
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶ added in v1.3.0
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Version ¶
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionContains ¶
VersionContains applies the Contains predicate on the "version" field.
func VersionContainsFold ¶
VersionContainsFold applies the ContainsFold predicate on the "version" field.
func VersionEqualFold ¶
VersionEqualFold applies the EqualFold predicate on the "version" field.
func VersionGTE ¶
VersionGTE applies the GTE predicate on the "version" field.
func VersionHasPrefix ¶
VersionHasPrefix applies the HasPrefix predicate on the "version" field.
func VersionHasSuffix ¶
VersionHasSuffix applies the HasSuffix predicate on the "version" field.
func VersionIsNil ¶
VersionIsNil applies the IsNil predicate on the "version" field.
func VersionLTE ¶
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
VersionNotIn applies the NotIn predicate on the "version" field.
func VersionNotNil ¶
VersionNotNil applies the NotNil predicate on the "version" field.
Types ¶
This section is empty.