k8smetric

package
v0.0.0-...-5f03dfb Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the k8smetric type in the database.
	Label = "k8s_metric"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// 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"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldTs holds the string denoting the ts field in the database.
	FieldTs = "ts"
	// FieldValue holds the string denoting the value field in the database.
	FieldValue = "value"
	// FieldEndpointId holds the string denoting the endpointid field in the database.
	FieldEndpointId = "endpoint_id"
	// FieldTypeId holds the string denoting the typeid field in the database.
	FieldTypeId = "type_id"
	// FieldNameId holds the string denoting the nameid field in the database.
	FieldNameId = "name_id"
	// FieldLabelId holds the string denoting the labelid field in the database.
	FieldLabelId = "label_id"
	// FieldK8sClusterId holds the string denoting the k8sclusterid field in the database.
	FieldK8sClusterId = "k8s_cluster_id"
	// FieldK8sNodeId holds the string denoting the k8snodeid field in the database.
	FieldK8sNodeId = "k8s_node_id"
	// FieldK8sNamespaceId holds the string denoting the k8snamespaceid field in the database.
	FieldK8sNamespaceId = "k8s_namespace_id"
	// FieldK8sContainerId holds the string denoting the k8scontainerid field in the database.
	FieldK8sContainerId = "k8s_container_id"
	// Table holds the table name of the k8smetric in the database.
	Table = "k8sMetrics"
)

Variables

View Source
var (
	// 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
	// DefaultDeletedAt holds the default value on creation for the "deleted_at" field.
	DefaultDeletedAt func() time.Time
	// UpdateDefaultDeletedAt holds the default value on update for the "deleted_at" field.
	UpdateDefaultDeletedAt func() time.Time
)

Columns holds all SQL columns for k8smetric fields.

Functions

func And

func And(predicates ...predicate.K8sMetric) predicate.K8sMetric

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.K8sMetric

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.K8sMetric

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.K8sMetric

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.K8sMetric

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.K8sMetric

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.K8sMetric

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.K8sMetric

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.K8sMetric

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.K8sMetric

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.K8sMetric

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.K8sMetric

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.K8sMetric

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.K8sMetric

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.K8sMetric

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.K8sMetric

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.K8sMetric

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.K8sMetric

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.K8sMetric

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func EndpointId

func EndpointId(v uint) predicate.K8sMetric

EndpointId applies equality check predicate on the "endpointId" field. It's identical to EndpointIdEQ.

func EndpointIdEQ

func EndpointIdEQ(v uint) predicate.K8sMetric

EndpointIdEQ applies the EQ predicate on the "endpointId" field.

func EndpointIdGT

func EndpointIdGT(v uint) predicate.K8sMetric

EndpointIdGT applies the GT predicate on the "endpointId" field.

func EndpointIdGTE

func EndpointIdGTE(v uint) predicate.K8sMetric

EndpointIdGTE applies the GTE predicate on the "endpointId" field.

func EndpointIdIn

func EndpointIdIn(vs ...uint) predicate.K8sMetric

EndpointIdIn applies the In predicate on the "endpointId" field.

func EndpointIdLT

func EndpointIdLT(v uint) predicate.K8sMetric

EndpointIdLT applies the LT predicate on the "endpointId" field.

func EndpointIdLTE

func EndpointIdLTE(v uint) predicate.K8sMetric

EndpointIdLTE applies the LTE predicate on the "endpointId" field.

func EndpointIdNEQ

func EndpointIdNEQ(v uint) predicate.K8sMetric

EndpointIdNEQ applies the NEQ predicate on the "endpointId" field.

func EndpointIdNotIn

func EndpointIdNotIn(vs ...uint) predicate.K8sMetric

EndpointIdNotIn applies the NotIn predicate on the "endpointId" field.

func ID

func ID(id int) predicate.K8sMetric

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.K8sMetric

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.K8sMetric

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.K8sMetric

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.K8sMetric

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.K8sMetric

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.K8sMetric

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func K8sClusterId

func K8sClusterId(v uint) predicate.K8sMetric

K8sClusterId applies equality check predicate on the "k8sClusterId" field. It's identical to K8sClusterIdEQ.

func K8sClusterIdEQ

func K8sClusterIdEQ(v uint) predicate.K8sMetric

K8sClusterIdEQ applies the EQ predicate on the "k8sClusterId" field.

func K8sClusterIdGT

func K8sClusterIdGT(v uint) predicate.K8sMetric

