Documentation
¶
Index ¶
- Constants
- Variables
- func APIKey(v string) predicate.Credentials
- func APIKeyContains(v string) predicate.Credentials
- func APIKeyContainsFold(v string) predicate.Credentials
- func APIKeyEQ(v string) predicate.Credentials
- func APIKeyEqualFold(v string) predicate.Credentials
- func APIKeyGT(v string) predicate.Credentials
- func APIKeyGTE(v string) predicate.Credentials
- func APIKeyHasPrefix(v string) predicate.Credentials
- func APIKeyHasSuffix(v string) predicate.Credentials
- func APIKeyIn(vs ...string) predicate.Credentials
- func APIKeyIsNil() predicate.Credentials
- func APIKeyLT(v string) predicate.Credentials
- func APIKeyLTE(v string) predicate.Credentials
- func APIKeyNEQ(v string) predicate.Credentials
- func APIKeyNotIn(vs ...string) predicate.Credentials
- func APIKeyNotNil() predicate.Credentials
- func APISecretEncrypted(v []byte) predicate.Credentials
- func APISecretEncryptedEQ(v []byte) predicate.Credentials
- func APISecretEncryptedGT(v []byte) predicate.Credentials
- func APISecretEncryptedGTE(v []byte) predicate.Credentials
- func APISecretEncryptedIn(vs ...[]byte) predicate.Credentials
- func APISecretEncryptedIsNil() predicate.Credentials
- func APISecretEncryptedLT(v []byte) predicate.Credentials
- func APISecretEncryptedLTE(v []byte) predicate.Credentials
- func APISecretEncryptedNEQ(v []byte) predicate.Credentials
- func APISecretEncryptedNotIn(vs ...[]byte) predicate.Credentials
- func APISecretEncryptedNotNil() predicate.Credentials
- func And(predicates ...predicate.Credentials) predicate.Credentials
- func CaChainIsNil() predicate.Credentials
- func CaChainNotNil() predicate.Credentials
- func Certificate(v []byte) predicate.Credentials
- func CertificateEQ(v []byte) predicate.Credentials
- func CertificateGT(v []byte) predicate.Credentials
- func CertificateGTE(v []byte) predicate.Credentials
- func CertificateIn(vs ...[]byte) predicate.Credentials
- func CertificateIsNil() predicate.Credentials
- func CertificateLT(v []byte) predicate.Credentials
- func CertificateLTE(v []byte) predicate.Credentials
- func CertificateNEQ(v []byte) predicate.Credentials
- func CertificateNotIn(vs ...[]byte) predicate.Credentials
- func CertificateNotNil() predicate.Credentials
- func Code(v string) predicate.Credentials
- func CodeContains(v string) predicate.Credentials
- func CodeContainsFold(v string) predicate.Credentials
- func CodeEQ(v string) predicate.Credentials
- func CodeEqualFold(v string) predicate.Credentials
- func CodeGT(v string) predicate.Credentials
- func CodeGTE(v string) predicate.Credentials
- func CodeHasPrefix(v string) predicate.Credentials
- func CodeHasSuffix(v string) predicate.Credentials
- func CodeIn(vs ...string) predicate.Credentials
- func CodeLT(v string) predicate.Credentials
- func CodeLTE(v string) predicate.Credentials
- func CodeNEQ(v string) predicate.Credentials
- func CodeNotIn(vs ...string) predicate.Credentials
- func CreatedAt(v time.Time) predicate.Credentials
- func CreatedAtEQ(v time.Time) predicate.Credentials
- func CreatedAtGT(v time.Time) predicate.Credentials
- func CreatedAtGTE(v time.Time) predicate.Credentials
- func CreatedAtIn(vs ...time.Time) predicate.Credentials
- func CreatedAtLT(v time.Time) predicate.Credentials
- func CreatedAtLTE(v time.Time) predicate.Credentials
- func CreatedAtNEQ(v time.Time) predicate.Credentials
- func CreatedAtNotIn(vs ...time.Time) predicate.Credentials
- func CreatedBy(v int64) predicate.Credentials
- func CreatedByEQ(v int64) predicate.Credentials
- func CreatedByGT(v int64) predicate.Credentials
- func CreatedByGTE(v int64) predicate.Credentials
- func CreatedByIn(vs ...int64) predicate.Credentials
- func CreatedByIsNil() predicate.Credentials
- func CreatedByLT(v int64) predicate.Credentials
- func CreatedByLTE(v int64) predicate.Credentials
- func CreatedByNEQ(v int64) predicate.Credentials
- func CreatedByNotIn(vs ...int64) predicate.Credentials
- func CreatedByNotNil() predicate.Credentials
- func CredentialAlgorithm(v int) predicate.Credentials
- func CredentialAlgorithmEQ(v int) predicate.Credentials
- func CredentialAlgorithmGT(v int) predicate.Credentials
- func CredentialAlgorithmGTE(v int) predicate.Credentials
- func CredentialAlgorithmIn(vs ...int) predicate.Credentials
- func CredentialAlgorithmLT(v int) predicate.Credentials
- func CredentialAlgorithmLTE(v int) predicate.Credentials
- func CredentialAlgorithmNEQ(v int) predicate.Credentials
- func CredentialAlgorithmNotIn(vs ...int) predicate.Credentials
- func CredentialSource(v int) predicate.Credentials
- func CredentialSourceEQ(v int) predicate.Credentials
- func CredentialSourceGT(v int) predicate.Credentials
- func CredentialSourceGTE(v int) predicate.Credentials
- func CredentialSourceIn(vs ...int) predicate.Credentials
- func CredentialSourceLT(v int) predicate.Credentials
- func CredentialSourceLTE(v int) predicate.Credentials
- func CredentialSourceNEQ(v int) predicate.Credentials
- func CredentialSourceNotIn(vs ...int) predicate.Credentials
- func CredentialStatus(v int) predicate.Credentials
- func CredentialStatusEQ(v int) predicate.Credentials
- func CredentialStatusGT(v int) predicate.Credentials
- func CredentialStatusGTE(v int) predicate.Credentials
- func CredentialStatusIn(vs ...int) predicate.Credentials
- func CredentialStatusLT(v int) predicate.Credentials
- func CredentialStatusLTE(v int) predicate.Credentials
- func CredentialStatusNEQ(v int) predicate.Credentials
- func CredentialStatusNotIn(vs ...int) predicate.Credentials
- func CredentialType(v int) predicate.Credentials
- func CredentialTypeEQ(v int) predicate.Credentials
- func CredentialTypeGT(v int) predicate.Credentials
- func CredentialTypeGTE(v int) predicate.Credentials
- func CredentialTypeIn(vs ...int) predicate.Credentials
- func CredentialTypeLT(v int) predicate.Credentials
- func CredentialTypeLTE(v int) predicate.Credentials
- func CredentialTypeNEQ(v int) predicate.Credentials
- func CredentialTypeNotIn(vs ...int) predicate.Credentials
- func CredentialUsage(v int) predicate.Credentials
- func CredentialUsageEQ(v int) predicate.Credentials
- func CredentialUsageGT(v int) predicate.Credentials
- func CredentialUsageGTE(v int) predicate.Credentials
- func CredentialUsageIn(vs ...int) predicate.Credentials
- func CredentialUsageLT(v int) predicate.Credentials
- func CredentialUsageLTE(v int) predicate.Credentials
- func CredentialUsageNEQ(v int) predicate.Credentials
- func CredentialUsageNotIn(vs ...int) predicate.Credentials
- func CredentialVisibility(v int) predicate.Credentials
- func CredentialVisibilityEQ(v int) predicate.Credentials
- func CredentialVisibilityGT(v int) predicate.Credentials
- func CredentialVisibilityGTE(v int) predicate.Credentials
- func CredentialVisibilityIn(vs ...int) predicate.Credentials
- func CredentialVisibilityLT(v int) predicate.Credentials
- func CredentialVisibilityLTE(v int) predicate.Credentials
- func CredentialVisibilityNEQ(v int) predicate.Credentials
- func CredentialVisibilityNotIn(vs ...int) predicate.Credentials
- func DeletedAt(v time.Time) predicate.Credentials
- func DeletedAtEQ(v time.Time) predicate.Credentials
- func DeletedAtGT(v time.Time) predicate.Credentials
- func DeletedAtGTE(v time.Time) predicate.Credentials
- func DeletedAtIn(vs ...time.Time) predicate.Credentials
- func DeletedAtIsNil() predicate.Credentials
- func DeletedAtLT(v time.Time) predicate.Credentials
- func DeletedAtLTE(v time.Time) predicate.Credentials
- func DeletedAtNEQ(v time.Time) predicate.Credentials
- func DeletedAtNotIn(vs ...time.Time) predicate.Credentials
- func DeletedAtNotNil() predicate.Credentials
- func Description(v string) predicate.Credentials
- func DescriptionContains(v string) predicate.Credentials
- func DescriptionContainsFold(v string) predicate.Credentials
- func DescriptionEQ(v string) predicate.Credentials
- func DescriptionEqualFold(v string) predicate.Credentials
- func DescriptionGT(v string) predicate.Credentials
- func DescriptionGTE(v string) predicate.Credentials
- func DescriptionHasPrefix(v string) predicate.Credentials
- func DescriptionHasSuffix(v string) predicate.Credentials
- func DescriptionIn(vs ...string) predicate.Credentials
- func DescriptionIsNil() predicate.Credentials
- func DescriptionLT(v string) predicate.Credentials
- func DescriptionLTE(v string) predicate.Credentials
- func DescriptionNEQ(v string) predicate.Credentials
- func DescriptionNotIn(vs ...string) predicate.Credentials
- func DescriptionNotNil() predicate.Credentials
- func DisplayName(v string) predicate.Credentials
- func DisplayNameContains(v string) predicate.Credentials
- func DisplayNameContainsFold(v string) predicate.Credentials
- func DisplayNameEQ(v string) predicate.Credentials
- func DisplayNameEqualFold(v string) predicate.Credentials
- func DisplayNameGT(v string) predicate.Credentials
- func DisplayNameGTE(v string) predicate.Credentials
- func DisplayNameHasPrefix(v string) predicate.Credentials
- func DisplayNameHasSuffix(v string) predicate.Credentials
- func DisplayNameIn(vs ...string) predicate.Credentials
- func DisplayNameLT(v string) predicate.Credentials
- func DisplayNameLTE(v string) predicate.Credentials
- func DisplayNameNEQ(v string) predicate.Credentials
- func DisplayNameNotIn(vs ...string) predicate.Credentials
- func ExpiresAt(v time.Time) predicate.Credentials
- func ExpiresAtEQ(v time.Time) predicate.Credentials
- func ExpiresAtGT(v time.Time) predicate.Credentials
- func ExpiresAtGTE(v time.Time) predicate.Credentials
- func ExpiresAtIn(vs ...time.Time) predicate.Credentials
- func ExpiresAtIsNil() predicate.Credentials
- func ExpiresAtLT(v time.Time) predicate.Credentials
- func ExpiresAtLTE(v time.Time) predicate.Credentials
- func ExpiresAtNEQ(v time.Time) predicate.Credentials
- func ExpiresAtNotIn(vs ...time.Time) predicate.Credentials
- func ExpiresAtNotNil() predicate.Credentials
- func Fingerprint(v string) predicate.Credentials
- func FingerprintContains(v string) predicate.Credentials
- func FingerprintContainsFold(v string) predicate.Credentials
- func FingerprintEQ(v string) predicate.Credentials
- func FingerprintEqualFold(v string) predicate.Credentials
- func FingerprintGT(v string) predicate.Credentials
- func FingerprintGTE(v string) predicate.Credentials
- func FingerprintHasPrefix(v string) predicate.Credentials
- func FingerprintHasSuffix(v string) predicate.Credentials
- func FingerprintIn(vs ...string) predicate.Credentials
- func FingerprintIsNil() predicate.Credentials
- func FingerprintLT(v string) predicate.Credentials
- func FingerprintLTE(v string) predicate.Credentials
- func FingerprintNEQ(v string) predicate.Credentials
- func FingerprintNotIn(vs ...string) predicate.Credentials
- func FingerprintNotNil() predicate.Credentials
- func ID(id int) predicate.Credentials
- func IDEQ(id int) predicate.Credentials
- func IDGT(id int) predicate.Credentials
- func IDGTE(id int) predicate.Credentials
- func IDIn(ids ...int) predicate.Credentials
- func IDLT(id int) predicate.Credentials
- func IDLTE(id int) predicate.Credentials
- func IDNEQ(id int) predicate.Credentials
- func IDNotIn(ids ...int) predicate.Credentials
- func LicenseKeyEncrypted(v []byte) predicate.Credentials
- func LicenseKeyEncryptedEQ(v []byte) predicate.Credentials
- func LicenseKeyEncryptedGT(v []byte) predicate.Credentials
- func LicenseKeyEncryptedGTE(v []byte) predicate.Credentials
- func LicenseKeyEncryptedIn(vs ...[]byte) predicate.Credentials
- func LicenseKeyEncryptedIsNil() predicate.Credentials
- func LicenseKeyEncryptedLT(v []byte) predicate.Credentials
- func LicenseKeyEncryptedLTE(v []byte) predicate.Credentials
- func LicenseKeyEncryptedNEQ(v []byte) predicate.Credentials
- func LicenseKeyEncryptedNotIn(vs ...[]byte) predicate.Credentials
- func LicenseKeyEncryptedNotNil() predicate.Credentials
- func MetadataIsNil() predicate.Credentials
- func MetadataNotNil() predicate.Credentials
- func Not(p predicate.Credentials) predicate.Credentials
- func NotBefore(v time.Time) predicate.Credentials
- func NotBeforeEQ(v time.Time) predicate.Credentials
- func NotBeforeGT(v time.Time) predicate.Credentials
- func NotBeforeGTE(v time.Time) predicate.Credentials
- func NotBeforeIn(vs ...time.Time) predicate.Credentials
- func NotBeforeIsNil() predicate.Credentials
- func NotBeforeLT(v time.Time) predicate.Credentials
- func NotBeforeLTE(v time.Time) predicate.Credentials
- func NotBeforeNEQ(v time.Time) predicate.Credentials
- func NotBeforeNotIn(vs ...time.Time) predicate.Credentials
- func NotBeforeNotNil() predicate.Credentials
- func Or(predicates ...predicate.Credentials) predicate.Credentials
- func PassphraseEncrypted(v []byte) predicate.Credentials
- func PassphraseEncryptedEQ(v []byte) predicate.Credentials
- func PassphraseEncryptedGT(v []byte) predicate.Credentials
- func PassphraseEncryptedGTE(v []byte) predicate.Credentials
- func PassphraseEncryptedIn(vs ...[]byte) predicate.Credentials
- func PassphraseEncryptedIsNil() predicate.Credentials
- func PassphraseEncryptedLT(v []byte) predicate.Credentials
- func PassphraseEncryptedLTE(v []byte) predicate.Credentials
- func PassphraseEncryptedNEQ(v []byte) predicate.Credentials
- func PassphraseEncryptedNotIn(vs ...[]byte) predicate.Credentials
- func PassphraseEncryptedNotNil() predicate.Credentials
- func PrivateKeyEncrypted(v []byte) predicate.Credentials
- func PrivateKeyEncryptedEQ(v []byte) predicate.Credentials
- func PrivateKeyEncryptedGT(v []byte) predicate.Credentials
- func PrivateKeyEncryptedGTE(v []byte) predicate.Credentials
- func PrivateKeyEncryptedIn(vs ...[]byte) predicate.Credentials
- func PrivateKeyEncryptedIsNil() predicate.Credentials
- func PrivateKeyEncryptedLT(v []byte) predicate.Credentials
- func PrivateKeyEncryptedLTE(v []byte) predicate.Credentials
- func PrivateKeyEncryptedNEQ(v []byte) predicate.Credentials
- func PrivateKeyEncryptedNotIn(vs ...[]byte) predicate.Credentials
- func PrivateKeyEncryptedNotNil() predicate.Credentials
- func Protected(v bool) predicate.Credentials
- func ProtectedEQ(v bool) predicate.Credentials
- func ProtectedNEQ(v bool) predicate.Credentials
- func PublicKey(v []byte) predicate.Credentials
- func PublicKeyEQ(v []byte) predicate.Credentials
- func PublicKeyGT(v []byte) predicate.Credentials
- func PublicKeyGTE(v []byte) predicate.Credentials
- func PublicKeyIn(vs ...[]byte) predicate.Credentials
- func PublicKeyIsNil() predicate.Credentials
- func PublicKeyLT(v []byte) predicate.Credentials
- func PublicKeyLTE(v []byte) predicate.Credentials
- func PublicKeyNEQ(v []byte) predicate.Credentials
- func PublicKeyNotIn(vs ...[]byte) predicate.Credentials
- func PublicKeyNotNil() predicate.Credentials
- func Signature(v []byte) predicate.Credentials
- func SignatureEQ(v []byte) predicate.Credentials
- func SignatureGT(v []byte) predicate.Credentials
- func SignatureGTE(v []byte) predicate.Credentials
- func SignatureIn(vs ...[]byte) predicate.Credentials
- func SignatureIsNil() predicate.Credentials
- func SignatureLT(v []byte) predicate.Credentials
- func SignatureLTE(v []byte) predicate.Credentials
- func SignatureNEQ(v []byte) predicate.Credentials
- func SignatureNotIn(vs ...[]byte) predicate.Credentials
- func SignatureNotNil() predicate.Credentials
- func SymmetricKeyEncrypted(v []byte) predicate.Credentials
- func SymmetricKeyEncryptedEQ(v []byte) predicate.Credentials
- func SymmetricKeyEncryptedGT(v []byte) predicate.Credentials
- func SymmetricKeyEncryptedGTE(v []byte) predicate.Credentials
- func SymmetricKeyEncryptedIn(vs ...[]byte) predicate.Credentials
- func SymmetricKeyEncryptedIsNil() predicate.Credentials
- func SymmetricKeyEncryptedLT(v []byte) predicate.Credentials
- func SymmetricKeyEncryptedLTE(v []byte) predicate.Credentials
- func SymmetricKeyEncryptedNEQ(v []byte) predicate.Credentials
- func SymmetricKeyEncryptedNotIn(vs ...[]byte) predicate.Credentials
- func SymmetricKeyEncryptedNotNil() predicate.Credentials
- func UpdatedAt(v time.Time) predicate.Credentials
- func UpdatedAtEQ(v time.Time) predicate.Credentials
- func UpdatedAtGT(v time.Time) predicate.Credentials
- func UpdatedAtGTE(v time.Time) predicate.Credentials
- func UpdatedAtIn(vs ...time.Time) predicate.Credentials
- func UpdatedAtLT(v time.Time) predicate.Credentials
- func UpdatedAtLTE(v time.Time) predicate.Credentials
- func UpdatedAtNEQ(v time.Time) predicate.Credentials
- func UpdatedAtNotIn(vs ...time.Time) predicate.Credentials
- func UpdatedBy(v int64) predicate.Credentials
- func UpdatedByEQ(v int64) predicate.Credentials
- func UpdatedByGT(v int64) predicate.Credentials
- func UpdatedByGTE(v int64) predicate.Credentials
- func UpdatedByIn(vs ...int64) predicate.Credentials
- func UpdatedByIsNil() predicate.Credentials
- func UpdatedByLT(v int64) predicate.Credentials
- func UpdatedByLTE(v int64) predicate.Credentials
- func UpdatedByNEQ(v int64) predicate.Credentials
- func UpdatedByNotIn(vs ...int64) predicate.Credentials
- func UpdatedByNotNil() predicate.Credentials
- func ValidColumn(column string) bool
- type OrderOption
- func ByAPIKey(opts ...sql.OrderTermOption) OrderOption
- func ByCode(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByCredentialAlgorithm(opts ...sql.OrderTermOption) OrderOption
- func ByCredentialSource(opts ...sql.OrderTermOption) OrderOption
- func ByCredentialStatus(opts ...sql.OrderTermOption) OrderOption
- func ByCredentialType(opts ...sql.OrderTermOption) OrderOption
- func ByCredentialUsage(opts ...sql.OrderTermOption) OrderOption
- func ByCredentialVisibility(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByDisplayName(opts ...sql.OrderTermOption) OrderOption
- func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByFingerprint(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByNotBefore(opts ...sql.OrderTermOption) OrderOption
- func ByProtected(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the credentials type in the database. Label = "credentials" // 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" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldCode holds the string denoting the code field in the database. FieldCode = "code" // FieldDisplayName holds the string denoting the display_name field in the database. FieldDisplayName = "display_name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldCredentialType holds the string denoting the credential_type field in the database. FieldCredentialType = "credential_type" // FieldCredentialAlgorithm holds the string denoting the credential_algorithm field in the database. FieldCredentialAlgorithm = "credential_algorithm" // FieldCredentialUsage holds the string denoting the credential_usage field in the database. FieldCredentialUsage = "credential_usage" // FieldCredentialVisibility holds the string denoting the credential_visibility field in the database. FieldCredentialVisibility = "credential_visibility" // FieldCredentialStatus holds the string denoting the credential_status field in the database. FieldCredentialStatus = "credential_status" // FieldCredentialSource holds the string denoting the credential_source field in the database. FieldCredentialSource = "credential_source" // FieldProtected holds the string denoting the protected field in the database. FieldProtected = "protected" // FieldFingerprint holds the string denoting the fingerprint field in the database. FieldFingerprint = "fingerprint" // FieldAPIKey holds the string denoting the api_key field in the database. FieldAPIKey = "api_key" // FieldAPISecretEncrypted holds the string denoting the api_secret_encrypted field in the database. FieldAPISecretEncrypted = "api_secret_encrypted" // FieldPublicKey holds the string denoting the public_key field in the database. FieldPublicKey = "public_key" // FieldPrivateKeyEncrypted holds the string denoting the private_key_encrypted field in the database. FieldPrivateKeyEncrypted = "private_key_encrypted" // FieldPassphraseEncrypted holds the string denoting the passphrase_encrypted field in the database. FieldPassphraseEncrypted = "passphrase_encrypted" // FieldCertificate holds the string denoting the certificate field in the database. FieldCertificate = "certificate" // FieldCaChain holds the string denoting the ca_chain field in the database. FieldCaChain = "ca_chain" // FieldLicenseKeyEncrypted holds the string denoting the license_key_encrypted field in the database. FieldLicenseKeyEncrypted = "license_key_encrypted" // FieldSignature holds the string denoting the signature field in the database. FieldSignature = "signature" // FieldSymmetricKeyEncrypted holds the string denoting the symmetric_key_encrypted field in the database. FieldSymmetricKeyEncrypted = "symmetric_key_encrypted" // FieldNotBefore holds the string denoting the not_before field in the database. FieldNotBefore = "not_before" // FieldExpiresAt holds the string denoting the expires_at field in the database. FieldExpiresAt = "expires_at" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // Table holds the table name of the credentials in the database. Table = "lion_credentials" )
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 // DefaultCreatedBy holds the default value on creation for the "created_by" field. DefaultCreatedBy int64 // DefaultUpdatedBy holds the default value on creation for the "updated_by" field. DefaultUpdatedBy int64 // CodeValidator is a validator for the "code" field. It is called by the builders before save. CodeValidator func(string) error // DefaultDisplayName holds the default value on creation for the "display_name" field. DefaultDisplayName string // DisplayNameValidator is a validator for the "display_name" field. It is called by the builders before save. DisplayNameValidator func(string) error // DefaultCredentialType holds the default value on creation for the "credential_type" field. DefaultCredentialType int // DefaultCredentialAlgorithm holds the default value on creation for the "credential_algorithm" field. DefaultCredentialAlgorithm int // DefaultCredentialUsage holds the default value on creation for the "credential_usage" field. DefaultCredentialUsage int // DefaultCredentialVisibility holds the default value on creation for the "credential_visibility" field. DefaultCredentialVisibility int // DefaultCredentialStatus holds the default value on creation for the "credential_status" field. DefaultCredentialStatus int // DefaultCredentialSource holds the default value on creation for the "credential_source" field. DefaultCredentialSource int // DefaultProtected holds the default value on creation for the "protected" field. DefaultProtected bool )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldCreatedBy, FieldUpdatedBy, FieldCode, FieldDisplayName, FieldDescription, FieldCredentialType, FieldCredentialAlgorithm, FieldCredentialUsage, FieldCredentialVisibility, FieldCredentialStatus, FieldCredentialSource, FieldProtected, FieldFingerprint, FieldAPIKey, FieldAPISecretEncrypted, FieldPublicKey, FieldPrivateKeyEncrypted, FieldPassphraseEncrypted, FieldCertificate, FieldCaChain, FieldLicenseKeyEncrypted, FieldSignature, FieldSymmetricKeyEncrypted, FieldNotBefore, FieldExpiresAt, FieldMetadata, }
Columns holds all SQL columns for credentials fields.
Functions ¶
func APIKey ¶
func APIKey(v string) predicate.Credentials
APIKey applies equality check predicate on the "api_key" field. It's identical to APIKeyEQ.
func APIKeyContains ¶
func APIKeyContains(v string) predicate.Credentials
APIKeyContains applies the Contains predicate on the "api_key" field.
func APIKeyContainsFold ¶
func APIKeyContainsFold(v string) predicate.Credentials
APIKeyContainsFold applies the ContainsFold predicate on the "api_key" field.
func APIKeyEQ ¶
func APIKeyEQ(v string) predicate.Credentials
APIKeyEQ applies the EQ predicate on the "api_key" field.
func APIKeyEqualFold ¶
func APIKeyEqualFold(v string) predicate.Credentials
APIKeyEqualFold applies the EqualFold predicate on the "api_key" field.
func APIKeyGT ¶
func APIKeyGT(v string) predicate.Credentials
APIKeyGT applies the GT predicate on the "api_key" field.
func APIKeyGTE ¶
func APIKeyGTE(v string) predicate.Credentials
APIKeyGTE applies the GTE predicate on the "api_key" field.
func APIKeyHasPrefix ¶
func APIKeyHasPrefix(v string) predicate.Credentials
APIKeyHasPrefix applies the HasPrefix predicate on the "api_key" field.
func APIKeyHasSuffix ¶
func APIKeyHasSuffix(v string) predicate.Credentials
APIKeyHasSuffix applies the HasSuffix predicate on the "api_key" field.
func APIKeyIn ¶
func APIKeyIn(vs ...string) predicate.Credentials
APIKeyIn applies the In predicate on the "api_key" field.
func APIKeyIsNil ¶
func APIKeyIsNil() predicate.Credentials
APIKeyIsNil applies the IsNil predicate on the "api_key" field.
func APIKeyLT ¶
func APIKeyLT(v string) predicate.Credentials
APIKeyLT applies the LT predicate on the "api_key" field.
func APIKeyLTE ¶
func APIKeyLTE(v string) predicate.Credentials
APIKeyLTE applies the LTE predicate on the "api_key" field.
func APIKeyNEQ ¶
func APIKeyNEQ(v string) predicate.Credentials
APIKeyNEQ applies the NEQ predicate on the "api_key" field.
func APIKeyNotIn ¶
func APIKeyNotIn(vs ...string) predicate.Credentials
APIKeyNotIn applies the NotIn predicate on the "api_key" field.
func APIKeyNotNil ¶
func APIKeyNotNil() predicate.Credentials
APIKeyNotNil applies the NotNil predicate on the "api_key" field.
func APISecretEncrypted ¶
func APISecretEncrypted(v []byte) predicate.Credentials
APISecretEncrypted applies equality check predicate on the "api_secret_encrypted" field. It's identical to APISecretEncryptedEQ.
func APISecretEncryptedEQ ¶
func APISecretEncryptedEQ(v []byte) predicate.Credentials
APISecretEncryptedEQ applies the EQ predicate on the "api_secret_encrypted" field.
func APISecretEncryptedGT ¶
func APISecretEncryptedGT(v []byte) predicate.Credentials
APISecretEncryptedGT applies the GT predicate on the "api_secret_encrypted" field.
func APISecretEncryptedGTE ¶
func APISecretEncryptedGTE(v []byte) predicate.Credentials
APISecretEncryptedGTE applies the GTE predicate on the "api_secret_encrypted" field.
func APISecretEncryptedIn ¶
func APISecretEncryptedIn(vs ...[]byte) predicate.Credentials
APISecretEncryptedIn applies the In predicate on the "api_secret_encrypted" field.
func APISecretEncryptedIsNil ¶
func APISecretEncryptedIsNil() predicate.Credentials
APISecretEncryptedIsNil applies the IsNil predicate on the "api_secret_encrypted" field.
func APISecretEncryptedLT ¶
func APISecretEncryptedLT(v []byte) predicate.Credentials
APISecretEncryptedLT applies the LT predicate on the "api_secret_encrypted" field.
func APISecretEncryptedLTE ¶
func APISecretEncryptedLTE(v []byte) predicate.Credentials
APISecretEncryptedLTE applies the LTE predicate on the "api_secret_encrypted" field.
func APISecretEncryptedNEQ ¶
func APISecretEncryptedNEQ(v []byte) predicate.Credentials
APISecretEncryptedNEQ applies the NEQ predicate on the "api_secret_encrypted" field.
func APISecretEncryptedNotIn ¶
func APISecretEncryptedNotIn(vs ...[]byte) predicate.Credentials
APISecretEncryptedNotIn applies the NotIn predicate on the "api_secret_encrypted" field.
func APISecretEncryptedNotNil ¶
func APISecretEncryptedNotNil() predicate.Credentials
APISecretEncryptedNotNil applies the NotNil predicate on the "api_secret_encrypted" field.
func And ¶
func And(predicates ...predicate.Credentials) predicate.Credentials
And groups predicates with the AND operator between them.
func CaChainIsNil ¶
func CaChainIsNil() predicate.Credentials
CaChainIsNil applies the IsNil predicate on the "ca_chain" field.
func CaChainNotNil ¶
func CaChainNotNil() predicate.Credentials
CaChainNotNil applies the NotNil predicate on the "ca_chain" field.
func Certificate ¶
func Certificate(v []byte) predicate.Credentials
Certificate applies equality check predicate on the "certificate" field. It's identical to CertificateEQ.
func CertificateEQ ¶
func CertificateEQ(v []byte) predicate.Credentials
CertificateEQ applies the EQ predicate on the "certificate" field.
func CertificateGT ¶
func CertificateGT(v []byte) predicate.Credentials
CertificateGT applies the GT predicate on the "certificate" field.
func CertificateGTE ¶
func CertificateGTE(v []byte) predicate.Credentials
CertificateGTE applies the GTE predicate on the "certificate" field.
func CertificateIn ¶
func CertificateIn(vs ...[]byte) predicate.Credentials
CertificateIn applies the In predicate on the "certificate" field.
func CertificateIsNil ¶
func CertificateIsNil() predicate.Credentials
CertificateIsNil applies the IsNil predicate on the "certificate" field.
func CertificateLT ¶
func CertificateLT(v []byte) predicate.Credentials
CertificateLT applies the LT predicate on the "certificate" field.
func CertificateLTE ¶
func CertificateLTE(v []byte) predicate.Credentials
CertificateLTE applies the LTE predicate on the "certificate" field.
func CertificateNEQ ¶
func CertificateNEQ(v []byte) predicate.Credentials
CertificateNEQ applies the NEQ predicate on the "certificate" field.
func CertificateNotIn ¶
func CertificateNotIn(vs ...[]byte) predicate.Credentials
CertificateNotIn applies the NotIn predicate on the "certificate" field.
func CertificateNotNil ¶
func CertificateNotNil() predicate.Credentials
CertificateNotNil applies the NotNil predicate on the "certificate" field.
func Code ¶
func Code(v string) predicate.Credentials
Code applies equality check predicate on the "code" field. It's identical to CodeEQ.
func CodeContains ¶
func CodeContains(v string) predicate.Credentials
CodeContains applies the Contains predicate on the "code" field.
func CodeContainsFold ¶
func CodeContainsFold(v string) predicate.Credentials
CodeContainsFold applies the ContainsFold predicate on the "code" field.
func CodeEQ ¶
func CodeEQ(v string) predicate.Credentials
CodeEQ applies the EQ predicate on the "code" field.
func CodeEqualFold ¶
func CodeEqualFold(v string) predicate.Credentials
CodeEqualFold applies the EqualFold predicate on the "code" field.
func CodeGT ¶
func CodeGT(v string) predicate.Credentials
CodeGT applies the GT predicate on the "code" field.
func CodeGTE ¶
func CodeGTE(v string) predicate.Credentials
CodeGTE applies the GTE predicate on the "code" field.
func CodeHasPrefix ¶
func CodeHasPrefix(v string) predicate.Credentials
CodeHasPrefix applies the HasPrefix predicate on the "code" field.
func CodeHasSuffix ¶
func CodeHasSuffix(v string) predicate.Credentials
CodeHasSuffix applies the HasSuffix predicate on the "code" field.
func CodeIn ¶
func CodeIn(vs ...string) predicate.Credentials
CodeIn applies the In predicate on the "code" field.
func CodeLT ¶
func CodeLT(v string) predicate.Credentials
CodeLT applies the LT predicate on the "code" field.
func CodeLTE ¶
func CodeLTE(v string) predicate.Credentials
CodeLTE applies the LTE predicate on the "code" field.
func CodeNEQ ¶
func CodeNEQ(v string) predicate.Credentials
CodeNEQ applies the NEQ predicate on the "code" field.
func CodeNotIn ¶
func CodeNotIn(vs ...string) predicate.Credentials
CodeNotIn applies the NotIn predicate on the "code" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.Credentials
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.Credentials
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.Credentials
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.Credentials
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.Credentials
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.Credentials
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.Credentials
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.Credentials
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.Credentials
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v int64) predicate.Credentials
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
func CreatedByEQ(v int64) predicate.Credentials
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v int64) predicate.Credentials
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v int64) predicate.Credentials
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...int64) predicate.Credentials
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.Credentials
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v int64) predicate.Credentials
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v int64) predicate.Credentials
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v int64) predicate.Credentials
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...int64) predicate.Credentials
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.Credentials
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func CredentialAlgorithm ¶
func CredentialAlgorithm(v int) predicate.Credentials
CredentialAlgorithm applies equality check predicate on the "credential_algorithm" field. It's identical to CredentialAlgorithmEQ.
func CredentialAlgorithmEQ ¶
func CredentialAlgorithmEQ(v int) predicate.Credentials
CredentialAlgorithmEQ applies the EQ predicate on the "credential_algorithm" field.
func CredentialAlgorithmGT ¶
func CredentialAlgorithmGT(v int) predicate.Credentials
CredentialAlgorithmGT applies the GT predicate on the "credential_algorithm" field.
func CredentialAlgorithmGTE ¶
func CredentialAlgorithmGTE(v int) predicate.Credentials
CredentialAlgorithmGTE applies the GTE predicate on the "credential_algorithm" field.
func CredentialAlgorithmIn ¶
func CredentialAlgorithmIn(vs ...int) predicate.Credentials
CredentialAlgorithmIn applies the In predicate on the "credential_algorithm" field.
func CredentialAlgorithmLT ¶
func CredentialAlgorithmLT(v int) predicate.Credentials
CredentialAlgorithmLT applies the LT predicate on the "credential_algorithm" field.
func CredentialAlgorithmLTE ¶
func CredentialAlgorithmLTE(v int) predicate.Credentials
CredentialAlgorithmLTE applies the LTE predicate on the "credential_algorithm" field.
func CredentialAlgorithmNEQ ¶
func CredentialAlgorithmNEQ(v int) predicate.Credentials
CredentialAlgorithmNEQ applies the NEQ predicate on the "credential_algorithm" field.
func CredentialAlgorithmNotIn ¶
func CredentialAlgorithmNotIn(vs ...int) predicate.Credentials
CredentialAlgorithmNotIn applies the NotIn predicate on the "credential_algorithm" field.
func CredentialSource ¶
func CredentialSource(v int) predicate.Credentials
CredentialSource applies equality check predicate on the "credential_source" field. It's identical to CredentialSourceEQ.
func CredentialSourceEQ ¶
func CredentialSourceEQ(v int) predicate.Credentials
CredentialSourceEQ applies the EQ predicate on the "credential_source" field.
func CredentialSourceGT ¶
func CredentialSourceGT(v int) predicate.Credentials
CredentialSourceGT applies the GT predicate on the "credential_source" field.
func CredentialSourceGTE ¶
func CredentialSourceGTE(v int) predicate.Credentials
CredentialSourceGTE applies the GTE predicate on the "credential_source" field.
func CredentialSourceIn ¶
func CredentialSourceIn(vs ...int) predicate.Credentials
CredentialSourceIn applies the In predicate on the "credential_source" field.
func CredentialSourceLT ¶
func CredentialSourceLT(v int) predicate.Credentials
CredentialSourceLT applies the LT predicate on the "credential_source" field.
func CredentialSourceLTE ¶
func CredentialSourceLTE(v int) predicate.Credentials
CredentialSourceLTE applies the LTE predicate on the "credential_source" field.
func CredentialSourceNEQ ¶
func CredentialSourceNEQ(v int) predicate.Credentials
CredentialSourceNEQ applies the NEQ predicate on the "credential_source" field.
func CredentialSourceNotIn ¶
func CredentialSourceNotIn(vs ...int) predicate.Credentials
CredentialSourceNotIn applies the NotIn predicate on the "credential_source" field.
func CredentialStatus ¶
func CredentialStatus(v int) predicate.Credentials
CredentialStatus applies equality check predicate on the "credential_status" field. It's identical to CredentialStatusEQ.
func CredentialStatusEQ ¶
func CredentialStatusEQ(v int) predicate.Credentials
CredentialStatusEQ applies the EQ predicate on the "credential_status" field.
func CredentialStatusGT ¶
func CredentialStatusGT(v int) predicate.Credentials
CredentialStatusGT applies the GT predicate on the "credential_status" field.
func CredentialStatusGTE ¶
func CredentialStatusGTE(v int) predicate.Credentials
CredentialStatusGTE applies the GTE predicate on the "credential_status" field.
func CredentialStatusIn ¶
func CredentialStatusIn(vs ...int) predicate.Credentials
CredentialStatusIn applies the In predicate on the "credential_status" field.
func CredentialStatusLT ¶
func CredentialStatusLT(v int) predicate.Credentials
CredentialStatusLT applies the LT predicate on the "credential_status" field.
func CredentialStatusLTE ¶
func CredentialStatusLTE(v int) predicate.Credentials
CredentialStatusLTE applies the LTE predicate on the "credential_status" field.
func CredentialStatusNEQ ¶
func CredentialStatusNEQ(v int) predicate.Credentials
CredentialStatusNEQ applies the NEQ predicate on the "credential_status" field.
func CredentialStatusNotIn ¶
func CredentialStatusNotIn(vs ...int) predicate.Credentials
CredentialStatusNotIn applies the NotIn predicate on the "credential_status" field.
func CredentialType ¶
func CredentialType(v int) predicate.Credentials
CredentialType applies equality check predicate on the "credential_type" field. It's identical to CredentialTypeEQ.
func CredentialTypeEQ ¶
func CredentialTypeEQ(v int) predicate.Credentials
CredentialTypeEQ applies the EQ predicate on the "credential_type" field.
func CredentialTypeGT ¶
func CredentialTypeGT(v int) predicate.Credentials
CredentialTypeGT applies the GT predicate on the "credential_type" field.
func CredentialTypeGTE ¶
func CredentialTypeGTE(v int) predicate.Credentials
CredentialTypeGTE applies the GTE predicate on the "credential_type" field.
func CredentialTypeIn ¶
func CredentialTypeIn(vs ...int) predicate.Credentials
CredentialTypeIn applies the In predicate on the "credential_type" field.
func CredentialTypeLT ¶
func CredentialTypeLT(v int) predicate.Credentials
CredentialTypeLT applies the LT predicate on the "credential_type" field.
func CredentialTypeLTE ¶
func CredentialTypeLTE(v int) predicate.Credentials
CredentialTypeLTE applies the LTE predicate on the "credential_type" field.
func CredentialTypeNEQ ¶
func CredentialTypeNEQ(v int) predicate.Credentials
CredentialTypeNEQ applies the NEQ predicate on the "credential_type" field.
func CredentialTypeNotIn ¶
func CredentialTypeNotIn(vs ...int) predicate.Credentials
CredentialTypeNotIn applies the NotIn predicate on the "credential_type" field.
func CredentialUsage ¶
func CredentialUsage(v int) predicate.Credentials
CredentialUsage applies equality check predicate on the "credential_usage" field. It's identical to CredentialUsageEQ.
func CredentialUsageEQ ¶
func CredentialUsageEQ(v int) predicate.Credentials
CredentialUsageEQ applies the EQ predicate on the "credential_usage" field.
func CredentialUsageGT ¶
func CredentialUsageGT(v int) predicate.Credentials
CredentialUsageGT applies the GT predicate on the "credential_usage" field.
func CredentialUsageGTE ¶
func CredentialUsageGTE(v int) predicate.Credentials
CredentialUsageGTE applies the GTE predicate on the "credential_usage" field.
func CredentialUsageIn ¶
func CredentialUsageIn(vs ...int) predicate.Credentials
CredentialUsageIn applies the In predicate on the "credential_usage" field.
func CredentialUsageLT ¶
func CredentialUsageLT(v int) predicate.Credentials
CredentialUsageLT applies the LT predicate on the "credential_usage" field.
func CredentialUsageLTE ¶
func CredentialUsageLTE(v int) predicate.Credentials
CredentialUsageLTE applies the LTE predicate on the "credential_usage" field.
func CredentialUsageNEQ ¶
func CredentialUsageNEQ(v int) predicate.Credentials
CredentialUsageNEQ applies the NEQ predicate on the "credential_usage" field.
func CredentialUsageNotIn ¶
func CredentialUsageNotIn(vs ...int) predicate.Credentials
CredentialUsageNotIn applies the NotIn predicate on the "credential_usage" field.
func CredentialVisibility ¶
func CredentialVisibility(v int) predicate.Credentials
CredentialVisibility applies equality check predicate on the "credential_visibility" field. It's identical to CredentialVisibilityEQ.
func CredentialVisibilityEQ ¶
func CredentialVisibilityEQ(v int) predicate.Credentials
CredentialVisibilityEQ applies the EQ predicate on the "credential_visibility" field.
func CredentialVisibilityGT ¶
func CredentialVisibilityGT(v int) predicate.Credentials
CredentialVisibilityGT applies the GT predicate on the "credential_visibility" field.
func CredentialVisibilityGTE ¶
func CredentialVisibilityGTE(v int) predicate.Credentials
CredentialVisibilityGTE applies the GTE predicate on the "credential_visibility" field.
func CredentialVisibilityIn ¶
func CredentialVisibilityIn(vs ...int) predicate.Credentials
CredentialVisibilityIn applies the In predicate on the "credential_visibility" field.
func CredentialVisibilityLT ¶
func CredentialVisibilityLT(v int) predicate.Credentials
CredentialVisibilityLT applies the LT predicate on the "credential_visibility" field.
func CredentialVisibilityLTE ¶
func CredentialVisibilityLTE(v int) predicate.Credentials
CredentialVisibilityLTE applies the LTE predicate on the "credential_visibility" field.
func CredentialVisibilityNEQ ¶
func CredentialVisibilityNEQ(v int) predicate.Credentials
CredentialVisibilityNEQ applies the NEQ predicate on the "credential_visibility" field.
func CredentialVisibilityNotIn ¶
func CredentialVisibilityNotIn(vs ...int) predicate.Credentials
CredentialVisibilityNotIn applies the NotIn predicate on the "credential_visibility" field.
func DeletedAt ¶ added in v0.4.1
func DeletedAt(v time.Time) predicate.Credentials
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶ added in v0.4.1
func DeletedAtEQ(v time.Time) predicate.Credentials
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶ added in v0.4.1
func DeletedAtGT(v time.Time) predicate.Credentials
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶ added in v0.4.1
func DeletedAtGTE(v time.Time) predicate.Credentials
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶ added in v0.4.1
func DeletedAtIn(vs ...time.Time) predicate.Credentials
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶ added in v0.4.1
func DeletedAtIsNil() predicate.Credentials
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶ added in v0.4.1
func DeletedAtLT(v time.Time) predicate.Credentials
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶ added in v0.4.1
func DeletedAtLTE(v time.Time) predicate.Credentials
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶ added in v0.4.1
func DeletedAtNEQ(v time.Time) predicate.Credentials
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶ added in v0.4.1
func DeletedAtNotIn(vs ...time.Time) predicate.Credentials
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶ added in v0.4.1
func DeletedAtNotNil() predicate.Credentials
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func Description ¶
func Description(v string) predicate.Credentials
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.Credentials
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.Credentials
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.Credentials
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.Credentials
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.Credentials
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.Credentials
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.Credentials
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.Credentials
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.Credentials
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.Credentials
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.Credentials
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.Credentials
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.Credentials
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.Credentials
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.Credentials
DescriptionNotNil applies the NotNil predicate on the "description" field.
func DisplayName ¶ added in v0.4.1
func DisplayName(v string) predicate.Credentials
DisplayName applies equality check predicate on the "display_name" field. It's identical to DisplayNameEQ.
func DisplayNameContains ¶ added in v0.4.1
func DisplayNameContains(v string) predicate.Credentials
DisplayNameContains applies the Contains predicate on the "display_name" field.
func DisplayNameContainsFold ¶ added in v0.4.1
func DisplayNameContainsFold(v string) predicate.Credentials
DisplayNameContainsFold applies the ContainsFold predicate on the "display_name" field.
func DisplayNameEQ ¶ added in v0.4.1
func DisplayNameEQ(v string) predicate.Credentials
DisplayNameEQ applies the EQ predicate on the "display_name" field.
func DisplayNameEqualFold ¶ added in v0.4.1
func DisplayNameEqualFold(v string) predicate.Credentials
DisplayNameEqualFold applies the EqualFold predicate on the "display_name" field.
func DisplayNameGT ¶ added in v0.4.1
func DisplayNameGT(v string) predicate.Credentials
DisplayNameGT applies the GT predicate on the "display_name" field.
func DisplayNameGTE ¶ added in v0.4.1
func DisplayNameGTE(v string) predicate.Credentials
DisplayNameGTE applies the GTE predicate on the "display_name" field.
func DisplayNameHasPrefix ¶ added in v0.4.1
func DisplayNameHasPrefix(v string) predicate.Credentials
DisplayNameHasPrefix applies the HasPrefix predicate on the "display_name" field.
func DisplayNameHasSuffix ¶ added in v0.4.1
func DisplayNameHasSuffix(v string) predicate.Credentials
DisplayNameHasSuffix applies the HasSuffix predicate on the "display_name" field.
func DisplayNameIn ¶ added in v0.4.1
func DisplayNameIn(vs ...string) predicate.Credentials
DisplayNameIn applies the In predicate on the "display_name" field.
func DisplayNameLT ¶ added in v0.4.1
func DisplayNameLT(v string) predicate.Credentials
DisplayNameLT applies the LT predicate on the "display_name" field.
func DisplayNameLTE ¶ added in v0.4.1
func DisplayNameLTE(v string) predicate.Credentials
DisplayNameLTE applies the LTE predicate on the "display_name" field.
func DisplayNameNEQ ¶ added in v0.4.1
func DisplayNameNEQ(v string) predicate.Credentials
DisplayNameNEQ applies the NEQ predicate on the "display_name" field.
func DisplayNameNotIn ¶ added in v0.4.1
func DisplayNameNotIn(vs ...string) predicate.Credentials
DisplayNameNotIn applies the NotIn predicate on the "display_name" field.
func ExpiresAt ¶
func ExpiresAt(v time.Time) predicate.Credentials
ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.
func ExpiresAtEQ ¶
func ExpiresAtEQ(v time.Time) predicate.Credentials
ExpiresAtEQ applies the EQ predicate on the "expires_at" field.
func ExpiresAtGT ¶
func ExpiresAtGT(v time.Time) predicate.Credentials
ExpiresAtGT applies the GT predicate on the "expires_at" field.
func ExpiresAtGTE ¶
func ExpiresAtGTE(v time.Time) predicate.Credentials
ExpiresAtGTE applies the GTE predicate on the "expires_at" field.
func ExpiresAtIn ¶
func ExpiresAtIn(vs ...time.Time) predicate.Credentials
ExpiresAtIn applies the In predicate on the "expires_at" field.
func ExpiresAtIsNil ¶
func ExpiresAtIsNil() predicate.Credentials
ExpiresAtIsNil applies the IsNil predicate on the "expires_at" field.
func ExpiresAtLT ¶
func ExpiresAtLT(v time.Time) predicate.Credentials
ExpiresAtLT applies the LT predicate on the "expires_at" field.
func ExpiresAtLTE ¶
func ExpiresAtLTE(v time.Time) predicate.Credentials
ExpiresAtLTE applies the LTE predicate on the "expires_at" field.
func ExpiresAtNEQ ¶
func ExpiresAtNEQ(v time.Time) predicate.Credentials
ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.
func ExpiresAtNotIn ¶
func ExpiresAtNotIn(vs ...time.Time) predicate.Credentials
ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.
func ExpiresAtNotNil ¶
func ExpiresAtNotNil() predicate.Credentials
ExpiresAtNotNil applies the NotNil predicate on the "expires_at" field.
func Fingerprint ¶ added in v0.4.1
func Fingerprint(v string) predicate.Credentials
Fingerprint applies equality check predicate on the "fingerprint" field. It's identical to FingerprintEQ.
func FingerprintContains ¶ added in v0.4.1
func FingerprintContains(v string) predicate.Credentials
FingerprintContains applies the Contains predicate on the "fingerprint" field.
func FingerprintContainsFold ¶ added in v0.4.1
func FingerprintContainsFold(v string) predicate.Credentials
FingerprintContainsFold applies the ContainsFold predicate on the "fingerprint" field.
func FingerprintEQ ¶ added in v0.4.1
func FingerprintEQ(v string) predicate.Credentials
FingerprintEQ applies the EQ predicate on the "fingerprint" field.
func FingerprintEqualFold ¶ added in v0.4.1
func FingerprintEqualFold(v string) predicate.Credentials
FingerprintEqualFold applies the EqualFold predicate on the "fingerprint" field.
func FingerprintGT ¶ added in v0.4.1
func FingerprintGT(v string) predicate.Credentials
FingerprintGT applies the GT predicate on the "fingerprint" field.
func FingerprintGTE ¶ added in v0.4.1
func FingerprintGTE(v string) predicate.Credentials
FingerprintGTE applies the GTE predicate on the "fingerprint" field.
func FingerprintHasPrefix ¶ added in v0.4.1
func FingerprintHasPrefix(v string) predicate.Credentials
FingerprintHasPrefix applies the HasPrefix predicate on the "fingerprint" field.
func FingerprintHasSuffix ¶ added in v0.4.1
func FingerprintHasSuffix(v string) predicate.Credentials
FingerprintHasSuffix applies the HasSuffix predicate on the "fingerprint" field.
func FingerprintIn ¶ added in v0.4.1
func FingerprintIn(vs ...string) predicate.Credentials
FingerprintIn applies the In predicate on the "fingerprint" field.
func FingerprintIsNil ¶ added in v0.4.1
func FingerprintIsNil() predicate.Credentials
FingerprintIsNil applies the IsNil predicate on the "fingerprint" field.
func FingerprintLT ¶ added in v0.4.1
func FingerprintLT(v string) predicate.Credentials
FingerprintLT applies the LT predicate on the "fingerprint" field.
func FingerprintLTE ¶ added in v0.4.1
func FingerprintLTE(v string) predicate.Credentials
FingerprintLTE applies the LTE predicate on the "fingerprint" field.
func FingerprintNEQ ¶ added in v0.4.1
func FingerprintNEQ(v string) predicate.Credentials
FingerprintNEQ applies the NEQ predicate on the "fingerprint" field.
func FingerprintNotIn ¶ added in v0.4.1
func FingerprintNotIn(vs ...string) predicate.Credentials
FingerprintNotIn applies the NotIn predicate on the "fingerprint" field.
func FingerprintNotNil ¶ added in v0.4.1
func FingerprintNotNil() predicate.Credentials
FingerprintNotNil applies the NotNil predicate on the "fingerprint" field.
func IDGTE ¶
func IDGTE(id int) predicate.Credentials
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.Credentials
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.Credentials
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.Credentials
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.Credentials
IDNotIn applies the NotIn predicate on the ID field.
func LicenseKeyEncrypted ¶
func LicenseKeyEncrypted(v []byte) predicate.Credentials
LicenseKeyEncrypted applies equality check predicate on the "license_key_encrypted" field. It's identical to LicenseKeyEncryptedEQ.
func LicenseKeyEncryptedEQ ¶
func LicenseKeyEncryptedEQ(v []byte) predicate.Credentials
LicenseKeyEncryptedEQ applies the EQ predicate on the "license_key_encrypted" field.
func LicenseKeyEncryptedGT ¶
func LicenseKeyEncryptedGT(v []byte) predicate.Credentials
LicenseKeyEncryptedGT applies the GT predicate on the "license_key_encrypted" field.
func LicenseKeyEncryptedGTE ¶
func LicenseKeyEncryptedGTE(v []byte) predicate.Credentials
LicenseKeyEncryptedGTE applies the GTE predicate on the "license_key_encrypted" field.
func LicenseKeyEncryptedIn ¶
func LicenseKeyEncryptedIn(vs ...[]byte) predicate.Credentials
LicenseKeyEncryptedIn applies the In predicate on the "license_key_encrypted" field.
func LicenseKeyEncryptedIsNil ¶
func LicenseKeyEncryptedIsNil() predicate.Credentials
LicenseKeyEncryptedIsNil applies the IsNil predicate on the "license_key_encrypted" field.
func LicenseKeyEncryptedLT ¶
func LicenseKeyEncryptedLT(v []byte) predicate.Credentials
LicenseKeyEncryptedLT applies the LT predicate on the "license_key_encrypted" field.
func LicenseKeyEncryptedLTE ¶
func LicenseKeyEncryptedLTE(v []byte) predicate.Credentials
LicenseKeyEncryptedLTE applies the LTE predicate on the "license_key_encrypted" field.
func LicenseKeyEncryptedNEQ ¶
func LicenseKeyEncryptedNEQ(v []byte) predicate.Credentials
LicenseKeyEncryptedNEQ applies the NEQ predicate on the "license_key_encrypted" field.
func LicenseKeyEncryptedNotIn ¶
func LicenseKeyEncryptedNotIn(vs ...[]byte) predicate.Credentials
LicenseKeyEncryptedNotIn applies the NotIn predicate on the "license_key_encrypted" field.
func LicenseKeyEncryptedNotNil ¶
func LicenseKeyEncryptedNotNil() predicate.Credentials
LicenseKeyEncryptedNotNil applies the NotNil predicate on the "license_key_encrypted" field.
func MetadataIsNil ¶
func MetadataIsNil() predicate.Credentials
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
func MetadataNotNil() predicate.Credentials
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func Not ¶
func Not(p predicate.Credentials) predicate.Credentials
Not applies the not operator on the given predicate.
func NotBefore ¶
func NotBefore(v time.Time) predicate.Credentials
NotBefore applies equality check predicate on the "not_before" field. It's identical to NotBeforeEQ.
func NotBeforeEQ ¶
func NotBeforeEQ(v time.Time) predicate.Credentials
NotBeforeEQ applies the EQ predicate on the "not_before" field.
func NotBeforeGT ¶
func NotBeforeGT(v time.Time) predicate.Credentials
NotBeforeGT applies the GT predicate on the "not_before" field.
func NotBeforeGTE ¶
func NotBeforeGTE(v time.Time) predicate.Credentials
NotBeforeGTE applies the GTE predicate on the "not_before" field.
func NotBeforeIn ¶
func NotBeforeIn(vs ...time.Time) predicate.Credentials
NotBeforeIn applies the In predicate on the "not_before" field.
func NotBeforeIsNil ¶
func NotBeforeIsNil() predicate.Credentials
NotBeforeIsNil applies the IsNil predicate on the "not_before" field.
func NotBeforeLT ¶
func NotBeforeLT(v time.Time) predicate.Credentials
NotBeforeLT applies the LT predicate on the "not_before" field.
func NotBeforeLTE ¶
func NotBeforeLTE(v time.Time) predicate.Credentials
NotBeforeLTE applies the LTE predicate on the "not_before" field.
func NotBeforeNEQ ¶
func NotBeforeNEQ(v time.Time) predicate.Credentials
NotBeforeNEQ applies the NEQ predicate on the "not_before" field.
func NotBeforeNotIn ¶
func NotBeforeNotIn(vs ...time.Time) predicate.Credentials
NotBeforeNotIn applies the NotIn predicate on the "not_before" field.
func NotBeforeNotNil ¶
func NotBeforeNotNil() predicate.Credentials
NotBeforeNotNil applies the NotNil predicate on the "not_before" field.
func Or ¶
func Or(predicates ...predicate.Credentials) predicate.Credentials
Or groups predicates with the OR operator between them.
func PassphraseEncrypted ¶
func PassphraseEncrypted(v []byte) predicate.Credentials
PassphraseEncrypted applies equality check predicate on the "passphrase_encrypted" field. It's identical to PassphraseEncryptedEQ.
func PassphraseEncryptedEQ ¶
func PassphraseEncryptedEQ(v []byte) predicate.Credentials
PassphraseEncryptedEQ applies the EQ predicate on the "passphrase_encrypted" field.
func PassphraseEncryptedGT ¶
func PassphraseEncryptedGT(v []byte) predicate.Credentials
PassphraseEncryptedGT applies the GT predicate on the "passphrase_encrypted" field.
func PassphraseEncryptedGTE ¶
func PassphraseEncryptedGTE(v []byte) predicate.Credentials
PassphraseEncryptedGTE applies the GTE predicate on the "passphrase_encrypted" field.
func PassphraseEncryptedIn ¶
func PassphraseEncryptedIn(vs ...[]byte) predicate.Credentials
PassphraseEncryptedIn applies the In predicate on the "passphrase_encrypted" field.
func PassphraseEncryptedIsNil ¶
func PassphraseEncryptedIsNil() predicate.Credentials
PassphraseEncryptedIsNil applies the IsNil predicate on the "passphrase_encrypted" field.
func PassphraseEncryptedLT ¶
func PassphraseEncryptedLT(v []byte) predicate.Credentials
PassphraseEncryptedLT applies the LT predicate on the "passphrase_encrypted" field.
func PassphraseEncryptedLTE ¶
func PassphraseEncryptedLTE(v []byte) predicate.Credentials
PassphraseEncryptedLTE applies the LTE predicate on the "passphrase_encrypted" field.
func PassphraseEncryptedNEQ ¶
func PassphraseEncryptedNEQ(v []byte) predicate.Credentials
PassphraseEncryptedNEQ applies the NEQ predicate on the "passphrase_encrypted" field.
func PassphraseEncryptedNotIn ¶
func PassphraseEncryptedNotIn(vs ...[]byte) predicate.Credentials
PassphraseEncryptedNotIn applies the NotIn predicate on the "passphrase_encrypted" field.
func PassphraseEncryptedNotNil ¶
func PassphraseEncryptedNotNil() predicate.Credentials
PassphraseEncryptedNotNil applies the NotNil predicate on the "passphrase_encrypted" field.
func PrivateKeyEncrypted ¶
func PrivateKeyEncrypted(v []byte) predicate.Credentials
PrivateKeyEncrypted applies equality check predicate on the "private_key_encrypted" field. It's identical to PrivateKeyEncryptedEQ.
func PrivateKeyEncryptedEQ ¶
func PrivateKeyEncryptedEQ(v []byte) predicate.Credentials
PrivateKeyEncryptedEQ applies the EQ predicate on the "private_key_encrypted" field.
func PrivateKeyEncryptedGT ¶
func PrivateKeyEncryptedGT(v []byte) predicate.Credentials
PrivateKeyEncryptedGT applies the GT predicate on the "private_key_encrypted" field.
func PrivateKeyEncryptedGTE ¶
func PrivateKeyEncryptedGTE(v []byte) predicate.Credentials
PrivateKeyEncryptedGTE applies the GTE predicate on the "private_key_encrypted" field.
func PrivateKeyEncryptedIn ¶
func PrivateKeyEncryptedIn(vs ...[]byte) predicate.Credentials
PrivateKeyEncryptedIn applies the In predicate on the "private_key_encrypted" field.
func PrivateKeyEncryptedIsNil ¶
func PrivateKeyEncryptedIsNil() predicate.Credentials
PrivateKeyEncryptedIsNil applies the IsNil predicate on the "private_key_encrypted" field.
func PrivateKeyEncryptedLT ¶
func PrivateKeyEncryptedLT(v []byte) predicate.Credentials
PrivateKeyEncryptedLT applies the LT predicate on the "private_key_encrypted" field.
func PrivateKeyEncryptedLTE ¶
func PrivateKeyEncryptedLTE(v []byte) predicate.Credentials
PrivateKeyEncryptedLTE applies the LTE predicate on the "private_key_encrypted" field.
func PrivateKeyEncryptedNEQ ¶
func PrivateKeyEncryptedNEQ(v []byte) predicate.Credentials
PrivateKeyEncryptedNEQ applies the NEQ predicate on the "private_key_encrypted" field.
func PrivateKeyEncryptedNotIn ¶
func PrivateKeyEncryptedNotIn(vs ...[]byte) predicate.Credentials
PrivateKeyEncryptedNotIn applies the NotIn predicate on the "private_key_encrypted" field.
func PrivateKeyEncryptedNotNil ¶
func PrivateKeyEncryptedNotNil() predicate.Credentials
PrivateKeyEncryptedNotNil applies the NotNil predicate on the "private_key_encrypted" field.
func Protected ¶ added in v0.4.1
func Protected(v bool) predicate.Credentials
Protected applies equality check predicate on the "protected" field. It's identical to ProtectedEQ.
func ProtectedEQ ¶ added in v0.4.1
func ProtectedEQ(v bool) predicate.Credentials
ProtectedEQ applies the EQ predicate on the "protected" field.
func ProtectedNEQ ¶ added in v0.4.1
func ProtectedNEQ(v bool) predicate.Credentials
ProtectedNEQ applies the NEQ predicate on the "protected" field.
func PublicKey ¶
func PublicKey(v []byte) predicate.Credentials
PublicKey applies equality check predicate on the "public_key" field. It's identical to PublicKeyEQ.
func PublicKeyEQ ¶
func PublicKeyEQ(v []byte) predicate.Credentials
PublicKeyEQ applies the EQ predicate on the "public_key" field.
func PublicKeyGT ¶
func PublicKeyGT(v []byte) predicate.Credentials
PublicKeyGT applies the GT predicate on the "public_key" field.
func PublicKeyGTE ¶
func PublicKeyGTE(v []byte) predicate.Credentials
PublicKeyGTE applies the GTE predicate on the "public_key" field.
func PublicKeyIn ¶
func PublicKeyIn(vs ...[]byte) predicate.Credentials
PublicKeyIn applies the In predicate on the "public_key" field.
func PublicKeyIsNil ¶
func PublicKeyIsNil() predicate.Credentials
PublicKeyIsNil applies the IsNil predicate on the "public_key" field.
func PublicKeyLT ¶
func PublicKeyLT(v []byte) predicate.Credentials
PublicKeyLT applies the LT predicate on the "public_key" field.
func PublicKeyLTE ¶
func PublicKeyLTE(v []byte) predicate.Credentials
PublicKeyLTE applies the LTE predicate on the "public_key" field.
func PublicKeyNEQ ¶
func PublicKeyNEQ(v []byte) predicate.Credentials
PublicKeyNEQ applies the NEQ predicate on the "public_key" field.
func PublicKeyNotIn ¶
func PublicKeyNotIn(vs ...[]byte) predicate.Credentials
PublicKeyNotIn applies the NotIn predicate on the "public_key" field.
func PublicKeyNotNil ¶
func PublicKeyNotNil() predicate.Credentials
PublicKeyNotNil applies the NotNil predicate on the "public_key" field.
func Signature ¶
func Signature(v []byte) predicate.Credentials
Signature applies equality check predicate on the "signature" field. It's identical to SignatureEQ.
func SignatureEQ ¶
func SignatureEQ(v []byte) predicate.Credentials
SignatureEQ applies the EQ predicate on the "signature" field.
func SignatureGT ¶
func SignatureGT(v []byte) predicate.Credentials
SignatureGT applies the GT predicate on the "signature" field.
func SignatureGTE ¶
func SignatureGTE(v []byte) predicate.Credentials
SignatureGTE applies the GTE predicate on the "signature" field.
func SignatureIn ¶
func SignatureIn(vs ...[]byte) predicate.Credentials
SignatureIn applies the In predicate on the "signature" field.
func SignatureIsNil ¶
func SignatureIsNil() predicate.Credentials
SignatureIsNil applies the IsNil predicate on the "signature" field.
func SignatureLT ¶
func SignatureLT(v []byte) predicate.Credentials
SignatureLT applies the LT predicate on the "signature" field.
func SignatureLTE ¶
func SignatureLTE(v []byte) predicate.Credentials
SignatureLTE applies the LTE predicate on the "signature" field.
func SignatureNEQ ¶
func SignatureNEQ(v []byte) predicate.Credentials
SignatureNEQ applies the NEQ predicate on the "signature" field.
func SignatureNotIn ¶
func SignatureNotIn(vs ...[]byte) predicate.Credentials
SignatureNotIn applies the NotIn predicate on the "signature" field.
func SignatureNotNil ¶
func SignatureNotNil() predicate.Credentials
SignatureNotNil applies the NotNil predicate on the "signature" field.
func SymmetricKeyEncrypted ¶ added in v0.4.1
func SymmetricKeyEncrypted(v []byte) predicate.Credentials
SymmetricKeyEncrypted applies equality check predicate on the "symmetric_key_encrypted" field. It's identical to SymmetricKeyEncryptedEQ.
func SymmetricKeyEncryptedEQ ¶ added in v0.4.1
func SymmetricKeyEncryptedEQ(v []byte) predicate.Credentials
SymmetricKeyEncryptedEQ applies the EQ predicate on the "symmetric_key_encrypted" field.
func SymmetricKeyEncryptedGT ¶ added in v0.4.1
func SymmetricKeyEncryptedGT(v []byte) predicate.Credentials
SymmetricKeyEncryptedGT applies the GT predicate on the "symmetric_key_encrypted" field.
func SymmetricKeyEncryptedGTE ¶ added in v0.4.1
func SymmetricKeyEncryptedGTE(v []byte) predicate.Credentials
SymmetricKeyEncryptedGTE applies the GTE predicate on the "symmetric_key_encrypted" field.
func SymmetricKeyEncryptedIn ¶ added in v0.4.1
func SymmetricKeyEncryptedIn(vs ...[]byte) predicate.Credentials
SymmetricKeyEncryptedIn applies the In predicate on the "symmetric_key_encrypted" field.
func SymmetricKeyEncryptedIsNil ¶ added in v0.4.1
func SymmetricKeyEncryptedIsNil() predicate.Credentials
SymmetricKeyEncryptedIsNil applies the IsNil predicate on the "symmetric_key_encrypted" field.
func SymmetricKeyEncryptedLT ¶ added in v0.4.1
func SymmetricKeyEncryptedLT(v []byte) predicate.Credentials
SymmetricKeyEncryptedLT applies the LT predicate on the "symmetric_key_encrypted" field.
func SymmetricKeyEncryptedLTE ¶ added in v0.4.1
func SymmetricKeyEncryptedLTE(v []byte) predicate.Credentials
SymmetricKeyEncryptedLTE applies the LTE predicate on the "symmetric_key_encrypted" field.
func SymmetricKeyEncryptedNEQ ¶ added in v0.4.1
func SymmetricKeyEncryptedNEQ(v []byte) predicate.Credentials
SymmetricKeyEncryptedNEQ applies the NEQ predicate on the "symmetric_key_encrypted" field.
func SymmetricKeyEncryptedNotIn ¶ added in v0.4.1
func SymmetricKeyEncryptedNotIn(vs ...[]byte) predicate.Credentials
SymmetricKeyEncryptedNotIn applies the NotIn predicate on the "symmetric_key_encrypted" field.
func SymmetricKeyEncryptedNotNil ¶ added in v0.4.1
func SymmetricKeyEncryptedNotNil() predicate.Credentials
SymmetricKeyEncryptedNotNil applies the NotNil predicate on the "symmetric_key_encrypted" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.Credentials
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.Credentials
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.Credentials
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.Credentials
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.Credentials
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.Credentials
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.Credentials
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.Credentials
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.Credentials
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v int64) predicate.Credentials
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByEQ ¶
func UpdatedByEQ(v int64) predicate.Credentials
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v int64) predicate.Credentials
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v int64) predicate.Credentials
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...int64) predicate.Credentials
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.Credentials
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v int64) predicate.Credentials
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v int64) predicate.Credentials
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v int64) predicate.Credentials
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...int64) predicate.Credentials
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.Credentials
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Credentials queries.
func ByAPIKey ¶
func ByAPIKey(opts ...sql.OrderTermOption) OrderOption
ByAPIKey orders the results by the api_key field.
func ByCode ¶
func ByCode(opts ...sql.OrderTermOption) OrderOption
ByCode orders the results by the code field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByCredentialAlgorithm ¶
func ByCredentialAlgorithm(opts ...sql.OrderTermOption) OrderOption
ByCredentialAlgorithm orders the results by the credential_algorithm field.
func ByCredentialSource ¶
func ByCredentialSource(opts ...sql.OrderTermOption) OrderOption
ByCredentialSource orders the results by the credential_source field.
func ByCredentialStatus ¶
func ByCredentialStatus(opts ...sql.OrderTermOption) OrderOption
ByCredentialStatus orders the results by the credential_status field.
func ByCredentialType ¶
func ByCredentialType(opts ...sql.OrderTermOption) OrderOption
ByCredentialType orders the results by the credential_type field.
func ByCredentialUsage ¶
func ByCredentialUsage(opts ...sql.OrderTermOption) OrderOption
ByCredentialUsage orders the results by the credential_usage field.
func ByCredentialVisibility ¶
func ByCredentialVisibility(opts ...sql.OrderTermOption) OrderOption
ByCredentialVisibility orders the results by the credential_visibility field.
func ByDeletedAt ¶ added in v0.4.1
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByDisplayName ¶ added in v0.4.1
func ByDisplayName(opts ...sql.OrderTermOption) OrderOption
ByDisplayName orders the results by the display_name field.
func ByExpiresAt ¶
func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
ByExpiresAt orders the results by the expires_at field.
func ByFingerprint ¶ added in v0.4.1
func ByFingerprint(opts ...sql.OrderTermOption) OrderOption
ByFingerprint orders the results by the fingerprint field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByNotBefore ¶
func ByNotBefore(opts ...sql.OrderTermOption) OrderOption
ByNotBefore orders the results by the not_before field.
func ByProtected ¶ added in v0.4.1
func ByProtected(opts ...sql.OrderTermOption) OrderOption
ByProtected orders the results by the protected field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.