Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.OAuth2Client) predicate.OAuth2Client
- func ID(id string) predicate.OAuth2Client
- func IDContainsFold(id string) predicate.OAuth2Client
- func IDEQ(id string) predicate.OAuth2Client
- func IDEqualFold(id string) predicate.OAuth2Client
- func IDGT(id string) predicate.OAuth2Client
- func IDGTE(id string) predicate.OAuth2Client
- func IDIn(ids ...string) predicate.OAuth2Client
- func IDLT(id string) predicate.OAuth2Client
- func IDLTE(id string) predicate.OAuth2Client
- func IDNEQ(id string) predicate.OAuth2Client
- func IDNotIn(ids ...string) predicate.OAuth2Client
- func LogoURL(v string) predicate.OAuth2Client
- func LogoURLContains(v string) predicate.OAuth2Client
- func LogoURLContainsFold(v string) predicate.OAuth2Client
- func LogoURLEQ(v string) predicate.OAuth2Client
- func LogoURLEqualFold(v string) predicate.OAuth2Client
- func LogoURLGT(v string) predicate.OAuth2Client
- func LogoURLGTE(v string) predicate.OAuth2Client
- func LogoURLHasPrefix(v string) predicate.OAuth2Client
- func LogoURLHasSuffix(v string) predicate.OAuth2Client
- func LogoURLIn(vs ...string) predicate.OAuth2Client
- func LogoURLLT(v string) predicate.OAuth2Client
- func LogoURLLTE(v string) predicate.OAuth2Client
- func LogoURLNEQ(v string) predicate.OAuth2Client
- func LogoURLNotIn(vs ...string) predicate.OAuth2Client
- func Name(v string) predicate.OAuth2Client
- func NameContains(v string) predicate.OAuth2Client
- func NameContainsFold(v string) predicate.OAuth2Client
- func NameEQ(v string) predicate.OAuth2Client
- func NameEqualFold(v string) predicate.OAuth2Client
- func NameGT(v string) predicate.OAuth2Client
- func NameGTE(v string) predicate.OAuth2Client
- func NameHasPrefix(v string) predicate.OAuth2Client
- func NameHasSuffix(v string) predicate.OAuth2Client
- func NameIn(vs ...string) predicate.OAuth2Client
- func NameLT(v string) predicate.OAuth2Client
- func NameLTE(v string) predicate.OAuth2Client
- func NameNEQ(v string) predicate.OAuth2Client
- func NameNotIn(vs ...string) predicate.OAuth2Client
- func Not(p predicate.OAuth2Client) predicate.OAuth2Client
- func Or(predicates ...predicate.OAuth2Client) predicate.OAuth2Client
- func Public(v bool) predicate.OAuth2Client
- func PublicEQ(v bool) predicate.OAuth2Client
- func PublicNEQ(v bool) predicate.OAuth2Client
- func RedirectUrisIsNil() predicate.OAuth2Client
- func RedirectUrisNotNil() predicate.OAuth2Client
- func Secret(v string) predicate.OAuth2Client
- func SecretContains(v string) predicate.OAuth2Client
- func SecretContainsFold(v string) predicate.OAuth2Client
- func SecretEQ(v string) predicate.OAuth2Client
- func SecretEqualFold(v string) predicate.OAuth2Client
- func SecretGT(v string) predicate.OAuth2Client
- func SecretGTE(v string) predicate.OAuth2Client
- func SecretHasPrefix(v string) predicate.OAuth2Client
- func SecretHasSuffix(v string) predicate.OAuth2Client
- func SecretIn(vs ...string) predicate.OAuth2Client
- func SecretLT(v string) predicate.OAuth2Client
- func SecretLTE(v string) predicate.OAuth2Client
- func SecretNEQ(v string) predicate.OAuth2Client
- func SecretNotIn(vs ...string) predicate.OAuth2Client
- func TrustedPeersIsNil() predicate.OAuth2Client
- func TrustedPeersNotNil() predicate.OAuth2Client
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the oauth2client type in the database. Label = "oauth2client" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldSecret holds the string denoting the secret field in the database. FieldSecret = "secret" // FieldRedirectUris holds the string denoting the redirect_uris field in the database. FieldRedirectUris = "redirect_uris" // FieldTrustedPeers holds the string denoting the trusted_peers field in the database. FieldTrustedPeers = "trusted_peers" // FieldPublic holds the string denoting the public field in the database. FieldPublic = "public" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldLogoURL holds the string denoting the logo_url field in the database. FieldLogoURL = "logo_url" // Table holds the table name of the oauth2client in the database. Table = "oauth2clients" )
Variables ¶
var ( // SecretValidator is a validator for the "secret" field. It is called by the builders before save. SecretValidator func(string) error // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // LogoURLValidator is a validator for the "logo_url" field. It is called by the builders before save. LogoURLValidator func(string) error // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
var Columns = []string{ FieldID, FieldSecret, FieldRedirectUris, FieldTrustedPeers, FieldPublic, FieldName, FieldLogoURL, }
Columns holds all SQL columns for oauth2client fields.
Functions ¶
func And ¶
func And(predicates ...predicate.OAuth2Client) predicate.OAuth2Client
And groups predicates with the AND operator between them.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.OAuth2Client
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.OAuth2Client
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.OAuth2Client
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.OAuth2Client
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.OAuth2Client
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.OAuth2Client
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.OAuth2Client
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.OAuth2Client
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.OAuth2Client
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.OAuth2Client
IDNotIn applies the NotIn predicate on the ID field.
func LogoURL ¶
func LogoURL(v string) predicate.OAuth2Client
LogoURL applies equality check predicate on the "logo_url" field. It's identical to LogoURLEQ.
func LogoURLContains ¶
func LogoURLContains(v string) predicate.OAuth2Client
LogoURLContains applies the Contains predicate on the "logo_url" field.
func LogoURLContainsFold ¶
func LogoURLContainsFold(v string) predicate.OAuth2Client
LogoURLContainsFold applies the ContainsFold predicate on the "logo_url" field.
func LogoURLEQ ¶
func LogoURLEQ(v string) predicate.OAuth2Client
LogoURLEQ applies the EQ predicate on the "logo_url" field.
func LogoURLEqualFold ¶
func LogoURLEqualFold(v string) predicate.OAuth2Client
LogoURLEqualFold applies the EqualFold predicate on the "logo_url" field.
func LogoURLGT ¶
func LogoURLGT(v string) predicate.OAuth2Client
LogoURLGT applies the GT predicate on the "logo_url" field.
func LogoURLGTE ¶
func LogoURLGTE(v string) predicate.OAuth2Client
LogoURLGTE applies the GTE predicate on the "logo_url" field.
func LogoURLHasPrefix ¶
func LogoURLHasPrefix(v string) predicate.OAuth2Client
LogoURLHasPrefix applies the HasPrefix predicate on the "logo_url" field.
func LogoURLHasSuffix ¶
func LogoURLHasSuffix(v string) predicate.OAuth2Client
LogoURLHasSuffix applies the HasSuffix predicate on the "logo_url" field.
func LogoURLIn ¶
func LogoURLIn(vs ...string) predicate.OAuth2Client
LogoURLIn applies the In predicate on the "logo_url" field.
func LogoURLLT ¶
func LogoURLLT(v string) predicate.OAuth2Client
LogoURLLT applies the LT predicate on the "logo_url" field.
func LogoURLLTE ¶
func LogoURLLTE(v string) predicate.OAuth2Client
LogoURLLTE applies the LTE predicate on the "logo_url" field.
func LogoURLNEQ ¶
func LogoURLNEQ(v string) predicate.OAuth2Client
LogoURLNEQ applies the NEQ predicate on the "logo_url" field.
func LogoURLNotIn ¶
func LogoURLNotIn(vs ...string) predicate.OAuth2Client
LogoURLNotIn applies the NotIn predicate on the "logo_url" field.
func Name ¶
func Name(v string) predicate.OAuth2Client
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.OAuth2Client
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.OAuth2Client
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.OAuth2Client
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.OAuth2Client
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.OAuth2Client
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.OAuth2Client
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.OAuth2Client
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.OAuth2Client
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.OAuth2Client
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.OAuth2Client
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.OAuth2Client
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.OAuth2Client
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.OAuth2Client
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.OAuth2Client) predicate.OAuth2Client
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.OAuth2Client) predicate.OAuth2Client
Or groups predicates with the OR operator between them.
func Public ¶
func Public(v bool) predicate.OAuth2Client
Public applies equality check predicate on the "public" field. It's identical to PublicEQ.
func PublicEQ ¶
func PublicEQ(v bool) predicate.OAuth2Client
PublicEQ applies the EQ predicate on the "public" field.
func PublicNEQ ¶
func PublicNEQ(v bool) predicate.OAuth2Client
PublicNEQ applies the NEQ predicate on the "public" field.
func RedirectUrisIsNil ¶
func RedirectUrisIsNil() predicate.OAuth2Client
RedirectUrisIsNil applies the IsNil predicate on the "redirect_uris" field.
func RedirectUrisNotNil ¶
func RedirectUrisNotNil() predicate.OAuth2Client
RedirectUrisNotNil applies the NotNil predicate on the "redirect_uris" field.
func Secret ¶
func Secret(v string) predicate.OAuth2Client
Secret applies equality check predicate on the "secret" field. It's identical to SecretEQ.
func SecretContains ¶
func SecretContains(v string) predicate.OAuth2Client
SecretContains applies the Contains predicate on the "secret" field.
func SecretContainsFold ¶
func SecretContainsFold(v string) predicate.OAuth2Client
SecretContainsFold applies the ContainsFold predicate on the "secret" field.
func SecretEQ ¶
func SecretEQ(v string) predicate.OAuth2Client
SecretEQ applies the EQ predicate on the "secret" field.
func SecretEqualFold ¶
func SecretEqualFold(v string) predicate.OAuth2Client
SecretEqualFold applies the EqualFold predicate on the "secret" field.
func SecretGT ¶
func SecretGT(v string) predicate.OAuth2Client
SecretGT applies the GT predicate on the "secret" field.
func SecretGTE ¶
func SecretGTE(v string) predicate.OAuth2Client
SecretGTE applies the GTE predicate on the "secret" field.
func SecretHasPrefix ¶
func SecretHasPrefix(v string) predicate.OAuth2Client
SecretHasPrefix applies the HasPrefix predicate on the "secret" field.
func SecretHasSuffix ¶
func SecretHasSuffix(v string) predicate.OAuth2Client
SecretHasSuffix applies the HasSuffix predicate on the "secret" field.
func SecretIn ¶
func SecretIn(vs ...string) predicate.OAuth2Client
SecretIn applies the In predicate on the "secret" field.
func SecretLT ¶
func SecretLT(v string) predicate.OAuth2Client
SecretLT applies the LT predicate on the "secret" field.
func SecretLTE ¶
func SecretLTE(v string) predicate.OAuth2Client
SecretLTE applies the LTE predicate on the "secret" field.
func SecretNEQ ¶
func SecretNEQ(v string) predicate.OAuth2Client
SecretNEQ applies the NEQ predicate on the "secret" field.
func SecretNotIn ¶
func SecretNotIn(vs ...string) predicate.OAuth2Client
SecretNotIn applies the NotIn predicate on the "secret" field.
func TrustedPeersIsNil ¶
func TrustedPeersIsNil() predicate.OAuth2Client
TrustedPeersIsNil applies the IsNil predicate on the "trusted_peers" field.
func TrustedPeersNotNil ¶
func TrustedPeersNotNil() predicate.OAuth2Client
TrustedPeersNotNil applies the NotNil predicate on the "trusted_peers" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the OAuth2Client queries.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLogoURL ¶
func ByLogoURL(opts ...sql.OrderTermOption) OrderOption
ByLogoURL orders the results by the logo_url field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByPublic ¶
func ByPublic(opts ...sql.OrderTermOption) OrderOption
ByPublic orders the results by the public field.
func BySecret ¶
func BySecret(opts ...sql.OrderTermOption) OrderOption
BySecret orders the results by the secret field.