K8sClusterIdGT applies the GT predicate on the "k8sClusterId" field.

func K8sClusterIdGTE

func K8sClusterIdGTE(v uint) predicate.K8sMetric

K8sClusterIdGTE applies the GTE predicate on the "k8sClusterId" field.

func K8sClusterIdIn

func K8sClusterIdIn(vs ...uint) predicate.K8sMetric

K8sClusterIdIn applies the In predicate on the "k8sClusterId" field.

func K8sClusterIdLT

func K8sClusterIdLT(v uint) predicate.K8sMetric

K8sClusterIdLT applies the LT predicate on the "k8sClusterId" field.

func K8sClusterIdLTE

func K8sClusterIdLTE(v uint) predicate.K8sMetric

K8sClusterIdLTE applies the LTE predicate on the "k8sClusterId" field.

func K8sClusterIdNEQ

func K8sClusterIdNEQ(v uint) predicate.K8sMetric

K8sClusterIdNEQ applies the NEQ predicate on the "k8sClusterId" field.

func K8sClusterIdNotIn

func K8sClusterIdNotIn(vs ...uint) predicate.K8sMetric

K8sClusterIdNotIn applies the NotIn predicate on the "k8sClusterId" field.

func K8sContainerId

func K8sContainerId(v uint) predicate.K8sMetric

K8sContainerId applies equality check predicate on the "k8sContainerId" field. It's identical to K8sContainerIdEQ.

func K8sContainerIdEQ

func K8sContainerIdEQ(v uint) predicate.K8sMetric

K8sContainerIdEQ applies the EQ predicate on the "k8sContainerId" field.

func K8sContainerIdGT

func K8sContainerIdGT(v uint) predicate.K8sMetric

K8sContainerIdGT applies the GT predicate on the "k8sContainerId" field.

func K8sContainerIdGTE

func K8sContainerIdGTE(v uint) predicate.K8sMetric

K8sContainerIdGTE applies the GTE predicate on the "k8sContainerId" field.

func K8sContainerIdIn

func K8sContainerIdIn(vs ...uint) predicate.K8sMetric

K8sContainerIdIn applies the In predicate on the "k8sContainerId" field.

func K8sContainerIdLT

func K8sContainerIdLT(v uint) predicate.K8sMetric

K8sContainerIdLT applies the LT predicate on the "k8sContainerId" field.

func K8sContainerIdLTE

func K8sContainerIdLTE(v uint) predicate.K8sMetric

K8sContainerIdLTE applies the LTE predicate on the "k8sContainerId" field.

func K8sContainerIdNEQ

func K8sContainerIdNEQ(v uint) predicate.K8sMetric

K8sContainerIdNEQ applies the NEQ predicate on the "k8sContainerId" field.

func K8sContainerIdNotIn

func K8sContainerIdNotIn(vs ...uint) predicate.K8sMetric

K8sContainerIdNotIn applies the NotIn predicate on the "k8sContainerId" field.

func K8sNamespaceId

func K8sNamespaceId(v uint) predicate.K8sMetric

K8sNamespaceId applies equality check predicate on the "k8sNamespaceId" field. It's identical to K8sNamespaceIdEQ.

func K8sNamespaceIdEQ

func K8sNamespaceIdEQ(v uint) predicate.K8sMetric

K8sNamespaceIdEQ applies the EQ predicate on the "k8sNamespaceId" field.

func K8sNamespaceIdGT

func K8sNamespaceIdGT(v uint) predicate.K8sMetric

K8sNamespaceIdGT applies the GT predicate on the "k8sNamespaceId" field.

func K8sNamespaceIdGTE

func K8sNamespaceIdGTE(v uint) predicate.K8sMetric

K8sNamespaceIdGTE applies the GTE predicate on the "k8sNamespaceId" field.

func K8sNamespaceIdIn

func K8sNamespaceIdIn(vs ...uint) predicate.K8sMetric

K8sNamespaceIdIn applies the In predicate on the "k8sNamespaceId" field.

func K8sNamespaceIdLT

func K8sNamespaceIdLT(v uint) predicate.K8sMetric

K8sNamespaceIdLT applies the LT predicate on the "k8sNamespaceId" field.

func K8sNamespaceIdLTE

func K8sNamespaceIdLTE(v uint) predicate.K8sMetric

K8sNamespaceIdLTE applies the LTE predicate on the "k8sNamespaceId" field.

func K8sNamespaceIdNEQ

func K8sNamespaceIdNEQ(v uint) predicate.K8sMetric

