managerclaim

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the managerclaim type in the database.
	Label = "manager_claim"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldManagedPrincipalID holds the string denoting the managed_principal_id field in the database.
	FieldManagedPrincipalID = "managed_principal_id"
	// FieldCodePrefix holds the string denoting the code_prefix field in the database.
	FieldCodePrefix = "code_prefix"
	// FieldCodeHash holds the string denoting the code_hash field in the database.
	FieldCodeHash = "code_hash"
	// FieldIssuedBy holds the string denoting the issued_by field in the database.
	FieldIssuedBy = "issued_by"
	// FieldExpiresAt holds the string denoting the expires_at field in the database.
	FieldExpiresAt = "expires_at"
	// FieldRedeemedAt holds the string denoting the redeemed_at field in the database.
	FieldRedeemedAt = "redeemed_at"
	// FieldRedeemedBy holds the string denoting the redeemed_by field in the database.
	FieldRedeemedBy = "redeemed_by"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// EdgeManaged holds the string denoting the managed edge name in mutations.
	EdgeManaged = "managed"
	// Table holds the table name of the managerclaim in the database.
	Table = "sf_manager_claims"
	// ManagedTable is the table that holds the managed relation/edge.
	ManagedTable = "sf_manager_claims"
	// ManagedInverseTable is the table name for the Principal entity.
	// It exists in this package in order to avoid circular dependency with the "principal" package.
	ManagedInverseTable = "sf_principals"
	// ManagedColumn is the table column denoting the managed relation/edge.
	ManagedColumn = "managed_principal_id"
)

Variables

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

Columns holds all SQL columns for managerclaim fields.

Functions

func And

func And(predicates ...predicate.ManagerClaim) predicate.ManagerClaim

And groups predicates with the AND operator between them.

func CodeHash

func CodeHash(v string) predicate.ManagerClaim

CodeHash applies equality check predicate on the "code_hash" field. It's identical to CodeHashEQ.

func CodeHashContains

func CodeHashContains(v string) predicate.ManagerClaim

CodeHashContains applies the Contains predicate on the "code_hash" field.

func CodeHashContainsFold

func CodeHashContainsFold(v string) predicate.ManagerClaim

CodeHashContainsFold applies the ContainsFold predicate on the "code_hash" field.

func CodeHashEQ

func CodeHashEQ(v string) predicate.ManagerClaim

CodeHashEQ applies the EQ predicate on the "code_hash" field.

func CodeHashEqualFold

func CodeHashEqualFold(v string) predicate.ManagerClaim

CodeHashEqualFold applies the EqualFold predicate on the "code_hash" field.

func CodeHashGT

func CodeHashGT(v string) predicate.ManagerClaim

CodeHashGT applies the GT predicate on the "code_hash" field.

func CodeHashGTE

func CodeHashGTE(v string) predicate.ManagerClaim

CodeHashGTE applies the GTE predicate on the "code_hash" field.

func CodeHashHasPrefix

func CodeHashHasPrefix(v string) predicate.ManagerClaim

CodeHashHasPrefix applies the HasPrefix predicate on the "code_hash" field.

func CodeHashHasSuffix

func CodeHashHasSuffix(v string) predicate.ManagerClaim

CodeHashHasSuffix applies the HasSuffix predicate on the "code_hash" field.

func CodeHashIn

func CodeHashIn(vs ...string) predicate.ManagerClaim

CodeHashIn applies the In predicate on the "code_hash" field.

func CodeHashLT

func CodeHashLT(v string) predicate.ManagerClaim

CodeHashLT applies the LT predicate on the "code_hash" field.

func CodeHashLTE

func CodeHashLTE(v string) predicate.ManagerClaim

CodeHashLTE applies the LTE predicate on the "code_hash" field.

func CodeHashNEQ

func CodeHashNEQ(v string) predicate.ManagerClaim

CodeHashNEQ applies the NEQ predicate on the "code_hash" field.

func CodeHashNotIn

func CodeHashNotIn(vs ...string) predicate.ManagerClaim

CodeHashNotIn applies the NotIn predicate on the "code_hash" field.

