Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ServiceCredential) predicate.ServiceCredential
- func CreatedAt(v time.Time) predicate.ServiceCredential
- func CreatedAtEQ(v time.Time) predicate.ServiceCredential
- func CreatedAtGT(v time.Time) predicate.ServiceCredential
- func CreatedAtGTE(v time.Time) predicate.ServiceCredential
- func CreatedAtIn(vs ...time.Time) predicate.ServiceCredential
- func CreatedAtLT(v time.Time) predicate.ServiceCredential
- func CreatedAtLTE(v time.Time) predicate.ServiceCredential
- func CreatedAtNEQ(v time.Time) predicate.ServiceCredential
- func CreatedAtNotIn(vs ...time.Time) predicate.ServiceCredential
- func ExpiresAt(v time.Time) predicate.ServiceCredential
- func ExpiresAtEQ(v time.Time) predicate.ServiceCredential
- func ExpiresAtGT(v time.Time) predicate.ServiceCredential
- func ExpiresAtGTE(v time.Time) predicate.ServiceCredential
- func ExpiresAtIn(vs ...time.Time) predicate.ServiceCredential
- func ExpiresAtIsNil() predicate.ServiceCredential
- func ExpiresAtLT(v time.Time) predicate.ServiceCredential
- func ExpiresAtLTE(v time.Time) predicate.ServiceCredential
- func ExpiresAtNEQ(v time.Time) predicate.ServiceCredential
- func ExpiresAtNotIn(vs ...time.Time) predicate.ServiceCredential
- func ExpiresAtNotNil() predicate.ServiceCredential
- func ID(id int64) predicate.ServiceCredential
- func IDEQ(id int64) predicate.ServiceCredential
- func IDGT(id int64) predicate.ServiceCredential
- func IDGTE(id int64) predicate.ServiceCredential
- func IDIn(ids ...int64) predicate.ServiceCredential
- func IDLT(id int64) predicate.ServiceCredential
- func IDLTE(id int64) predicate.ServiceCredential
- func IDNEQ(id int64) predicate.ServiceCredential
- func IDNotIn(ids ...int64) predicate.ServiceCredential
- func LastUsedAt(v time.Time) predicate.ServiceCredential
- func LastUsedAtEQ(v time.Time) predicate.ServiceCredential
- func LastUsedAtGT(v time.Time) predicate.ServiceCredential
- func LastUsedAtGTE(v time.Time) predicate.ServiceCredential
- func LastUsedAtIn(vs ...time.Time) predicate.ServiceCredential
- func LastUsedAtIsNil() predicate.ServiceCredential
- func LastUsedAtLT(v time.Time) predicate.ServiceCredential
- func LastUsedAtLTE(v time.Time) predicate.ServiceCredential
- func LastUsedAtNEQ(v time.Time) predicate.ServiceCredential
- func LastUsedAtNotIn(vs ...time.Time) predicate.ServiceCredential
- func LastUsedAtNotNil() predicate.ServiceCredential
- func Name(v string) predicate.ServiceCredential
- func NameContains(v string) predicate.ServiceCredential
- func NameContainsFold(v string) predicate.ServiceCredential
- func NameEQ(v string) predicate.ServiceCredential
- func NameEqualFold(v string) predicate.ServiceCredential
- func NameGT(v string) predicate.ServiceCredential
- func NameGTE(v string) predicate.ServiceCredential
- func NameHasPrefix(v string) predicate.ServiceCredential
- func NameHasSuffix(v string) predicate.ServiceCredential
- func NameIn(vs ...string) predicate.ServiceCredential
- func NameLT(v string) predicate.ServiceCredential
- func NameLTE(v string) predicate.ServiceCredential
- func NameNEQ(v string) predicate.ServiceCredential
- func NameNotIn(vs ...string) predicate.ServiceCredential
- func Not(p predicate.ServiceCredential) predicate.ServiceCredential
- func Or(predicates ...predicate.ServiceCredential) predicate.ServiceCredential
- func Prefix(v string) predicate.ServiceCredential
- func PrefixContains(v string) predicate.ServiceCredential
- func PrefixContainsFold(v string) predicate.ServiceCredential
- func PrefixEQ(v string) predicate.ServiceCredential
- func PrefixEqualFold(v string) predicate.ServiceCredential
- func PrefixGT(v string) predicate.ServiceCredential
- func PrefixGTE(v string) predicate.ServiceCredential
- func PrefixHasPrefix(v string) predicate.ServiceCredential
- func PrefixHasSuffix(v string) predicate.ServiceCredential
- func PrefixIn(vs ...string) predicate.ServiceCredential
- func PrefixLT(v string) predicate.ServiceCredential
- func PrefixLTE(v string) predicate.ServiceCredential
- func PrefixNEQ(v string) predicate.ServiceCredential
- func PrefixNotIn(vs ...string) predicate.ServiceCredential
- func RevokedAt(v time.Time) predicate.ServiceCredential
- func RevokedAtEQ(v time.Time) predicate.ServiceCredential
- func RevokedAtGT(v time.Time) predicate.ServiceCredential
- func RevokedAtGTE(v time.Time) predicate.ServiceCredential
- func RevokedAtIn(vs ...time.Time) predicate.ServiceCredential
- func RevokedAtIsNil() predicate.ServiceCredential
- func RevokedAtLT(v time.Time) predicate.ServiceCredential
- func RevokedAtLTE(v time.Time) predicate.ServiceCredential
- func RevokedAtNEQ(v time.Time) predicate.ServiceCredential
- func RevokedAtNotIn(vs ...time.Time) predicate.ServiceCredential
- func RevokedAtNotNil() predicate.ServiceCredential
- func SecretHash(v string) predicate.ServiceCredential
- func SecretHashContains(v string) predicate.ServiceCredential
- func SecretHashContainsFold(v string) predicate.ServiceCredential
- func SecretHashEQ(v string) predicate.ServiceCredential
- func SecretHashEqualFold(v string) predicate.ServiceCredential
- func SecretHashGT(v string) predicate.ServiceCredential
- func SecretHashGTE(v string) predicate.ServiceCredential
- func SecretHashHasPrefix(v string) predicate.ServiceCredential
- func SecretHashHasSuffix(v string) predicate.ServiceCredential
- func SecretHashIn(vs ...string) predicate.ServiceCredential
- func SecretHashLT(v string) predicate.ServiceCredential
- func SecretHashLTE(v string) predicate.ServiceCredential
- func SecretHashNEQ(v string) predicate.ServiceCredential
- func SecretHashNotIn(vs ...string) predicate.ServiceCredential
- func UpdatedAt(v time.Time) predicate.ServiceCredential
- func UpdatedAtEQ(v time.Time) predicate.ServiceCredential
- func UpdatedAtGT(v time.Time) predicate.ServiceCredential
- func UpdatedAtGTE(v time.Time) predicate.ServiceCredential
- func UpdatedAtIn(vs ...time.Time) predicate.ServiceCredential
- func UpdatedAtLT(v time.Time) predicate.ServiceCredential
- func UpdatedAtLTE(v time.Time) predicate.ServiceCredential
- func UpdatedAtNEQ(v time.Time) predicate.ServiceCredential
- func UpdatedAtNotIn(vs ...time.Time) predicate.ServiceCredential
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLastUsedAt(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByPrefix(opts ...sql.OrderTermOption) OrderOption
- func ByRevokedAt(opts ...sql.OrderTermOption) OrderOption
- func BySecretHash(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the servicecredential type in the database. Label = "service_credential" // 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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldPrefix holds the string denoting the prefix field in the database. FieldPrefix = "prefix" // FieldSecretHash holds the string denoting the secret_hash field in the database. FieldSecretHash = "secret_hash" // FieldScopes holds the string denoting the scopes field in the database. FieldScopes = "scopes" // FieldExpiresAt holds the string denoting the expires_at field in the database. FieldExpiresAt = "expires_at" // FieldRevokedAt holds the string denoting the revoked_at field in the database. FieldRevokedAt = "revoked_at" // FieldLastUsedAt holds the string denoting the last_used_at field in the database. FieldLastUsedAt = "last_used_at" // Table holds the table name of the servicecredential in the database. Table = "service_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 // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // PrefixValidator is a validator for the "prefix" field. It is called by the builders before save. PrefixValidator func(string) error // SecretHashValidator is a validator for the "secret_hash" field. It is called by the builders before save. SecretHashValidator func(string) error // DefaultScopes holds the default value on creation for the "scopes" field. DefaultScopes []string )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldName, FieldPrefix, FieldSecretHash, FieldScopes, FieldExpiresAt, FieldRevokedAt, FieldLastUsedAt, }
Columns holds all SQL columns for servicecredential fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ServiceCredential) predicate.ServiceCredential
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ServiceCredential
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ServiceCredential
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ServiceCredential
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ServiceCredential
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ServiceCredential
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ServiceCredential
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ServiceCredential
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ServiceCredential
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ServiceCredential
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func ExpiresAt ¶
func ExpiresAt(v time.Time) predicate.ServiceCredential
ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.
func ExpiresAtEQ ¶
func ExpiresAtEQ(v time.Time) predicate.ServiceCredential
ExpiresAtEQ applies the EQ predicate on the "expires_at" field.
func ExpiresAtGT ¶
func ExpiresAtGT(v time.Time) predicate.ServiceCredential
ExpiresAtGT applies the GT predicate on the "expires_at" field.
func ExpiresAtGTE ¶
func ExpiresAtGTE(v time.Time) predicate.ServiceCredential
ExpiresAtGTE applies the GTE predicate on the "expires_at" field.
func ExpiresAtIn ¶
func ExpiresAtIn(vs ...time.Time) predicate.ServiceCredential
ExpiresAtIn applies the In predicate on the "expires_at" field.
func ExpiresAtIsNil ¶
func ExpiresAtIsNil() predicate.ServiceCredential
ExpiresAtIsNil applies the IsNil predicate on the "expires_at" field.
func ExpiresAtLT ¶
func ExpiresAtLT(v time.Time) predicate.ServiceCredential
ExpiresAtLT applies the LT predicate on the "expires_at" field.
func ExpiresAtLTE ¶
func ExpiresAtLTE(v time.Time) predicate.ServiceCredential
ExpiresAtLTE applies the LTE predicate on the "expires_at" field.
func ExpiresAtNEQ ¶
func ExpiresAtNEQ(v time.Time) predicate.ServiceCredential
ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.
func ExpiresAtNotIn ¶
func ExpiresAtNotIn(vs ...time.Time) predicate.ServiceCredential
ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.
func ExpiresAtNotNil ¶
func ExpiresAtNotNil() predicate.ServiceCredential
ExpiresAtNotNil applies the NotNil predicate on the "expires_at" field.
func ID ¶
func ID(id int64) predicate.ServiceCredential
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int64) predicate.ServiceCredential
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int64) predicate.ServiceCredential
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int64) predicate.ServiceCredential
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int64) predicate.ServiceCredential
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int64) predicate.ServiceCredential
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int64) predicate.ServiceCredential
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int64) predicate.ServiceCredential
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int64) predicate.ServiceCredential
IDNotIn applies the NotIn predicate on the ID field.
func LastUsedAt ¶
func LastUsedAt(v time.Time) predicate.ServiceCredential
LastUsedAt applies equality check predicate on the "last_used_at" field. It's identical to LastUsedAtEQ.
func LastUsedAtEQ ¶
func LastUsedAtEQ(v time.Time) predicate.ServiceCredential
LastUsedAtEQ applies the EQ predicate on the "last_used_at" field.
func LastUsedAtGT ¶
func LastUsedAtGT(v time.Time) predicate.ServiceCredential
LastUsedAtGT applies the GT predicate on the "last_used_at" field.
func LastUsedAtGTE ¶
func LastUsedAtGTE(v time.Time) predicate.ServiceCredential
LastUsedAtGTE applies the GTE predicate on the "last_used_at" field.
func LastUsedAtIn ¶
func LastUsedAtIn(vs ...time.Time) predicate.ServiceCredential
LastUsedAtIn applies the In predicate on the "last_used_at" field.
func LastUsedAtIsNil ¶
func LastUsedAtIsNil() predicate.ServiceCredential
LastUsedAtIsNil applies the IsNil predicate on the "last_used_at" field.
func LastUsedAtLT ¶
func LastUsedAtLT(v time.Time) predicate.ServiceCredential
LastUsedAtLT applies the LT predicate on the "last_used_at" field.
func LastUsedAtLTE ¶
func LastUsedAtLTE(v time.Time) predicate.ServiceCredential
LastUsedAtLTE applies the LTE predicate on the "last_used_at" field.
func LastUsedAtNEQ ¶
func LastUsedAtNEQ(v time.Time) predicate.ServiceCredential
LastUsedAtNEQ applies the NEQ predicate on the "last_used_at" field.
func LastUsedAtNotIn ¶
func LastUsedAtNotIn(vs ...time.Time) predicate.ServiceCredential
LastUsedAtNotIn applies the NotIn predicate on the "last_used_at" field.
func LastUsedAtNotNil ¶
func LastUsedAtNotNil() predicate.ServiceCredential
LastUsedAtNotNil applies the NotNil predicate on the "last_used_at" field.
func Name ¶
func Name(v string) predicate.ServiceCredential
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.ServiceCredential
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.ServiceCredential
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.ServiceCredential
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.ServiceCredential
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.ServiceCredential
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.ServiceCredential
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.ServiceCredential
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.ServiceCredential
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.ServiceCredential
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.ServiceCredential
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.ServiceCredential
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.ServiceCredential
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.ServiceCredential
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.ServiceCredential) predicate.ServiceCredential
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ServiceCredential) predicate.ServiceCredential
Or groups predicates with the OR operator between them.
func Prefix ¶
func Prefix(v string) predicate.ServiceCredential
Prefix applies equality check predicate on the "prefix" field. It's identical to PrefixEQ.
func PrefixContains ¶
func PrefixContains(v string) predicate.ServiceCredential
PrefixContains applies the Contains predicate on the "prefix" field.
func PrefixContainsFold ¶
func PrefixContainsFold(v string) predicate.ServiceCredential
PrefixContainsFold applies the ContainsFold predicate on the "prefix" field.
func PrefixEQ ¶
func PrefixEQ(v string) predicate.ServiceCredential
PrefixEQ applies the EQ predicate on the "prefix" field.
func PrefixEqualFold ¶
func PrefixEqualFold(v string) predicate.ServiceCredential
PrefixEqualFold applies the EqualFold predicate on the "prefix" field.
func PrefixGT ¶
func PrefixGT(v string) predicate.ServiceCredential
PrefixGT applies the GT predicate on the "prefix" field.
func PrefixGTE ¶
func PrefixGTE(v string) predicate.ServiceCredential
PrefixGTE applies the GTE predicate on the "prefix" field.
func PrefixHasPrefix ¶
func PrefixHasPrefix(v string) predicate.ServiceCredential
PrefixHasPrefix applies the HasPrefix predicate on the "prefix" field.
func PrefixHasSuffix ¶
func PrefixHasSuffix(v string) predicate.ServiceCredential
PrefixHasSuffix applies the HasSuffix predicate on the "prefix" field.
func PrefixIn ¶
func PrefixIn(vs ...string) predicate.ServiceCredential
PrefixIn applies the In predicate on the "prefix" field.
func PrefixLT ¶
func PrefixLT(v string) predicate.ServiceCredential
PrefixLT applies the LT predicate on the "prefix" field.
func PrefixLTE ¶
func PrefixLTE(v string) predicate.ServiceCredential
PrefixLTE applies the LTE predicate on the "prefix" field.
func PrefixNEQ ¶
func PrefixNEQ(v string) predicate.ServiceCredential
PrefixNEQ applies the NEQ predicate on the "prefix" field.
func PrefixNotIn ¶
func PrefixNotIn(vs ...string) predicate.ServiceCredential
PrefixNotIn applies the NotIn predicate on the "prefix" field.
func RevokedAt ¶
func RevokedAt(v time.Time) predicate.ServiceCredential
RevokedAt applies equality check predicate on the "revoked_at" field. It's identical to RevokedAtEQ.
func RevokedAtEQ ¶
func RevokedAtEQ(v time.Time) predicate.ServiceCredential
RevokedAtEQ applies the EQ predicate on the "revoked_at" field.
func RevokedAtGT ¶
func RevokedAtGT(v time.Time) predicate.ServiceCredential
RevokedAtGT applies the GT predicate on the "revoked_at" field.
func RevokedAtGTE ¶
func RevokedAtGTE(v time.Time) predicate.ServiceCredential
RevokedAtGTE applies the GTE predicate on the "revoked_at" field.
func RevokedAtIn ¶
func RevokedAtIn(vs ...time.Time) predicate.ServiceCredential
RevokedAtIn applies the In predicate on the "revoked_at" field.
func RevokedAtIsNil ¶
func RevokedAtIsNil() predicate.ServiceCredential
RevokedAtIsNil applies the IsNil predicate on the "revoked_at" field.
func RevokedAtLT ¶
func RevokedAtLT(v time.Time) predicate.ServiceCredential
RevokedAtLT applies the LT predicate on the "revoked_at" field.
func RevokedAtLTE ¶
func RevokedAtLTE(v time.Time) predicate.ServiceCredential
RevokedAtLTE applies the LTE predicate on the "revoked_at" field.
func RevokedAtNEQ ¶
func RevokedAtNEQ(v time.Time) predicate.ServiceCredential
RevokedAtNEQ applies the NEQ predicate on the "revoked_at" field.
func RevokedAtNotIn ¶
func RevokedAtNotIn(vs ...time.Time) predicate.ServiceCredential
RevokedAtNotIn applies the NotIn predicate on the "revoked_at" field.
func RevokedAtNotNil ¶
func RevokedAtNotNil() predicate.ServiceCredential
RevokedAtNotNil applies the NotNil predicate on the "revoked_at" field.
func SecretHash ¶
func SecretHash(v string) predicate.ServiceCredential
SecretHash applies equality check predicate on the "secret_hash" field. It's identical to SecretHashEQ.
func SecretHashContains ¶
func SecretHashContains(v string) predicate.ServiceCredential
SecretHashContains applies the Contains predicate on the "secret_hash" field.
func SecretHashContainsFold ¶
func SecretHashContainsFold(v string) predicate.ServiceCredential
SecretHashContainsFold applies the ContainsFold predicate on the "secret_hash" field.
func SecretHashEQ ¶
func SecretHashEQ(v string) predicate.ServiceCredential
SecretHashEQ applies the EQ predicate on the "secret_hash" field.
func SecretHashEqualFold ¶
func SecretHashEqualFold(v string) predicate.ServiceCredential
SecretHashEqualFold applies the EqualFold predicate on the "secret_hash" field.
func SecretHashGT ¶
func SecretHashGT(v string) predicate.ServiceCredential
SecretHashGT applies the GT predicate on the "secret_hash" field.
func SecretHashGTE ¶
func SecretHashGTE(v string) predicate.ServiceCredential
SecretHashGTE applies the GTE predicate on the "secret_hash" field.
func SecretHashHasPrefix ¶
func SecretHashHasPrefix(v string) predicate.ServiceCredential
SecretHashHasPrefix applies the HasPrefix predicate on the "secret_hash" field.
func SecretHashHasSuffix ¶
func SecretHashHasSuffix(v string) predicate.ServiceCredential
SecretHashHasSuffix applies the HasSuffix predicate on the "secret_hash" field.
func SecretHashIn ¶
func SecretHashIn(vs ...string) predicate.ServiceCredential
SecretHashIn applies the In predicate on the "secret_hash" field.
func SecretHashLT ¶
func SecretHashLT(v string) predicate.ServiceCredential
SecretHashLT applies the LT predicate on the "secret_hash" field.
func SecretHashLTE ¶
func SecretHashLTE(v string) predicate.ServiceCredential
SecretHashLTE applies the LTE predicate on the "secret_hash" field.
func SecretHashNEQ ¶
func SecretHashNEQ(v string) predicate.ServiceCredential
SecretHashNEQ applies the NEQ predicate on the "secret_hash" field.
func SecretHashNotIn ¶
func SecretHashNotIn(vs ...string) predicate.ServiceCredential
SecretHashNotIn applies the NotIn predicate on the "secret_hash" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ServiceCredential
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ServiceCredential
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ServiceCredential
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ServiceCredential
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ServiceCredential
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ServiceCredential
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ServiceCredential
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ServiceCredential
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ServiceCredential
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the ServiceCredential queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByExpiresAt ¶
func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
ByExpiresAt orders the results by the expires_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLastUsedAt ¶
func ByLastUsedAt(opts ...sql.OrderTermOption) OrderOption
ByLastUsedAt orders the results by the last_used_at field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByPrefix ¶
func ByPrefix(opts ...sql.OrderTermOption) OrderOption
ByPrefix orders the results by the prefix field.
func ByRevokedAt ¶
func ByRevokedAt(opts ...sql.OrderTermOption) OrderOption
ByRevokedAt orders the results by the revoked_at field.
func BySecretHash ¶
func BySecretHash(opts ...sql.OrderTermOption) OrderOption
BySecretHash orders the results by the secret_hash field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.