credentials

package
v0.3.9-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 17, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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"
	// 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"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// 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"
	// FieldKeyID holds the string denoting the key_id field in the database.
	FieldKeyID = "key_id"
	// 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"
	// FieldSymmetricKey holds the string denoting the symmetric_key field in the database.
	FieldSymmetricKey = "symmetric_key"
	// FieldJwksURI holds the string denoting the jwks_uri field in the database.
	FieldJwksURI = "jwks_uri"
	// 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"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// Table holds the table name of the credentials in the database.
	Table = "lion_credentials"
)

Variables

View Source
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
	// 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
)

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 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 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 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 ID

func ID(id int) predicate.Credentials

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Credentials

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Credentials

IDGT applies the GT predicate on the ID 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 IDLT

func IDLT(id int) predicate.Credentials

IDLT applies the LT 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 JwksURI

func JwksURI(v string) predicate.Credentials

JwksURI applies equality check predicate on the "jwks_uri" field. It's identical to JwksURIEQ.

func JwksURIContains

func JwksURIContains(v string) predicate.Credentials

JwksURIContains applies the Contains predicate on the "jwks_uri" field.

func JwksURIContainsFold

func JwksURIContainsFold(v string) predicate.Credentials

JwksURIContainsFold applies the ContainsFold predicate on the "jwks_uri" field.

func JwksURIEQ

func JwksURIEQ(v string) predicate.Credentials

JwksURIEQ applies the EQ predicate on the "jwks_uri" field.

func JwksURIEqualFold

func JwksURIEqualFold(v string) predicate.Credentials

JwksURIEqualFold applies the EqualFold predicate on the "jwks_uri" field.

func JwksURIGT

func JwksURIGT(v string) predicate.Credentials

JwksURIGT applies the GT predicate on the "jwks_uri" field.

func JwksURIGTE

func JwksURIGTE(v string) predicate.Credentials

JwksURIGTE applies the GTE predicate on the "jwks_uri" field.

func JwksURIHasPrefix

func JwksURIHasPrefix(v string) predicate.Credentials

JwksURIHasPrefix applies the HasPrefix predicate on the "jwks_uri" field.

func JwksURIHasSuffix

func JwksURIHasSuffix(v string) predicate.Credentials

JwksURIHasSuffix applies the HasSuffix predicate on the "jwks_uri" field.

func JwksURIIn

func JwksURIIn(vs ...string) predicate.Credentials

JwksURIIn applies the In predicate on the "jwks_uri" field.

func JwksURIIsNil

func JwksURIIsNil() predicate.Credentials

JwksURIIsNil applies the IsNil predicate on the "jwks_uri" field.

func JwksURILT

func JwksURILT(v string) predicate.Credentials

JwksURILT applies the LT predicate on the "jwks_uri" field.

func JwksURILTE

func JwksURILTE(v string) predicate.Credentials

JwksURILTE applies the LTE predicate on the "jwks_uri" field.

func JwksURINEQ

func JwksURINEQ(v string) predicate.Credentials

JwksURINEQ applies the NEQ predicate on the "jwks_uri" field.

func JwksURINotIn

func JwksURINotIn(vs ...string) predicate.Credentials

JwksURINotIn applies the NotIn predicate on the "jwks_uri" field.

func JwksURINotNil

func JwksURINotNil() predicate.Credentials

JwksURINotNil applies the NotNil predicate on the "jwks_uri" field.

func KeyID

func KeyID(v string) predicate.Credentials

KeyID applies equality check predicate on the "key_id" field. It's identical to KeyIDEQ.

func KeyIDContains

func KeyIDContains(v string) predicate.Credentials

KeyIDContains applies the Contains predicate on the "key_id" field.

func KeyIDContainsFold

func KeyIDContainsFold(v string) predicate.Credentials

KeyIDContainsFold applies the ContainsFold predicate on the "key_id" field.

func KeyIDEQ

func KeyIDEQ(v string) predicate.Credentials

KeyIDEQ applies the EQ predicate on the "key_id" field.