func CodePrefix

func CodePrefix(v string) predicate.ManagerClaim

CodePrefix applies equality check predicate on the "code_prefix" field. It's identical to CodePrefixEQ.

func CodePrefixContains

func CodePrefixContains(v string) predicate.ManagerClaim

CodePrefixContains applies the Contains predicate on the "code_prefix" field.

func CodePrefixContainsFold

func CodePrefixContainsFold(v string) predicate.ManagerClaim

CodePrefixContainsFold applies the ContainsFold predicate on the "code_prefix" field.

func CodePrefixEQ

func CodePrefixEQ(v string) predicate.ManagerClaim

CodePrefixEQ applies the EQ predicate on the "code_prefix" field.

func CodePrefixEqualFold

func CodePrefixEqualFold(v string) predicate.ManagerClaim

CodePrefixEqualFold applies the EqualFold predicate on the "code_prefix" field.

func CodePrefixGT

func CodePrefixGT(v string) predicate.ManagerClaim

CodePrefixGT applies the GT predicate on the "code_prefix" field.

func CodePrefixGTE

func CodePrefixGTE(v string) predicate.ManagerClaim

CodePrefixGTE applies the GTE predicate on the "code_prefix" field.

func CodePrefixHasPrefix

func CodePrefixHasPrefix(v string) predicate.ManagerClaim

CodePrefixHasPrefix applies the HasPrefix predicate on the "code_prefix" field.

func CodePrefixHasSuffix

func CodePrefixHasSuffix(v string) predicate.ManagerClaim

CodePrefixHasSuffix applies the HasSuffix predicate on the "code_prefix" field.

func CodePrefixIn

func CodePrefixIn(vs ...string) predicate.ManagerClaim

CodePrefixIn applies the In predicate on the "code_prefix" field.

func CodePrefixLT

func CodePrefixLT(v string) predicate.ManagerClaim

CodePrefixLT applies the LT predicate on the "code_prefix" field.

func CodePrefixLTE

func CodePrefixLTE(v string) predicate.ManagerClaim

CodePrefixLTE applies the LTE predicate on the "code_prefix" field.

func CodePrefixNEQ

func CodePrefixNEQ(v string) predicate.ManagerClaim

CodePrefixNEQ applies the NEQ predicate on the "code_prefix" field.

func CodePrefixNotIn

func CodePrefixNotIn(vs ...string) predicate.ManagerClaim

CodePrefixNotIn applies the NotIn predicate on the "code_prefix" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.ManagerClaim

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ManagerClaim

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ManagerClaim

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ManagerClaim

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.ManagerClaim

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ManagerClaim

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ManagerClaim

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ManagerClaim

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.ManagerClaim

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func ExpiresAt

func ExpiresAt(v time.Time) predicate.ManagerClaim

ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.

func ExpiresAtEQ

func ExpiresAtEQ(v time.Time) predicate.ManagerClaim

ExpiresAtEQ applies the EQ predicate on the "expires_at" field.

func ExpiresAtGT

func ExpiresAtGT(v time.Time) predicate.ManagerClaim

ExpiresAtGT applies the GT predicate on the "expires_at" field.

func ExpiresAtGTE

func ExpiresAtGTE(v time.Time) predicate.ManagerClaim

ExpiresAtGTE applies the GTE predicate on the "expires_at" field.

func ExpiresAtIn

func ExpiresAtIn(vs ...time.Time) predicate.ManagerClaim

ExpiresAtIn applies the In predicate on the "expires_at" field.

func ExpiresAtLT

func ExpiresAtLT(v time.Time) predicate.ManagerClaim

ExpiresAtLT applies the LT predicate on the "expires_at" field.

func ExpiresAtLTE

func ExpiresAtLTE(v time.Time) predicate.ManagerClaim

ExpiresAtLTE applies the LTE predicate on the "expires_at" field.

func ExpiresAtNEQ

func ExpiresAtNEQ(v time.Time) predicate.ManagerClaim

ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.

func ExpiresAtNotIn

func ExpiresAtNotIn(vs ...time.Time) predicate.ManagerClaim

ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.

func HasManaged

