Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.LoadBalancerStatus) predicate.LoadBalancerStatus
- func CreatedAt(v time.Time) predicate.LoadBalancerStatus
- func CreatedAtEQ(v time.Time) predicate.LoadBalancerStatus
- func CreatedAtGT(v time.Time) predicate.LoadBalancerStatus
- func CreatedAtGTE(v time.Time) predicate.LoadBalancerStatus
- func CreatedAtIn(vs ...time.Time) predicate.LoadBalancerStatus
- func CreatedAtLT(v time.Time) predicate.LoadBalancerStatus
- func CreatedAtLTE(v time.Time) predicate.LoadBalancerStatus
- func CreatedAtNEQ(v time.Time) predicate.LoadBalancerStatus
- func CreatedAtNotIn(vs ...time.Time) predicate.LoadBalancerStatus
- func DataHasKey(v string) predicate.LoadBalancerStatus
- func HasLoadBalancer() predicate.LoadBalancerStatus
- func HasLoadBalancerWith(preds ...predicate.LoadBalancer) predicate.LoadBalancerStatus
- func ID(id gidx.PrefixedID) predicate.LoadBalancerStatus
- func IDEQ(id gidx.PrefixedID) predicate.LoadBalancerStatus
- func IDGT(id gidx.PrefixedID) predicate.LoadBalancerStatus
- func IDGTE(id gidx.PrefixedID) predicate.LoadBalancerStatus
- func IDIn(ids ...gidx.PrefixedID) predicate.LoadBalancerStatus
- func IDLT(id gidx.PrefixedID) predicate.LoadBalancerStatus
- func IDLTE(id gidx.PrefixedID) predicate.LoadBalancerStatus
- func IDNEQ(id gidx.PrefixedID) predicate.LoadBalancerStatus
- func IDNotIn(ids ...gidx.PrefixedID) predicate.LoadBalancerStatus
- func LoadBalancerID(v gidx.PrefixedID) predicate.LoadBalancerStatus
- func LoadBalancerIDContains(v gidx.PrefixedID) predicate.LoadBalancerStatus
- func LoadBalancerIDContainsFold(v gidx.PrefixedID) predicate.LoadBalancerStatus
- func LoadBalancerIDEQ(v gidx.PrefixedID) predicate.LoadBalancerStatus
- func LoadBalancerIDEqualFold(v gidx.PrefixedID) predicate.LoadBalancerStatus
- func LoadBalancerIDGT(v gidx.PrefixedID) predicate.LoadBalancerStatus
- func LoadBalancerIDGTE(v gidx.PrefixedID) predicate.LoadBalancerStatus
- func LoadBalancerIDHasPrefix(v gidx.PrefixedID) predicate.LoadBalancerStatus
- func LoadBalancerIDHasSuffix(v gidx.PrefixedID) predicate.LoadBalancerStatus
- func LoadBalancerIDIn(vs ...gidx.PrefixedID) predicate.LoadBalancerStatus
- func LoadBalancerIDLT(v gidx.PrefixedID) predicate.LoadBalancerStatus
- func LoadBalancerIDLTE(v gidx.PrefixedID) predicate.LoadBalancerStatus
- func LoadBalancerIDNEQ(v gidx.PrefixedID) predicate.LoadBalancerStatus
- func LoadBalancerIDNotIn(vs ...gidx.PrefixedID) predicate.LoadBalancerStatus
- func Namespace(v string) predicate.LoadBalancerStatus
- func NamespaceContains(v string) predicate.LoadBalancerStatus
- func NamespaceContainsFold(v string) predicate.LoadBalancerStatus
- func NamespaceEQ(v string) predicate.LoadBalancerStatus
- func NamespaceEqualFold(v string) predicate.LoadBalancerStatus
- func NamespaceGT(v string) predicate.LoadBalancerStatus
- func NamespaceGTE(v string) predicate.LoadBalancerStatus
- func NamespaceHasPrefix(v string) predicate.LoadBalancerStatus
- func NamespaceHasSuffix(v string) predicate.LoadBalancerStatus
- func NamespaceIn(vs ...string) predicate.LoadBalancerStatus
- func NamespaceLT(v string) predicate.LoadBalancerStatus
- func NamespaceLTE(v string) predicate.LoadBalancerStatus
- func NamespaceNEQ(v string) predicate.LoadBalancerStatus
- func NamespaceNotIn(vs ...string) predicate.LoadBalancerStatus
- func Not(p predicate.LoadBalancerStatus) predicate.LoadBalancerStatus
- func Or(predicates ...predicate.LoadBalancerStatus) predicate.LoadBalancerStatus
- func Source(v string) predicate.LoadBalancerStatus
- func SourceContains(v string) predicate.LoadBalancerStatus
- func SourceContainsFold(v string) predicate.LoadBalancerStatus
- func SourceEQ(v string) predicate.LoadBalancerStatus
- func SourceEqualFold(v string) predicate.LoadBalancerStatus
- func SourceGT(v string) predicate.LoadBalancerStatus
- func SourceGTE(v string) predicate.LoadBalancerStatus
- func SourceHasPrefix(v string) predicate.LoadBalancerStatus
- func SourceHasSuffix(v string) predicate.LoadBalancerStatus
- func SourceIn(vs ...string) predicate.LoadBalancerStatus
- func SourceLT(v string) predicate.LoadBalancerStatus
- func SourceLTE(v string) predicate.LoadBalancerStatus
- func SourceNEQ(v string) predicate.LoadBalancerStatus
- func SourceNotIn(vs ...string) predicate.LoadBalancerStatus
- func UpdatedAt(v time.Time) predicate.LoadBalancerStatus
- func UpdatedAtEQ(v time.Time) predicate.LoadBalancerStatus
- func UpdatedAtGT(v time.Time) predicate.LoadBalancerStatus
- func UpdatedAtGTE(v time.Time) predicate.LoadBalancerStatus
- func UpdatedAtIn(vs ...time.Time) predicate.LoadBalancerStatus
- func UpdatedAtLT(v time.Time) predicate.LoadBalancerStatus
- func UpdatedAtLTE(v time.Time) predicate.LoadBalancerStatus
- func UpdatedAtNEQ(v time.Time) predicate.LoadBalancerStatus
- func UpdatedAtNotIn(vs ...time.Time) predicate.LoadBalancerStatus
- 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 BySource(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the loadbalancerstatus type in the database. Label = "load_balancer_status" // 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" // FieldSource holds the string denoting the source field in the database. FieldSource = "source" // EdgeLoadBalancer holds the string denoting the load_balancer edge name in mutations. EdgeLoadBalancer = "load_balancer" // Table holds the table name of the loadbalancerstatus in the database. Table = "load_balancer_status" // LoadBalancerTable is the table that holds the load_balancer relation/edge. LoadBalancerTable = "load_balancer_status" // 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 // SourceValidator is a validator for the "source" field. It is called by the builders before save. SourceValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() gidx.PrefixedID )
var Columns = []string{ FieldID, FieldNamespace, FieldData, FieldCreatedAt, FieldUpdatedAt, FieldLoadBalancerID, FieldSource, }
Columns holds all SQL columns for loadbalancerstatus fields.
Functions ¶
func And ¶
func And(predicates ...predicate.LoadBalancerStatus) predicate.LoadBalancerStatus
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.LoadBalancerStatus
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.LoadBalancerStatus
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.LoadBalancerStatus
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.LoadBalancerStatus
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.LoadBalancerStatus
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.LoadBalancerStatus
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.LoadBalancerStatus
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.LoadBalancerStatus
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.LoadBalancerStatus
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DataHasKey ¶
func DataHasKey(v string) predicate.LoadBalancerStatus
DataHasKey checks if Data contains given value
func HasLoadBalancer ¶
func HasLoadBalancer() predicate.LoadBalancerStatus
HasLoadBalancer applies the HasEdge predicate on the "load_balancer" edge.
func HasLoadBalancerWith ¶
func HasLoadBalancerWith(preds ...predicate.LoadBalancer) predicate.LoadBalancerStatus
HasLoadBalancerWith applies the HasEdge predicate on the "load_balancer" edge with a given conditions (other predicates).
func ID ¶
func ID(id gidx.PrefixedID) predicate.LoadBalancerStatus
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id gidx.PrefixedID) predicate.LoadBalancerStatus
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id gidx.PrefixedID) predicate.LoadBalancerStatus
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id gidx.PrefixedID) predicate.LoadBalancerStatus
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...gidx.PrefixedID) predicate.LoadBalancerStatus
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id gidx.PrefixedID) predicate.LoadBalancerStatus
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id gidx.PrefixedID) predicate.LoadBalancerStatus
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id gidx.PrefixedID) predicate.LoadBalancerStatus
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...gidx.PrefixedID) predicate.LoadBalancerStatus
IDNotIn applies the NotIn predicate on the ID field.
func LoadBalancerID ¶
func LoadBalancerID(v gidx.PrefixedID) predicate.LoadBalancerStatus
LoadBalancerID applies equality check predicate on the "load_balancer_id" field. It's identical to LoadBalancerIDEQ.
func LoadBalancerIDContains ¶
func LoadBalancerIDContains(v gidx.PrefixedID) predicate.LoadBalancerStatus
LoadBalancerIDContains applies the Contains predicate on the "load_balancer_id" field.
func LoadBalancerIDContainsFold ¶
func LoadBalancerIDContainsFold(v gidx.PrefixedID) predicate.LoadBalancerStatus
LoadBalancerIDContainsFold applies the ContainsFold predicate on the "load_balancer_id" field.
func LoadBalancerIDEQ ¶
func LoadBalancerIDEQ(v gidx.PrefixedID) predicate.LoadBalancerStatus
LoadBalancerIDEQ applies the EQ predicate on the "load_balancer_id" field.
func LoadBalancerIDEqualFold ¶
func LoadBalancerIDEqualFold(v gidx.PrefixedID) predicate.LoadBalancerStatus
LoadBalancerIDEqualFold applies the EqualFold predicate on the "load_balancer_id" field.
func LoadBalancerIDGT ¶
func LoadBalancerIDGT(v gidx.PrefixedID) predicate.LoadBalancerStatus
LoadBalancerIDGT applies the GT predicate on the "load_balancer_id" field.
func LoadBalancerIDGTE ¶
func LoadBalancerIDGTE(v gidx.PrefixedID) predicate.LoadBalancerStatus
LoadBalancerIDGTE applies the GTE predicate on the "load_balancer_id" field.
func LoadBalancerIDHasPrefix ¶
func LoadBalancerIDHasPrefix(v gidx.PrefixedID) predicate.LoadBalancerStatus
LoadBalancerIDHasPrefix applies the HasPrefix predicate on the "load_balancer_id" field.
func LoadBalancerIDHasSuffix ¶
func LoadBalancerIDHasSuffix(v gidx.PrefixedID) predicate.LoadBalancerStatus
LoadBalancerIDHasSuffix applies the HasSuffix predicate on the "load_balancer_id" field.
func LoadBalancerIDIn ¶
func LoadBalancerIDIn(vs ...gidx.PrefixedID) predicate.LoadBalancerStatus
LoadBalancerIDIn applies the In predicate on the "load_balancer_id" field.
func LoadBalancerIDLT ¶
func LoadBalancerIDLT(v gidx.PrefixedID) predicate.LoadBalancerStatus
LoadBalancerIDLT applies the LT predicate on the "load_balancer_id" field.
func LoadBalancerIDLTE ¶
func LoadBalancerIDLTE(v gidx.PrefixedID) predicate.LoadBalancerStatus
LoadBalancerIDLTE applies the LTE predicate on the "load_balancer_id" field.
func LoadBalancerIDNEQ ¶
func LoadBalancerIDNEQ(v gidx.PrefixedID) predicate.LoadBalancerStatus
LoadBalancerIDNEQ applies the NEQ predicate on the "load_balancer_id" field.
func LoadBalancerIDNotIn ¶
func LoadBalancerIDNotIn(vs ...gidx.PrefixedID) predicate.LoadBalancerStatus
LoadBalancerIDNotIn applies the NotIn predicate on the "load_balancer_id" field.
func Namespace ¶
func Namespace(v string) predicate.LoadBalancerStatus
Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.
func NamespaceContains ¶
func NamespaceContains(v string) predicate.LoadBalancerStatus
NamespaceContains applies the Contains predicate on the "namespace" field.
func NamespaceContainsFold ¶
func NamespaceContainsFold(v string) predicate.LoadBalancerStatus
NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.
func NamespaceEQ ¶
func NamespaceEQ(v string) predicate.LoadBalancerStatus
NamespaceEQ applies the EQ predicate on the "namespace" field.
func NamespaceEqualFold ¶
func NamespaceEqualFold(v string) predicate.LoadBalancerStatus
NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.
func NamespaceGT ¶
func NamespaceGT(v string) predicate.LoadBalancerStatus
NamespaceGT applies the GT predicate on the "namespace" field.
func NamespaceGTE ¶
func NamespaceGTE(v string) predicate.LoadBalancerStatus
NamespaceGTE applies the GTE predicate on the "namespace" field.
func NamespaceHasPrefix ¶
func NamespaceHasPrefix(v string) predicate.LoadBalancerStatus
NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.
func NamespaceHasSuffix ¶
func NamespaceHasSuffix(v string) predicate.LoadBalancerStatus
NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.
func NamespaceIn ¶
func NamespaceIn(vs ...string) predicate.LoadBalancerStatus
NamespaceIn applies the In predicate on the "namespace" field.
func NamespaceLT ¶
func NamespaceLT(v string) predicate.LoadBalancerStatus
NamespaceLT applies the LT predicate on the "namespace" field.
func NamespaceLTE ¶
func NamespaceLTE(v string) predicate.LoadBalancerStatus
NamespaceLTE applies the LTE predicate on the "namespace" field.
func NamespaceNEQ ¶
func NamespaceNEQ(v string) predicate.LoadBalancerStatus
NamespaceNEQ applies the NEQ predicate on the "namespace" field.
func NamespaceNotIn ¶
func NamespaceNotIn(vs ...string) predicate.LoadBalancerStatus
NamespaceNotIn applies the NotIn predicate on the "namespace" field.
func Not ¶
func Not(p predicate.LoadBalancerStatus) predicate.LoadBalancerStatus
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.LoadBalancerStatus) predicate.LoadBalancerStatus
Or groups predicates with the OR operator between them.
func Source ¶
func Source(v string) predicate.LoadBalancerStatus
Source applies equality check predicate on the "source" field. It's identical to SourceEQ.
func SourceContains ¶
func SourceContains(v string) predicate.LoadBalancerStatus
SourceContains applies the Contains predicate on the "source" field.
func SourceContainsFold ¶
func SourceContainsFold(v string) predicate.LoadBalancerStatus
SourceContainsFold applies the ContainsFold predicate on the "source" field.
func SourceEQ ¶
func SourceEQ(v string) predicate.LoadBalancerStatus
SourceEQ applies the EQ predicate on the "source" field.
func SourceEqualFold ¶
func SourceEqualFold(v string) predicate.LoadBalancerStatus
SourceEqualFold applies the EqualFold predicate on the "source" field.
func SourceGT ¶
func SourceGT(v string) predicate.LoadBalancerStatus
SourceGT applies the GT predicate on the "source" field.
func SourceGTE ¶
func SourceGTE(v string) predicate.LoadBalancerStatus
SourceGTE applies the GTE predicate on the "source" field.
func SourceHasPrefix ¶
func SourceHasPrefix(v string) predicate.LoadBalancerStatus
SourceHasPrefix applies the HasPrefix predicate on the "source" field.
func SourceHasSuffix ¶
func SourceHasSuffix(v string) predicate.LoadBalancerStatus
SourceHasSuffix applies the HasSuffix predicate on the "source" field.
func SourceIn ¶
func SourceIn(vs ...string) predicate.LoadBalancerStatus
SourceIn applies the In predicate on the "source" field.
func SourceLT ¶
func SourceLT(v string) predicate.LoadBalancerStatus
SourceLT applies the LT predicate on the "source" field.
func SourceLTE ¶
func SourceLTE(v string) predicate.LoadBalancerStatus
SourceLTE applies the LTE predicate on the "source" field.
func SourceNEQ ¶
func SourceNEQ(v string) predicate.LoadBalancerStatus
SourceNEQ applies the NEQ predicate on the "source" field.
func SourceNotIn ¶
func SourceNotIn(vs ...string) predicate.LoadBalancerStatus
SourceNotIn applies the NotIn predicate on the "source" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.LoadBalancerStatus
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.LoadBalancerStatus
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.LoadBalancerStatus
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.LoadBalancerStatus
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.LoadBalancerStatus
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.LoadBalancerStatus
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.LoadBalancerStatus
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.LoadBalancerStatus
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.LoadBalancerStatus
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 LoadBalancerStatus 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 BySource ¶
func BySource(opts ...sql.OrderTermOption) OrderOption
BySource orders the results by the source field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.