Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.LoadBalancerAnnotation) predicate.LoadBalancerAnnotation
- func CreatedAt(v time.Time) predicate.LoadBalancerAnnotation
- func CreatedAtEQ(v time.Time) predicate.LoadBalancerAnnotation
- func CreatedAtGT(v time.Time) predicate.LoadBalancerAnnotation
- func CreatedAtGTE(v time.Time) predicate.LoadBalancerAnnotation
- func CreatedAtIn(vs ...time.Time) predicate.LoadBalancerAnnotation
- func CreatedAtLT(v time.Time) predicate.LoadBalancerAnnotation
- func CreatedAtLTE(v time.Time) predicate.LoadBalancerAnnotation
- func CreatedAtNEQ(v time.Time) predicate.LoadBalancerAnnotation
- func CreatedAtNotIn(vs ...time.Time) predicate.LoadBalancerAnnotation
- func DataHasKey(v string) predicate.LoadBalancerAnnotation
- func HasLoadBalancer() predicate.LoadBalancerAnnotation
- func HasLoadBalancerWith(preds ...predicate.LoadBalancer) predicate.LoadBalancerAnnotation
- func ID(id gidx.PrefixedID) predicate.LoadBalancerAnnotation
- func IDEQ(id gidx.PrefixedID) predicate.LoadBalancerAnnotation
- func IDGT(id gidx.PrefixedID) predicate.LoadBalancerAnnotation
- func IDGTE(id gidx.PrefixedID) predicate.LoadBalancerAnnotation
- func IDIn(ids ...gidx.PrefixedID) predicate.LoadBalancerAnnotation
- func IDLT(id gidx.PrefixedID) predicate.LoadBalancerAnnotation
- func IDLTE(id gidx.PrefixedID) predicate.LoadBalancerAnnotation
- func IDNEQ(id gidx.PrefixedID) predicate.LoadBalancerAnnotation
- func IDNotIn(ids ...gidx.PrefixedID) predicate.LoadBalancerAnnotation
- func LoadBalancerID(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
- func LoadBalancerIDContains(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
- func LoadBalancerIDContainsFold(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
- func LoadBalancerIDEQ(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
- func LoadBalancerIDEqualFold(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
- func LoadBalancerIDGT(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
- func LoadBalancerIDGTE(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
- func LoadBalancerIDHasPrefix(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
- func LoadBalancerIDHasSuffix(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
- func LoadBalancerIDIn(vs ...gidx.PrefixedID) predicate.LoadBalancerAnnotation
- func LoadBalancerIDLT(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
- func LoadBalancerIDLTE(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
- func LoadBalancerIDNEQ(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
- func LoadBalancerIDNotIn(vs ...gidx.PrefixedID) predicate.LoadBalancerAnnotation
- func Namespace(v string) predicate.LoadBalancerAnnotation
- func NamespaceContains(v string) predicate.LoadBalancerAnnotation
- func NamespaceContainsFold(v string) predicate.LoadBalancerAnnotation
- func NamespaceEQ(v string) predicate.LoadBalancerAnnotation
- func NamespaceEqualFold(v string) predicate.LoadBalancerAnnotation
- func NamespaceGT(v string) predicate.LoadBalancerAnnotation
- func NamespaceGTE(v string) predicate.LoadBalancerAnnotation
- func NamespaceHasPrefix(v string) predicate.LoadBalancerAnnotation
- func NamespaceHasSuffix(v string) predicate.LoadBalancerAnnotation
- func NamespaceIn(vs ...string) predicate.LoadBalancerAnnotation
- func NamespaceLT(v string) predicate.LoadBalancerAnnotation
- func NamespaceLTE(v string) predicate.LoadBalancerAnnotation
- func NamespaceNEQ(v string) predicate.LoadBalancerAnnotation
- func NamespaceNotIn(vs ...string) predicate.LoadBalancerAnnotation
- func Not(p predicate.LoadBalancerAnnotation) predicate.LoadBalancerAnnotation
- func Or(predicates ...predicate.LoadBalancerAnnotation) predicate.LoadBalancerAnnotation
- func UpdatedAt(v time.Time) predicate.LoadBalancerAnnotation
- func UpdatedAtEQ(v time.Time) predicate.LoadBalancerAnnotation
- func UpdatedAtGT(v time.Time) predicate.LoadBalancerAnnotation
- func UpdatedAtGTE(v time.Time) predicate.LoadBalancerAnnotation
- func UpdatedAtIn(vs ...time.Time) predicate.LoadBalancerAnnotation
- func UpdatedAtLT(v time.Time) predicate.LoadBalancerAnnotation
- func UpdatedAtLTE(v time.Time) predicate.LoadBalancerAnnotation
- func UpdatedAtNEQ(v time.Time) predicate.LoadBalancerAnnotation
- func UpdatedAtNotIn(vs ...time.Time) predicate.LoadBalancerAnnotation
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLoadBalancerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByLoadBalancerID(opts ...sql.OrderTermOption) OrderOption
- func ByNamespace(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the loadbalancerannotation type in the database. Label = "load_balancer_annotation" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldNamespace holds the string denoting the namespace field in the database. FieldNamespace = "namespace" // FieldData holds the string denoting the data field in the database. FieldData = "data" // 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" // FieldLoadBalancerID holds the string denoting the load_balancer_id field in the database. FieldLoadBalancerID = "load_balancer_id" // EdgeLoadBalancer holds the string denoting the load_balancer edge name in mutations. EdgeLoadBalancer = "load_balancer" // Table holds the table name of the loadbalancerannotation in the database. Table = "load_balancer_annotations" // LoadBalancerTable is the table that holds the load_balancer relation/edge. LoadBalancerTable = "load_balancer_annotations" // LoadBalancerInverseTable is the table name for the LoadBalancer entity. // It exists in this package in order to avoid circular dependency with the "loadbalancer" package. LoadBalancerInverseTable = "load_balancers" // LoadBalancerColumn is the table column denoting the load_balancer relation/edge. LoadBalancerColumn = "load_balancer_id" )
Variables ¶
var ( // NamespaceValidator is a validator for the "namespace" field. It is called by the builders before save. NamespaceValidator func(string) error // 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 // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() gidx.PrefixedID )
var Columns = []string{ FieldID, FieldNamespace, FieldData, FieldCreatedAt, FieldUpdatedAt, FieldLoadBalancerID, }
Columns holds all SQL columns for loadbalancerannotation fields.
Functions ¶
func And ¶
func And(predicates ...predicate.LoadBalancerAnnotation) predicate.LoadBalancerAnnotation
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.LoadBalancerAnnotation
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.LoadBalancerAnnotation
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.LoadBalancerAnnotation
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.LoadBalancerAnnotation
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.LoadBalancerAnnotation
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.LoadBalancerAnnotation
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.LoadBalancerAnnotation
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.LoadBalancerAnnotation
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.LoadBalancerAnnotation
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DataHasKey ¶
func DataHasKey(v string) predicate.LoadBalancerAnnotation
DataHasKey checks if Data contains given value
func HasLoadBalancer ¶
func HasLoadBalancer() predicate.LoadBalancerAnnotation
HasLoadBalancer applies the HasEdge predicate on the "load_balancer" edge.
func HasLoadBalancerWith ¶
func HasLoadBalancerWith(preds ...predicate.LoadBalancer) predicate.LoadBalancerAnnotation
HasLoadBalancerWith applies the HasEdge predicate on the "load_balancer" edge with a given conditions (other predicates).
func ID ¶
func ID(id gidx.PrefixedID) predicate.LoadBalancerAnnotation
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id gidx.PrefixedID) predicate.LoadBalancerAnnotation
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id gidx.PrefixedID) predicate.LoadBalancerAnnotation
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id gidx.PrefixedID) predicate.LoadBalancerAnnotation
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...gidx.PrefixedID) predicate.LoadBalancerAnnotation
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id gidx.PrefixedID) predicate.LoadBalancerAnnotation
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id gidx.PrefixedID) predicate.LoadBalancerAnnotation
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id gidx.PrefixedID) predicate.LoadBalancerAnnotation
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...gidx.PrefixedID) predicate.LoadBalancerAnnotation
IDNotIn applies the NotIn predicate on the ID field.
func LoadBalancerID ¶
func LoadBalancerID(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
LoadBalancerID applies equality check predicate on the "load_balancer_id" field. It's identical to LoadBalancerIDEQ.
func LoadBalancerIDContains ¶
func LoadBalancerIDContains(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
LoadBalancerIDContains applies the Contains predicate on the "load_balancer_id" field.
func LoadBalancerIDContainsFold ¶
func LoadBalancerIDContainsFold(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
LoadBalancerIDContainsFold applies the ContainsFold predicate on the "load_balancer_id" field.
func LoadBalancerIDEQ ¶
func LoadBalancerIDEQ(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
LoadBalancerIDEQ applies the EQ predicate on the "load_balancer_id" field.
func LoadBalancerIDEqualFold ¶
func LoadBalancerIDEqualFold(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
LoadBalancerIDEqualFold applies the EqualFold predicate on the "load_balancer_id" field.
func LoadBalancerIDGT ¶
func LoadBalancerIDGT(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
LoadBalancerIDGT applies the GT predicate on the "load_balancer_id" field.
func LoadBalancerIDGTE ¶
func LoadBalancerIDGTE(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
LoadBalancerIDGTE applies the GTE predicate on the "load_balancer_id" field.
func LoadBalancerIDHasPrefix ¶
func LoadBalancerIDHasPrefix(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
LoadBalancerIDHasPrefix applies the HasPrefix predicate on the "load_balancer_id" field.
func LoadBalancerIDHasSuffix ¶
func LoadBalancerIDHasSuffix(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
LoadBalancerIDHasSuffix applies the HasSuffix predicate on the "load_balancer_id" field.
func LoadBalancerIDIn ¶
func LoadBalancerIDIn(vs ...gidx.PrefixedID) predicate.LoadBalancerAnnotation
LoadBalancerIDIn applies the In predicate on the "load_balancer_id" field.
func LoadBalancerIDLT ¶
func LoadBalancerIDLT(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
LoadBalancerIDLT applies the LT predicate on the "load_balancer_id" field.
func LoadBalancerIDLTE ¶
func LoadBalancerIDLTE(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
LoadBalancerIDLTE applies the LTE predicate on the "load_balancer_id" field.
func LoadBalancerIDNEQ ¶
func LoadBalancerIDNEQ(v gidx.PrefixedID) predicate.LoadBalancerAnnotation
LoadBalancerIDNEQ applies the NEQ predicate on the "load_balancer_id" field.
func LoadBalancerIDNotIn ¶
func LoadBalancerIDNotIn(vs ...gidx.PrefixedID) predicate.LoadBalancerAnnotation
LoadBalancerIDNotIn applies the NotIn predicate on the "load_balancer_id" field.
func Namespace ¶
func Namespace(v string) predicate.LoadBalancerAnnotation
Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.
func NamespaceContains ¶
func NamespaceContains(v string) predicate.LoadBalancerAnnotation
NamespaceContains applies the Contains predicate on the "namespace" field.
func NamespaceContainsFold ¶
func NamespaceContainsFold(v string) predicate.LoadBalancerAnnotation
NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.
func NamespaceEQ ¶
func NamespaceEQ(v string) predicate.LoadBalancerAnnotation
NamespaceEQ applies the EQ predicate on the "namespace" field.
func NamespaceEqualFold ¶
func NamespaceEqualFold(v string) predicate.LoadBalancerAnnotation
NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.
func NamespaceGT ¶
func NamespaceGT(v string) predicate.LoadBalancerAnnotation
NamespaceGT applies the GT predicate on the "namespace" field.
func NamespaceGTE ¶
func NamespaceGTE(v string) predicate.LoadBalancerAnnotation
NamespaceGTE applies the GTE predicate on the "namespace" field.
func NamespaceHasPrefix ¶
func NamespaceHasPrefix(v string) predicate.LoadBalancerAnnotation
NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.
func NamespaceHasSuffix ¶
func NamespaceHasSuffix(v string) predicate.LoadBalancerAnnotation
NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.
func NamespaceIn ¶
func NamespaceIn(vs ...string) predicate.LoadBalancerAnnotation
NamespaceIn applies the In predicate on the "namespace" field.
func NamespaceLT ¶
func NamespaceLT(v string) predicate.LoadBalancerAnnotation
NamespaceLT applies the LT predicate on the "namespace" field.
func NamespaceLTE ¶
func NamespaceLTE(v string) predicate.LoadBalancerAnnotation
NamespaceLTE applies the LTE predicate on the "namespace" field.
func NamespaceNEQ ¶
func NamespaceNEQ(v string) predicate.LoadBalancerAnnotation
NamespaceNEQ applies the NEQ predicate on the "namespace" field.
func NamespaceNotIn ¶
func NamespaceNotIn(vs ...string) predicate.LoadBalancerAnnotation
NamespaceNotIn applies the NotIn predicate on the "namespace" field.
func Or ¶
func Or(predicates ...predicate.LoadBalancerAnnotation) predicate.LoadBalancerAnnotation
Or groups predicates with the OR operator between them.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.LoadBalancerAnnotation
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.LoadBalancerAnnotation
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.LoadBalancerAnnotation
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.LoadBalancerAnnotation
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.LoadBalancerAnnotation
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.LoadBalancerAnnotation
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.LoadBalancerAnnotation
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.LoadBalancerAnnotation
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.LoadBalancerAnnotation
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the LoadBalancerAnnotation queries.
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 ByLoadBalancerField ¶
func ByLoadBalancerField(field string, opts ...sql.OrderTermOption) OrderOption
ByLoadBalancerField orders the results by load_balancer field.
func ByLoadBalancerID ¶
func ByLoadBalancerID(opts ...sql.OrderTermOption) OrderOption
ByLoadBalancerID orders the results by the load_balancer_id field.
func ByNamespace ¶
func ByNamespace(opts ...sql.OrderTermOption) OrderOption
ByNamespace orders the results by the namespace field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.