Documentation
¶
Index ¶
- Constants
- Variables
- func AccessTokenTTL(v int) predicate.Application
- func AccessTokenTTLEQ(v int) predicate.Application
- func AccessTokenTTLGT(v int) predicate.Application
- func AccessTokenTTLGTE(v int) predicate.Application
- func AccessTokenTTLIn(vs ...int) predicate.Application
- func AccessTokenTTLLT(v int) predicate.Application
- func AccessTokenTTLLTE(v int) predicate.Application
- func AccessTokenTTLNEQ(v int) predicate.Application
- func AccessTokenTTLNotIn(vs ...int) predicate.Application
- func And(predicates ...predicate.Application) predicate.Application
- func AppTypeEQ(v AppType) predicate.Application
- func AppTypeIn(vs ...AppType) predicate.Application
- func AppTypeNEQ(v AppType) predicate.Application
- func AppTypeNotIn(vs ...AppType) predicate.Application
- func AppTypeValidator(at AppType) error
- func ClientID(v string) predicate.Application
- func ClientIDContains(v string) predicate.Application
- func ClientIDContainsFold(v string) predicate.Application
- func ClientIDEQ(v string) predicate.Application
- func ClientIDEqualFold(v string) predicate.Application
- func ClientIDGT(v string) predicate.Application
- func ClientIDGTE(v string) predicate.Application
- func ClientIDHasPrefix(v string) predicate.Application
- func ClientIDHasSuffix(v string) predicate.Application
- func ClientIDIn(vs ...string) predicate.Application
- func ClientIDLT(v string) predicate.Application
- func ClientIDLTE(v string) predicate.Application
- func ClientIDNEQ(v string) predicate.Application
- func ClientIDNotIn(vs ...string) predicate.Application
- func CreatedAt(v time.Time) predicate.Application
- func CreatedAtEQ(v time.Time) predicate.Application
- func CreatedAtGT(v time.Time) predicate.Application
- func CreatedAtGTE(v time.Time) predicate.Application
- func CreatedAtIn(vs ...time.Time) predicate.Application
- func CreatedAtLT(v time.Time) predicate.Application
- func CreatedAtLTE(v time.Time) predicate.Application
- func CreatedAtNEQ(v time.Time) predicate.Application
- func CreatedAtNotIn(vs ...time.Time) predicate.Application
- func Description(v string) predicate.Application
- func DescriptionContains(v string) predicate.Application
- func DescriptionContainsFold(v string) predicate.Application
- func DescriptionEQ(v string) predicate.Application
- func DescriptionEqualFold(v string) predicate.Application
- func DescriptionGT(v string) predicate.Application
- func DescriptionGTE(v string) predicate.Application
- func DescriptionHasPrefix(v string) predicate.Application
- func DescriptionHasSuffix(v string) predicate.Application
- func DescriptionIn(vs ...string) predicate.Application
- func DescriptionIsNil() predicate.Application
- func DescriptionLT(v string) predicate.Application
- func DescriptionLTE(v string) predicate.Application
- func DescriptionNEQ(v string) predicate.Application
- func DescriptionNotIn(vs ...string) predicate.Application
- func DescriptionNotNil() predicate.Application
- func FirstParty(v bool) predicate.Application
- func FirstPartyEQ(v bool) predicate.Application
- func FirstPartyNEQ(v bool) predicate.Application
- func HasIssuedTokens() predicate.Application
- func HasIssuedTokensWith(preds ...predicate.PrincipalToken) predicate.Application
- func HasPrincipal() predicate.Application
- func HasPrincipalWith(preds ...predicate.Principal) predicate.Application
- func ID(id uuid.UUID) predicate.Application
- func IDEQ(id uuid.UUID) predicate.Application
- func IDGT(id uuid.UUID) predicate.Application
- func IDGTE(id uuid.UUID) predicate.Application
- func IDIn(ids ...uuid.UUID) predicate.Application
- func IDLT(id uuid.UUID) predicate.Application
- func IDLTE(id uuid.UUID) predicate.Application
- func IDNEQ(id uuid.UUID) predicate.Application
- func IDNotIn(ids ...uuid.UUID) predicate.Application
- func LogoURL(v string) predicate.Application
- func LogoURLContains(v string) predicate.Application
- func LogoURLContainsFold(v string) predicate.Application
- func LogoURLEQ(v string) predicate.Application
- func LogoURLEqualFold(v string) predicate.Application
- func LogoURLGT(v string) predicate.Application
- func LogoURLGTE(v string) predicate.Application
- func LogoURLHasPrefix(v string) predicate.Application
- func LogoURLHasSuffix(v string) predicate.Application
- func LogoURLIn(vs ...string) predicate.Application
- func LogoURLIsNil() predicate.Application
- func LogoURLLT(v string) predicate.Application
- func LogoURLLTE(v string) predicate.Application
- func LogoURLNEQ(v string) predicate.Application
- func LogoURLNotIn(vs ...string) predicate.Application
- func LogoURLNotNil() predicate.Application
- func Not(p predicate.Application) predicate.Application
- func Or(predicates ...predicate.Application) predicate.Application
- func PrincipalID(v uuid.UUID) predicate.Application
- func PrincipalIDEQ(v uuid.UUID) predicate.Application
- func PrincipalIDIn(vs ...uuid.UUID) predicate.Application
- func PrincipalIDNEQ(v uuid.UUID) predicate.Application
- func PrincipalIDNotIn(vs ...uuid.UUID) predicate.Application
- func Public(v bool) predicate.Application
- func PublicEQ(v bool) predicate.Application
- func PublicNEQ(v bool) predicate.Application
- func RefreshTokenRotation(v bool) predicate.Application
- func RefreshTokenRotationEQ(v bool) predicate.Application
- func RefreshTokenRotationNEQ(v bool) predicate.Application
- func RefreshTokenTTL(v int) predicate.Application
- func RefreshTokenTTLEQ(v int) predicate.Application
- func RefreshTokenTTLGT(v int) predicate.Application
- func RefreshTokenTTLGTE(v int) predicate.Application
- func RefreshTokenTTLIn(vs ...int) predicate.Application
- func RefreshTokenTTLLT(v int) predicate.Application
- func RefreshTokenTTLLTE(v int) predicate.Application
- func RefreshTokenTTLNEQ(v int) predicate.Application
- func RefreshTokenTTLNotIn(vs ...int) predicate.Application
- func UpdatedAt(v time.Time) predicate.Application
- func UpdatedAtEQ(v time.Time) predicate.Application
- func UpdatedAtGT(v time.Time) predicate.Application
- func UpdatedAtGTE(v time.Time) predicate.Application
- func UpdatedAtIn(vs ...time.Time) predicate.Application
- func UpdatedAtLT(v time.Time) predicate.Application
- func UpdatedAtLTE(v time.Time) predicate.Application
- func UpdatedAtNEQ(v time.Time) predicate.Application
- func UpdatedAtNotIn(vs ...time.Time) predicate.Application
- func ValidColumn(column string) bool
- type AppType
- type OrderOption
- func ByAccessTokenTTL(opts ...sql.OrderTermOption) OrderOption
- func ByAppType(opts ...sql.OrderTermOption) OrderOption
- func ByClientID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByFirstParty(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIssuedTokens(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByIssuedTokensCount(opts ...sql.OrderTermOption) OrderOption
- func ByLogoURL(opts ...sql.OrderTermOption) OrderOption
- func ByPrincipalField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByPrincipalID(opts ...sql.OrderTermOption) OrderOption
- func ByPublic(opts ...sql.OrderTermOption) OrderOption
- func ByRefreshTokenRotation(opts ...sql.OrderTermOption) OrderOption
- func ByRefreshTokenTTL(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the application type in the database. Label = "application" // 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" // FieldPrincipalID holds the string denoting the principal_id field in the database. FieldPrincipalID = "principal_id" // FieldClientID holds the string denoting the client_id field in the database. FieldClientID = "client_id" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldLogoURL holds the string denoting the logo_url field in the database. FieldLogoURL = "logo_url" // FieldAppType holds the string denoting the app_type field in the database. FieldAppType = "app_type" // FieldRedirectUris holds the string denoting the redirect_uris field in the database. FieldRedirectUris = "redirect_uris" // FieldAllowedGrants holds the string denoting the allowed_grants field in the database. FieldAllowedGrants = "allowed_grants" // FieldAllowedResponseTypes holds the string denoting the allowed_response_types field in the database. FieldAllowedResponseTypes = "allowed_response_types" // FieldAccessTokenTTL holds the string denoting the access_token_ttl field in the database. FieldAccessTokenTTL = "access_token_ttl" // FieldRefreshTokenTTL holds the string denoting the refresh_token_ttl field in the database. FieldRefreshTokenTTL = "refresh_token_ttl" // FieldRefreshTokenRotation holds the string denoting the refresh_token_rotation field in the database. FieldRefreshTokenRotation = "refresh_token_rotation" // FieldFirstParty holds the string denoting the first_party field in the database. FieldFirstParty = "first_party" // FieldPublic holds the string denoting the public field in the database. FieldPublic = "public" // EdgePrincipal holds the string denoting the principal edge name in mutations. EdgePrincipal = "principal" // EdgeIssuedTokens holds the string denoting the issued_tokens edge name in mutations. EdgeIssuedTokens = "issued_tokens" // Table holds the table name of the application in the database. Table = "cf_applications" // PrincipalTable is the table that holds the principal relation/edge. PrincipalTable = "cf_applications" // PrincipalInverseTable is the table name for the Principal entity. // It exists in this package in order to avoid circular dependency with the "principal" package. PrincipalInverseTable = "cf_principals" // PrincipalColumn is the table column denoting the principal relation/edge. PrincipalColumn = "principal_id" // IssuedTokensTable is the table that holds the issued_tokens relation/edge. IssuedTokensTable = "cf_principal_tokens" // IssuedTokensInverseTable is the table name for the PrincipalToken entity. // It exists in this package in order to avoid circular dependency with the "principaltoken" package. IssuedTokensInverseTable = "cf_principal_tokens" // IssuedTokensColumn is the table column denoting the issued_tokens relation/edge. IssuedTokensColumn = "issued_by_app_id" )
const DefaultAppType = AppTypeWeb
AppTypeWeb is the default value of the AppType enum.
Variables ¶
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 // ClientIDValidator is a validator for the "client_id" field. It is called by the builders before save. ClientIDValidator func(string) error // DescriptionValidator is a validator for the "description" field. It is called by the builders before save. DescriptionValidator func(string) error // DefaultRedirectUris holds the default value on creation for the "redirect_uris" field. DefaultRedirectUris []string // DefaultAllowedGrants holds the default value on creation for the "allowed_grants" field. DefaultAllowedGrants []string // DefaultAllowedResponseTypes holds the default value on creation for the "allowed_response_types" field. DefaultAllowedResponseTypes []string // DefaultAccessTokenTTL holds the default value on creation for the "access_token_ttl" field. DefaultAccessTokenTTL int // DefaultRefreshTokenTTL holds the default value on creation for the "refresh_token_ttl" field. DefaultRefreshTokenTTL int // DefaultRefreshTokenRotation holds the default value on creation for the "refresh_token_rotation" field. DefaultRefreshTokenRotation bool // DefaultFirstParty holds the default value on creation for the "first_party" field. DefaultFirstParty bool // DefaultPublic holds the default value on creation for the "public" field. DefaultPublic bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldPrincipalID, FieldClientID, FieldDescription, FieldLogoURL, FieldAppType, FieldRedirectUris, FieldAllowedGrants, FieldAllowedResponseTypes, FieldAccessTokenTTL, FieldRefreshTokenTTL, FieldRefreshTokenRotation, FieldFirstParty, FieldPublic, }
Columns holds all SQL columns for application fields.
Functions ¶
func AccessTokenTTL ¶
func AccessTokenTTL(v int) predicate.Application
AccessTokenTTL applies equality check predicate on the "access_token_ttl" field. It's identical to AccessTokenTTLEQ.
func AccessTokenTTLEQ ¶
func AccessTokenTTLEQ(v int) predicate.Application
AccessTokenTTLEQ applies the EQ predicate on the "access_token_ttl" field.
func AccessTokenTTLGT ¶
func AccessTokenTTLGT(v int) predicate.Application
AccessTokenTTLGT applies the GT predicate on the "access_token_ttl" field.
func AccessTokenTTLGTE ¶
func AccessTokenTTLGTE(v int) predicate.Application
AccessTokenTTLGTE applies the GTE predicate on the "access_token_ttl" field.
func AccessTokenTTLIn ¶
func AccessTokenTTLIn(vs ...int) predicate.Application
AccessTokenTTLIn applies the In predicate on the "access_token_ttl" field.
func AccessTokenTTLLT ¶
func AccessTokenTTLLT(v int) predicate.Application
AccessTokenTTLLT applies the LT predicate on the "access_token_ttl" field.
func AccessTokenTTLLTE ¶
func AccessTokenTTLLTE(v int) predicate.Application
AccessTokenTTLLTE applies the LTE predicate on the "access_token_ttl" field.
func AccessTokenTTLNEQ ¶
func AccessTokenTTLNEQ(v int) predicate.Application
AccessTokenTTLNEQ applies the NEQ predicate on the "access_token_ttl" field.
func AccessTokenTTLNotIn ¶
func AccessTokenTTLNotIn(vs ...int) predicate.Application
AccessTokenTTLNotIn applies the NotIn predicate on the "access_token_ttl" field.
func And ¶
func And(predicates ...predicate.Application) predicate.Application
And groups predicates with the AND operator between them.
func AppTypeEQ ¶
func AppTypeEQ(v AppType) predicate.Application
AppTypeEQ applies the EQ predicate on the "app_type" field.
func AppTypeIn ¶
func AppTypeIn(vs ...AppType) predicate.Application
AppTypeIn applies the In predicate on the "app_type" field.
func AppTypeNEQ ¶
func AppTypeNEQ(v AppType) predicate.Application
AppTypeNEQ applies the NEQ predicate on the "app_type" field.
func AppTypeNotIn ¶
func AppTypeNotIn(vs ...AppType) predicate.Application
AppTypeNotIn applies the NotIn predicate on the "app_type" field.
func AppTypeValidator ¶
AppTypeValidator is a validator for the "app_type" field enum values. It is called by the builders before save.
func ClientID ¶
func ClientID(v string) predicate.Application
ClientID applies equality check predicate on the "client_id" field. It's identical to ClientIDEQ.
func ClientIDContains ¶
func ClientIDContains(v string) predicate.Application
ClientIDContains applies the Contains predicate on the "client_id" field.
func ClientIDContainsFold ¶
func ClientIDContainsFold(v string) predicate.Application
ClientIDContainsFold applies the ContainsFold predicate on the "client_id" field.
func ClientIDEQ ¶
func ClientIDEQ(v string) predicate.Application
ClientIDEQ applies the EQ predicate on the "client_id" field.
func ClientIDEqualFold ¶
func ClientIDEqualFold(v string) predicate.Application
ClientIDEqualFold applies the EqualFold predicate on the "client_id" field.
func ClientIDGT ¶
func ClientIDGT(v string) predicate.Application
ClientIDGT applies the GT predicate on the "client_id" field.
func ClientIDGTE ¶
func ClientIDGTE(v string) predicate.Application
ClientIDGTE applies the GTE predicate on the "client_id" field.
func ClientIDHasPrefix ¶
func ClientIDHasPrefix(v string) predicate.Application
ClientIDHasPrefix applies the HasPrefix predicate on the "client_id" field.
func ClientIDHasSuffix ¶
func ClientIDHasSuffix(v string) predicate.Application
ClientIDHasSuffix applies the HasSuffix predicate on the "client_id" field.
func ClientIDIn ¶
func ClientIDIn(vs ...string) predicate.Application
ClientIDIn applies the In predicate on the "client_id" field.
func ClientIDLT ¶
func ClientIDLT(v string) predicate.Application
ClientIDLT applies the LT predicate on the "client_id" field.
func ClientIDLTE ¶
func ClientIDLTE(v string) predicate.Application
ClientIDLTE applies the LTE predicate on the "client_id" field.
func ClientIDNEQ ¶
func ClientIDNEQ(v string) predicate.Application
ClientIDNEQ applies the NEQ predicate on the "client_id" field.
func ClientIDNotIn ¶
func ClientIDNotIn(vs ...string) predicate.Application
ClientIDNotIn applies the NotIn predicate on the "client_id" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.Application
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.Application
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.Application
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.Application
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.Application
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.Application
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.Application
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.Application
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.Application
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Description ¶
func Description(v string) predicate.Application
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.Application
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.Application
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.Application
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.Application
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.Application
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.Application
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.Application
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.Application
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.Application
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.Application
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.Application
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.Application
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.Application
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.Application
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.Application
DescriptionNotNil applies the NotNil predicate on the "description" field.
func FirstParty ¶
func FirstParty(v bool) predicate.Application
FirstParty applies equality check predicate on the "first_party" field. It's identical to FirstPartyEQ.
func FirstPartyEQ ¶
func FirstPartyEQ(v bool) predicate.Application
FirstPartyEQ applies the EQ predicate on the "first_party" field.
func FirstPartyNEQ ¶
func FirstPartyNEQ(v bool) predicate.Application
FirstPartyNEQ applies the NEQ predicate on the "first_party" field.
func HasIssuedTokens ¶
func HasIssuedTokens() predicate.Application
HasIssuedTokens applies the HasEdge predicate on the "issued_tokens" edge.
func HasIssuedTokensWith ¶
func HasIssuedTokensWith(preds ...predicate.PrincipalToken) predicate.Application
HasIssuedTokensWith applies the HasEdge predicate on the "issued_tokens" edge with a given conditions (other predicates).
func HasPrincipal ¶
func HasPrincipal() predicate.Application
HasPrincipal applies the HasEdge predicate on the "principal" edge.
func HasPrincipalWith ¶
func HasPrincipalWith(preds ...predicate.Principal) predicate.Application
HasPrincipalWith applies the HasEdge predicate on the "principal" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.Application
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.Application
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.Application
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.Application
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.Application
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.Application
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.Application
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.Application
IDNotIn applies the NotIn predicate on the ID field.
func LogoURL ¶
func LogoURL(v string) predicate.Application
LogoURL applies equality check predicate on the "logo_url" field. It's identical to LogoURLEQ.
func LogoURLContains ¶
func LogoURLContains(v string) predicate.Application
LogoURLContains applies the Contains predicate on the "logo_url" field.
func LogoURLContainsFold ¶
func LogoURLContainsFold(v string) predicate.Application
LogoURLContainsFold applies the ContainsFold predicate on the "logo_url" field.
func LogoURLEQ ¶
func LogoURLEQ(v string) predicate.Application
LogoURLEQ applies the EQ predicate on the "logo_url" field.
func LogoURLEqualFold ¶
func LogoURLEqualFold(v string) predicate.Application
LogoURLEqualFold applies the EqualFold predicate on the "logo_url" field.
func LogoURLGT ¶
func LogoURLGT(v string) predicate.Application
LogoURLGT applies the GT predicate on the "logo_url" field.
func LogoURLGTE ¶
func LogoURLGTE(v string) predicate.Application
LogoURLGTE applies the GTE predicate on the "logo_url" field.
func LogoURLHasPrefix ¶
func LogoURLHasPrefix(v string) predicate.Application
LogoURLHasPrefix applies the HasPrefix predicate on the "logo_url" field.
func LogoURLHasSuffix ¶
func LogoURLHasSuffix(v string) predicate.Application
LogoURLHasSuffix applies the HasSuffix predicate on the "logo_url" field.
func LogoURLIn ¶
func LogoURLIn(vs ...string) predicate.Application
LogoURLIn applies the In predicate on the "logo_url" field.
func LogoURLIsNil ¶
func LogoURLIsNil() predicate.Application
LogoURLIsNil applies the IsNil predicate on the "logo_url" field.
func LogoURLLT ¶
func LogoURLLT(v string) predicate.Application
LogoURLLT applies the LT predicate on the "logo_url" field.
func LogoURLLTE ¶
func LogoURLLTE(v string) predicate.Application
LogoURLLTE applies the LTE predicate on the "logo_url" field.
func LogoURLNEQ ¶
func LogoURLNEQ(v string) predicate.Application
LogoURLNEQ applies the NEQ predicate on the "logo_url" field.
func LogoURLNotIn ¶
func LogoURLNotIn(vs ...string) predicate.Application
LogoURLNotIn applies the NotIn predicate on the "logo_url" field.
func LogoURLNotNil ¶
func LogoURLNotNil() predicate.Application
LogoURLNotNil applies the NotNil predicate on the "logo_url" field.
func Not ¶
func Not(p predicate.Application) predicate.Application
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.Application) predicate.Application
Or groups predicates with the OR operator between them.
func PrincipalID ¶
func PrincipalID(v uuid.UUID) predicate.Application
PrincipalID applies equality check predicate on the "principal_id" field. It's identical to PrincipalIDEQ.
func PrincipalIDEQ ¶
func PrincipalIDEQ(v uuid.UUID) predicate.Application
PrincipalIDEQ applies the EQ predicate on the "principal_id" field.
func PrincipalIDIn ¶
func PrincipalIDIn(vs ...uuid.UUID) predicate.Application
PrincipalIDIn applies the In predicate on the "principal_id" field.
func PrincipalIDNEQ ¶
func PrincipalIDNEQ(v uuid.UUID) predicate.Application
PrincipalIDNEQ applies the NEQ predicate on the "principal_id" field.
func PrincipalIDNotIn ¶
func PrincipalIDNotIn(vs ...uuid.UUID) predicate.Application
PrincipalIDNotIn applies the NotIn predicate on the "principal_id" field.
func Public ¶
func Public(v bool) predicate.Application
Public applies equality check predicate on the "public" field. It's identical to PublicEQ.
func PublicEQ ¶
func PublicEQ(v bool) predicate.Application
PublicEQ applies the EQ predicate on the "public" field.
func PublicNEQ ¶
func PublicNEQ(v bool) predicate.Application
PublicNEQ applies the NEQ predicate on the "public" field.
func RefreshTokenRotation ¶
func RefreshTokenRotation(v bool) predicate.Application
RefreshTokenRotation applies equality check predicate on the "refresh_token_rotation" field. It's identical to RefreshTokenRotationEQ.
func RefreshTokenRotationEQ ¶
func RefreshTokenRotationEQ(v bool) predicate.Application
RefreshTokenRotationEQ applies the EQ predicate on the "refresh_token_rotation" field.
func RefreshTokenRotationNEQ ¶
func RefreshTokenRotationNEQ(v bool) predicate.Application
RefreshTokenRotationNEQ applies the NEQ predicate on the "refresh_token_rotation" field.
func RefreshTokenTTL ¶
func RefreshTokenTTL(v int) predicate.Application
RefreshTokenTTL applies equality check predicate on the "refresh_token_ttl" field. It's identical to RefreshTokenTTLEQ.
func RefreshTokenTTLEQ ¶
func RefreshTokenTTLEQ(v int) predicate.Application
RefreshTokenTTLEQ applies the EQ predicate on the "refresh_token_ttl" field.
func RefreshTokenTTLGT ¶
func RefreshTokenTTLGT(v int) predicate.Application
RefreshTokenTTLGT applies the GT predicate on the "refresh_token_ttl" field.
func RefreshTokenTTLGTE ¶
func RefreshTokenTTLGTE(v int) predicate.Application
RefreshTokenTTLGTE applies the GTE predicate on the "refresh_token_ttl" field.
func RefreshTokenTTLIn ¶
func RefreshTokenTTLIn(vs ...int) predicate.Application
RefreshTokenTTLIn applies the In predicate on the "refresh_token_ttl" field.
func RefreshTokenTTLLT ¶
func RefreshTokenTTLLT(v int) predicate.Application
RefreshTokenTTLLT applies the LT predicate on the "refresh_token_ttl" field.
func RefreshTokenTTLLTE ¶
func RefreshTokenTTLLTE(v int) predicate.Application
RefreshTokenTTLLTE applies the LTE predicate on the "refresh_token_ttl" field.
func RefreshTokenTTLNEQ ¶
func RefreshTokenTTLNEQ(v int) predicate.Application
RefreshTokenTTLNEQ applies the NEQ predicate on the "refresh_token_ttl" field.
func RefreshTokenTTLNotIn ¶
func RefreshTokenTTLNotIn(vs ...int) predicate.Application
RefreshTokenTTLNotIn applies the NotIn predicate on the "refresh_token_ttl" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.Application
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.Application
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.Application
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.Application
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.Application
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.Application
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.Application
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.Application
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.Application
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type AppType ¶
type AppType string
AppType defines the type for the "app_type" enum field.
type OrderOption ¶
OrderOption defines the ordering options for the Application queries.
func ByAccessTokenTTL ¶
func ByAccessTokenTTL(opts ...sql.OrderTermOption) OrderOption
ByAccessTokenTTL orders the results by the access_token_ttl field.
func ByAppType ¶
func ByAppType(opts ...sql.OrderTermOption) OrderOption
ByAppType orders the results by the app_type field.
func ByClientID ¶
func ByClientID(opts ...sql.OrderTermOption) OrderOption
ByClientID orders the results by the client_id field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByFirstParty ¶
func ByFirstParty(opts ...sql.OrderTermOption) OrderOption
ByFirstParty orders the results by the first_party field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIssuedTokens ¶
func ByIssuedTokens(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByIssuedTokens orders the results by issued_tokens terms.
func ByIssuedTokensCount ¶
func ByIssuedTokensCount(opts ...sql.OrderTermOption) OrderOption
ByIssuedTokensCount orders the results by issued_tokens count.
func ByLogoURL ¶
func ByLogoURL(opts ...sql.OrderTermOption) OrderOption
ByLogoURL orders the results by the logo_url field.
func ByPrincipalField ¶
func ByPrincipalField(field string, opts ...sql.OrderTermOption) OrderOption
ByPrincipalField orders the results by principal field.
func ByPrincipalID ¶
func ByPrincipalID(opts ...sql.OrderTermOption) OrderOption
ByPrincipalID orders the results by the principal_id field.
func ByPublic ¶
func ByPublic(opts ...sql.OrderTermOption) OrderOption
ByPublic orders the results by the public field.
func ByRefreshTokenRotation ¶
func ByRefreshTokenRotation(opts ...sql.OrderTermOption) OrderOption
ByRefreshTokenRotation orders the results by the refresh_token_rotation field.
func ByRefreshTokenTTL ¶
func ByRefreshTokenTTL(opts ...sql.OrderTermOption) OrderOption
ByRefreshTokenTTL orders the results by the refresh_token_ttl field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.