func HasManaged() predicate.ManagerClaim

HasManaged applies the HasEdge predicate on the "managed" edge.

func HasManagedWith

func HasManagedWith(preds ...predicate.Principal) predicate.ManagerClaim

HasManagedWith applies the HasEdge predicate on the "managed" 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

func IDGTE(id uuid.UUID) predicate.ManagerClaim

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.ManagerClaim

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.ManagerClaim

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.ManagerClaim

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.ManagerClaim

IDNotIn applies the NotIn predicate on the ID field.

func IssuedBy

func IssuedBy(v uuid.UUID) predicate.ManagerClaim

IssuedBy applies equality check predicate on the "issued_by" field. It's identical to IssuedByEQ.

func IssuedByEQ

func IssuedByEQ(v uuid.UUID) predicate.ManagerClaim

IssuedByEQ applies the EQ predicate on the "issued_by" field.

func IssuedByGT

func IssuedByGT(v uuid.UUID) predicate.ManagerClaim

IssuedByGT applies the GT predicate on the "issued_by" field.

func IssuedByGTE

func IssuedByGTE(v uuid.UUID) predicate.ManagerClaim

IssuedByGTE applies the GTE predicate on the "issued_by" field.

func IssuedByIn

func IssuedByIn(vs ...uuid.UUID) predicate.ManagerClaim

IssuedByIn applies the In predicate on the "issued_by" field.

func IssuedByLT

func IssuedByLT(v uuid.UUID) predicate.ManagerClaim

IssuedByLT applies the LT predicate on the "issued_by" field.

func IssuedByLTE

func IssuedByLTE(v uuid.UUID) predicate.ManagerClaim

IssuedByLTE applies the LTE predicate on the "issued_by" field.

func IssuedByNEQ

func IssuedByNEQ(v uuid.UUID) predicate.ManagerClaim

IssuedByNEQ applies the NEQ predicate on the "issued_by" field.

func IssuedByNotIn

func IssuedByNotIn(vs ...uuid.UUID) predicate.ManagerClaim

IssuedByNotIn applies the NotIn predicate on the "issued_by" field.

func ManagedPrincipalID

func ManagedPrincipalID(v uuid.UUID) predicate.ManagerClaim

ManagedPrincipalID applies equality check predicate on the "managed_principal_id" field. It's identical to ManagedPrincipalIDEQ.

func ManagedPrincipalIDEQ

func ManagedPrincipalIDEQ(v uuid.UUID) predicate.ManagerClaim

ManagedPrincipalIDEQ applies the EQ predicate on the "managed_principal_id" field.

func ManagedPrincipalIDIn

func ManagedPrincipalIDIn(vs ...uuid.UUID) predicate.ManagerClaim

ManagedPrincipalIDIn applies the In predicate on the "managed_principal_id" field.

func ManagedPrincipalIDNEQ

func ManagedPrincipalIDNEQ(v uuid.UUID) predicate.ManagerClaim

ManagedPrincipalIDNEQ applies the NEQ predicate on the "managed_principal_id" field.

func ManagedPrincipalIDNotIn

func ManagedPrincipalIDNotIn(vs ...uuid.UUID) predicate.ManagerClaim

ManagedPrincipalIDNotIn applies the NotIn predicate on the "managed_principal_id" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.ManagerClaim) predicate.ManagerClaim

Or groups predicates with the OR operator between them.

func RedeemedAt

func RedeemedAt(v time.Time) predicate.ManagerClaim

RedeemedAt applies equality check predicate on the "redeemed_at" field. It's identical to RedeemedAtEQ.

func RedeemedAtEQ

func RedeemedAtEQ(v time.Time) predicate.ManagerClaim

RedeemedAtEQ applies the EQ predicate on the "redeemed_at" field.

func RedeemedAtGT

func RedeemedAtGT(v time.Time) predicate.ManagerClaim

RedeemedAtGT applies the GT predicate on the "redeemed_at" field.

func RedeemedAtGTE

func RedeemedAtGTE(v time.Time) predicate.ManagerClaim

RedeemedAtGTE applies the GTE predicate on the "redeemed_at" field.

