kekversion

package
v0.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the kekversion type in the database.
	Label = "kek_version"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldKekID holds the string denoting the kek_id field in the database.
	FieldKekID = "kek_id"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldState holds the string denoting the state field in the database.
	FieldState = "state"
	// FieldProviderRef holds the string denoting the provider_ref field in the database.
	FieldProviderRef = "provider_ref"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldActivatedAt holds the string denoting the activated_at field in the database.
	FieldActivatedAt = "activated_at"
	// FieldRotatedAt holds the string denoting the rotated_at field in the database.
	FieldRotatedAt = "rotated_at"
	// FieldRetireAfter holds the string denoting the retire_after field in the database.
	FieldRetireAfter = "retire_after"
	// EdgeKek holds the string denoting the kek edge name in mutations.
	EdgeKek = "kek"
	// Table holds the table name of the kekversion in the database.
	Table = "kek_versions"
	// KekTable is the table that holds the kek relation/edge.
	KekTable = "kek_versions"
	// KekInverseTable is the table name for the KEK entity.
	// It exists in this package in order to avoid circular dependency with the "kek" package.
	KekInverseTable = "ke_ks"
	// KekColumn is the table column denoting the kek relation/edge.
	KekColumn = "kek_id"
)

Variables

Columns holds all SQL columns for kekversion fields.

View Source
var (
	// DefaultProviderRef holds the default value on creation for the "provider_ref" field.
	DefaultProviderRef string
)

Functions

func ActivatedAt

func ActivatedAt(v time.Time) predicate.KEKVersion

ActivatedAt applies equality check predicate on the "activated_at" field. It's identical to ActivatedAtEQ.

func ActivatedAtEQ

func ActivatedAtEQ(v time.Time) predicate.KEKVersion

ActivatedAtEQ applies the EQ predicate on the "activated_at" field.

func ActivatedAtGT

func ActivatedAtGT(v time.Time) predicate.KEKVersion

ActivatedAtGT applies the GT predicate on the "activated_at" field.

func ActivatedAtGTE

func ActivatedAtGTE(v time.Time) predicate.KEKVersion

ActivatedAtGTE applies the GTE predicate on the "activated_at" field.

func ActivatedAtIn

func ActivatedAtIn(vs ...time.Time) predicate.KEKVersion

ActivatedAtIn applies the In predicate on the "activated_at" field.

func ActivatedAtIsNil

func ActivatedAtIsNil() predicate.KEKVersion

ActivatedAtIsNil applies the IsNil predicate on the "activated_at" field.

func ActivatedAtLT

func ActivatedAtLT(v time.Time) predicate.KEKVersion

ActivatedAtLT applies the LT predicate on the "activated_at" field.

func ActivatedAtLTE

func ActivatedAtLTE(v time.Time) predicate.KEKVersion

ActivatedAtLTE applies the LTE predicate on the "activated_at" field.

func ActivatedAtNEQ

func ActivatedAtNEQ(v time.Time) predicate.KEKVersion

ActivatedAtNEQ applies the NEQ predicate on the "activated_at" field.

func ActivatedAtNotIn

func ActivatedAtNotIn(vs ...time.Time) predicate.KEKVersion

ActivatedAtNotIn applies the NotIn predicate on the "activated_at" field.

func ActivatedAtNotNil

func ActivatedAtNotNil() predicate.KEKVersion

ActivatedAtNotNil applies the NotNil predicate on the "activated_at" field.

func And

func And(predicates ...predicate.KEKVersion) predicate.KEKVersion

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.KEKVersion

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.KEKVersion

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.KEKVersion

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.KEKVersion

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.KEKVersion

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.KEKVersion

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.KEKVersion

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

func CreatedAtNotIn

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

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

func HasKek

func HasKek() predicate.KEKVersion

HasKek applies the HasEdge predicate on the "kek" edge.

func HasKekWith

func HasKekWith(preds ...predicate.KEK) predicate.KEKVersion

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

func ID

func ID(id int) predicate.KEKVersion

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.KEKVersion

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.KEKVersion

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.KEKVersion

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.KEKVersion

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.KEKVersion

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.KEKVersion

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.KEKVersion

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.KEKVersion

IDNotIn applies the NotIn predicate on the ID field.

func KekID

KekID applies equality check predicate on the "kek_id" field. It's identical to KekIDEQ.

func KekIDEQ

func KekIDEQ(v envelope.ID) predicate.KEKVersion

KekIDEQ applies the EQ predicate on the "kek_id" field.

func KekIDIn

func KekIDIn(vs ...envelope.ID) predicate.KEKVersion

KekIDIn applies the In predicate on the "kek_id" field.

