Documentation
¶
Index ¶
- Constants
- Variables
- func APIKey(v uuid.UUID) predicate.ServiceAccount
- func APIKeyEQ(v uuid.UUID) predicate.ServiceAccount
- func APIKeyGT(v uuid.UUID) predicate.ServiceAccount
- func APIKeyGTE(v uuid.UUID) predicate.ServiceAccount
- func APIKeyIn(vs ...uuid.UUID) predicate.ServiceAccount
- func APIKeyLT(v uuid.UUID) predicate.ServiceAccount
- func APIKeyLTE(v uuid.UUID) predicate.ServiceAccount
- func APIKeyNEQ(v uuid.UUID) predicate.ServiceAccount
- func APIKeyNotIn(vs ...uuid.UUID) predicate.ServiceAccount
- func APISecret(v uuid.UUID) predicate.ServiceAccount
- func APISecretEQ(v uuid.UUID) predicate.ServiceAccount
- func APISecretGT(v uuid.UUID) predicate.ServiceAccount
- func APISecretGTE(v uuid.UUID) predicate.ServiceAccount
- func APISecretIn(vs ...uuid.UUID) predicate.ServiceAccount
- func APISecretLT(v uuid.UUID) predicate.ServiceAccount
- func APISecretLTE(v uuid.UUID) predicate.ServiceAccount
- func APISecretNEQ(v uuid.UUID) predicate.ServiceAccount
- func APISecretNotIn(vs ...uuid.UUID) predicate.ServiceAccount
- func Active(v bool) predicate.ServiceAccount
- func ActiveEQ(v bool) predicate.ServiceAccount
- func ActiveNEQ(v bool) predicate.ServiceAccount
- func And(predicates ...predicate.ServiceAccount) predicate.ServiceAccount
- func DisplayName(v string) predicate.ServiceAccount
- func DisplayNameContains(v string) predicate.ServiceAccount
- func DisplayNameContainsFold(v string) predicate.ServiceAccount
- func DisplayNameEQ(v string) predicate.ServiceAccount
- func DisplayNameEqualFold(v string) predicate.ServiceAccount
- func DisplayNameGT(v string) predicate.ServiceAccount
- func DisplayNameGTE(v string) predicate.ServiceAccount
- func DisplayNameHasPrefix(v string) predicate.ServiceAccount
- func DisplayNameHasSuffix(v string) predicate.ServiceAccount
- func DisplayNameIn(vs ...string) predicate.ServiceAccount
- func DisplayNameLT(v string) predicate.ServiceAccount
- func DisplayNameLTE(v string) predicate.ServiceAccount
- func DisplayNameNEQ(v string) predicate.ServiceAccount
- func DisplayNameNotIn(vs ...string) predicate.ServiceAccount
- func HasServiceAccountToActions() predicate.ServiceAccount
- func HasServiceAccountToActionsWith(preds ...predicate.Action) predicate.ServiceAccount
- func HasServiceAccountToToken() predicate.ServiceAccount
- func HasServiceAccountToTokenWith(preds ...predicate.ServiceToken) predicate.ServiceAccount
- func ID(id uuid.UUID) predicate.ServiceAccount
- func IDEQ(id uuid.UUID) predicate.ServiceAccount
- func IDGT(id uuid.UUID) predicate.ServiceAccount
- func IDGTE(id uuid.UUID) predicate.ServiceAccount
- func IDIn(ids ...uuid.UUID) predicate.ServiceAccount
- func IDLT(id uuid.UUID) predicate.ServiceAccount
- func IDLTE(id uuid.UUID) predicate.ServiceAccount
- func IDNEQ(id uuid.UUID) predicate.ServiceAccount
- func IDNotIn(ids ...uuid.UUID) predicate.ServiceAccount
- func Not(p predicate.ServiceAccount) predicate.ServiceAccount
- func Or(predicates ...predicate.ServiceAccount) predicate.ServiceAccount
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the serviceaccount type in the database. Label = "service_account" // FieldID holds the string denoting the id field in the database. FieldID = "oid" // FieldDisplayName holds the string denoting the display_name field in the database. FieldDisplayName = "display_name" // FieldAPIKey holds the string denoting the api_key field in the database. FieldAPIKey = "api_key" // FieldAPISecret holds the string denoting the api_secret field in the database. FieldAPISecret = "api_secret" // FieldActive holds the string denoting the active field in the database. FieldActive = "active" // EdgeServiceAccountToToken holds the string denoting the serviceaccounttotoken edge name in mutations. EdgeServiceAccountToToken = "ServiceAccountToToken" // EdgeServiceAccountToActions holds the string denoting the serviceaccounttoactions edge name in mutations. EdgeServiceAccountToActions = "ServiceAccountToActions" // ServiceTokenFieldID holds the string denoting the ID field of the ServiceToken. ServiceTokenFieldID = "id" // Table holds the table name of the serviceaccount in the database. Table = "service_accounts" // ServiceAccountToTokenTable is the table that holds the ServiceAccountToToken relation/edge. ServiceAccountToTokenTable = "service_tokens" // ServiceAccountToTokenInverseTable is the table name for the ServiceToken entity. // It exists in this package in order to avoid circular dependency with the "servicetoken" package. ServiceAccountToTokenInverseTable = "service_tokens" // ServiceAccountToTokenColumn is the table column denoting the ServiceAccountToToken relation/edge. ServiceAccountToTokenColumn = "service_account_service_account_to_token" // ServiceAccountToActionsTable is the table that holds the ServiceAccountToActions relation/edge. ServiceAccountToActionsTable = "actions" // ServiceAccountToActionsInverseTable is the table name for the Action entity. // It exists in this package in order to avoid circular dependency with the "action" package. ServiceAccountToActionsInverseTable = "actions" // ServiceAccountToActionsColumn is the table column denoting the ServiceAccountToActions relation/edge. ServiceAccountToActionsColumn = "service_account_service_account_to_actions" )
Variables ¶
var Columns = []string{ FieldID, FieldDisplayName, FieldAPIKey, FieldAPISecret, FieldActive, }
Columns holds all SQL columns for serviceaccount fields.
var ( // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
Functions ¶
func APIKey ¶
func APIKey(v uuid.UUID) predicate.ServiceAccount
APIKey applies equality check predicate on the "api_key" field. It's identical to APIKeyEQ.
func APIKeyEQ ¶
func APIKeyEQ(v uuid.UUID) predicate.ServiceAccount
APIKeyEQ applies the EQ predicate on the "api_key" field.
func APIKeyGT ¶
func APIKeyGT(v uuid.UUID) predicate.ServiceAccount
APIKeyGT applies the GT predicate on the "api_key" field.
func APIKeyGTE ¶
func APIKeyGTE(v uuid.UUID) predicate.ServiceAccount
APIKeyGTE applies the GTE predicate on the "api_key" field.
func APIKeyIn ¶
func APIKeyIn(vs ...uuid.UUID) predicate.ServiceAccount
APIKeyIn applies the In predicate on the "api_key" field.
func APIKeyLT ¶
func APIKeyLT(v uuid.UUID) predicate.ServiceAccount
APIKeyLT applies the LT predicate on the "api_key" field.
func APIKeyLTE ¶
func APIKeyLTE(v uuid.UUID) predicate.ServiceAccount
APIKeyLTE applies the LTE predicate on the "api_key" field.
func APIKeyNEQ ¶
func APIKeyNEQ(v uuid.UUID) predicate.ServiceAccount
APIKeyNEQ applies the NEQ predicate on the "api_key" field.
func APIKeyNotIn ¶
func APIKeyNotIn(vs ...uuid.UUID) predicate.ServiceAccount
APIKeyNotIn applies the NotIn predicate on the "api_key" field.
func APISecret ¶
func APISecret(v uuid.UUID) predicate.ServiceAccount
APISecret applies equality check predicate on the "api_secret" field. It's identical to APISecretEQ.
func APISecretEQ ¶
func APISecretEQ(v uuid.UUID) predicate.ServiceAccount
APISecretEQ applies the EQ predicate on the "api_secret" field.
func APISecretGT ¶
func APISecretGT(v uuid.UUID) predicate.ServiceAccount
APISecretGT applies the GT predicate on the "api_secret" field.
func APISecretGTE ¶
func APISecretGTE(v uuid.UUID) predicate.ServiceAccount
APISecretGTE applies the GTE predicate on the "api_secret" field.
func APISecretIn ¶
func APISecretIn(vs ...uuid.UUID) predicate.ServiceAccount
APISecretIn applies the In predicate on the "api_secret" field.
func APISecretLT ¶
func APISecretLT(v uuid.UUID) predicate.ServiceAccount
APISecretLT applies the LT predicate on the "api_secret" field.
func APISecretLTE ¶
func APISecretLTE(v uuid.UUID) predicate.ServiceAccount
APISecretLTE applies the LTE predicate on the "api_secret" field.
func APISecretNEQ ¶
func APISecretNEQ(v uuid.UUID) predicate.ServiceAccount
APISecretNEQ applies the NEQ predicate on the "api_secret" field.
func APISecretNotIn ¶
func APISecretNotIn(vs ...uuid.UUID) predicate.ServiceAccount
APISecretNotIn applies the NotIn predicate on the "api_secret" field.
func Active ¶
func Active(v bool) predicate.ServiceAccount
Active applies equality check predicate on the "active" field. It's identical to ActiveEQ.
func ActiveEQ ¶
func ActiveEQ(v bool) predicate.ServiceAccount
ActiveEQ applies the EQ predicate on the "active" field.
func ActiveNEQ ¶
func ActiveNEQ(v bool) predicate.ServiceAccount
ActiveNEQ applies the NEQ predicate on the "active" field.
func And ¶
func And(predicates ...predicate.ServiceAccount) predicate.ServiceAccount
And groups predicates with the AND operator between them.
func DisplayName ¶
func DisplayName(v string) predicate.ServiceAccount
DisplayName applies equality check predicate on the "display_name" field. It's identical to DisplayNameEQ.
func DisplayNameContains ¶
func DisplayNameContains(v string) predicate.ServiceAccount
DisplayNameContains applies the Contains predicate on the "display_name" field.
func DisplayNameContainsFold ¶
func DisplayNameContainsFold(v string) predicate.ServiceAccount
DisplayNameContainsFold applies the ContainsFold predicate on the "display_name" field.
func DisplayNameEQ ¶
func DisplayNameEQ(v string) predicate.ServiceAccount
DisplayNameEQ applies the EQ predicate on the "display_name" field.
func DisplayNameEqualFold ¶
func DisplayNameEqualFold(v string) predicate.ServiceAccount
DisplayNameEqualFold applies the EqualFold predicate on the "display_name" field.
func DisplayNameGT ¶
func DisplayNameGT(v string) predicate.ServiceAccount
DisplayNameGT applies the GT predicate on the "display_name" field.
func DisplayNameGTE ¶
func DisplayNameGTE(v string) predicate.ServiceAccount
DisplayNameGTE applies the GTE predicate on the "display_name" field.
func DisplayNameHasPrefix ¶
func DisplayNameHasPrefix(v string) predicate.ServiceAccount
DisplayNameHasPrefix applies the HasPrefix predicate on the "display_name" field.
func DisplayNameHasSuffix ¶
func DisplayNameHasSuffix(v string) predicate.ServiceAccount
DisplayNameHasSuffix applies the HasSuffix predicate on the "display_name" field.
func DisplayNameIn ¶
func DisplayNameIn(vs ...string) predicate.ServiceAccount
DisplayNameIn applies the In predicate on the "display_name" field.
func DisplayNameLT ¶
func DisplayNameLT(v string) predicate.ServiceAccount
DisplayNameLT applies the LT predicate on the "display_name" field.
func DisplayNameLTE ¶
func DisplayNameLTE(v string) predicate.ServiceAccount
DisplayNameLTE applies the LTE predicate on the "display_name" field.
func DisplayNameNEQ ¶
func DisplayNameNEQ(v string) predicate.ServiceAccount
DisplayNameNEQ applies the NEQ predicate on the "display_name" field.
func DisplayNameNotIn ¶
func DisplayNameNotIn(vs ...string) predicate.ServiceAccount
DisplayNameNotIn applies the NotIn predicate on the "display_name" field.
func HasServiceAccountToActions ¶
func HasServiceAccountToActions() predicate.ServiceAccount
HasServiceAccountToActions applies the HasEdge predicate on the "ServiceAccountToActions" edge.
func HasServiceAccountToActionsWith ¶
func HasServiceAccountToActionsWith(preds ...predicate.Action) predicate.ServiceAccount
HasServiceAccountToActionsWith applies the HasEdge predicate on the "ServiceAccountToActions" edge with a given conditions (other predicates).
func HasServiceAccountToToken ¶
func HasServiceAccountToToken() predicate.ServiceAccount
HasServiceAccountToToken applies the HasEdge predicate on the "ServiceAccountToToken" edge.
func HasServiceAccountToTokenWith ¶
func HasServiceAccountToTokenWith(preds ...predicate.ServiceToken) predicate.ServiceAccount
HasServiceAccountToTokenWith applies the HasEdge predicate on the "ServiceAccountToToken" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.ServiceAccount
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.ServiceAccount
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.ServiceAccount
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.ServiceAccount
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.ServiceAccount
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.ServiceAccount
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.ServiceAccount
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.ServiceAccount
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.ServiceAccount
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.ServiceAccount) predicate.ServiceAccount
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ServiceAccount) predicate.ServiceAccount
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.