func RedeemedAtIn

func RedeemedAtIn(vs ...time.Time) predicate.ManagerClaim

RedeemedAtIn applies the In predicate on the "redeemed_at" field.

func RedeemedAtIsNil

func RedeemedAtIsNil() predicate.ManagerClaim

RedeemedAtIsNil applies the IsNil predicate on the "redeemed_at" field.

func RedeemedAtLT

func RedeemedAtLT(v time.Time) predicate.ManagerClaim

RedeemedAtLT applies the LT predicate on the "redeemed_at" field.

func RedeemedAtLTE

func RedeemedAtLTE(v time.Time) predicate.ManagerClaim

RedeemedAtLTE applies the LTE predicate on the "redeemed_at" field.

func RedeemedAtNEQ

func RedeemedAtNEQ(v time.Time) predicate.ManagerClaim

RedeemedAtNEQ applies the NEQ predicate on the "redeemed_at" field.

func RedeemedAtNotIn

func RedeemedAtNotIn(vs ...time.Time) predicate.ManagerClaim

RedeemedAtNotIn applies the NotIn predicate on the "redeemed_at" field.

func RedeemedAtNotNil

func RedeemedAtNotNil() predicate.ManagerClaim

RedeemedAtNotNil applies the NotNil predicate on the "redeemed_at" field.

func RedeemedBy

func RedeemedBy(v uuid.UUID) predicate.ManagerClaim

RedeemedBy applies equality check predicate on the "redeemed_by" field. It's identical to RedeemedByEQ.

func RedeemedByEQ

func RedeemedByEQ(v uuid.UUID) predicate.ManagerClaim

RedeemedByEQ applies the EQ predicate on the "redeemed_by" field.

func RedeemedByGT

func RedeemedByGT(v uuid.UUID) predicate.ManagerClaim

RedeemedByGT applies the GT predicate on the "redeemed_by" field.

func RedeemedByGTE

func RedeemedByGTE(v uuid.UUID) predicate.ManagerClaim

RedeemedByGTE applies the GTE predicate on the "redeemed_by" field.

func RedeemedByIn

func RedeemedByIn(vs ...uuid.UUID) predicate.ManagerClaim

RedeemedByIn applies the In predicate on the "redeemed_by" field.

func RedeemedByIsNil

func RedeemedByIsNil() predicate.ManagerClaim

RedeemedByIsNil applies the IsNil predicate on the "redeemed_by" field.

func RedeemedByLT

func RedeemedByLT(v uuid.UUID) predicate.ManagerClaim

RedeemedByLT applies the LT predicate on the "redeemed_by" field.

func RedeemedByLTE

func RedeemedByLTE(v uuid.UUID) predicate.ManagerClaim

RedeemedByLTE applies the LTE predicate on the "redeemed_by" field.

func RedeemedByNEQ

func RedeemedByNEQ(v uuid.UUID) predicate.ManagerClaim

RedeemedByNEQ applies the NEQ predicate on the "redeemed_by" field.

func RedeemedByNotIn

func RedeemedByNotIn(vs ...uuid.UUID) predicate.ManagerClaim

RedeemedByNotIn applies the NotIn predicate on the "redeemed_by" field.

func RedeemedByNotNil

func RedeemedByNotNil() predicate.ManagerClaim

RedeemedByNotNil applies the NotNil predicate on the "redeemed_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 ManagerClaim queries.

func ByCodeHash

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

ByCodeHash orders the results by the code_hash field.

func ByCodePrefix

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

ByCodePrefix orders the results by the code_prefix field.

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 ByIssuedBy

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

ByIssuedBy orders the results by the issued_by field.

func ByManagedField

func ByManagedField(field string, opts ...sql.OrderTermOption) OrderOption

ByManagedField orders the results by managed field.

func ByManagedPrincipalID

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

ByManagedPrincipalID orders the results by the managed_principal_id field.

func ByRedeemedAt

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

ByRedeemedAt orders the results by the redeemed_at field.

func ByRedeemedBy

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

ByRedeemedBy orders the results by the redeemed_by field.

Jump to

Keyboard shortcuts

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