func KeyIDEqualFold

func KeyIDEqualFold(v string) predicate.Credentials

KeyIDEqualFold applies the EqualFold predicate on the "key_id" field.

func KeyIDGT

func KeyIDGT(v string) predicate.Credentials

KeyIDGT applies the GT predicate on the "key_id" field.

func KeyIDGTE

func KeyIDGTE(v string) predicate.Credentials

KeyIDGTE applies the GTE predicate on the "key_id" field.

func KeyIDHasPrefix

func KeyIDHasPrefix(v string) predicate.Credentials

KeyIDHasPrefix applies the HasPrefix predicate on the "key_id" field.

func KeyIDHasSuffix

func KeyIDHasSuffix(v string) predicate.Credentials

KeyIDHasSuffix applies the HasSuffix predicate on the "key_id" field.

func KeyIDIn

func KeyIDIn(vs ...string) predicate.Credentials

KeyIDIn applies the In predicate on the "key_id" field.

func KeyIDIsNil

func KeyIDIsNil() predicate.Credentials

KeyIDIsNil applies the IsNil predicate on the "key_id" field.

func KeyIDLT

func KeyIDLT(v string) predicate.Credentials

KeyIDLT applies the LT predicate on the "key_id" field.

func KeyIDLTE

func KeyIDLTE(v string) predicate.Credentials

KeyIDLTE applies the LTE predicate on the "key_id" field.

func KeyIDNEQ

func KeyIDNEQ(v string) predicate.Credentials

KeyIDNEQ applies the NEQ predicate on the "key_id" field.

func KeyIDNotIn

func KeyIDNotIn(vs ...string) predicate.Credentials

KeyIDNotIn applies the NotIn predicate on the "key_id" field.

func KeyIDNotNil

func KeyIDNotNil() predicate.Credentials

KeyIDNotNil applies the NotNil predicate on the "key_id" field.

func LicenseKeyEncrypted

func LicenseKeyEncrypted(v string) predicate.Credentials

LicenseKeyEncrypted applies equality check predicate on the "license_key_encrypted" field. It's identical to LicenseKeyEncryptedEQ.

func LicenseKeyEncryptedContains

func LicenseKeyEncryptedContains(v string) predicate.Credentials

LicenseKeyEncryptedContains applies the Contains predicate on the "license_key_encrypted" field.

func LicenseKeyEncryptedContainsFold

func LicenseKeyEncryptedContainsFold(v string) predicate.Credentials

LicenseKeyEncryptedContainsFold applies the ContainsFold predicate on the "license_key_encrypted" field.

func LicenseKeyEncryptedEQ

func LicenseKeyEncryptedEQ(v string) predicate.Credentials

LicenseKeyEncryptedEQ applies the EQ predicate on the "license_key_encrypted" field.

func LicenseKeyEncryptedEqualFold

func LicenseKeyEncryptedEqualFold(v string) predicate.Credentials

LicenseKeyEncryptedEqualFold applies the EqualFold predicate on the "license_key_encrypted" field.

func LicenseKeyEncryptedGT

func LicenseKeyEncryptedGT(v string) predicate.Credentials

LicenseKeyEncryptedGT applies the GT predicate on the "license_key_encrypted" field.

func LicenseKeyEncryptedGTE

func LicenseKeyEncryptedGTE(v string) predicate.Credentials

LicenseKeyEncryptedGTE applies the GTE predicate on the "license_key_encrypted" field.

func LicenseKeyEncryptedHasPrefix

func LicenseKeyEncryptedHasPrefix(v string) predicate.Credentials

LicenseKeyEncryptedHasPrefix applies the HasPrefix predicate on the "license_key_encrypted" field.

func LicenseKeyEncryptedHasSuffix

func LicenseKeyEncryptedHasSuffix(v string) predicate.Credentials

LicenseKeyEncryptedHasSuffix applies the HasSuffix predicate on the "license_key_encrypted" field.

func LicenseKeyEncryptedIn