func KekIDNEQ

func KekIDNEQ(v envelope.ID) predicate.KEKVersion

KekIDNEQ applies the NEQ predicate on the "kek_id" field.

func KekIDNotIn

func KekIDNotIn(vs ...envelope.ID) predicate.KEKVersion

KekIDNotIn applies the NotIn predicate on the "kek_id" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.KEKVersion) predicate.KEKVersion

Or groups predicates with the OR operator between them.

func ProviderRef

func ProviderRef(v string) predicate.KEKVersion

ProviderRef applies equality check predicate on the "provider_ref" field. It's identical to ProviderRefEQ.

func ProviderRefContains

func ProviderRefContains(v string) predicate.KEKVersion

ProviderRefContains applies the Contains predicate on the "provider_ref" field.

func ProviderRefContainsFold

func ProviderRefContainsFold(v string) predicate.KEKVersion

ProviderRefContainsFold applies the ContainsFold predicate on the "provider_ref" field.

func ProviderRefEQ

func ProviderRefEQ(v string) predicate.KEKVersion

ProviderRefEQ applies the EQ predicate on the "provider_ref" field.

func ProviderRefEqualFold

func ProviderRefEqualFold(v string) predicate.KEKVersion

ProviderRefEqualFold applies the EqualFold predicate on the "provider_ref" field.

func ProviderRefGT

func ProviderRefGT(v string) predicate.KEKVersion

ProviderRefGT applies the GT predicate on the "provider_ref" field.

func ProviderRefGTE

func ProviderRefGTE(v string) predicate.KEKVersion

ProviderRefGTE applies the GTE predicate on the "provider_ref" field.

func ProviderRefHasPrefix

func ProviderRefHasPrefix(v string) predicate.KEKVersion

ProviderRefHasPrefix applies the HasPrefix predicate on the "provider_ref" field.

func ProviderRefHasSuffix

func ProviderRefHasSuffix(v string) predicate.KEKVersion

ProviderRefHasSuffix applies the HasSuffix predicate on the "provider_ref" field.

func ProviderRefIn

func ProviderRefIn(vs ...string) predicate.KEKVersion

ProviderRefIn applies the In predicate on the "provider_ref" field.

func ProviderRefLT

func ProviderRefLT(v string) predicate.KEKVersion

ProviderRefLT applies the LT predicate on the "provider_ref" field.

func ProviderRefLTE

func ProviderRefLTE(v string) predicate.KEKVersion

ProviderRefLTE applies the LTE predicate on the "provider_ref" field.

func ProviderRefNEQ

func ProviderRefNEQ(v string) predicate.KEKVersion

ProviderRefNEQ applies the NEQ predicate on the "provider_ref" field.

func ProviderRefNotIn

func ProviderRefNotIn(vs ...string) predicate.KEKVersion

ProviderRefNotIn applies the NotIn predicate on the "provider_ref" field.

func RetireAfter

func RetireAfter(v time.Time) predicate.KEKVersion

RetireAfter applies equality check predicate on the "retire_after" field. It's identical to RetireAfterEQ.

func RetireAfterEQ

func RetireAfterEQ(v time.Time) predicate.KEKVersion

RetireAfterEQ applies the EQ predicate on the "retire_after" field.

func RetireAfterGT

func RetireAfterGT(v time.Time) predicate.KEKVersion

RetireAfterGT applies the GT predicate on the "retire_after" field.

func RetireAfterGTE

func RetireAfterGTE(v time.Time) predicate.KEKVersion

RetireAfterGTE applies the GTE predicate on the "retire_after" field.

func RetireAfterIn

func RetireAfterIn(vs ...time.Time) predicate.KEKVersion

RetireAfterIn applies the In predicate on the "retire_after" field.

func RetireAfterIsNil

func RetireAfterIsNil() predicate.KEKVersion

RetireAfterIsNil applies the IsNil predicate on the "retire_after" field.

func RetireAfterLT

func RetireAfterLT(v time.Time) predicate.KEKVersion

RetireAfterLT applies the LT predicate on the "retire_after" field.

func RetireAfterLTE

func RetireAfterLTE(v time.Time) predicate.KEKVersion

RetireAfterLTE applies the LTE predicate on the "retire_after" field.

func RetireAfterNEQ

func RetireAfterNEQ(v time.Time) predicate.KEKVersion

RetireAfterNEQ applies the NEQ predicate on the "retire_after" field.

func RetireAfterNotIn

func RetireAfterNotIn(vs ...time.Time) predicate.KEKVersion

RetireAfterNotIn applies the NotIn predicate on the "retire_after" field.

func RetireAfterNotNil

