keys

package
v0.0.0-...-c3b95e6 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the keys type in the database.
	Label = "keys"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldVerificationKeys holds the string denoting the verification_keys field in the database.
	FieldVerificationKeys = "verification_keys"
	// FieldSigningKey holds the string denoting the signing_key field in the database.
	FieldSigningKey = "signing_key"
	// FieldSigningKeyPub holds the string denoting the signing_key_pub field in the database.
	FieldSigningKeyPub = "signing_key_pub"
	// FieldNextRotation holds the string denoting the next_rotation field in the database.
	FieldNextRotation = "next_rotation"
	// Table holds the table name of the keys in the database.
	Table = "keys"
)

Variables

Columns holds all SQL columns for keys fields.

View Source
var (
	// IDValidator is a validator for the "id" field. It is called by the builders before save.
	IDValidator func(string) error
)

Functions

func And

func And(predicates ...predicate.Keys) predicate.Keys

And groups predicates with the AND operator between them.

func ID

func ID(id string) predicate.Keys

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id string) predicate.Keys

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Keys

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Keys

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Keys

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Keys

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Keys

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func NextRotation

func NextRotation(v time.Time) predicate.Keys

NextRotation applies equality check predicate on the "next_rotation" field. It's identical to NextRotationEQ.

func NextRotationEQ

func NextRotationEQ(v time.Time) predicate.Keys

NextRotationEQ applies the EQ predicate on the "next_rotation" field.

func NextRotationGT

func NextRotationGT(v time.Time) predicate.Keys

NextRotationGT applies the GT predicate on the "next_rotation" field.

func NextRotationGTE

func NextRotationGTE(v time.Time) predicate.Keys

NextRotationGTE applies the GTE predicate on the "next_rotation" field.

func NextRotationIn

func NextRotationIn(vs ...time.Time) predicate.Keys

NextRotationIn applies the In predicate on the "next_rotation" field.

func NextRotationLT

func NextRotationLT(v time.Time) predicate.Keys

NextRotationLT applies the LT predicate on the "next_rotation" field.

func NextRotationLTE

func NextRotationLTE(v time.Time) predicate.Keys

NextRotationLTE applies the LTE predicate on the "next_rotation" field.

func NextRotationNEQ

func NextRotationNEQ(v time.Time) predicate.Keys

NextRotationNEQ applies the NEQ predicate on the "next_rotation" field.

func NextRotationNotIn

func NextRotationNotIn(vs ...time.Time) predicate.Keys

NextRotationNotIn applies the NotIn predicate on the "next_rotation" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Keys) predicate.Keys

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