func LicenseKeyEncryptedIn(vs ...string) 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 string) predicate.Credentials

LicenseKeyEncryptedLT applies the LT predicate on the "license_key_encrypted" field.

func LicenseKeyEncryptedLTE

func LicenseKeyEncryptedLTE(v string) predicate.Credentials

LicenseKeyEncryptedLTE applies the LTE predicate on the "license_key_encrypted" field.

func LicenseKeyEncryptedNEQ

func LicenseKeyEncryptedNEQ(v string) predicate.Credentials

LicenseKeyEncryptedNEQ applies the NEQ predicate on the "license_key_encrypted" field.

func LicenseKeyEncryptedNotIn

func LicenseKeyEncryptedNotIn(vs ...string) 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 Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Credentials

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Credentials

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Credentials

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Credentials

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Credentials

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Credentials

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Credentials

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Credentials

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Credentials

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Credentials

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Credentials

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Credentials

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Credentials

NameNotIn applies the NotIn predicate on the "name" field.

func Not

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 PublicKey

func PublicKey(v string) predicate.Credentials

PublicKey applies equality check predicate on the "public_key" field. It's identical to PublicKeyEQ.

func PublicKeyContains

func PublicKeyContains(v string) predicate.Credentials

PublicKeyContains applies the Contains predicate on the "public_key" field.

func PublicKeyContainsFold

func PublicKeyContainsFold(v string) predicate.Credentials

PublicKeyContainsFold applies the ContainsFold predicate on the "public_key" field.

func PublicKeyEQ

func PublicKeyEQ(v string) predicate.Credentials

PublicKeyEQ applies the EQ predicate on the "public_key" field.

func PublicKeyEqualFold

func PublicKeyEqualFold(v string) predicate.Credentials

PublicKeyEqualFold applies the EqualFold predicate on the "public_key" field.

func PublicKeyGT

func PublicKeyGT(v string) predicate.Credentials

PublicKeyGT applies the GT predicate on the "public_key" field.

func PublicKeyGTE

func PublicKeyGTE(v string) predicate.Credentials

PublicKeyGTE applies the GTE predicate on the "public_key" field.

func PublicKeyHasPrefix

func PublicKeyHasPrefix(v string) predicate.Credentials

PublicKeyHasPrefix applies the HasPrefix predicate on the "public_key" field.

func PublicKeyHasSuffix

func PublicKeyHasSuffix(v string) predicate.Credentials

PublicKeyHasSuffix applies the HasSuffix predicate on the "public_key" field.

func PublicKeyIn

func PublicKeyIn(vs ...string) 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 string) predicate.Credentials

PublicKeyLT applies the LT predicate on the "public_key" field.

func PublicKeyLTE

func PublicKeyLTE(v string) predicate.Credentials

PublicKeyLTE applies the LTE predicate on the "public_key" field.

func PublicKeyNEQ

func PublicKeyNEQ(v string) predicate.Credentials

PublicKeyNEQ applies the NEQ predicate on the "public_key" field.

func PublicKeyNotIn

func PublicKeyNotIn(vs ...string) 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 string) predicate.Credentials

Signature applies equality check predicate on the "signature" field. It's identical to SignatureEQ.

func SignatureContains

func SignatureContains(v string) predicate.Credentials

SignatureContains applies the Contains predicate on the "signature" field.

func SignatureContainsFold

func SignatureContainsFold(v string) predicate.Credentials

SignatureContainsFold applies the ContainsFold predicate on the "signature" field.

func SignatureEQ

func SignatureEQ(v string) predicate.Credentials

SignatureEQ applies the EQ predicate on the "signature" field.

func SignatureEqualFold

func SignatureEqualFold(v string) predicate.Credentials

SignatureEqualFold applies the EqualFold predicate on the "signature" field.

func SignatureGT

func SignatureGT(v string) predicate.Credentials

SignatureGT applies the GT predicate on the "signature" field.

func SignatureGTE

func SignatureGTE(v string) predicate.Credentials

