Documentation
¶
Index ¶
- Constants
- Variables
- func ActivatedAt(v time.Time) predicate.KEKVersion
- func ActivatedAtEQ(v time.Time) predicate.KEKVersion
- func ActivatedAtGT(v time.Time) predicate.KEKVersion
- func ActivatedAtGTE(v time.Time) predicate.KEKVersion
- func ActivatedAtIn(vs ...time.Time) predicate.KEKVersion
- func ActivatedAtIsNil() predicate.KEKVersion
- func ActivatedAtLT(v time.Time) predicate.KEKVersion
- func ActivatedAtLTE(v time.Time) predicate.KEKVersion
- func ActivatedAtNEQ(v time.Time) predicate.KEKVersion
- func ActivatedAtNotIn(vs ...time.Time) predicate.KEKVersion
- func ActivatedAtNotNil() predicate.KEKVersion
- func And(predicates ...predicate.KEKVersion) predicate.KEKVersion
- func CreatedAt(v time.Time) predicate.KEKVersion
- func CreatedAtEQ(v time.Time) predicate.KEKVersion
- func CreatedAtGT(v time.Time) predicate.KEKVersion
- func CreatedAtGTE(v time.Time) predicate.KEKVersion
- func CreatedAtIn(vs ...time.Time) predicate.KEKVersion
- func CreatedAtLT(v time.Time) predicate.KEKVersion
- func CreatedAtLTE(v time.Time) predicate.KEKVersion
- func CreatedAtNEQ(v time.Time) predicate.KEKVersion
- func CreatedAtNotIn(vs ...time.Time) predicate.KEKVersion
- func HasKek() predicate.KEKVersion
- func HasKekWith(preds ...predicate.KEK) predicate.KEKVersion
- func ID(id int) predicate.KEKVersion
- func IDEQ(id int) predicate.KEKVersion
- func IDGT(id int) predicate.KEKVersion
- func IDGTE(id int) predicate.KEKVersion
- func IDIn(ids ...int) predicate.KEKVersion
- func IDLT(id int) predicate.KEKVersion
- func IDLTE(id int) predicate.KEKVersion
- func IDNEQ(id int) predicate.KEKVersion
- func IDNotIn(ids ...int) predicate.KEKVersion
- func KekID(v envelope.ID) predicate.KEKVersion
- func KekIDEQ(v envelope.ID) predicate.KEKVersion
- func KekIDIn(vs ...envelope.ID) predicate.KEKVersion
- func KekIDNEQ(v envelope.ID) predicate.KEKVersion
- func KekIDNotIn(vs ...envelope.ID) predicate.KEKVersion
- func Not(p predicate.KEKVersion) predicate.KEKVersion
- func Or(predicates ...predicate.KEKVersion) predicate.KEKVersion
- func ProviderRef(v string) predicate.KEKVersion
- func ProviderRefContains(v string) predicate.KEKVersion
- func ProviderRefContainsFold(v string) predicate.KEKVersion
- func ProviderRefEQ(v string) predicate.KEKVersion
- func ProviderRefEqualFold(v string) predicate.KEKVersion
- func ProviderRefGT(v string) predicate.KEKVersion
- func ProviderRefGTE(v string) predicate.KEKVersion
- func ProviderRefHasPrefix(v string) predicate.KEKVersion
- func ProviderRefHasSuffix(v string) predicate.KEKVersion
- func ProviderRefIn(vs ...string) predicate.KEKVersion
- func ProviderRefLT(v string) predicate.KEKVersion
- func ProviderRefLTE(v string) predicate.KEKVersion
- func ProviderRefNEQ(v string) predicate.KEKVersion
- func ProviderRefNotIn(vs ...string) predicate.KEKVersion
- func RetireAfter(v time.Time) predicate.KEKVersion
- func RetireAfterEQ(v time.Time) predicate.KEKVersion
- func RetireAfterGT(v time.Time) predicate.KEKVersion
- func RetireAfterGTE(v time.Time) predicate.KEKVersion
- func RetireAfterIn(vs ...time.Time) predicate.KEKVersion
- func RetireAfterIsNil() predicate.KEKVersion
- func RetireAfterLT(v time.Time) predicate.KEKVersion
- func RetireAfterLTE(v time.Time) predicate.KEKVersion
- func RetireAfterNEQ(v time.Time) predicate.KEKVersion
- func RetireAfterNotIn(vs ...time.Time) predicate.KEKVersion
- func RetireAfterNotNil() predicate.KEKVersion
- func RotatedAt(v time.Time) predicate.KEKVersion
- func RotatedAtEQ(v time.Time) predicate.KEKVersion
- func RotatedAtGT(v time.Time) predicate.KEKVersion
- func RotatedAtGTE(v time.Time) predicate.KEKVersion
- func RotatedAtIn(vs ...time.Time) predicate.KEKVersion
- func RotatedAtIsNil() predicate.KEKVersion
- func RotatedAtLT(v time.Time) predicate.KEKVersion
- func RotatedAtLTE(v time.Time) predicate.KEKVersion
- func RotatedAtNEQ(v time.Time) predicate.KEKVersion
- func RotatedAtNotIn(vs ...time.Time) predicate.KEKVersion
- func RotatedAtNotNil() predicate.KEKVersion
- func State(v uint8) predicate.KEKVersion
- func StateEQ(v uint8) predicate.KEKVersion
- func StateGT(v uint8) predicate.KEKVersion
- func StateGTE(v uint8) predicate.KEKVersion
- func StateIn(vs ...uint8) predicate.KEKVersion
- func StateLT(v uint8) predicate.KEKVersion
- func StateLTE(v uint8) predicate.KEKVersion
- func StateNEQ(v uint8) predicate.KEKVersion
- func StateNotIn(vs ...uint8) predicate.KEKVersion
- func ValidColumn(column string) bool
- func Version(v uint32) predicate.KEKVersion
- func VersionEQ(v uint32) predicate.KEKVersion
- func VersionGT(v uint32) predicate.KEKVersion
- func VersionGTE(v uint32) predicate.KEKVersion
- func VersionIn(vs ...uint32) predicate.KEKVersion
- func VersionLT(v uint32) predicate.KEKVersion
- func VersionLTE(v uint32) predicate.KEKVersion
- func VersionNEQ(v uint32) predicate.KEKVersion
- func VersionNotIn(vs ...uint32) predicate.KEKVersion
- type OrderOption
- func ByActivatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKekField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByKekID(opts ...sql.OrderTermOption) OrderOption
- func ByProviderRef(opts ...sql.OrderTermOption) OrderOption
- func ByRetireAfter(opts ...sql.OrderTermOption) OrderOption
- func ByRotatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByState(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
var Columns = []string{ FieldID, FieldKekID, FieldVersion, FieldState, FieldProviderRef, FieldCreatedAt, FieldActivatedAt, FieldRotatedAt, FieldRetireAfter, }
Columns holds all SQL columns for kekversion fields.
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 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 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 ¶
func KekID(v envelope.ID) predicate.KEKVersion
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 ¶
func Not(p predicate.KEKVersion) predicate.KEKVersion
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 ¶
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 ¶
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.