Documentation
¶
Index ¶
- Constants
- Variables
- 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 CreatedAt(v time.Time) predicate.ServiceAccount
- func CreatedAtEQ(v time.Time) predicate.ServiceAccount
- func CreatedAtGT(v time.Time) predicate.ServiceAccount
- func CreatedAtGTE(v time.Time) predicate.ServiceAccount
- func CreatedAtIn(vs ...time.Time) predicate.ServiceAccount
- func CreatedAtLT(v time.Time) predicate.ServiceAccount
- func CreatedAtLTE(v time.Time) predicate.ServiceAccount
- func CreatedAtNEQ(v time.Time) predicate.ServiceAccount
- func CreatedAtNotIn(vs ...time.Time) predicate.ServiceAccount
- func CreatedBy(v uuid.UUID) predicate.ServiceAccount
- func CreatedByEQ(v uuid.UUID) predicate.ServiceAccount
- func CreatedByIn(vs ...uuid.UUID) predicate.ServiceAccount
- func CreatedByNEQ(v uuid.UUID) predicate.ServiceAccount
- func CreatedByNotIn(vs ...uuid.UUID) predicate.ServiceAccount
- func Description(v string) predicate.ServiceAccount
- func DescriptionContains(v string) predicate.ServiceAccount
- func DescriptionContainsFold(v string) predicate.ServiceAccount
- func DescriptionEQ(v string) predicate.ServiceAccount
- func DescriptionEqualFold(v string) predicate.ServiceAccount
- func DescriptionGT(v string) predicate.ServiceAccount
- func DescriptionGTE(v string) predicate.ServiceAccount
- func DescriptionHasPrefix(v string) predicate.ServiceAccount
- func DescriptionHasSuffix(v string) predicate.ServiceAccount
- func DescriptionIn(vs ...string) predicate.ServiceAccount
- func DescriptionIsNil() predicate.ServiceAccount
- func DescriptionLT(v string) predicate.ServiceAccount
- func DescriptionLTE(v string) predicate.ServiceAccount
- func DescriptionNEQ(v string) predicate.ServiceAccount
- func DescriptionNotIn(vs ...string) predicate.ServiceAccount
- func DescriptionNotNil() predicate.ServiceAccount
- func Email(v string) predicate.ServiceAccount
- func EmailContains(v string) predicate.ServiceAccount
- func EmailContainsFold(v string) predicate.ServiceAccount
- func EmailEQ(v string) predicate.ServiceAccount
- func EmailEqualFold(v string) predicate.ServiceAccount
- func EmailGT(v string) predicate.ServiceAccount
- func EmailGTE(v string) predicate.ServiceAccount
- func EmailHasPrefix(v string) predicate.ServiceAccount
- func EmailHasSuffix(v string) predicate.ServiceAccount
- func EmailIn(vs ...string) predicate.ServiceAccount
- func EmailLT(v string) predicate.ServiceAccount
- func EmailLTE(v string) predicate.ServiceAccount
- func EmailNEQ(v string) predicate.ServiceAccount
- func EmailNotIn(vs ...string) predicate.ServiceAccount
- func HasCreator() predicate.ServiceAccount
- func HasCreatorWith(preds ...predicate.User) predicate.ServiceAccount
- func HasKeyPairs() predicate.ServiceAccount
- func HasKeyPairsWith(preds ...predicate.ServiceAccountKeyPair) predicate.ServiceAccount
- func HasOrganization() predicate.ServiceAccount
- func HasOrganizationWith(preds ...predicate.Organization) 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 LastUsedAt(v time.Time) predicate.ServiceAccount
- func LastUsedAtEQ(v time.Time) predicate.ServiceAccount
- func LastUsedAtGT(v time.Time) predicate.ServiceAccount
- func LastUsedAtGTE(v time.Time) predicate.ServiceAccount
- func LastUsedAtIn(vs ...time.Time) predicate.ServiceAccount
- func LastUsedAtIsNil() predicate.ServiceAccount
- func LastUsedAtLT(v time.Time) predicate.ServiceAccount
- func LastUsedAtLTE(v time.Time) predicate.ServiceAccount
- func LastUsedAtNEQ(v time.Time) predicate.ServiceAccount
- func LastUsedAtNotIn(vs ...time.Time) predicate.ServiceAccount
- func LastUsedAtNotNil() predicate.ServiceAccount
- func Name(v string) predicate.ServiceAccount
- func NameContains(v string) predicate.ServiceAccount
- func NameContainsFold(v string) predicate.ServiceAccount
- func NameEQ(v string) predicate.ServiceAccount
- func NameEqualFold(v string) predicate.ServiceAccount
- func NameGT(v string) predicate.ServiceAccount
- func NameGTE(v string) predicate.ServiceAccount
- func NameHasPrefix(v string) predicate.ServiceAccount
- func NameHasSuffix(v string) predicate.ServiceAccount
- func NameIn(vs ...string) predicate.ServiceAccount
- func NameLT(v string) predicate.ServiceAccount
- func NameLTE(v string) predicate.ServiceAccount
- func NameNEQ(v string) predicate.ServiceAccount
- func NameNotIn(vs ...string) predicate.ServiceAccount
- func Not(p predicate.ServiceAccount) predicate.ServiceAccount
- func Or(predicates ...predicate.ServiceAccount) predicate.ServiceAccount
- func OrganizationID(v uuid.UUID) predicate.ServiceAccount
- func OrganizationIDEQ(v uuid.UUID) predicate.ServiceAccount
- func OrganizationIDIn(vs ...uuid.UUID) predicate.ServiceAccount
- func OrganizationIDNEQ(v uuid.UUID) predicate.ServiceAccount
- func OrganizationIDNotIn(vs ...uuid.UUID) predicate.ServiceAccount
- func UpdatedAt(v time.Time) predicate.ServiceAccount
- func UpdatedAtEQ(v time.Time) predicate.ServiceAccount
- func UpdatedAtGT(v time.Time) predicate.ServiceAccount
- func UpdatedAtGTE(v time.Time) predicate.ServiceAccount
- func UpdatedAtIn(vs ...time.Time) predicate.ServiceAccount
- func UpdatedAtLT(v time.Time) predicate.ServiceAccount
- func UpdatedAtLTE(v time.Time) predicate.ServiceAccount
- func UpdatedAtNEQ(v time.Time) predicate.ServiceAccount
- func UpdatedAtNotIn(vs ...time.Time) predicate.ServiceAccount
- func ValidColumn(column string) bool
- type OrderOption
- func ByActive(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByCreatorField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKeyPairs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByKeyPairsCount(opts ...sql.OrderTermOption) OrderOption
- func ByLastUsedAt(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
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 = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldOrganizationID holds the string denoting the organization_id field in the database. FieldOrganizationID = "organization_id" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldAllowedScopes holds the string denoting the allowed_scopes field in the database. FieldAllowedScopes = "allowed_scopes" // FieldActive holds the string denoting the active field in the database. FieldActive = "active" // FieldLastUsedAt holds the string denoting the last_used_at field in the database. FieldLastUsedAt = "last_used_at" // 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" // EdgeOrganization holds the string denoting the organization edge name in mutations. EdgeOrganization = "organization" // EdgeCreator holds the string denoting the creator edge name in mutations. EdgeCreator = "creator" // EdgeKeyPairs holds the string denoting the key_pairs edge name in mutations. EdgeKeyPairs = "key_pairs" // Table holds the table name of the serviceaccount in the database. Table = "cf_service_accounts" // OrganizationTable is the table that holds the organization relation/edge. OrganizationTable = "cf_service_accounts" // OrganizationInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OrganizationInverseTable = "cf_organizations" // OrganizationColumn is the table column denoting the organization relation/edge. OrganizationColumn = "organization_id" // CreatorTable is the table that holds the creator relation/edge. CreatorTable = "cf_service_accounts" // CreatorInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. CreatorInverseTable = "cf_users" // CreatorColumn is the table column denoting the creator relation/edge. CreatorColumn = "created_by" // KeyPairsTable is the table that holds the key_pairs relation/edge. KeyPairsTable = "cf_service_account_key_pairs" // KeyPairsInverseTable is the table name for the ServiceAccountKeyPair entity. // It exists in this package in order to avoid circular dependency with the "serviceaccountkeypair" package. KeyPairsInverseTable = "cf_service_account_key_pairs" // KeyPairsColumn is the table column denoting the key_pairs relation/edge. KeyPairsColumn = "service_account_id" )
Variables ¶
var ( // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DescriptionValidator is a validator for the "description" field. It is called by the builders before save. DescriptionValidator func(string) error // EmailValidator is a validator for the "email" field. It is called by the builders before save. EmailValidator func(string) error // DefaultAllowedScopes holds the default value on creation for the "allowed_scopes" field. DefaultAllowedScopes []string // DefaultActive holds the default value on creation for the "active" field. DefaultActive bool // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldName, FieldDescription, FieldEmail, FieldOrganizationID, FieldCreatedBy, FieldAllowedScopes, FieldActive, FieldLastUsedAt, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for serviceaccount fields.
Functions ¶
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 CreatedAt ¶
func CreatedAt(v time.Time) predicate.ServiceAccount
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ServiceAccount
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ServiceAccount
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ServiceAccount
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ServiceAccount
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ServiceAccount
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ServiceAccount
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ServiceAccount
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ServiceAccount
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v uuid.UUID) predicate.ServiceAccount
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
func CreatedByEQ(v uuid.UUID) predicate.ServiceAccount
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...uuid.UUID) predicate.ServiceAccount
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v uuid.UUID) predicate.ServiceAccount
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...uuid.UUID) predicate.ServiceAccount
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func Description ¶
func Description(v string) predicate.ServiceAccount
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.ServiceAccount
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.ServiceAccount
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.ServiceAccount
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.ServiceAccount
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.ServiceAccount
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.ServiceAccount
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.ServiceAccount
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.ServiceAccount
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.ServiceAccount
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.ServiceAccount
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.ServiceAccount
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.ServiceAccount
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.ServiceAccount
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.ServiceAccount
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.ServiceAccount
DescriptionNotNil applies the NotNil predicate on the "description" field.
func Email ¶
func Email(v string) predicate.ServiceAccount
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
func EmailContains(v string) predicate.ServiceAccount
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
func EmailContainsFold(v string) predicate.ServiceAccount
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEQ ¶
func EmailEQ(v string) predicate.ServiceAccount
EmailEQ applies the EQ predicate on the "email" field.
func EmailEqualFold ¶
func EmailEqualFold(v string) predicate.ServiceAccount
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailGT ¶
func EmailGT(v string) predicate.ServiceAccount
EmailGT applies the GT predicate on the "email" field.
func EmailGTE ¶
func EmailGTE(v string) predicate.ServiceAccount
EmailGTE applies the GTE predicate on the "email" field.
func EmailHasPrefix ¶
func EmailHasPrefix(v string) predicate.ServiceAccount
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
func EmailHasSuffix(v string) predicate.ServiceAccount
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailIn ¶
func EmailIn(vs ...string) predicate.ServiceAccount
EmailIn applies the In predicate on the "email" field.
func EmailLT ¶
func EmailLT(v string) predicate.ServiceAccount
EmailLT applies the LT predicate on the "email" field.
func EmailLTE ¶
func EmailLTE(v string) predicate.ServiceAccount
EmailLTE applies the LTE predicate on the "email" field.
func EmailNEQ ¶
func EmailNEQ(v string) predicate.ServiceAccount
EmailNEQ applies the NEQ predicate on the "email" field.
func EmailNotIn ¶
func EmailNotIn(vs ...string) predicate.ServiceAccount
EmailNotIn applies the NotIn predicate on the "email" field.
func HasCreator ¶
func HasCreator() predicate.ServiceAccount
HasCreator applies the HasEdge predicate on the "creator" edge.
func HasCreatorWith ¶
func HasCreatorWith(preds ...predicate.User) predicate.ServiceAccount
HasCreatorWith applies the HasEdge predicate on the "creator" edge with a given conditions (other predicates).
func HasKeyPairs ¶
func HasKeyPairs() predicate.ServiceAccount
HasKeyPairs applies the HasEdge predicate on the "key_pairs" edge.
func HasKeyPairsWith ¶
func HasKeyPairsWith(preds ...predicate.ServiceAccountKeyPair) predicate.ServiceAccount
HasKeyPairsWith applies the HasEdge predicate on the "key_pairs" edge with a given conditions (other predicates).
func HasOrganization ¶
func HasOrganization() predicate.ServiceAccount
HasOrganization applies the HasEdge predicate on the "organization" edge.
func HasOrganizationWith ¶
func HasOrganizationWith(preds ...predicate.Organization) predicate.ServiceAccount
HasOrganizationWith applies the HasEdge predicate on the "organization" 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 LastUsedAt ¶
func LastUsedAt(v time.Time) predicate.ServiceAccount
LastUsedAt applies equality check predicate on the "last_used_at" field. It's identical to LastUsedAtEQ.
func LastUsedAtEQ ¶
func LastUsedAtEQ(v time.Time) predicate.ServiceAccount
LastUsedAtEQ applies the EQ predicate on the "last_used_at" field.
func LastUsedAtGT ¶
func LastUsedAtGT(v time.Time) predicate.ServiceAccount
LastUsedAtGT applies the GT predicate on the "last_used_at" field.
func LastUsedAtGTE ¶
func LastUsedAtGTE(v time.Time) predicate.ServiceAccount
LastUsedAtGTE applies the GTE predicate on the "last_used_at" field.
func LastUsedAtIn ¶
func LastUsedAtIn(vs ...time.Time) predicate.ServiceAccount
LastUsedAtIn applies the In predicate on the "last_used_at" field.
func LastUsedAtIsNil ¶
func LastUsedAtIsNil() predicate.ServiceAccount
LastUsedAtIsNil applies the IsNil predicate on the "last_used_at" field.
func LastUsedAtLT ¶
func LastUsedAtLT(v time.Time) predicate.ServiceAccount
LastUsedAtLT applies the LT predicate on the "last_used_at" field.
func LastUsedAtLTE ¶
func LastUsedAtLTE(v time.Time) predicate.ServiceAccount
LastUsedAtLTE applies the LTE predicate on the "last_used_at" field.
func LastUsedAtNEQ ¶
func LastUsedAtNEQ(v time.Time) predicate.ServiceAccount
LastUsedAtNEQ applies the NEQ predicate on the "last_used_at" field.
func LastUsedAtNotIn ¶
func LastUsedAtNotIn(vs ...time.Time) predicate.ServiceAccount
LastUsedAtNotIn applies the NotIn predicate on the "last_used_at" field.
func LastUsedAtNotNil ¶
func LastUsedAtNotNil() predicate.ServiceAccount
LastUsedAtNotNil applies the NotNil predicate on the "last_used_at" field.
func Name ¶
func Name(v string) predicate.ServiceAccount
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.ServiceAccount
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.ServiceAccount
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.ServiceAccount
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.ServiceAccount
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.ServiceAccount
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.ServiceAccount
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.ServiceAccount
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.ServiceAccount
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.ServiceAccount
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.ServiceAccount
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.ServiceAccount
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.ServiceAccount
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.ServiceAccount
NameNotIn applies the NotIn predicate on the "name" 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 OrganizationID ¶
func OrganizationID(v uuid.UUID) predicate.ServiceAccount
OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
func OrganizationIDEQ ¶
func OrganizationIDEQ(v uuid.UUID) predicate.ServiceAccount
OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
func OrganizationIDIn ¶
func OrganizationIDIn(vs ...uuid.UUID) predicate.ServiceAccount
OrganizationIDIn applies the In predicate on the "organization_id" field.
func OrganizationIDNEQ ¶
func OrganizationIDNEQ(v uuid.UUID) predicate.ServiceAccount
OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
func OrganizationIDNotIn ¶
func OrganizationIDNotIn(vs ...uuid.UUID) predicate.ServiceAccount
OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ServiceAccount
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ServiceAccount
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ServiceAccount
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ServiceAccount
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ServiceAccount
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ServiceAccount
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ServiceAccount
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ServiceAccount
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ServiceAccount
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 ServiceAccount queries.
func ByActive ¶
func ByActive(opts ...sql.OrderTermOption) OrderOption
ByActive orders the results by the active field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByCreatorField ¶
func ByCreatorField(field string, opts ...sql.OrderTermOption) OrderOption
ByCreatorField orders the results by creator field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByEmail ¶
func ByEmail(opts ...sql.OrderTermOption) OrderOption
ByEmail orders the results by the email field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByKeyPairs ¶
func ByKeyPairs(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByKeyPairs orders the results by key_pairs terms.
func ByKeyPairsCount ¶
func ByKeyPairsCount(opts ...sql.OrderTermOption) OrderOption
ByKeyPairsCount orders the results by key_pairs count.
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 ByOrganizationField ¶
func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
ByOrganizationField orders the results by organization field.
func ByOrganizationID ¶
func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
ByOrganizationID orders the results by the organization_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.