SignatureGTE applies the GTE predicate on the "signature" field.

func SignatureHasPrefix

func SignatureHasPrefix(v string) predicate.Credentials

SignatureHasPrefix applies the HasPrefix predicate on the "signature" field.

func SignatureHasSuffix

func SignatureHasSuffix(v string) predicate.Credentials

SignatureHasSuffix applies the HasSuffix predicate on the "signature" field.

func SignatureIn

func SignatureIn(vs ...string) 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 string) predicate.Credentials

SignatureLT applies the LT predicate on the "signature" field.

func SignatureLTE

func SignatureLTE(v string) predicate.Credentials

SignatureLTE applies the LTE predicate on the "signature" field.

func SignatureNEQ

func SignatureNEQ(v string) predicate.Credentials

SignatureNEQ applies the NEQ predicate on the "signature" field.

func SignatureNotIn

func SignatureNotIn(vs ...string) 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 SymmetricKey

func SymmetricKey(v []byte) predicate.Credentials

SymmetricKey applies equality check predicate on the "symmetric_key" field. It's identical to SymmetricKeyEQ.

func SymmetricKeyEQ

func SymmetricKeyEQ(v []byte) predicate.Credentials

SymmetricKeyEQ applies the EQ predicate on the "symmetric_key" field.

func SymmetricKeyGT

func SymmetricKeyGT(v []byte) predicate.Credentials

SymmetricKeyGT applies the GT predicate on the "symmetric_key" field.

func SymmetricKeyGTE

func SymmetricKeyGTE(v []byte) predicate.Credentials

SymmetricKeyGTE applies the GTE predicate on the "symmetric_key" field.

func SymmetricKeyIn

func SymmetricKeyIn(vs ...[]byte) predicate.Credentials

SymmetricKeyIn applies the In predicate on the "symmetric_key" field.

func SymmetricKeyIsNil

func SymmetricKeyIsNil() predicate.Credentials

SymmetricKeyIsNil applies the IsNil predicate on the "symmetric_key" field.

func SymmetricKeyLT

func SymmetricKeyLT(v []byte) predicate.Credentials

SymmetricKeyLT applies the LT predicate on the "symmetric_key" field.

func SymmetricKeyLTE

func SymmetricKeyLTE(v []byte) predicate.Credentials

SymmetricKeyLTE applies the LTE predicate on the "symmetric_key" field.

func SymmetricKeyNEQ

func SymmetricKeyNEQ(v []byte) predicate.Credentials

SymmetricKeyNEQ applies the NEQ predicate on the "symmetric_key" field.

func SymmetricKeyNotIn

func SymmetricKeyNotIn(vs ...[]byte) predicate.Credentials

SymmetricKeyNotIn applies the NotIn predicate on the "symmetric_key" field.

func SymmetricKeyNotNil

func SymmetricKeyNotNil() predicate.Credentials

SymmetricKeyNotNil applies the NotNil predicate on the "symmetric_key" 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

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

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 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 ByDescription

func ByDescription(opts ...sql.OrderTermOption) OrderOption

ByDescription orders the results by the description 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 ByJwksURI

func ByJwksURI(opts ...sql.OrderTermOption) OrderOption

ByJwksURI orders the results by the jwks_uri field.

func ByKeyID

func ByKeyID(opts ...sql.OrderTermOption) OrderOption

ByKeyID orders the results by the key_id field.

func ByLicenseKeyEncrypted

func ByLicenseKeyEncrypted(opts ...sql.OrderTermOption) OrderOption

ByLicenseKeyEncrypted orders the results by the license_key_encrypted field.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByNotBefore

func ByNotBefore(opts ...sql.OrderTermOption) OrderOption

ByNotBefore orders the results by the not_before field.

func ByPublicKey

func ByPublicKey(opts ...sql.OrderTermOption) OrderOption

ByPublicKey orders the results by the public_key field.

func BySignature

func BySignature(opts ...sql.OrderTermOption) OrderOption

BySignature orders the results by the signature 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL