garbagemetrics

package
v0.0.0-...-abb76f0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the garbagemetrics type in the database.
	Label = "garbage_metrics"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldGarbageCollected holds the string denoting the garbage_collected field in the database.
	FieldGarbageCollected = "garbage_collected"
	// EdgeMemoryMetrics holds the string denoting the memory_metrics edge name in mutations.
	EdgeMemoryMetrics = "memory_metrics"
	// Table holds the table name of the garbagemetrics in the database.
	Table = "garbage_metrics"
	// MemoryMetricsTable is the table that holds the memory_metrics relation/edge.
	MemoryMetricsTable = "garbage_metrics"
	// MemoryMetricsInverseTable is the table name for the MemoryMetrics entity.
	// It exists in this package in order to avoid circular dependency with the "memorymetrics" package.
	MemoryMetricsInverseTable = "memory_metrics"
	// MemoryMetricsColumn is the table column denoting the memory_metrics relation/edge.
	MemoryMetricsColumn = "memory_metrics_garbage_metrics"
)

Variables

Columns holds all SQL columns for garbagemetrics fields.

View Source
var ForeignKeys = []string{
	"memory_metrics_garbage_metrics",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "garbage_metrics" table and are not defined as standalone fields in the schema.

Functions

func And

And groups predicates with the AND operator between them.

func GarbageCollected

func GarbageCollected(v int64) predicate.GarbageMetrics

GarbageCollected applies equality check predicate on the "garbage_collected" field. It's identical to GarbageCollectedEQ.

func GarbageCollectedEQ

func GarbageCollectedEQ(v int64) predicate.GarbageMetrics

GarbageCollectedEQ applies the EQ predicate on the "garbage_collected" field.

func GarbageCollectedGT

func GarbageCollectedGT(v int64) predicate.GarbageMetrics

GarbageCollectedGT applies the GT predicate on the "garbage_collected" field.

func GarbageCollectedGTE

func GarbageCollectedGTE(v int64) predicate.GarbageMetrics

GarbageCollectedGTE applies the GTE predicate on the "garbage_collected" field.

func GarbageCollectedIn

func GarbageCollectedIn(vs ...int64) predicate.GarbageMetrics

GarbageCollectedIn applies the In predicate on the "garbage_collected" field.

func GarbageCollectedIsNil

func GarbageCollectedIsNil() predicate.GarbageMetrics

GarbageCollectedIsNil applies the IsNil predicate on the "garbage_collected" field.

func GarbageCollectedLT

func GarbageCollectedLT(v int64) predicate.GarbageMetrics

GarbageCollectedLT applies the LT predicate on the "garbage_collected" field.

func GarbageCollectedLTE

func GarbageCollectedLTE(v int64) predicate.GarbageMetrics

GarbageCollectedLTE applies the LTE predicate on the "garbage_collected" field.

func GarbageCollectedNEQ

func GarbageCollectedNEQ(v int64) predicate.GarbageMetrics

GarbageCollectedNEQ applies the NEQ predicate on the "garbage_collected" field.

func GarbageCollectedNotIn

func GarbageCollectedNotIn(vs ...int64) predicate.GarbageMetrics

GarbageCollectedNotIn applies the NotIn predicate on the "garbage_collected" field.

func GarbageCollectedNotNil

func GarbageCollectedNotNil() predicate.GarbageMetrics

GarbageCollectedNotNil applies the NotNil predicate on the "garbage_collected" field.

func HasMemoryMetrics

func HasMemoryMetrics() predicate.GarbageMetrics

HasMemoryMetrics applies the HasEdge predicate on the "memory_metrics" edge.

func HasMemoryMetricsWith

func HasMemoryMetricsWith(preds ...predicate.MemoryMetrics) predicate.GarbageMetrics

HasMemoryMetricsWith applies the HasEdge predicate on the "memory_metrics" edge with a given conditions (other predicates).

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.GarbageMetrics

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.GarbageMetrics

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.GarbageMetrics

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.GarbageMetrics

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.GarbageMetrics

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.GarbageMetrics

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.GarbageMetrics

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.GarbageMetrics

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Type

Type applies equality check predicate on the "type" field. It's identical to TypeEQ.

func TypeContains

func TypeContains(v string) predicate.GarbageMetrics

TypeContains applies the Contains predicate on the "type" field.

func TypeContainsFold

func TypeContainsFold(v string) predicate.GarbageMetrics

TypeContainsFold applies the ContainsFold predicate on the "type" field.

func TypeEQ

TypeEQ applies the EQ predicate on the "type" field.

func TypeEqualFold

func TypeEqualFold(v string) predicate.GarbageMetrics

TypeEqualFold applies the EqualFold predicate on the "type" field.

func TypeGT

TypeGT applies the GT predicate on the "type" field.

func TypeGTE

func TypeGTE(v string) predicate.GarbageMetrics

TypeGTE applies the GTE predicate on the "type" field.

func TypeHasPrefix

func TypeHasPrefix(v string) predicate.GarbageMetrics

TypeHasPrefix applies the HasPrefix predicate on the "type" field.

func TypeHasSuffix

func TypeHasSuffix(v string) predicate.GarbageMetrics

TypeHasSuffix applies the HasSuffix predicate on the "type" field.

func TypeIn

func TypeIn(vs ...string) predicate.GarbageMetrics

TypeIn applies the In predicate on the "type" field.

func TypeIsNil

func TypeIsNil() predicate.GarbageMetrics

TypeIsNil applies the IsNil predicate on the "type" field.

func TypeLT

TypeLT applies the LT predicate on the "type" field.

func TypeLTE

func TypeLTE(v string) predicate.GarbageMetrics

TypeLTE applies the LTE predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v string) predicate.GarbageMetrics

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...string) predicate.GarbageMetrics

TypeNotIn applies the NotIn predicate on the "type" field.

func TypeNotNil

func TypeNotNil() predicate.GarbageMetrics

TypeNotNil applies the NotNil predicate on the "type" 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 GarbageMetrics queries.

func ByGarbageCollected

func ByGarbageCollected(opts ...sql.OrderTermOption) OrderOption

ByGarbageCollected orders the results by the garbage_collected field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByMemoryMetricsField

func ByMemoryMetricsField(field string, opts ...sql.OrderTermOption) OrderOption

ByMemoryMetricsField orders the results by memory_metrics field.

func ByType

func ByType(opts ...sql.OrderTermOption) OrderOption

ByType orders the results by the type field.

Jump to

Keyboard shortcuts

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