serviceaccount

package
v0.0.0-...-42c0c98 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

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

Columns holds all SQL columns for serviceaccount fields.

View Source
var (
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Functions

func APIKey

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

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

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

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

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

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

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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