K8sNamespaceIdNEQ applies the NEQ predicate on the "k8sNamespaceId" field.

func K8sNamespaceIdNotIn

func K8sNamespaceIdNotIn(vs ...uint) predicate.K8sMetric

K8sNamespaceIdNotIn applies the NotIn predicate on the "k8sNamespaceId" field.

func K8sNodeId

func K8sNodeId(v uint) predicate.K8sMetric

K8sNodeId applies equality check predicate on the "k8sNodeId" field. It's identical to K8sNodeIdEQ.

func K8sNodeIdEQ

func K8sNodeIdEQ(v uint) predicate.K8sMetric

K8sNodeIdEQ applies the EQ predicate on the "k8sNodeId" field.

func K8sNodeIdGT

func K8sNodeIdGT(v uint) predicate.K8sMetric

K8sNodeIdGT applies the GT predicate on the "k8sNodeId" field.

func K8sNodeIdGTE

func K8sNodeIdGTE(v uint) predicate.K8sMetric

K8sNodeIdGTE applies the GTE predicate on the "k8sNodeId" field.

func K8sNodeIdIn

func K8sNodeIdIn(vs ...uint) predicate.K8sMetric

K8sNodeIdIn applies the In predicate on the "k8sNodeId" field.

func K8sNodeIdLT

func K8sNodeIdLT(v uint) predicate.K8sMetric

K8sNodeIdLT applies the LT predicate on the "k8sNodeId" field.

func K8sNodeIdLTE

func K8sNodeIdLTE(v uint) predicate.K8sMetric

K8sNodeIdLTE applies the LTE predicate on the "k8sNodeId" field.

func K8sNodeIdNEQ

func K8sNodeIdNEQ(v uint) predicate.K8sMetric

K8sNodeIdNEQ applies the NEQ predicate on the "k8sNodeId" field.

func K8sNodeIdNotIn

func K8sNodeIdNotIn(vs ...uint) predicate.K8sMetric

K8sNodeIdNotIn applies the NotIn predicate on the "k8sNodeId" field.

func LabelId

func LabelId(v uint) predicate.K8sMetric

LabelId applies equality check predicate on the "labelId" field. It's identical to LabelIdEQ.

func LabelIdEQ

func LabelIdEQ(v uint) predicate.K8sMetric

LabelIdEQ applies the EQ predicate on the "labelId" field.

func LabelIdGT

func LabelIdGT(v uint) predicate.K8sMetric

LabelIdGT applies the GT predicate on the "labelId" field.

func LabelIdGTE

func LabelIdGTE(v uint) predicate.K8sMetric

LabelIdGTE applies the GTE predicate on the "labelId" field.

func LabelIdIn

func LabelIdIn(vs ...uint) predicate.K8sMetric

LabelIdIn applies the In predicate on the "labelId" field.

func LabelIdLT

func LabelIdLT(v uint) predicate.K8sMetric

LabelIdLT applies the LT predicate on the "labelId" field.

func LabelIdLTE

func LabelIdLTE(v uint) predicate.K8sMetric

LabelIdLTE applies the LTE predicate on the "labelId" field.

func LabelIdNEQ

func LabelIdNEQ(v uint) predicate.K8sMetric

LabelIdNEQ applies the NEQ predicate on the "labelId" field.

func LabelIdNotIn

func LabelIdNotIn(vs ...uint) predicate.K8sMetric

LabelIdNotIn applies the NotIn predicate on the "labelId" field.

func NameId

func NameId(v uint) predicate.K8sMetric

NameId applies equality check predicate on the "nameId" field. It's identical to NameIdEQ.

func NameIdEQ

func NameIdEQ(v uint) predicate.K8sMetric

NameIdEQ applies the EQ predicate on the "nameId" field.

func NameIdGT

func NameIdGT(v uint) predicate.K8sMetric

NameIdGT applies the GT predicate on the "nameId" field.

func NameIdGTE

func NameIdGTE(v uint) predicate.K8sMetric

NameIdGTE applies the GTE predicate on the "nameId" field.

func NameIdIn

func NameIdIn(vs ...uint) predicate.K8sMetric

NameIdIn applies the In predicate on the "nameId" field.

func NameIdLT

func NameIdLT(v uint) predicate.K8sMetric

NameIdLT applies the LT predicate on the "nameId" field.

func NameIdLTE

func NameIdLTE(v uint) predicate.K8sMetric

