Documentation
¶
Index ¶
- Constants
- Variables
- func Active(v bool) predicate.Credential
- func ActiveEQ(v bool) predicate.Credential
- func ActiveNEQ(v bool) predicate.Credential
- func And(predicates ...predicate.Credential) predicate.Credential
- func CreatedAt(v time.Time) predicate.Credential
- func CreatedAtEQ(v time.Time) predicate.Credential
- func CreatedAtGT(v time.Time) predicate.Credential
- func CreatedAtGTE(v time.Time) predicate.Credential
- func CreatedAtIn(vs ...time.Time) predicate.Credential
- func CreatedAtLT(v time.Time) predicate.Credential
- func CreatedAtLTE(v time.Time) predicate.Credential
- func CreatedAtNEQ(v time.Time) predicate.Credential
- func CreatedAtNotIn(vs ...time.Time) predicate.Credential
- func ExpiresAt(v time.Time) predicate.Credential
- func ExpiresAtEQ(v time.Time) predicate.Credential
- func ExpiresAtGT(v time.Time) predicate.Credential
- func ExpiresAtGTE(v time.Time) predicate.Credential
- func ExpiresAtIn(vs ...time.Time) predicate.Credential
- func ExpiresAtIsNil() predicate.Credential
- func ExpiresAtLT(v time.Time) predicate.Credential
- func ExpiresAtLTE(v time.Time) predicate.Credential
- func ExpiresAtNEQ(v time.Time) predicate.Credential
- func ExpiresAtNotIn(vs ...time.Time) predicate.Credential
- func ExpiresAtNotNil() predicate.Credential
- func HasPrincipal() predicate.Credential
- func HasPrincipalWith(preds ...predicate.Principal) predicate.Credential
- func ID(id uuid.UUID) predicate.Credential
- func IDEQ(id uuid.UUID) predicate.Credential
- func IDGT(id uuid.UUID) predicate.Credential
- func IDGTE(id uuid.UUID) predicate.Credential
- func IDIn(ids ...uuid.UUID) predicate.Credential
- func IDLT(id uuid.UUID) predicate.Credential
- func IDLTE(id uuid.UUID) predicate.Credential
- func IDNEQ(id uuid.UUID) predicate.Credential
- func IDNotIn(ids ...uuid.UUID) predicate.Credential
- func Identifier(v string) predicate.Credential
- func IdentifierContains(v string) predicate.Credential
- func IdentifierContainsFold(v string) predicate.Credential
- func IdentifierEQ(v string) predicate.Credential
- func IdentifierEqualFold(v string) predicate.Credential
- func IdentifierGT(v string) predicate.Credential
- func IdentifierGTE(v string) predicate.Credential
- func IdentifierHasPrefix(v string) predicate.Credential
- func IdentifierHasSuffix(v string) predicate.Credential
- func IdentifierIn(vs ...string) predicate.Credential
- func IdentifierIsNil() predicate.Credential
- func IdentifierLT(v string) predicate.Credential
- func IdentifierLTE(v string) predicate.Credential
- func IdentifierNEQ(v string) predicate.Credential
- func IdentifierNotIn(vs ...string) predicate.Credential
- func IdentifierNotNil() predicate.Credential
- func KeyAlgorithm(v string) predicate.Credential
- func KeyAlgorithmContains(v string) predicate.Credential
- func KeyAlgorithmContainsFold(v string) predicate.Credential
- func KeyAlgorithmEQ(v string) predicate.Credential
- func KeyAlgorithmEqualFold(v string) predicate.Credential
- func KeyAlgorithmGT(v string) predicate.Credential
- func KeyAlgorithmGTE(v string) predicate.Credential
- func KeyAlgorithmHasPrefix(v string) predicate.Credential
- func KeyAlgorithmHasSuffix(v string) predicate.Credential
- func KeyAlgorithmIn(vs ...string) predicate.Credential
- func KeyAlgorithmIsNil() predicate.Credential
- func KeyAlgorithmLT(v string) predicate.Credential
- func KeyAlgorithmLTE(v string) predicate.Credential
- func KeyAlgorithmNEQ(v string) predicate.Credential
- func KeyAlgorithmNotIn(vs ...string) predicate.Credential
- func KeyAlgorithmNotNil() predicate.Credential
- func KeyID(v string) predicate.Credential
- func KeyIDContains(v string) predicate.Credential
- func KeyIDContainsFold(v string) predicate.Credential
- func KeyIDEQ(v string) predicate.Credential
- func KeyIDEqualFold(v string) predicate.Credential
- func KeyIDGT(v string) predicate.Credential
- func KeyIDGTE(v string) predicate.Credential
- func KeyIDHasPrefix(v string) predicate.Credential
- func KeyIDHasSuffix(v string) predicate.Credential
- func KeyIDIn(vs ...string) predicate.Credential
- func KeyIDIsNil() predicate.Credential
- func KeyIDLT(v string) predicate.Credential
- func KeyIDLTE(v string) predicate.Credential
- func KeyIDNEQ(v string) predicate.Credential
- func KeyIDNotIn(vs ...string) predicate.Credential
- func KeyIDNotNil() predicate.Credential
- func LastUsedAt(v time.Time) predicate.Credential
- func LastUsedAtEQ(v time.Time) predicate.Credential
- func LastUsedAtGT(v time.Time) predicate.Credential
- func LastUsedAtGTE(v time.Time) predicate.Credential
- func LastUsedAtIn(vs ...time.Time) predicate.Credential
- func LastUsedAtIsNil() predicate.Credential
- func LastUsedAtLT(v time.Time) predicate.Credential
- func LastUsedAtLTE(v time.Time) predicate.Credential
- func LastUsedAtNEQ(v time.Time) predicate.Credential
- func LastUsedAtNotIn(vs ...time.Time) predicate.Credential
- func LastUsedAtNotNil() predicate.Credential
- func LastUsedIP(v string) predicate.Credential
- func LastUsedIPContains(v string) predicate.Credential
- func LastUsedIPContainsFold(v string) predicate.Credential
- func LastUsedIPEQ(v string) predicate.Credential
- func LastUsedIPEqualFold(v string) predicate.Credential
- func LastUsedIPGT(v string) predicate.Credential
- func LastUsedIPGTE(v string) predicate.Credential
- func LastUsedIPHasPrefix(v string) predicate.Credential
- func LastUsedIPHasSuffix(v string) predicate.Credential
- func LastUsedIPIn(vs ...string) predicate.Credential
- func LastUsedIPIsNil() predicate.Credential
- func LastUsedIPLT(v string) predicate.Credential
- func LastUsedIPLTE(v string) predicate.Credential
- func LastUsedIPNEQ(v string) predicate.Credential
- func LastUsedIPNotIn(vs ...string) predicate.Credential
- func LastUsedIPNotNil() predicate.Credential
- func MetadataIsNil() predicate.Credential
- func MetadataNotNil() predicate.Credential
- func Name(v string) predicate.Credential
- func NameContains(v string) predicate.Credential
- func NameContainsFold(v string) predicate.Credential
- func NameEQ(v string) predicate.Credential
- func NameEqualFold(v string) predicate.Credential
- func NameGT(v string) predicate.Credential
- func NameGTE(v string) predicate.Credential
- func NameHasPrefix(v string) predicate.Credential
- func NameHasSuffix(v string) predicate.Credential
- func NameIn(vs ...string) predicate.Credential
- func NameIsNil() predicate.Credential
- func NameLT(v string) predicate.Credential
- func NameLTE(v string) predicate.Credential
- func NameNEQ(v string) predicate.Credential
- func NameNotIn(vs ...string) predicate.Credential
- func NameNotNil() predicate.Credential
- func Not(p predicate.Credential) predicate.Credential
- func Or(predicates ...predicate.Credential) predicate.Credential
- func PrincipalID(v uuid.UUID) predicate.Credential
- func PrincipalIDEQ(v uuid.UUID) predicate.Credential
- func PrincipalIDIn(vs ...uuid.UUID) predicate.Credential
- func PrincipalIDNEQ(v uuid.UUID) predicate.Credential
- func PrincipalIDNotIn(vs ...uuid.UUID) predicate.Credential
- func PublicKey(v string) predicate.Credential
- func PublicKeyContains(v string) predicate.Credential
- func PublicKeyContainsFold(v string) predicate.Credential
- func PublicKeyEQ(v string) predicate.Credential
- func PublicKeyEqualFold(v string) predicate.Credential
- func PublicKeyGT(v string) predicate.Credential
- func PublicKeyGTE(v string) predicate.Credential
- func PublicKeyHasPrefix(v string) predicate.Credential
- func PublicKeyHasSuffix(v string) predicate.Credential
- func PublicKeyIn(vs ...string) predicate.Credential
- func PublicKeyIsNil() predicate.Credential
- func PublicKeyLT(v string) predicate.Credential
- func PublicKeyLTE(v string) predicate.Credential
- func PublicKeyNEQ(v string) predicate.Credential
- func PublicKeyNotIn(vs ...string) predicate.Credential
- func PublicKeyNotNil() predicate.Credential
- func Revoked(v bool) predicate.Credential
- func RevokedAt(v time.Time) predicate.Credential
- func RevokedAtEQ(v time.Time) predicate.Credential
- func RevokedAtGT(v time.Time) predicate.Credential
- func RevokedAtGTE(v time.Time) predicate.Credential
- func RevokedAtIn(vs ...time.Time) predicate.Credential
- func RevokedAtIsNil() predicate.Credential
- func RevokedAtLT(v time.Time) predicate.Credential
- func RevokedAtLTE(v time.Time) predicate.Credential
- func RevokedAtNEQ(v time.Time) predicate.Credential
- func RevokedAtNotIn(vs ...time.Time) predicate.Credential
- func RevokedAtNotNil() predicate.Credential
- func RevokedEQ(v bool) predicate.Credential
- func RevokedNEQ(v bool) predicate.Credential
- func RevokedReason(v string) predicate.Credential
- func RevokedReasonContains(v string) predicate.Credential
- func RevokedReasonContainsFold(v string) predicate.Credential
- func RevokedReasonEQ(v string) predicate.Credential
- func RevokedReasonEqualFold(v string) predicate.Credential
- func RevokedReasonGT(v string) predicate.Credential
- func RevokedReasonGTE(v string) predicate.Credential
- func RevokedReasonHasPrefix(v string) predicate.Credential
- func RevokedReasonHasSuffix(v string) predicate.Credential
- func RevokedReasonIn(vs ...string) predicate.Credential
- func RevokedReasonIsNil() predicate.Credential
- func RevokedReasonLT(v string) predicate.Credential
- func RevokedReasonLTE(v string) predicate.Credential
- func RevokedReasonNEQ(v string) predicate.Credential
- func RevokedReasonNotIn(vs ...string) predicate.Credential
- func RevokedReasonNotNil() predicate.Credential
- func SecretHash(v string) predicate.Credential
- func SecretHashContains(v string) predicate.Credential
- func SecretHashContainsFold(v string) predicate.Credential
- func SecretHashEQ(v string) predicate.Credential
- func SecretHashEqualFold(v string) predicate.Credential
- func SecretHashGT(v string) predicate.Credential
- func SecretHashGTE(v string) predicate.Credential
- func SecretHashHasPrefix(v string) predicate.Credential
- func SecretHashHasSuffix(v string) predicate.Credential
- func SecretHashIn(vs ...string) predicate.Credential
- func SecretHashIsNil() predicate.Credential
- func SecretHashLT(v string) predicate.Credential
- func SecretHashLTE(v string) predicate.Credential
- func SecretHashNEQ(v string) predicate.Credential
- func SecretHashNotIn(vs ...string) predicate.Credential
- func SecretHashNotNil() predicate.Credential
- func TypeEQ(v Type) predicate.Credential
- func TypeIn(vs ...Type) predicate.Credential
- func TypeNEQ(v Type) predicate.Credential
- func TypeNotIn(vs ...Type) predicate.Credential
- func TypeValidator(_type Type) error
- func UpdatedAt(v time.Time) predicate.Credential
- func UpdatedAtEQ(v time.Time) predicate.Credential
- func UpdatedAtGT(v time.Time) predicate.Credential
- func UpdatedAtGTE(v time.Time) predicate.Credential
- func UpdatedAtIn(vs ...time.Time) predicate.Credential
- func UpdatedAtLT(v time.Time) predicate.Credential
- func UpdatedAtLTE(v time.Time) predicate.Credential
- func UpdatedAtNEQ(v time.Time) predicate.Credential
- func UpdatedAtNotIn(vs ...time.Time) predicate.Credential
- func ValidColumn(column string) bool
- func WebauthnAaguid(v string) predicate.Credential
- func WebauthnAaguidContains(v string) predicate.Credential
- func WebauthnAaguidContainsFold(v string) predicate.Credential
- func WebauthnAaguidEQ(v string) predicate.Credential
- func WebauthnAaguidEqualFold(v string) predicate.Credential
- func WebauthnAaguidGT(v string) predicate.Credential
- func WebauthnAaguidGTE(v string) predicate.Credential
- func WebauthnAaguidHasPrefix(v string) predicate.Credential
- func WebauthnAaguidHasSuffix(v string) predicate.Credential
- func WebauthnAaguidIn(vs ...string) predicate.Credential
- func WebauthnAaguidIsNil() predicate.Credential
- func WebauthnAaguidLT(v string) predicate.Credential
- func WebauthnAaguidLTE(v string) predicate.Credential
- func WebauthnAaguidNEQ(v string) predicate.Credential
- func WebauthnAaguidNotIn(vs ...string) predicate.Credential
- func WebauthnAaguidNotNil() predicate.Credential
- func WebauthnCredentialID(v []byte) predicate.Credential
- func WebauthnCredentialIDEQ(v []byte) predicate.Credential
- func WebauthnCredentialIDGT(v []byte) predicate.Credential
- func WebauthnCredentialIDGTE(v []byte) predicate.Credential
- func WebauthnCredentialIDIn(vs ...[]byte) predicate.Credential
- func WebauthnCredentialIDIsNil() predicate.Credential
- func WebauthnCredentialIDLT(v []byte) predicate.Credential
- func WebauthnCredentialIDLTE(v []byte) predicate.Credential
- func WebauthnCredentialIDNEQ(v []byte) predicate.Credential
- func WebauthnCredentialIDNotIn(vs ...[]byte) predicate.Credential
- func WebauthnCredentialIDNotNil() predicate.Credential
- func WebauthnPublicKey(v []byte) predicate.Credential
- func WebauthnPublicKeyEQ(v []byte) predicate.Credential
- func WebauthnPublicKeyGT(v []byte) predicate.Credential
- func WebauthnPublicKeyGTE(v []byte) predicate.Credential
- func WebauthnPublicKeyIn(vs ...[]byte) predicate.Credential
- func WebauthnPublicKeyIsNil() predicate.Credential
- func WebauthnPublicKeyLT(v []byte) predicate.Credential
- func WebauthnPublicKeyLTE(v []byte) predicate.Credential
- func WebauthnPublicKeyNEQ(v []byte) predicate.Credential
- func WebauthnPublicKeyNotIn(vs ...[]byte) predicate.Credential
- func WebauthnPublicKeyNotNil() predicate.Credential
- func WebauthnSignCount(v uint32) predicate.Credential
- func WebauthnSignCountEQ(v uint32) predicate.Credential
- func WebauthnSignCountGT(v uint32) predicate.Credential
- func WebauthnSignCountGTE(v uint32) predicate.Credential
- func WebauthnSignCountIn(vs ...uint32) predicate.Credential
- func WebauthnSignCountIsNil() predicate.Credential
- func WebauthnSignCountLT(v uint32) predicate.Credential
- func WebauthnSignCountLTE(v uint32) predicate.Credential
- func WebauthnSignCountNEQ(v uint32) predicate.Credential
- func WebauthnSignCountNotIn(vs ...uint32) predicate.Credential
- func WebauthnSignCountNotNil() predicate.Credential
- type OrderOption
- func ByActive(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIdentifier(opts ...sql.OrderTermOption) OrderOption
- func ByKeyAlgorithm(opts ...sql.OrderTermOption) OrderOption
- func ByKeyID(opts ...sql.OrderTermOption) OrderOption
- func ByLastUsedAt(opts ...sql.OrderTermOption) OrderOption
- func ByLastUsedIP(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByPrincipalField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByPrincipalID(opts ...sql.OrderTermOption) OrderOption
- func ByPublicKey(opts ...sql.OrderTermOption) OrderOption
- func ByRevoked(opts ...sql.OrderTermOption) OrderOption
- func ByRevokedAt(opts ...sql.OrderTermOption) OrderOption
- func ByRevokedReason(opts ...sql.OrderTermOption) OrderOption
- func BySecretHash(opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByWebauthnAaguid(opts ...sql.OrderTermOption) OrderOption
- func ByWebauthnSignCount(opts ...sql.OrderTermOption) OrderOption
- type Type
Constants ¶
const ( // Label holds the string label denoting the credential type in the database. Label = "credential" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldPrincipalID holds the string denoting the principal_id field in the database. FieldPrincipalID = "principal_id" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldIdentifier holds the string denoting the identifier field in the database. FieldIdentifier = "identifier" // FieldSecretHash holds the string denoting the secret_hash field in the database. FieldSecretHash = "secret_hash" // FieldPublicKey holds the string denoting the public_key field in the database. FieldPublicKey = "public_key" // FieldKeyAlgorithm holds the string denoting the key_algorithm field in the database. FieldKeyAlgorithm = "key_algorithm" // FieldKeyID holds the string denoting the key_id field in the database. FieldKeyID = "key_id" // FieldWebauthnCredentialID holds the string denoting the webauthn_credential_id field in the database. FieldWebauthnCredentialID = "webauthn_credential_id" // FieldWebauthnPublicKey holds the string denoting the webauthn_public_key field in the database. FieldWebauthnPublicKey = "webauthn_public_key" // FieldWebauthnAaguid holds the string denoting the webauthn_aaguid field in the database. FieldWebauthnAaguid = "webauthn_aaguid" // FieldWebauthnSignCount holds the string denoting the webauthn_sign_count field in the database. FieldWebauthnSignCount = "webauthn_sign_count" // FieldScopes holds the string denoting the scopes field in the database. FieldScopes = "scopes" // FieldActive holds the string denoting the active field in the database. FieldActive = "active" // FieldExpiresAt holds the string denoting the expires_at field in the database. FieldExpiresAt = "expires_at" // FieldRevoked holds the string denoting the revoked field in the database. FieldRevoked = "revoked" // FieldRevokedAt holds the string denoting the revoked_at field in the database. FieldRevokedAt = "revoked_at" // FieldRevokedReason holds the string denoting the revoked_reason field in the database. FieldRevokedReason = "revoked_reason" // FieldLastUsedAt holds the string denoting the last_used_at field in the database. FieldLastUsedAt = "last_used_at" // FieldLastUsedIP holds the string denoting the last_used_ip field in the database. FieldLastUsedIP = "last_used_ip" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // 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" // EdgePrincipal holds the string denoting the principal edge name in mutations. EdgePrincipal = "principal" // Table holds the table name of the credential in the database. Table = "cf_credentials" // PrincipalTable is the table that holds the principal relation/edge. PrincipalTable = "cf_credentials" // 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" )
Variables ¶
var ( // DefaultWebauthnSignCount holds the default value on creation for the "webauthn_sign_count" field. DefaultWebauthnSignCount uint32 // DefaultScopes holds the default value on creation for the "scopes" field. DefaultScopes []string // DefaultActive holds the default value on creation for the "active" field. DefaultActive bool // DefaultRevoked holds the default value on creation for the "revoked" field. DefaultRevoked bool // 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 // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldPrincipalID, FieldType, FieldIdentifier, FieldSecretHash, FieldPublicKey, FieldKeyAlgorithm, FieldKeyID, FieldWebauthnCredentialID, FieldWebauthnPublicKey, FieldWebauthnAaguid, FieldWebauthnSignCount, FieldScopes, FieldActive, FieldExpiresAt, FieldRevoked, FieldRevokedAt, FieldRevokedReason, FieldLastUsedAt, FieldLastUsedIP, FieldName, FieldMetadata, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for credential fields.
Functions ¶
func Active ¶
func Active(v bool) predicate.Credential
Active applies equality check predicate on the "active" field. It's identical to ActiveEQ.
func ActiveEQ ¶
func ActiveEQ(v bool) predicate.Credential
ActiveEQ applies the EQ predicate on the "active" field.
func ActiveNEQ ¶
func ActiveNEQ(v bool) predicate.Credential
ActiveNEQ applies the NEQ predicate on the "active" field.
func And ¶
func And(predicates ...predicate.Credential) predicate.Credential
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.Credential
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.Credential
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.Credential
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.Credential
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.Credential
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.Credential
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.Credential
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.Credential
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.Credential
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func ExpiresAt ¶
func ExpiresAt(v time.Time) predicate.Credential
ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.
func ExpiresAtEQ ¶
func ExpiresAtEQ(v time.Time) predicate.Credential
ExpiresAtEQ applies the EQ predicate on the "expires_at" field.
func ExpiresAtGT ¶
func ExpiresAtGT(v time.Time) predicate.Credential
ExpiresAtGT applies the GT predicate on the "expires_at" field.
func ExpiresAtGTE ¶
func ExpiresAtGTE(v time.Time) predicate.Credential
ExpiresAtGTE applies the GTE predicate on the "expires_at" field.
func ExpiresAtIn ¶
func ExpiresAtIn(vs ...time.Time) predicate.Credential
ExpiresAtIn applies the In predicate on the "expires_at" field.
func ExpiresAtIsNil ¶
func ExpiresAtIsNil() predicate.Credential
ExpiresAtIsNil applies the IsNil predicate on the "expires_at" field.
func ExpiresAtLT ¶
func ExpiresAtLT(v time.Time) predicate.Credential
ExpiresAtLT applies the LT predicate on the "expires_at" field.
func ExpiresAtLTE ¶
func ExpiresAtLTE(v time.Time) predicate.Credential
ExpiresAtLTE applies the LTE predicate on the "expires_at" field.
func ExpiresAtNEQ ¶
func ExpiresAtNEQ(v time.Time) predicate.Credential
ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.
func ExpiresAtNotIn ¶
func ExpiresAtNotIn(vs ...time.Time) predicate.Credential
ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.
func ExpiresAtNotNil ¶
func ExpiresAtNotNil() predicate.Credential
ExpiresAtNotNil applies the NotNil predicate on the "expires_at" field.
func HasPrincipal ¶
func HasPrincipal() predicate.Credential
HasPrincipal applies the HasEdge predicate on the "principal" edge.
func HasPrincipalWith ¶
func HasPrincipalWith(preds ...predicate.Principal) predicate.Credential
HasPrincipalWith applies the HasEdge predicate on the "principal" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.Credential
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.Credential
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.Credential
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.Credential
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.Credential
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.Credential
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.Credential
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.Credential
IDNotIn applies the NotIn predicate on the ID field.
func Identifier ¶
func Identifier(v string) predicate.Credential
Identifier applies equality check predicate on the "identifier" field. It's identical to IdentifierEQ.
func IdentifierContains ¶
func IdentifierContains(v string) predicate.Credential
IdentifierContains applies the Contains predicate on the "identifier" field.
func IdentifierContainsFold ¶
func IdentifierContainsFold(v string) predicate.Credential
IdentifierContainsFold applies the ContainsFold predicate on the "identifier" field.
func IdentifierEQ ¶
func IdentifierEQ(v string) predicate.Credential
IdentifierEQ applies the EQ predicate on the "identifier" field.
func IdentifierEqualFold ¶
func IdentifierEqualFold(v string) predicate.Credential
IdentifierEqualFold applies the EqualFold predicate on the "identifier" field.
func IdentifierGT ¶
func IdentifierGT(v string) predicate.Credential
IdentifierGT applies the GT predicate on the "identifier" field.
func IdentifierGTE ¶
func IdentifierGTE(v string) predicate.Credential
IdentifierGTE applies the GTE predicate on the "identifier" field.
func IdentifierHasPrefix ¶
func IdentifierHasPrefix(v string) predicate.Credential
IdentifierHasPrefix applies the HasPrefix predicate on the "identifier" field.
func IdentifierHasSuffix ¶
func IdentifierHasSuffix(v string) predicate.Credential
IdentifierHasSuffix applies the HasSuffix predicate on the "identifier" field.
func IdentifierIn ¶
func IdentifierIn(vs ...string) predicate.Credential
IdentifierIn applies the In predicate on the "identifier" field.
func IdentifierIsNil ¶
func IdentifierIsNil() predicate.Credential
IdentifierIsNil applies the IsNil predicate on the "identifier" field.
func IdentifierLT ¶
func IdentifierLT(v string) predicate.Credential
IdentifierLT applies the LT predicate on the "identifier" field.
func IdentifierLTE ¶
func IdentifierLTE(v string) predicate.Credential
IdentifierLTE applies the LTE predicate on the "identifier" field.
func IdentifierNEQ ¶
func IdentifierNEQ(v string) predicate.Credential
IdentifierNEQ applies the NEQ predicate on the "identifier" field.
func IdentifierNotIn ¶
func IdentifierNotIn(vs ...string) predicate.Credential
IdentifierNotIn applies the NotIn predicate on the "identifier" field.
func IdentifierNotNil ¶
func IdentifierNotNil() predicate.Credential
IdentifierNotNil applies the NotNil predicate on the "identifier" field.
func KeyAlgorithm ¶
func KeyAlgorithm(v string) predicate.Credential
KeyAlgorithm applies equality check predicate on the "key_algorithm" field. It's identical to KeyAlgorithmEQ.
func KeyAlgorithmContains ¶
func KeyAlgorithmContains(v string) predicate.Credential
KeyAlgorithmContains applies the Contains predicate on the "key_algorithm" field.
func KeyAlgorithmContainsFold ¶
func KeyAlgorithmContainsFold(v string) predicate.Credential
KeyAlgorithmContainsFold applies the ContainsFold predicate on the "key_algorithm" field.
func KeyAlgorithmEQ ¶
func KeyAlgorithmEQ(v string) predicate.Credential
KeyAlgorithmEQ applies the EQ predicate on the "key_algorithm" field.
func KeyAlgorithmEqualFold ¶
func KeyAlgorithmEqualFold(v string) predicate.Credential
KeyAlgorithmEqualFold applies the EqualFold predicate on the "key_algorithm" field.
func KeyAlgorithmGT ¶
func KeyAlgorithmGT(v string) predicate.Credential
KeyAlgorithmGT applies the GT predicate on the "key_algorithm" field.
func KeyAlgorithmGTE ¶
func KeyAlgorithmGTE(v string) predicate.Credential
KeyAlgorithmGTE applies the GTE predicate on the "key_algorithm" field.
func KeyAlgorithmHasPrefix ¶
func KeyAlgorithmHasPrefix(v string) predicate.Credential
KeyAlgorithmHasPrefix applies the HasPrefix predicate on the "key_algorithm" field.
func KeyAlgorithmHasSuffix ¶
func KeyAlgorithmHasSuffix(v string) predicate.Credential
KeyAlgorithmHasSuffix applies the HasSuffix predicate on the "key_algorithm" field.
func KeyAlgorithmIn ¶
func KeyAlgorithmIn(vs ...string) predicate.Credential
KeyAlgorithmIn applies the In predicate on the "key_algorithm" field.
func KeyAlgorithmIsNil ¶
func KeyAlgorithmIsNil() predicate.Credential
KeyAlgorithmIsNil applies the IsNil predicate on the "key_algorithm" field.
func KeyAlgorithmLT ¶
func KeyAlgorithmLT(v string) predicate.Credential
KeyAlgorithmLT applies the LT predicate on the "key_algorithm" field.
func KeyAlgorithmLTE ¶
func KeyAlgorithmLTE(v string) predicate.Credential
KeyAlgorithmLTE applies the LTE predicate on the "key_algorithm" field.
func KeyAlgorithmNEQ ¶
func KeyAlgorithmNEQ(v string) predicate.Credential
KeyAlgorithmNEQ applies the NEQ predicate on the "key_algorithm" field.
func KeyAlgorithmNotIn ¶
func KeyAlgorithmNotIn(vs ...string) predicate.Credential
KeyAlgorithmNotIn applies the NotIn predicate on the "key_algorithm" field.
func KeyAlgorithmNotNil ¶
func KeyAlgorithmNotNil() predicate.Credential
KeyAlgorithmNotNil applies the NotNil predicate on the "key_algorithm" field.
func KeyID ¶
func KeyID(v string) predicate.Credential
KeyID applies equality check predicate on the "key_id" field. It's identical to KeyIDEQ.
func KeyIDContains ¶
func KeyIDContains(v string) predicate.Credential
KeyIDContains applies the Contains predicate on the "key_id" field.
func KeyIDContainsFold ¶
func KeyIDContainsFold(v string) predicate.Credential
KeyIDContainsFold applies the ContainsFold predicate on the "key_id" field.
func KeyIDEQ ¶
func KeyIDEQ(v string) predicate.Credential
KeyIDEQ applies the EQ predicate on the "key_id" field.
func KeyIDEqualFold ¶
func KeyIDEqualFold(v string) predicate.Credential
KeyIDEqualFold applies the EqualFold predicate on the "key_id" field.
func KeyIDGT ¶
func KeyIDGT(v string) predicate.Credential
KeyIDGT applies the GT predicate on the "key_id" field.
func KeyIDGTE ¶
func KeyIDGTE(v string) predicate.Credential
KeyIDGTE applies the GTE predicate on the "key_id" field.
func KeyIDHasPrefix ¶
func KeyIDHasPrefix(v string) predicate.Credential
KeyIDHasPrefix applies the HasPrefix predicate on the "key_id" field.
func KeyIDHasSuffix ¶
func KeyIDHasSuffix(v string) predicate.Credential
KeyIDHasSuffix applies the HasSuffix predicate on the "key_id" field.
func KeyIDIn ¶
func KeyIDIn(vs ...string) predicate.Credential
KeyIDIn applies the In predicate on the "key_id" field.
func KeyIDIsNil ¶
func KeyIDIsNil() predicate.Credential
KeyIDIsNil applies the IsNil predicate on the "key_id" field.
func KeyIDLT ¶
func KeyIDLT(v string) predicate.Credential
KeyIDLT applies the LT predicate on the "key_id" field.
func KeyIDLTE ¶
func KeyIDLTE(v string) predicate.Credential
KeyIDLTE applies the LTE predicate on the "key_id" field.
func KeyIDNEQ ¶
func KeyIDNEQ(v string) predicate.Credential
KeyIDNEQ applies the NEQ predicate on the "key_id" field.
func KeyIDNotIn ¶
func KeyIDNotIn(vs ...string) predicate.Credential
KeyIDNotIn applies the NotIn predicate on the "key_id" field.
func KeyIDNotNil ¶
func KeyIDNotNil() predicate.Credential
KeyIDNotNil applies the NotNil predicate on the "key_id" field.
func LastUsedAt ¶
func LastUsedAt(v time.Time) predicate.Credential
LastUsedAt applies equality check predicate on the "last_used_at" field. It's identical to LastUsedAtEQ.
func LastUsedAtEQ ¶
func LastUsedAtEQ(v time.Time) predicate.Credential
LastUsedAtEQ applies the EQ predicate on the "last_used_at" field.
func LastUsedAtGT ¶
func LastUsedAtGT(v time.Time) predicate.Credential
LastUsedAtGT applies the GT predicate on the "last_used_at" field.
func LastUsedAtGTE ¶
func LastUsedAtGTE(v time.Time) predicate.Credential
LastUsedAtGTE applies the GTE predicate on the "last_used_at" field.
func LastUsedAtIn ¶
func LastUsedAtIn(vs ...time.Time) predicate.Credential
LastUsedAtIn applies the In predicate on the "last_used_at" field.
func LastUsedAtIsNil ¶
func LastUsedAtIsNil() predicate.Credential
LastUsedAtIsNil applies the IsNil predicate on the "last_used_at" field.
func LastUsedAtLT ¶
func LastUsedAtLT(v time.Time) predicate.Credential
LastUsedAtLT applies the LT predicate on the "last_used_at" field.
func LastUsedAtLTE ¶
func LastUsedAtLTE(v time.Time) predicate.Credential
LastUsedAtLTE applies the LTE predicate on the "last_used_at" field.
func LastUsedAtNEQ ¶
func LastUsedAtNEQ(v time.Time) predicate.Credential
LastUsedAtNEQ applies the NEQ predicate on the "last_used_at" field.
func LastUsedAtNotIn ¶
func LastUsedAtNotIn(vs ...time.Time) predicate.Credential
LastUsedAtNotIn applies the NotIn predicate on the "last_used_at" field.
func LastUsedAtNotNil ¶
func LastUsedAtNotNil() predicate.Credential
LastUsedAtNotNil applies the NotNil predicate on the "last_used_at" field.
func LastUsedIP ¶
func LastUsedIP(v string) predicate.Credential
LastUsedIP applies equality check predicate on the "last_used_ip" field. It's identical to LastUsedIPEQ.
func LastUsedIPContains ¶
func LastUsedIPContains(v string) predicate.Credential
LastUsedIPContains applies the Contains predicate on the "last_used_ip" field.
func LastUsedIPContainsFold ¶
func LastUsedIPContainsFold(v string) predicate.Credential
LastUsedIPContainsFold applies the ContainsFold predicate on the "last_used_ip" field.
func LastUsedIPEQ ¶
func LastUsedIPEQ(v string) predicate.Credential
LastUsedIPEQ applies the EQ predicate on the "last_used_ip" field.
func LastUsedIPEqualFold ¶
func LastUsedIPEqualFold(v string) predicate.Credential
LastUsedIPEqualFold applies the EqualFold predicate on the "last_used_ip" field.
func LastUsedIPGT ¶
func LastUsedIPGT(v string) predicate.Credential
LastUsedIPGT applies the GT predicate on the "last_used_ip" field.
func LastUsedIPGTE ¶
func LastUsedIPGTE(v string) predicate.Credential
LastUsedIPGTE applies the GTE predicate on the "last_used_ip" field.
func LastUsedIPHasPrefix ¶
func LastUsedIPHasPrefix(v string) predicate.Credential
LastUsedIPHasPrefix applies the HasPrefix predicate on the "last_used_ip" field.
func LastUsedIPHasSuffix ¶
func LastUsedIPHasSuffix(v string) predicate.Credential
LastUsedIPHasSuffix applies the HasSuffix predicate on the "last_used_ip" field.
func LastUsedIPIn ¶
func LastUsedIPIn(vs ...string) predicate.Credential
LastUsedIPIn applies the In predicate on the "last_used_ip" field.
func LastUsedIPIsNil ¶
func LastUsedIPIsNil() predicate.Credential
LastUsedIPIsNil applies the IsNil predicate on the "last_used_ip" field.
func LastUsedIPLT ¶
func LastUsedIPLT(v string) predicate.Credential
LastUsedIPLT applies the LT predicate on the "last_used_ip" field.
func LastUsedIPLTE ¶
func LastUsedIPLTE(v string) predicate.Credential
LastUsedIPLTE applies the LTE predicate on the "last_used_ip" field.
func LastUsedIPNEQ ¶
func LastUsedIPNEQ(v string) predicate.Credential
LastUsedIPNEQ applies the NEQ predicate on the "last_used_ip" field.
func LastUsedIPNotIn ¶
func LastUsedIPNotIn(vs ...string) predicate.Credential
LastUsedIPNotIn applies the NotIn predicate on the "last_used_ip" field.
func LastUsedIPNotNil ¶
func LastUsedIPNotNil() predicate.Credential
LastUsedIPNotNil applies the NotNil predicate on the "last_used_ip" field.
func MetadataIsNil ¶
func MetadataIsNil() predicate.Credential
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
func MetadataNotNil() predicate.Credential
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func Name ¶
func Name(v string) predicate.Credential
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.Credential
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.Credential
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.Credential
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.Credential
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.Credential
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.Credential
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.Credential
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.Credential
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.Credential
NameIn applies the In predicate on the "name" field.
func NameIsNil ¶
func NameIsNil() predicate.Credential
NameIsNil applies the IsNil predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.Credential
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.Credential
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.Credential
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.Credential
NameNotIn applies the NotIn predicate on the "name" field.
func NameNotNil ¶
func NameNotNil() predicate.Credential
NameNotNil applies the NotNil predicate on the "name" field.
func Not ¶
func Not(p predicate.Credential) predicate.Credential
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.Credential) predicate.Credential
Or groups predicates with the OR operator between them.
func PrincipalID ¶
func PrincipalID(v uuid.UUID) predicate.Credential
PrincipalID applies equality check predicate on the "principal_id" field. It's identical to PrincipalIDEQ.
func PrincipalIDEQ ¶
func PrincipalIDEQ(v uuid.UUID) predicate.Credential
PrincipalIDEQ applies the EQ predicate on the "principal_id" field.
func PrincipalIDIn ¶
func PrincipalIDIn(vs ...uuid.UUID) predicate.Credential
PrincipalIDIn applies the In predicate on the "principal_id" field.
func PrincipalIDNEQ ¶
func PrincipalIDNEQ(v uuid.UUID) predicate.Credential
PrincipalIDNEQ applies the NEQ predicate on the "principal_id" field.
func PrincipalIDNotIn ¶
func PrincipalIDNotIn(vs ...uuid.UUID) predicate.Credential
PrincipalIDNotIn applies the NotIn predicate on the "principal_id" field.
func PublicKey ¶
func PublicKey(v string) predicate.Credential
PublicKey applies equality check predicate on the "public_key" field. It's identical to PublicKeyEQ.
func PublicKeyContains ¶
func PublicKeyContains(v string) predicate.Credential
PublicKeyContains applies the Contains predicate on the "public_key" field.
func PublicKeyContainsFold ¶
func PublicKeyContainsFold(v string) predicate.Credential
PublicKeyContainsFold applies the ContainsFold predicate on the "public_key" field.
func PublicKeyEQ ¶
func PublicKeyEQ(v string) predicate.Credential
PublicKeyEQ applies the EQ predicate on the "public_key" field.
func PublicKeyEqualFold ¶
func PublicKeyEqualFold(v string) predicate.Credential
PublicKeyEqualFold applies the EqualFold predicate on the "public_key" field.
func PublicKeyGT ¶
func PublicKeyGT(v string) predicate.Credential
PublicKeyGT applies the GT predicate on the "public_key" field.
func PublicKeyGTE ¶
func PublicKeyGTE(v string) predicate.Credential
PublicKeyGTE applies the GTE predicate on the "public_key" field.
func PublicKeyHasPrefix ¶
func PublicKeyHasPrefix(v string) predicate.Credential
PublicKeyHasPrefix applies the HasPrefix predicate on the "public_key" field.
func PublicKeyHasSuffix ¶
func PublicKeyHasSuffix(v string) predicate.Credential
PublicKeyHasSuffix applies the HasSuffix predicate on the "public_key" field.
func PublicKeyIn ¶
func PublicKeyIn(vs ...string) predicate.Credential
PublicKeyIn applies the In predicate on the "public_key" field.
func PublicKeyIsNil ¶
func PublicKeyIsNil() predicate.Credential
PublicKeyIsNil applies the IsNil predicate on the "public_key" field.
func PublicKeyLT ¶
func PublicKeyLT(v string) predicate.Credential
PublicKeyLT applies the LT predicate on the "public_key" field.
func PublicKeyLTE ¶
func PublicKeyLTE(v string) predicate.Credential
PublicKeyLTE applies the LTE predicate on the "public_key" field.
func PublicKeyNEQ ¶
func PublicKeyNEQ(v string) predicate.Credential
PublicKeyNEQ applies the NEQ predicate on the "public_key" field.
func PublicKeyNotIn ¶
func PublicKeyNotIn(vs ...string) predicate.Credential
PublicKeyNotIn applies the NotIn predicate on the "public_key" field.
func PublicKeyNotNil ¶
func PublicKeyNotNil() predicate.Credential
PublicKeyNotNil applies the NotNil predicate on the "public_key" field.
func Revoked ¶
func Revoked(v bool) predicate.Credential
Revoked applies equality check predicate on the "revoked" field. It's identical to RevokedEQ.
func RevokedAt ¶
func RevokedAt(v time.Time) predicate.Credential
RevokedAt applies equality check predicate on the "revoked_at" field. It's identical to RevokedAtEQ.
func RevokedAtEQ ¶
func RevokedAtEQ(v time.Time) predicate.Credential
RevokedAtEQ applies the EQ predicate on the "revoked_at" field.
func RevokedAtGT ¶
func RevokedAtGT(v time.Time) predicate.Credential
RevokedAtGT applies the GT predicate on the "revoked_at" field.
func RevokedAtGTE ¶
func RevokedAtGTE(v time.Time) predicate.Credential
RevokedAtGTE applies the GTE predicate on the "revoked_at" field.
func RevokedAtIn ¶
func RevokedAtIn(vs ...time.Time) predicate.Credential
RevokedAtIn applies the In predicate on the "revoked_at" field.
func RevokedAtIsNil ¶
func RevokedAtIsNil() predicate.Credential
RevokedAtIsNil applies the IsNil predicate on the "revoked_at" field.
func RevokedAtLT ¶
func RevokedAtLT(v time.Time) predicate.Credential
RevokedAtLT applies the LT predicate on the "revoked_at" field.
func RevokedAtLTE ¶
func RevokedAtLTE(v time.Time) predicate.Credential
RevokedAtLTE applies the LTE predicate on the "revoked_at" field.
func RevokedAtNEQ ¶
func RevokedAtNEQ(v time.Time) predicate.Credential
RevokedAtNEQ applies the NEQ predicate on the "revoked_at" field.
func RevokedAtNotIn ¶
func RevokedAtNotIn(vs ...time.Time) predicate.Credential
RevokedAtNotIn applies the NotIn predicate on the "revoked_at" field.
func RevokedAtNotNil ¶
func RevokedAtNotNil() predicate.Credential
RevokedAtNotNil applies the NotNil predicate on the "revoked_at" field.
func RevokedEQ ¶
func RevokedEQ(v bool) predicate.Credential
RevokedEQ applies the EQ predicate on the "revoked" field.
func RevokedNEQ ¶
func RevokedNEQ(v bool) predicate.Credential
RevokedNEQ applies the NEQ predicate on the "revoked" field.
func RevokedReason ¶
func RevokedReason(v string) predicate.Credential
RevokedReason applies equality check predicate on the "revoked_reason" field. It's identical to RevokedReasonEQ.
func RevokedReasonContains ¶
func RevokedReasonContains(v string) predicate.Credential
RevokedReasonContains applies the Contains predicate on the "revoked_reason" field.
func RevokedReasonContainsFold ¶
func RevokedReasonContainsFold(v string) predicate.Credential
RevokedReasonContainsFold applies the ContainsFold predicate on the "revoked_reason" field.
func RevokedReasonEQ ¶
func RevokedReasonEQ(v string) predicate.Credential
RevokedReasonEQ applies the EQ predicate on the "revoked_reason" field.
func RevokedReasonEqualFold ¶
func RevokedReasonEqualFold(v string) predicate.Credential
RevokedReasonEqualFold applies the EqualFold predicate on the "revoked_reason" field.
func RevokedReasonGT ¶
func RevokedReasonGT(v string) predicate.Credential
RevokedReasonGT applies the GT predicate on the "revoked_reason" field.
func RevokedReasonGTE ¶
func RevokedReasonGTE(v string) predicate.Credential
RevokedReasonGTE applies the GTE predicate on the "revoked_reason" field.
func RevokedReasonHasPrefix ¶
func RevokedReasonHasPrefix(v string) predicate.Credential
RevokedReasonHasPrefix applies the HasPrefix predicate on the "revoked_reason" field.
func RevokedReasonHasSuffix ¶
func RevokedReasonHasSuffix(v string) predicate.Credential
RevokedReasonHasSuffix applies the HasSuffix predicate on the "revoked_reason" field.
func RevokedReasonIn ¶
func RevokedReasonIn(vs ...string) predicate.Credential
RevokedReasonIn applies the In predicate on the "revoked_reason" field.
func RevokedReasonIsNil ¶
func RevokedReasonIsNil() predicate.Credential
RevokedReasonIsNil applies the IsNil predicate on the "revoked_reason" field.
func RevokedReasonLT ¶
func RevokedReasonLT(v string) predicate.Credential
RevokedReasonLT applies the LT predicate on the "revoked_reason" field.
func RevokedReasonLTE ¶
func RevokedReasonLTE(v string) predicate.Credential
RevokedReasonLTE applies the LTE predicate on the "revoked_reason" field.
func RevokedReasonNEQ ¶
func RevokedReasonNEQ(v string) predicate.Credential
RevokedReasonNEQ applies the NEQ predicate on the "revoked_reason" field.
func RevokedReasonNotIn ¶
func RevokedReasonNotIn(vs ...string) predicate.Credential
RevokedReasonNotIn applies the NotIn predicate on the "revoked_reason" field.
func RevokedReasonNotNil ¶
func RevokedReasonNotNil() predicate.Credential
RevokedReasonNotNil applies the NotNil predicate on the "revoked_reason" field.
func SecretHash ¶
func SecretHash(v string) predicate.Credential
SecretHash applies equality check predicate on the "secret_hash" field. It's identical to SecretHashEQ.
func SecretHashContains ¶
func SecretHashContains(v string) predicate.Credential
SecretHashContains applies the Contains predicate on the "secret_hash" field.
func SecretHashContainsFold ¶
func SecretHashContainsFold(v string) predicate.Credential
SecretHashContainsFold applies the ContainsFold predicate on the "secret_hash" field.
func SecretHashEQ ¶
func SecretHashEQ(v string) predicate.Credential
SecretHashEQ applies the EQ predicate on the "secret_hash" field.
func SecretHashEqualFold ¶
func SecretHashEqualFold(v string) predicate.Credential
SecretHashEqualFold applies the EqualFold predicate on the "secret_hash" field.
func SecretHashGT ¶
func SecretHashGT(v string) predicate.Credential
SecretHashGT applies the GT predicate on the "secret_hash" field.
func SecretHashGTE ¶
func SecretHashGTE(v string) predicate.Credential
SecretHashGTE applies the GTE predicate on the "secret_hash" field.
func SecretHashHasPrefix ¶
func SecretHashHasPrefix(v string) predicate.Credential
SecretHashHasPrefix applies the HasPrefix predicate on the "secret_hash" field.
func SecretHashHasSuffix ¶
func SecretHashHasSuffix(v string) predicate.Credential
SecretHashHasSuffix applies the HasSuffix predicate on the "secret_hash" field.
func SecretHashIn ¶
func SecretHashIn(vs ...string) predicate.Credential
SecretHashIn applies the In predicate on the "secret_hash" field.
func SecretHashIsNil ¶
func SecretHashIsNil() predicate.Credential
SecretHashIsNil applies the IsNil predicate on the "secret_hash" field.
func SecretHashLT ¶
func SecretHashLT(v string) predicate.Credential
SecretHashLT applies the LT predicate on the "secret_hash" field.
func SecretHashLTE ¶
func SecretHashLTE(v string) predicate.Credential
SecretHashLTE applies the LTE predicate on the "secret_hash" field.
func SecretHashNEQ ¶
func SecretHashNEQ(v string) predicate.Credential
SecretHashNEQ applies the NEQ predicate on the "secret_hash" field.
func SecretHashNotIn ¶
func SecretHashNotIn(vs ...string) predicate.Credential
SecretHashNotIn applies the NotIn predicate on the "secret_hash" field.
func SecretHashNotNil ¶
func SecretHashNotNil() predicate.Credential
SecretHashNotNil applies the NotNil predicate on the "secret_hash" field.
func TypeEQ ¶
func TypeEQ(v Type) predicate.Credential
TypeEQ applies the EQ predicate on the "type" field.
func TypeIn ¶
func TypeIn(vs ...Type) predicate.Credential
TypeIn applies the In predicate on the "type" field.
func TypeNEQ ¶
func TypeNEQ(v Type) predicate.Credential
TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNotIn ¶
func TypeNotIn(vs ...Type) predicate.Credential
TypeNotIn applies the NotIn predicate on the "type" field.
func TypeValidator ¶
TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.Credential
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.Credential
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.Credential
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.Credential
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.Credential
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.Credential
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.Credential
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.Credential
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.Credential
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).
func WebauthnAaguid ¶
func WebauthnAaguid(v string) predicate.Credential
WebauthnAaguid applies equality check predicate on the "webauthn_aaguid" field. It's identical to WebauthnAaguidEQ.
func WebauthnAaguidContains ¶
func WebauthnAaguidContains(v string) predicate.Credential
WebauthnAaguidContains applies the Contains predicate on the "webauthn_aaguid" field.
func WebauthnAaguidContainsFold ¶
func WebauthnAaguidContainsFold(v string) predicate.Credential
WebauthnAaguidContainsFold applies the ContainsFold predicate on the "webauthn_aaguid" field.
func WebauthnAaguidEQ ¶
func WebauthnAaguidEQ(v string) predicate.Credential
WebauthnAaguidEQ applies the EQ predicate on the "webauthn_aaguid" field.
func WebauthnAaguidEqualFold ¶
func WebauthnAaguidEqualFold(v string) predicate.Credential
WebauthnAaguidEqualFold applies the EqualFold predicate on the "webauthn_aaguid" field.
func WebauthnAaguidGT ¶
func WebauthnAaguidGT(v string) predicate.Credential
WebauthnAaguidGT applies the GT predicate on the "webauthn_aaguid" field.
func WebauthnAaguidGTE ¶
func WebauthnAaguidGTE(v string) predicate.Credential
WebauthnAaguidGTE applies the GTE predicate on the "webauthn_aaguid" field.
func WebauthnAaguidHasPrefix ¶
func WebauthnAaguidHasPrefix(v string) predicate.Credential
WebauthnAaguidHasPrefix applies the HasPrefix predicate on the "webauthn_aaguid" field.
func WebauthnAaguidHasSuffix ¶
func WebauthnAaguidHasSuffix(v string) predicate.Credential
WebauthnAaguidHasSuffix applies the HasSuffix predicate on the "webauthn_aaguid" field.
func WebauthnAaguidIn ¶
func WebauthnAaguidIn(vs ...string) predicate.Credential
WebauthnAaguidIn applies the In predicate on the "webauthn_aaguid" field.
func WebauthnAaguidIsNil ¶
func WebauthnAaguidIsNil() predicate.Credential
WebauthnAaguidIsNil applies the IsNil predicate on the "webauthn_aaguid" field.
func WebauthnAaguidLT ¶
func WebauthnAaguidLT(v string) predicate.Credential
WebauthnAaguidLT applies the LT predicate on the "webauthn_aaguid" field.
func WebauthnAaguidLTE ¶
func WebauthnAaguidLTE(v string) predicate.Credential
WebauthnAaguidLTE applies the LTE predicate on the "webauthn_aaguid" field.
func WebauthnAaguidNEQ ¶
func WebauthnAaguidNEQ(v string) predicate.Credential
WebauthnAaguidNEQ applies the NEQ predicate on the "webauthn_aaguid" field.
func WebauthnAaguidNotIn ¶
func WebauthnAaguidNotIn(vs ...string) predicate.Credential
WebauthnAaguidNotIn applies the NotIn predicate on the "webauthn_aaguid" field.
func WebauthnAaguidNotNil ¶
func WebauthnAaguidNotNil() predicate.Credential
WebauthnAaguidNotNil applies the NotNil predicate on the "webauthn_aaguid" field.
func WebauthnCredentialID ¶
func WebauthnCredentialID(v []byte) predicate.Credential
WebauthnCredentialID applies equality check predicate on the "webauthn_credential_id" field. It's identical to WebauthnCredentialIDEQ.
func WebauthnCredentialIDEQ ¶
func WebauthnCredentialIDEQ(v []byte) predicate.Credential
WebauthnCredentialIDEQ applies the EQ predicate on the "webauthn_credential_id" field.
func WebauthnCredentialIDGT ¶
func WebauthnCredentialIDGT(v []byte) predicate.Credential
WebauthnCredentialIDGT applies the GT predicate on the "webauthn_credential_id" field.
func WebauthnCredentialIDGTE ¶
func WebauthnCredentialIDGTE(v []byte) predicate.Credential
WebauthnCredentialIDGTE applies the GTE predicate on the "webauthn_credential_id" field.
func WebauthnCredentialIDIn ¶
func WebauthnCredentialIDIn(vs ...[]byte) predicate.Credential
WebauthnCredentialIDIn applies the In predicate on the "webauthn_credential_id" field.
func WebauthnCredentialIDIsNil ¶
func WebauthnCredentialIDIsNil() predicate.Credential
WebauthnCredentialIDIsNil applies the IsNil predicate on the "webauthn_credential_id" field.
func WebauthnCredentialIDLT ¶
func WebauthnCredentialIDLT(v []byte) predicate.Credential
WebauthnCredentialIDLT applies the LT predicate on the "webauthn_credential_id" field.
func WebauthnCredentialIDLTE ¶
func WebauthnCredentialIDLTE(v []byte) predicate.Credential
WebauthnCredentialIDLTE applies the LTE predicate on the "webauthn_credential_id" field.
func WebauthnCredentialIDNEQ ¶
func WebauthnCredentialIDNEQ(v []byte) predicate.Credential
WebauthnCredentialIDNEQ applies the NEQ predicate on the "webauthn_credential_id" field.
func WebauthnCredentialIDNotIn ¶
func WebauthnCredentialIDNotIn(vs ...[]byte) predicate.Credential
WebauthnCredentialIDNotIn applies the NotIn predicate on the "webauthn_credential_id" field.
func WebauthnCredentialIDNotNil ¶
func WebauthnCredentialIDNotNil() predicate.Credential
WebauthnCredentialIDNotNil applies the NotNil predicate on the "webauthn_credential_id" field.
func WebauthnPublicKey ¶
func WebauthnPublicKey(v []byte) predicate.Credential
WebauthnPublicKey applies equality check predicate on the "webauthn_public_key" field. It's identical to WebauthnPublicKeyEQ.
func WebauthnPublicKeyEQ ¶
func WebauthnPublicKeyEQ(v []byte) predicate.Credential
WebauthnPublicKeyEQ applies the EQ predicate on the "webauthn_public_key" field.
func WebauthnPublicKeyGT ¶
func WebauthnPublicKeyGT(v []byte) predicate.Credential
WebauthnPublicKeyGT applies the GT predicate on the "webauthn_public_key" field.
func WebauthnPublicKeyGTE ¶
func WebauthnPublicKeyGTE(v []byte) predicate.Credential
WebauthnPublicKeyGTE applies the GTE predicate on the "webauthn_public_key" field.
func WebauthnPublicKeyIn ¶
func WebauthnPublicKeyIn(vs ...[]byte) predicate.Credential
WebauthnPublicKeyIn applies the In predicate on the "webauthn_public_key" field.
func WebauthnPublicKeyIsNil ¶
func WebauthnPublicKeyIsNil() predicate.Credential
WebauthnPublicKeyIsNil applies the IsNil predicate on the "webauthn_public_key" field.
func WebauthnPublicKeyLT ¶
func WebauthnPublicKeyLT(v []byte) predicate.Credential
WebauthnPublicKeyLT applies the LT predicate on the "webauthn_public_key" field.
func WebauthnPublicKeyLTE ¶
func WebauthnPublicKeyLTE(v []byte) predicate.Credential
WebauthnPublicKeyLTE applies the LTE predicate on the "webauthn_public_key" field.
func WebauthnPublicKeyNEQ ¶
func WebauthnPublicKeyNEQ(v []byte) predicate.Credential
WebauthnPublicKeyNEQ applies the NEQ predicate on the "webauthn_public_key" field.
func WebauthnPublicKeyNotIn ¶
func WebauthnPublicKeyNotIn(vs ...[]byte) predicate.Credential
WebauthnPublicKeyNotIn applies the NotIn predicate on the "webauthn_public_key" field.
func WebauthnPublicKeyNotNil ¶
func WebauthnPublicKeyNotNil() predicate.Credential
WebauthnPublicKeyNotNil applies the NotNil predicate on the "webauthn_public_key" field.
func WebauthnSignCount ¶
func WebauthnSignCount(v uint32) predicate.Credential
WebauthnSignCount applies equality check predicate on the "webauthn_sign_count" field. It's identical to WebauthnSignCountEQ.
func WebauthnSignCountEQ ¶
func WebauthnSignCountEQ(v uint32) predicate.Credential
WebauthnSignCountEQ applies the EQ predicate on the "webauthn_sign_count" field.
func WebauthnSignCountGT ¶
func WebauthnSignCountGT(v uint32) predicate.Credential
WebauthnSignCountGT applies the GT predicate on the "webauthn_sign_count" field.
func WebauthnSignCountGTE ¶
func WebauthnSignCountGTE(v uint32) predicate.Credential
WebauthnSignCountGTE applies the GTE predicate on the "webauthn_sign_count" field.
func WebauthnSignCountIn ¶
func WebauthnSignCountIn(vs ...uint32) predicate.Credential
WebauthnSignCountIn applies the In predicate on the "webauthn_sign_count" field.
func WebauthnSignCountIsNil ¶
func WebauthnSignCountIsNil() predicate.Credential
WebauthnSignCountIsNil applies the IsNil predicate on the "webauthn_sign_count" field.
func WebauthnSignCountLT ¶
func WebauthnSignCountLT(v uint32) predicate.Credential
WebauthnSignCountLT applies the LT predicate on the "webauthn_sign_count" field.
func WebauthnSignCountLTE ¶
func WebauthnSignCountLTE(v uint32) predicate.Credential
WebauthnSignCountLTE applies the LTE predicate on the "webauthn_sign_count" field.
func WebauthnSignCountNEQ ¶
func WebauthnSignCountNEQ(v uint32) predicate.Credential
WebauthnSignCountNEQ applies the NEQ predicate on the "webauthn_sign_count" field.
func WebauthnSignCountNotIn ¶
func WebauthnSignCountNotIn(vs ...uint32) predicate.Credential
WebauthnSignCountNotIn applies the NotIn predicate on the "webauthn_sign_count" field.
func WebauthnSignCountNotNil ¶
func WebauthnSignCountNotNil() predicate.Credential
WebauthnSignCountNotNil applies the NotNil predicate on the "webauthn_sign_count" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Credential queries.
func ByActive ¶
func ByActive(opts ...sql.OrderTermOption) OrderOption
ByActive orders the results by the active field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByExpiresAt ¶
func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
ByExpiresAt orders the results by the expires_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIdentifier ¶
func ByIdentifier(opts ...sql.OrderTermOption) OrderOption
ByIdentifier orders the results by the identifier field.
func ByKeyAlgorithm ¶
func ByKeyAlgorithm(opts ...sql.OrderTermOption) OrderOption
ByKeyAlgorithm orders the results by the key_algorithm field.
func ByKeyID ¶
func ByKeyID(opts ...sql.OrderTermOption) OrderOption
ByKeyID orders the results by the key_id field.
func ByLastUsedAt ¶
func ByLastUsedAt(opts ...sql.OrderTermOption) OrderOption
ByLastUsedAt orders the results by the last_used_at field.
func ByLastUsedIP ¶
func ByLastUsedIP(opts ...sql.OrderTermOption) OrderOption
ByLastUsedIP orders the results by the last_used_ip field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name 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 ByPublicKey ¶
func ByPublicKey(opts ...sql.OrderTermOption) OrderOption
ByPublicKey orders the results by the public_key field.
func ByRevoked ¶
func ByRevoked(opts ...sql.OrderTermOption) OrderOption
ByRevoked orders the results by the revoked field.
func ByRevokedAt ¶
func ByRevokedAt(opts ...sql.OrderTermOption) OrderOption
ByRevokedAt orders the results by the revoked_at field.
func ByRevokedReason ¶
func ByRevokedReason(opts ...sql.OrderTermOption) OrderOption
ByRevokedReason orders the results by the revoked_reason field.
func BySecretHash ¶
func BySecretHash(opts ...sql.OrderTermOption) OrderOption
BySecretHash orders the results by the secret_hash field.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByWebauthnAaguid ¶
func ByWebauthnAaguid(opts ...sql.OrderTermOption) OrderOption
ByWebauthnAaguid orders the results by the webauthn_aaguid field.
func ByWebauthnSignCount ¶
func ByWebauthnSignCount(opts ...sql.OrderTermOption) OrderOption
ByWebauthnSignCount orders the results by the webauthn_sign_count field.