func RetireAfterNotNil() predicate.KEKVersion

RetireAfterNotNil applies the NotNil predicate on the "retire_after" field.

func RotatedAt

func RotatedAt(v time.Time) predicate.KEKVersion

RotatedAt applies equality check predicate on the "rotated_at" field. It's identical to RotatedAtEQ.

func RotatedAtEQ

func RotatedAtEQ(v time.Time) predicate.KEKVersion

RotatedAtEQ applies the EQ predicate on the "rotated_at" field.

func RotatedAtGT

func RotatedAtGT(v time.Time) predicate.KEKVersion

RotatedAtGT applies the GT predicate on the "rotated_at" field.

func RotatedAtGTE

func RotatedAtGTE(v time.Time) predicate.KEKVersion

RotatedAtGTE applies the GTE predicate on the "rotated_at" field.

func RotatedAtIn

func RotatedAtIn(vs ...time.Time) predicate.KEKVersion

RotatedAtIn applies the In predicate on the "rotated_at" field.

func RotatedAtIsNil

func RotatedAtIsNil() predicate.KEKVersion

RotatedAtIsNil applies the IsNil predicate on the "rotated_at" field.

func RotatedAtLT

func RotatedAtLT(v time.Time) predicate.KEKVersion

RotatedAtLT applies the LT predicate on the "rotated_at" field.

func RotatedAtLTE

func RotatedAtLTE(v time.Time) predicate.KEKVersion

RotatedAtLTE applies the LTE predicate on the "rotated_at" field.

func RotatedAtNEQ

func RotatedAtNEQ(v time.Time) predicate.KEKVersion

RotatedAtNEQ applies the NEQ predicate on the "rotated_at" field.

func RotatedAtNotIn

func RotatedAtNotIn(vs ...time.Time) predicate.KEKVersion

RotatedAtNotIn applies the NotIn predicate on the "rotated_at" field.

func RotatedAtNotNil

func RotatedAtNotNil() predicate.KEKVersion

RotatedAtNotNil applies the NotNil predicate on the "rotated_at" field.

func State

func State(v uint8) predicate.KEKVersion

State applies equality check predicate on the "state" field. It's identical to StateEQ.

func StateEQ

func StateEQ(v uint8) predicate.KEKVersion

StateEQ applies the EQ predicate on the "state" field.

func StateGT

func StateGT(v uint8) predicate.KEKVersion

StateGT applies the GT predicate on the "state" field.

func StateGTE

func StateGTE(v uint8) predicate.KEKVersion

StateGTE applies the GTE predicate on the "state" field.

func StateIn

func StateIn(vs ...uint8) predicate.KEKVersion

StateIn applies the In predicate on the "state" field.

func StateLT

func StateLT(v uint8) predicate.KEKVersion

StateLT applies the LT predicate on the "state" field.

func StateLTE

func StateLTE(v uint8) predicate.KEKVersion

StateLTE applies the LTE predicate on the "state" field.

func StateNEQ

func StateNEQ(v uint8) predicate.KEKVersion

StateNEQ applies the NEQ predicate on the "state" field.

func StateNotIn

func StateNotIn(vs ...uint8) predicate.KEKVersion

StateNotIn applies the NotIn predicate on the "state" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func Version

func Version(v uint32) predicate.KEKVersion

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionEQ

func VersionEQ(v uint32) predicate.KEKVersion

VersionEQ applies the EQ predicate on the "version" field.

func VersionGT

func VersionGT(v uint32) predicate.KEKVersion

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v uint32) predicate.KEKVersion

VersionGTE applies the GTE predicate on the "version" field.

func VersionIn

func VersionIn(vs ...uint32) predicate.KEKVersion

VersionIn applies the In predicate on the "version" field.

func VersionLT

func VersionLT(v uint32) predicate.KEKVersion

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v uint32) predicate.KEKVersion

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v uint32) predicate.KEKVersion

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...uint32) predicate.KEKVersion

VersionNotIn applies the NotIn predicate on the "version" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the KEKVersion queries.

func ByActivatedAt

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

ByActivatedAt orders the results by the activated_at field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByID

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

ByID orders the results by the id field.

func ByKekField

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

ByKekField orders the results by kek field.

func ByKekID

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

ByKekID orders the results by the kek_id field.

func ByProviderRef

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

ByProviderRef orders the results by the provider_ref field.

func ByRetireAfter

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

ByRetireAfter orders the results by the retire_after field.

func ByRotatedAt

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

ByRotatedAt orders the results by the rotated_at field.

func ByState

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

ByState orders the results by the state field.

func ByVersion

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

ByVersion orders the results by the version field.

Jump to

Keyboard shortcuts

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