publickey

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the publickey type in the database.
	Label = "public_key"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldKty holds the string denoting the kty field in the database.
	FieldKty = "kty"
	// FieldAlg holds the string denoting the alg field in the database.
	FieldAlg = "alg"
	// FieldJwk holds the string denoting the jwk field in the database.
	FieldJwk = "jwk"
	// 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 publickey in the database.
	Table = "public_keys"
)

Variables

View Source
var (
	// 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
)

Columns holds all SQL columns for publickey fields.

Functions

func Alg

func Alg(v string) predicate.PublicKey

Alg applies equality check predicate on the "alg" field. It's identical to AlgEQ.

func AlgContains

func AlgContains(v string) predicate.PublicKey

AlgContains applies the Contains predicate on the "alg" field.

func AlgContainsFold

func AlgContainsFold(v string) predicate.PublicKey

AlgContainsFold applies the ContainsFold predicate on the "alg" field.

func AlgEQ

func AlgEQ(v string) predicate.PublicKey

AlgEQ applies the EQ predicate on the "alg" field.

func AlgEqualFold

func AlgEqualFold(v string) predicate.PublicKey

AlgEqualFold applies the EqualFold predicate on the "alg" field.

func AlgGT

func AlgGT(v string) predicate.PublicKey

AlgGT applies the GT predicate on the "alg" field.

func AlgGTE

func AlgGTE(v string) predicate.PublicKey

AlgGTE applies the GTE predicate on the "alg" field.

func AlgHasPrefix

func AlgHasPrefix(v string) predicate.PublicKey

AlgHasPrefix applies the HasPrefix predicate on the "alg" field.

func AlgHasSuffix

func AlgHasSuffix(v string) predicate.PublicKey

AlgHasSuffix applies the HasSuffix predicate on the "alg" field.

func AlgIn

func AlgIn(vs ...string) predicate.PublicKey

AlgIn applies the In predicate on the "alg" field.

func AlgIsNil

func AlgIsNil() predicate.PublicKey

AlgIsNil applies the IsNil predicate on the "alg" field.

func AlgLT

func AlgLT(v string) predicate.PublicKey

AlgLT applies the LT predicate on the "alg" field.

func AlgLTE

func AlgLTE(v string) predicate.PublicKey

AlgLTE applies the LTE predicate on the "alg" field.

func AlgNEQ

func AlgNEQ(v string) predicate.PublicKey

AlgNEQ applies the NEQ predicate on the "alg" field.

func AlgNotIn

func AlgNotIn(vs ...string) predicate.PublicKey

AlgNotIn applies the NotIn predicate on the "alg" field.

func AlgNotNil

func AlgNotNil() predicate.PublicKey

AlgNotNil applies the NotNil predicate on the "alg" field.

func And

func And(predicates ...predicate.PublicKey) predicate.PublicKey

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.PublicKey

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.PublicKey

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.PublicKey

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.PublicKey

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.PublicKey

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.PublicKey

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.PublicKey

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

func CreatedAtNotIn

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

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

func ID

func ID(id string) predicate.PublicKey

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id string) predicate.PublicKey

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id string) predicate.PublicKey

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.PublicKey

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.PublicKey

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.PublicKey

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.PublicKey

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.PublicKey

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.PublicKey

IDNotIn applies the NotIn predicate on the ID field.

func Kty

func Kty(v string) predicate.PublicKey

Kty applies equality check predicate on the "kty" field. It's identical to KtyEQ.

func KtyContains

func KtyContains(v string) predicate.PublicKey

KtyContains applies the Contains predicate on the "kty" field.

func KtyContainsFold

func KtyContainsFold(v string) predicate.PublicKey

KtyContainsFold applies the ContainsFold predicate on the "kty" field.

func KtyEQ

func KtyEQ(v string) predicate.PublicKey

KtyEQ applies the EQ predicate on the "kty" field.

func KtyEqualFold

func KtyEqualFold(v string) predicate.PublicKey

KtyEqualFold applies the EqualFold predicate on the "kty" field.

func KtyGT

func KtyGT(v string) predicate.PublicKey

KtyGT applies the GT predicate on the "kty" field.

func KtyGTE

func KtyGTE(v string) predicate.PublicKey

KtyGTE applies the GTE predicate on the "kty" field.

func KtyHasPrefix

func KtyHasPrefix(v string) predicate.PublicKey

KtyHasPrefix applies the HasPrefix predicate on the "kty" field.

func KtyHasSuffix

func KtyHasSuffix(v string) predicate.PublicKey

KtyHasSuffix applies the HasSuffix predicate on the "kty" field.

func KtyIn

func KtyIn(vs ...string) predicate.PublicKey

KtyIn applies the In predicate on the "kty" field.

func KtyLT

func KtyLT(v string) predicate.PublicKey

KtyLT applies the LT predicate on the "kty" field.

func KtyLTE

func KtyLTE(v string) predicate.PublicKey

KtyLTE applies the LTE predicate on the "kty" field.

func KtyNEQ

func KtyNEQ(v string) predicate.PublicKey

KtyNEQ applies the NEQ predicate on the "kty" field.

func KtyNotIn

func KtyNotIn(vs ...string) predicate.PublicKey

KtyNotIn applies the NotIn predicate on the "kty" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.PublicKey) predicate.PublicKey

Or groups predicates with the OR operator between them.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.PublicKey

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.PublicKey

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.PublicKey

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.PublicKey

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.PublicKey

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.PublicKey

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.PublicKey

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

func UpdatedAtNotIn

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

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

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