localbootstrapauthrequest

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the localbootstrapauthrequest type in the database.
	Label = "local_bootstrap_auth_request"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCodeHash holds the string denoting the code_hash field in the database.
	FieldCodeHash = "code_hash"
	// FieldNonceHash holds the string denoting the nonce_hash field in the database.
	FieldNonceHash = "nonce_hash"
	// FieldPurpose holds the string denoting the purpose field in the database.
	FieldPurpose = "purpose"
	// FieldRequestedBy holds the string denoting the requested_by field in the database.
	FieldRequestedBy = "requested_by"
	// FieldExpiresAt holds the string denoting the expires_at field in the database.
	FieldExpiresAt = "expires_at"
	// FieldUsedSessionID holds the string denoting the used_session_id field in the database.
	FieldUsedSessionID = "used_session_id"
	// FieldUsedAt holds the string denoting the used_at field in the database.
	FieldUsedAt = "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"
	// Table holds the table name of the localbootstrapauthrequest in the database.
	Table = "local_bootstrap_auth_requests"
)

Variables

View Source
var (
	// CodeHashValidator is a validator for the "code_hash" field. It is called by the builders before save.
	CodeHashValidator func(string) error
	// NonceHashValidator is a validator for the "nonce_hash" field. It is called by the builders before save.
	NonceHashValidator func(string) error
	// DefaultPurpose holds the default value on creation for the "purpose" field.
	DefaultPurpose string
	// DefaultRequestedBy holds the default value on creation for the "requested_by" field.
	DefaultRequestedBy string
	// 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
)

Columns holds all SQL columns for localbootstrapauthrequest fields.

Functions

func And

And groups predicates with the AND operator between them.

func CodeHash

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

func CodeHashContains

func CodeHashContains(v string) predicate.LocalBootstrapAuthRequest

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

func CodeHashContainsFold

func CodeHashContainsFold(v string) predicate.LocalBootstrapAuthRequest

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

func CodeHashEQ

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

func CodeHashEqualFold

func CodeHashEqualFold(v string) predicate.LocalBootstrapAuthRequest

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

func CodeHashGT

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

func CodeHashGTE

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

func CodeHashHasPrefix

func CodeHashHasPrefix(v string) predicate.LocalBootstrapAuthRequest

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

func CodeHashHasSuffix

func CodeHashHasSuffix(v string) predicate.LocalBootstrapAuthRequest

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

func CodeHashIn

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

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

func CodeHashLT

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

func CodeHashLTE

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

func CodeHashNEQ

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

func CodeHashNotIn

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

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

func CreatedAt

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

func CreatedAtEQ

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

func CreatedAtGT

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

func CreatedAtGTE

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

func CreatedAtIn

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

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

func CreatedAtLT

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

func CreatedAtLTE

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

func CreatedAtNEQ

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

func CreatedAtNotIn

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

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

func ExpiresAt

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

func ExpiresAtEQ

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

func ExpiresAtGT

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

func ExpiresAtGTE

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

func ExpiresAtIn

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

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

func ExpiresAtLT

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

func ExpiresAtLTE

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

func ExpiresAtNEQ

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

func ExpiresAtNotIn

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

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

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

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

IDNotIn applies the NotIn predicate on the ID field.

func NonceHash

NonceHash applies equality check predicate on the "nonce_hash" field. It's identical to NonceHashEQ.

func NonceHashContains

func NonceHashContains(v string) predicate.LocalBootstrapAuthRequest

NonceHashContains applies the Contains predicate on the "nonce_hash" field.

func NonceHashContainsFold

func NonceHashContainsFold(v string) predicate.LocalBootstrapAuthRequest

NonceHashContainsFold applies the ContainsFold predicate on the "nonce_hash" field.

func NonceHashEQ

NonceHashEQ applies the EQ predicate on the "nonce_hash" field.

func NonceHashEqualFold

func NonceHashEqualFold(v string) predicate.LocalBootstrapAuthRequest

NonceHashEqualFold applies the EqualFold predicate on the "nonce_hash" field.

func NonceHashGT

NonceHashGT applies the GT predicate on the "nonce_hash" field.

func NonceHashGTE

NonceHashGTE applies the GTE predicate on the "nonce_hash" field.

func NonceHashHasPrefix

func NonceHashHasPrefix(v string) predicate.LocalBootstrapAuthRequest

NonceHashHasPrefix applies the HasPrefix predicate on the "nonce_hash" field.

func NonceHashHasSuffix

func NonceHashHasSuffix(v string) predicate.LocalBootstrapAuthRequest

