loadbalancerannotation

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

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
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() gidx.PrefixedID
)

Columns holds all SQL columns for loadbalancerannotation 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

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

func CreatedAtGT

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

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

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

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

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

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

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

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

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 Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func UpdatedAt

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

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

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

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 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.

Jump to

Keyboard shortcuts

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