loadbalancerstatus

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: May 18, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
)

Columns holds all SQL columns for loadbalancerstatus fields.

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

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

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Source

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

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

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

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

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

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

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