NonceHashHasSuffix applies the HasSuffix predicate on the "nonce_hash" field.

func NonceHashIn

func NonceHashIn(vs ...string) predicate.LocalBootstrapAuthRequest

NonceHashIn applies the In predicate on the "nonce_hash" field.

func NonceHashLT

NonceHashLT applies the LT predicate on the "nonce_hash" field.

func NonceHashLTE

NonceHashLTE applies the LTE predicate on the "nonce_hash" field.

func NonceHashNEQ

NonceHashNEQ applies the NEQ predicate on the "nonce_hash" field.

func NonceHashNotIn

func NonceHashNotIn(vs ...string) predicate.LocalBootstrapAuthRequest

NonceHashNotIn applies the NotIn predicate on the "nonce_hash" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Purpose

Purpose applies equality check predicate on the "purpose" field. It's identical to PurposeEQ.

func PurposeContains

func PurposeContains(v string) predicate.LocalBootstrapAuthRequest

PurposeContains applies the Contains predicate on the "purpose" field.

func PurposeContainsFold

func PurposeContainsFold(v string) predicate.LocalBootstrapAuthRequest

PurposeContainsFold applies the ContainsFold predicate on the "purpose" field.

func PurposeEQ

PurposeEQ applies the EQ predicate on the "purpose" field.

func PurposeEqualFold

func PurposeEqualFold(v string) predicate.LocalBootstrapAuthRequest

PurposeEqualFold applies the EqualFold predicate on the "purpose" field.

func PurposeGT

PurposeGT applies the GT predicate on the "purpose" field.

func PurposeGTE

PurposeGTE applies the GTE predicate on the "purpose" field.

func PurposeHasPrefix

func PurposeHasPrefix(v string) predicate.LocalBootstrapAuthRequest

PurposeHasPrefix applies the HasPrefix predicate on the "purpose" field.

func PurposeHasSuffix

func PurposeHasSuffix(v string) predicate.LocalBootstrapAuthRequest

PurposeHasSuffix applies the HasSuffix predicate on the "purpose" field.

func PurposeIn

PurposeIn applies the In predicate on the "purpose" field.

func PurposeLT

PurposeLT applies the LT predicate on the "purpose" field.

func PurposeLTE

PurposeLTE applies the LTE predicate on the "purpose" field.

func PurposeNEQ

PurposeNEQ applies the NEQ predicate on the "purpose" field.

func PurposeNotIn

func PurposeNotIn(vs ...string) predicate.LocalBootstrapAuthRequest

PurposeNotIn applies the NotIn predicate on the "purpose" field.

func RequestedBy

RequestedBy applies equality check predicate on the "requested_by" field. It's identical to RequestedByEQ.

func RequestedByContains

func RequestedByContains(v string) predicate.LocalBootstrapAuthRequest

RequestedByContains applies the Contains predicate on the "requested_by" field.

func RequestedByContainsFold

func RequestedByContainsFold(v string) predicate.LocalBootstrapAuthRequest

RequestedByContainsFold applies the ContainsFold predicate on the "requested_by" field.

func RequestedByEQ

RequestedByEQ applies the EQ predicate on the "requested_by" field.

func RequestedByEqualFold

func RequestedByEqualFold(v string) predicate.LocalBootstrapAuthRequest

RequestedByEqualFold applies the EqualFold predicate on the "requested_by" field.

func RequestedByGT

RequestedByGT applies the GT predicate on the "requested_by" field.

func RequestedByGTE

func RequestedByGTE(v string) predicate.LocalBootstrapAuthRequest

RequestedByGTE applies the GTE predicate on the "requested_by" field.

func RequestedByHasPrefix

func RequestedByHasPrefix(v string) predicate.LocalBootstrapAuthRequest

RequestedByHasPrefix applies the HasPrefix predicate on the "requested_by" field.

func RequestedByHasSuffix

func RequestedByHasSuffix(v string) predicate.LocalBootstrapAuthRequest

RequestedByHasSuffix applies the HasSuffix predicate on the "requested_by" field.

func RequestedByIn

func RequestedByIn(vs ...string) predicate.LocalBootstrapAuthRequest

RequestedByIn applies the In predicate on the "requested_by" field.

func RequestedByLT

RequestedByLT applies the LT predicate on the "requested_by" field.

func RequestedByLTE

func RequestedByLTE(v string) predicate.LocalBootstrapAuthRequest

RequestedByLTE applies the LTE predicate on the "requested_by" field.

func RequestedByNEQ

func RequestedByNEQ(v string) predicate.LocalBootstrapAuthRequest

RequestedByNEQ applies the NEQ predicate on the "requested_by" field.

func RequestedByNotIn

func RequestedByNotIn(vs ...string) predicate.LocalBootstrapAuthRequest

RequestedByNotIn applies the NotIn predicate on the "requested_by" field.

func UpdatedAt

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.LocalBootstrapAuthRequest

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.LocalBootstrapAuthRequest

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UsedAt

UsedAt applies equality check predicate on the "used_at" field. It's identical to UsedAtEQ.

func UsedAtEQ

UsedAtEQ applies the EQ predicate on the "used_at" field.

func UsedAtGT

UsedAtGT applies the GT predicate on the "used_at" field.

func UsedAtGTE

UsedAtGTE applies the GTE predicate on the "used_at" field.

func UsedAtIn

UsedAtIn applies the In predicate on the "used_at" field.

func UsedAtIsNil

UsedAtIsNil applies the IsNil predicate on the "used_at" field.

func UsedAtLT

UsedAtLT applies the LT predicate on the "used_at" field.

func UsedAtLTE

UsedAtLTE applies the LTE predicate on the "used_at" field.

func UsedAtNEQ

UsedAtNEQ applies the NEQ predicate on the "used_at" field.

func UsedAtNotIn

func UsedAtNotIn(vs ...time.Time) predicate.LocalBootstrapAuthRequest

UsedAtNotIn applies the NotIn predicate on the "used_at" field.

func UsedAtNotNil

func UsedAtNotNil() predicate.LocalBootstrapAuthRequest

UsedAtNotNil applies the NotNil predicate on the "used_at" field.

func UsedSessionID

UsedSessionID applies equality check predicate on the "used_session_id" field. It's identical to UsedSessionIDEQ.

func UsedSessionIDEQ

func UsedSessionIDEQ(v uuid.UUID) predicate.LocalBootstrapAuthRequest

UsedSessionIDEQ applies the EQ predicate on the "used_session_id" field.

func UsedSessionIDGT

func UsedSessionIDGT(v uuid.UUID) predicate.LocalBootstrapAuthRequest

UsedSessionIDGT applies the GT predicate on the "used_session_id" field.

func UsedSessionIDGTE

func UsedSessionIDGTE(v uuid.UUID) predicate.LocalBootstrapAuthRequest

UsedSessionIDGTE applies the GTE predicate on the "used_session_id" field.

func UsedSessionIDIn

func UsedSessionIDIn(vs ...uuid.UUID) predicate.LocalBootstrapAuthRequest

UsedSessionIDIn applies the In predicate on the "used_session_id" field.

func UsedSessionIDIsNil

func UsedSessionIDIsNil() predicate.LocalBootstrapAuthRequest

UsedSessionIDIsNil applies the IsNil predicate on the "used_session_id" field.

func UsedSessionIDLT

func UsedSessionIDLT(v uuid.UUID) predicate.LocalBootstrapAuthRequest

UsedSessionIDLT applies the LT predicate on the "used_session_id" field.

func UsedSessionIDLTE

func UsedSessionIDLTE(v uuid.UUID) predicate.LocalBootstrapAuthRequest

UsedSessionIDLTE applies the LTE predicate on the "used_session_id" field.

func UsedSessionIDNEQ

func UsedSessionIDNEQ(v uuid.UUID) predicate.LocalBootstrapAuthRequest

UsedSessionIDNEQ applies the NEQ predicate on the "used_session_id" field.

func UsedSessionIDNotIn

func UsedSessionIDNotIn(vs ...uuid.UUID) predicate.LocalBootstrapAuthRequest

UsedSessionIDNotIn applies the NotIn predicate on the "used_session_id" field.

func UsedSessionIDNotNil

func UsedSessionIDNotNil() predicate.LocalBootstrapAuthRequest

UsedSessionIDNotNil applies the NotNil predicate on the "used_session_id" 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 LocalBootstrapAuthRequest queries.

func ByCodeHash

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

ByCodeHash orders the results by the code_hash 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 ByNonceHash

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

ByNonceHash orders the results by the nonce_hash field.

func ByPurpose

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

ByPurpose orders the results by the purpose field.

func ByRequestedBy

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

ByRequestedBy orders the results by the requested_by field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUsedAt

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

ByUsedAt orders the results by the used_at field.

func ByUsedSessionID

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

ByUsedSessionID orders the results by the used_session_id field.

Jump to

Keyboard shortcuts

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