NameIdLTE applies the LTE predicate on the "nameId" field.

func NameIdNEQ

func NameIdNEQ(v uint) predicate.K8sMetric

NameIdNEQ applies the NEQ predicate on the "nameId" field.

func NameIdNotIn

func NameIdNotIn(vs ...uint) predicate.K8sMetric

NameIdNotIn applies the NotIn predicate on the "nameId" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.K8sMetric) predicate.K8sMetric

Or groups predicates with the OR operator between them.

func Ts

Ts applies equality check predicate on the "ts" field. It's identical to TsEQ.

func TsEQ

func TsEQ(v time.Time) predicate.K8sMetric

TsEQ applies the EQ predicate on the "ts" field.

func TsGT

func TsGT(v time.Time) predicate.K8sMetric

TsGT applies the GT predicate on the "ts" field.

func TsGTE

func TsGTE(v time.Time) predicate.K8sMetric

TsGTE applies the GTE predicate on the "ts" field.

func TsIn

func TsIn(vs ...time.Time) predicate.K8sMetric

TsIn applies the In predicate on the "ts" field.

func TsLT

func TsLT(v time.Time) predicate.K8sMetric

TsLT applies the LT predicate on the "ts" field.

func TsLTE

func TsLTE(v time.Time) predicate.K8sMetric

TsLTE applies the LTE predicate on the "ts" field.

func TsNEQ

func TsNEQ(v time.Time) predicate.K8sMetric

TsNEQ applies the NEQ predicate on the "ts" field.

func TsNotIn

func TsNotIn(vs ...time.Time) predicate.K8sMetric

TsNotIn applies the NotIn predicate on the "ts" field.

func TypeId

func TypeId(v uint) predicate.K8sMetric

TypeId applies equality check predicate on the "typeId" field. It's identical to TypeIdEQ.

func TypeIdEQ

func TypeIdEQ(v uint) predicate.K8sMetric

TypeIdEQ applies the EQ predicate on the "typeId" field.

func TypeIdGT

func TypeIdGT(v uint) predicate.K8sMetric

TypeIdGT applies the GT predicate on the "typeId" field.

func TypeIdGTE

func TypeIdGTE(v uint) predicate.K8sMetric

TypeIdGTE applies the GTE predicate on the "typeId" field.

func TypeIdIn

func TypeIdIn(vs ...uint) predicate.K8sMetric

TypeIdIn applies the In predicate on the "typeId" field.

func TypeIdLT

func TypeIdLT(v uint) predicate.K8sMetric

TypeIdLT applies the LT predicate on the "typeId" field.

func TypeIdLTE

func TypeIdLTE(v uint) predicate.K8sMetric

TypeIdLTE applies the LTE predicate on the "typeId" field.

func TypeIdNEQ

func TypeIdNEQ(v uint) predicate.K8sMetric

TypeIdNEQ applies the NEQ predicate on the "typeId" field.

func TypeIdNotIn

func TypeIdNotIn(vs ...uint) predicate.K8sMetric

TypeIdNotIn applies the NotIn predicate on the "typeId" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.K8sMetric

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.K8sMetric

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.K8sMetric

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.K8sMetric

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.K8sMetric

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.K8sMetric

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.K8sMetric

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.K8sMetric

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.K8sMetric

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

func Value

func Value(v float64) predicate.K8sMetric

Value applies equality check predicate on the "value" field. It's identical to ValueEQ.

func ValueEQ

func ValueEQ(v float64) predicate.K8sMetric

ValueEQ applies the EQ predicate on the "value" field.

func ValueGT

func ValueGT(v float64) predicate.K8sMetric

ValueGT applies the GT predicate on the "value" field.

func ValueGTE

func ValueGTE(v float64) predicate.K8sMetric

ValueGTE applies the GTE predicate on the "value" field.

func ValueIn

func ValueIn(vs ...float64) predicate.K8sMetric

ValueIn applies the In predicate on the "value" field.

func ValueLT

func ValueLT(v float64) predicate.K8sMetric

ValueLT applies the LT predicate on the "value" field.

func ValueLTE

func ValueLTE(v float64) predicate.K8sMetric

ValueLTE applies the LTE predicate on the "value" field.

func ValueNEQ

func ValueNEQ(v float64) predicate.K8sMetric

ValueNEQ applies the NEQ predicate on the "value" field.

func ValueNotIn

func ValueNotIn(vs ...float64) predicate.K8sMetric

ValueNotIn applies the NotIn predicate on the "value" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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