privatekey

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: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the privatekey type in the database.
	Label = "private_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"
	// EdgeAccount holds the string denoting the account edge name in mutations.
	EdgeAccount = "account"
	// Table holds the table name of the privatekey in the database.
	Table = "private_keys"
	// AccountTable is the table that holds the account relation/edge.
	AccountTable = "private_keys"
	// AccountInverseTable is the table name for the Account entity.
	// It exists in this package in order to avoid circular dependency with the "account" package.
	AccountInverseTable = "accounts"
	// AccountColumn is the table column denoting the account relation/edge.
	AccountColumn = "account_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 privatekey fields.

View Source
var ForeignKeys = []string{
	"account_keys",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "private_keys" table and are not defined as standalone fields in the schema.

Functions

func Alg

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

func AlgContains

func AlgContains(v string) predicate.PrivateKey

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

func AlgContainsFold

func AlgContainsFold(v string) predicate.PrivateKey

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

func AlgEQ

func AlgEQ(v string) predicate.PrivateKey

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

func AlgEqualFold

func AlgEqualFold(v string) predicate.PrivateKey

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

func AlgGT

func AlgGT(v string) predicate.PrivateKey

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

func AlgGTE

func AlgGTE(v string) predicate.PrivateKey

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

func AlgHasPrefix

func AlgHasPrefix(v string) predicate.PrivateKey

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

func AlgHasSuffix

func AlgHasSuffix(v string) predicate.PrivateKey

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

func AlgIn

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

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

func AlgIsNil

func AlgIsNil() predicate.PrivateKey

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

func AlgLT

func AlgLT(v string) predicate.PrivateKey

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

func AlgLTE

func AlgLTE(v string) predicate.PrivateKey

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

func AlgNEQ

func AlgNEQ(v string) predicate.PrivateKey

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

func AlgNotIn

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

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

func AlgNotNil

func AlgNotNil() predicate.PrivateKey

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

func And

func And(predicates ...predicate.PrivateKey) predicate.PrivateKey

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.PrivateKey

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.PrivateKey

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.PrivateKey

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.PrivateKey

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.PrivateKey

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.PrivateKey

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.PrivateKey

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

func CreatedAtNotIn

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

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

func HasAccount

func HasAccount() predicate.PrivateKey

HasAccount applies the HasEdge predicate on the "account" edge.

func HasAccountWith

func HasAccountWith(preds ...predicate.Account) predicate.PrivateKey

HasAccountWith applies the HasEdge predicate on the "account" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id string) predicate.PrivateKey

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id string) predicate.PrivateKey

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.PrivateKey

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.PrivateKey

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.PrivateKey

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.PrivateKey

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Kty

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

func KtyContains

func KtyContains(v string) predicate.PrivateKey

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

func KtyContainsFold

func KtyContainsFold(v string) predicate.PrivateKey

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

func KtyEQ

func KtyEQ(v string) predicate.PrivateKey

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

func KtyEqualFold

func KtyEqualFold(v string) predicate.PrivateKey

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

func KtyGT

func KtyGT(v string) predicate.PrivateKey

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

func KtyGTE

func KtyGTE(v string) predicate.PrivateKey

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

func KtyHasPrefix

func KtyHasPrefix(v string) predicate.PrivateKey

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

func KtyHasSuffix

func KtyHasSuffix(v string) predicate.PrivateKey

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

func KtyIn

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

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

func KtyLT

func KtyLT(v string) predicate.PrivateKey

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

func KtyLTE

func KtyLTE(v string) predicate.PrivateKey

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

func KtyNEQ

func KtyNEQ(v string) predicate.PrivateKey

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

func KtyNotIn

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

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.PrivateKey) predicate.PrivateKey

Or groups predicates with the OR operator between them.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.PrivateKey

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.PrivateKey

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.PrivateKey

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.PrivateKey

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.PrivateKey

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.PrivateKey

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.PrivateKey

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

func UpdatedAtNotIn

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

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