Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.K8sMetric) predicate.K8sMetric
- func CreatedAt(v time.Time) predicate.K8sMetric
- func CreatedAtEQ(v time.Time) predicate.K8sMetric
- func CreatedAtGT(v time.Time) predicate.K8sMetric
- func CreatedAtGTE(v time.Time) predicate.K8sMetric
- func CreatedAtIn(vs ...time.Time) predicate.K8sMetric
- func CreatedAtLT(v time.Time) predicate.K8sMetric
- func CreatedAtLTE(v time.Time) predicate.K8sMetric
- func CreatedAtNEQ(v time.Time) predicate.K8sMetric
- func CreatedAtNotIn(vs ...time.Time) predicate.K8sMetric
- func DeletedAt(v time.Time) predicate.K8sMetric
- func DeletedAtEQ(v time.Time) predicate.K8sMetric
- func DeletedAtGT(v time.Time) predicate.K8sMetric
- func DeletedAtGTE(v time.Time) predicate.K8sMetric
- func DeletedAtIn(vs ...time.Time) predicate.K8sMetric
- func DeletedAtLT(v time.Time) predicate.K8sMetric
- func DeletedAtLTE(v time.Time) predicate.K8sMetric
- func DeletedAtNEQ(v time.Time) predicate.K8sMetric
- func DeletedAtNotIn(vs ...time.Time) predicate.K8sMetric
- func EndpointId(v uint) predicate.K8sMetric
- func EndpointIdEQ(v uint) predicate.K8sMetric
- func EndpointIdGT(v uint) predicate.K8sMetric
- func EndpointIdGTE(v uint) predicate.K8sMetric
- func EndpointIdIn(vs ...uint) predicate.K8sMetric
- func EndpointIdLT(v uint) predicate.K8sMetric
- func EndpointIdLTE(v uint) predicate.K8sMetric
- func EndpointIdNEQ(v uint) predicate.K8sMetric
- func EndpointIdNotIn(vs ...uint) predicate.K8sMetric
- func ID(id int) predicate.K8sMetric
- func IDEQ(id int) predicate.K8sMetric
- func IDGT(id int) predicate.K8sMetric
- func IDGTE(id int) predicate.K8sMetric
- func IDIn(ids ...int) predicate.K8sMetric
- func IDLT(id int) predicate.K8sMetric
- func IDLTE(id int) predicate.K8sMetric
- func IDNEQ(id int) predicate.K8sMetric
- func IDNotIn(ids ...int) predicate.K8sMetric
- func K8sClusterId(v uint) predicate.K8sMetric
- func K8sClusterIdEQ(v uint) predicate.K8sMetric
- func K8sClusterIdGT(v uint) predicate.K8sMetric
- func K8sClusterIdGTE(v uint) predicate.K8sMetric
- func K8sClusterIdIn(vs ...uint) predicate.K8sMetric
- func K8sClusterIdLT(v uint) predicate.K8sMetric
- func K8sClusterIdLTE(v uint) predicate.K8sMetric
- func K8sClusterIdNEQ(v uint) predicate.K8sMetric
- func K8sClusterIdNotIn(vs ...uint) predicate.K8sMetric
- func K8sContainerId(v uint) predicate.K8sMetric
- func K8sContainerIdEQ(v uint) predicate.K8sMetric
- func K8sContainerIdGT(v uint) predicate.K8sMetric
- func K8sContainerIdGTE(v uint) predicate.K8sMetric
- func K8sContainerIdIn(vs ...uint) predicate.K8sMetric
- func K8sContainerIdLT(v uint) predicate.K8sMetric
- func K8sContainerIdLTE(v uint) predicate.K8sMetric
- func K8sContainerIdNEQ(v uint) predicate.K8sMetric
- func K8sContainerIdNotIn(vs ...uint) predicate.K8sMetric
- func K8sNamespaceId(v uint) predicate.K8sMetric
- func K8sNamespaceIdEQ(v uint) predicate.K8sMetric
- func K8sNamespaceIdGT(v uint) predicate.K8sMetric
- func K8sNamespaceIdGTE(v uint) predicate.K8sMetric
- func K8sNamespaceIdIn(vs ...uint) predicate.K8sMetric
- func K8sNamespaceIdLT(v uint) predicate.K8sMetric
- func K8sNamespaceIdLTE(v uint) predicate.K8sMetric
- func K8sNamespaceIdNEQ(v uint) predicate.K8sMetric
- func K8sNamespaceIdNotIn(vs ...uint) predicate.K8sMetric
- func K8sNodeId(v uint) predicate.K8sMetric
- func K8sNodeIdEQ(v uint) predicate.K8sMetric
- func K8sNodeIdGT(v uint) predicate.K8sMetric
- func K8sNodeIdGTE(v uint) predicate.K8sMetric
- func K8sNodeIdIn(vs ...uint) predicate.K8sMetric
- func K8sNodeIdLT(v uint) predicate.K8sMetric
- func K8sNodeIdLTE(v uint) predicate.K8sMetric
- func K8sNodeIdNEQ(v uint) predicate.K8sMetric
- func K8sNodeIdNotIn(vs ...uint) predicate.K8sMetric
- func LabelId(v uint) predicate.K8sMetric
- func LabelIdEQ(v uint) predicate.K8sMetric
- func LabelIdGT(v uint) predicate.K8sMetric
- func LabelIdGTE(v uint) predicate.K8sMetric
- func LabelIdIn(vs ...uint) predicate.K8sMetric
- func LabelIdLT(v uint) predicate.K8sMetric
- func LabelIdLTE(v uint) predicate.K8sMetric
- func LabelIdNEQ(v uint) predicate.K8sMetric
- func LabelIdNotIn(vs ...uint) predicate.K8sMetric
- func NameId(v uint) predicate.K8sMetric
- func NameIdEQ(v uint) predicate.K8sMetric
- func NameIdGT(v uint) predicate.K8sMetric
- func NameIdGTE(v uint) predicate.K8sMetric
- func NameIdIn(vs ...uint) predicate.K8sMetric
- func NameIdLT(v uint) predicate.K8sMetric
- func NameIdLTE(v uint) predicate.K8sMetric
- func NameIdNEQ(v uint) predicate.K8sMetric
- func NameIdNotIn(vs ...uint) predicate.K8sMetric
- func Not(p predicate.K8sMetric) predicate.K8sMetric
- func Or(predicates ...predicate.K8sMetric) predicate.K8sMetric
- func Ts(v time.Time) predicate.K8sMetric
- func TsEQ(v time.Time) predicate.K8sMetric
- func TsGT(v time.Time) predicate.K8sMetric
- func TsGTE(v time.Time) predicate.K8sMetric
- func TsIn(vs ...time.Time) predicate.K8sMetric
- func TsLT(v time.Time) predicate.K8sMetric
- func TsLTE(v time.Time) predicate.K8sMetric
- func TsNEQ(v time.Time) predicate.K8sMetric
- func TsNotIn(vs ...time.Time) predicate.K8sMetric
- func TypeId(v uint) predicate.K8sMetric
- func TypeIdEQ(v uint) predicate.K8sMetric
- func TypeIdGT(v uint) predicate.K8sMetric
- func TypeIdGTE(v uint) predicate.K8sMetric
- func TypeIdIn(vs ...uint) predicate.K8sMetric
- func TypeIdLT(v uint) predicate.K8sMetric
- func TypeIdLTE(v uint) predicate.K8sMetric
- func TypeIdNEQ(v uint) predicate.K8sMetric
- func TypeIdNotIn(vs ...uint) predicate.K8sMetric
- func UpdatedAt(v time.Time) predicate.K8sMetric
- func UpdatedAtEQ(v time.Time) predicate.K8sMetric
- func UpdatedAtGT(v time.Time) predicate.K8sMetric
- func UpdatedAtGTE(v time.Time) predicate.K8sMetric
- func UpdatedAtIn(vs ...time.Time) predicate.K8sMetric
- func UpdatedAtLT(v time.Time) predicate.K8sMetric
- func UpdatedAtLTE(v time.Time) predicate.K8sMetric
- func UpdatedAtNEQ(v time.Time) predicate.K8sMetric
- func UpdatedAtNotIn(vs ...time.Time) predicate.K8sMetric
- func ValidColumn(column string) bool
- func Value(v float64) predicate.K8sMetric
- func ValueEQ(v float64) predicate.K8sMetric
- func ValueGT(v float64) predicate.K8sMetric
- func ValueGTE(v float64) predicate.K8sMetric
- func ValueIn(vs ...float64) predicate.K8sMetric
- func ValueLT(v float64) predicate.K8sMetric
- func ValueLTE(v float64) predicate.K8sMetric
- func ValueNEQ(v float64) predicate.K8sMetric
- func ValueNotIn(vs ...float64) predicate.K8sMetric
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldTs, FieldValue, FieldEndpointId, FieldTypeId, FieldNameId, FieldLabelId, FieldK8sClusterId, FieldK8sNodeId, FieldK8sNamespaceId, FieldK8sContainerId, }
Columns holds all SQL columns for k8smetric fields.
Functions ¶
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 ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func EndpointId ¶
EndpointId applies equality check predicate on the "endpointId" field. It's identical to EndpointIdEQ.
func EndpointIdEQ ¶
EndpointIdEQ applies the EQ predicate on the "endpointId" field.
func EndpointIdGT ¶
EndpointIdGT applies the GT predicate on the "endpointId" field.
func EndpointIdGTE ¶
EndpointIdGTE applies the GTE predicate on the "endpointId" field.
func EndpointIdIn ¶
EndpointIdIn applies the In predicate on the "endpointId" field.
func EndpointIdLT ¶
EndpointIdLT applies the LT predicate on the "endpointId" field.
func EndpointIdLTE ¶
EndpointIdLTE applies the LTE predicate on the "endpointId" field.
func EndpointIdNEQ ¶
EndpointIdNEQ applies the NEQ predicate on the "endpointId" field.
func EndpointIdNotIn ¶
EndpointIdNotIn applies the NotIn predicate on the "endpointId" field.
func K8sClusterId ¶
K8sClusterId applies equality check predicate on the "k8sClusterId" field. It's identical to K8sClusterIdEQ.
func K8sClusterIdEQ ¶
K8sClusterIdEQ applies the EQ predicate on the "k8sClusterId" field.
func K8sClusterIdGT ¶
K8sClusterIdGT applies the GT predicate on the "k8sClusterId" field.
func K8sClusterIdGTE ¶
K8sClusterIdGTE applies the GTE predicate on the "k8sClusterId" field.
func K8sClusterIdIn ¶
K8sClusterIdIn applies the In predicate on the "k8sClusterId" field.
func K8sClusterIdLT ¶
K8sClusterIdLT applies the LT predicate on the "k8sClusterId" field.
func K8sClusterIdLTE ¶
K8sClusterIdLTE applies the LTE predicate on the "k8sClusterId" field.
func K8sClusterIdNEQ ¶
K8sClusterIdNEQ applies the NEQ predicate on the "k8sClusterId" field.
func K8sClusterIdNotIn ¶
K8sClusterIdNotIn applies the NotIn predicate on the "k8sClusterId" field.
func K8sContainerId ¶
K8sContainerId applies equality check predicate on the "k8sContainerId" field. It's identical to K8sContainerIdEQ.
func K8sContainerIdEQ ¶
K8sContainerIdEQ applies the EQ predicate on the "k8sContainerId" field.
func K8sContainerIdGT ¶
K8sContainerIdGT applies the GT predicate on the "k8sContainerId" field.
func K8sContainerIdGTE ¶
K8sContainerIdGTE applies the GTE predicate on the "k8sContainerId" field.
func K8sContainerIdIn ¶
K8sContainerIdIn applies the In predicate on the "k8sContainerId" field.
func K8sContainerIdLT ¶
K8sContainerIdLT applies the LT predicate on the "k8sContainerId" field.
func K8sContainerIdLTE ¶
K8sContainerIdLTE applies the LTE predicate on the "k8sContainerId" field.
func K8sContainerIdNEQ ¶
K8sContainerIdNEQ applies the NEQ predicate on the "k8sContainerId" field.
func K8sContainerIdNotIn ¶
K8sContainerIdNotIn applies the NotIn predicate on the "k8sContainerId" field.
func K8sNamespaceId ¶
K8sNamespaceId applies equality check predicate on the "k8sNamespaceId" field. It's identical to K8sNamespaceIdEQ.
func K8sNamespaceIdEQ ¶
K8sNamespaceIdEQ applies the EQ predicate on the "k8sNamespaceId" field.
func K8sNamespaceIdGT ¶
K8sNamespaceIdGT applies the GT predicate on the "k8sNamespaceId" field.
func K8sNamespaceIdGTE ¶
K8sNamespaceIdGTE applies the GTE predicate on the "k8sNamespaceId" field.
func K8sNamespaceIdIn ¶
K8sNamespaceIdIn applies the In predicate on the "k8sNamespaceId" field.
func K8sNamespaceIdLT ¶
K8sNamespaceIdLT applies the LT predicate on the "k8sNamespaceId" field.
func K8sNamespaceIdLTE ¶
K8sNamespaceIdLTE applies the LTE predicate on the "k8sNamespaceId" field.
func K8sNamespaceIdNEQ ¶
K8sNamespaceIdNEQ applies the NEQ predicate on the "k8sNamespaceId" field.
func K8sNamespaceIdNotIn ¶
K8sNamespaceIdNotIn applies the NotIn predicate on the "k8sNamespaceId" field.
func K8sNodeId ¶
K8sNodeId applies equality check predicate on the "k8sNodeId" field. It's identical to K8sNodeIdEQ.
func K8sNodeIdEQ ¶
K8sNodeIdEQ applies the EQ predicate on the "k8sNodeId" field.
func K8sNodeIdGT ¶
K8sNodeIdGT applies the GT predicate on the "k8sNodeId" field.
func K8sNodeIdGTE ¶
K8sNodeIdGTE applies the GTE predicate on the "k8sNodeId" field.
func K8sNodeIdIn ¶
K8sNodeIdIn applies the In predicate on the "k8sNodeId" field.
func K8sNodeIdLT ¶
K8sNodeIdLT applies the LT predicate on the "k8sNodeId" field.
func K8sNodeIdLTE ¶
K8sNodeIdLTE applies the LTE predicate on the "k8sNodeId" field.
func K8sNodeIdNEQ ¶
K8sNodeIdNEQ applies the NEQ predicate on the "k8sNodeId" field.
func K8sNodeIdNotIn ¶
K8sNodeIdNotIn applies the NotIn predicate on the "k8sNodeId" field.
func LabelId ¶
LabelId applies equality check predicate on the "labelId" field. It's identical to LabelIdEQ.
func LabelIdGTE ¶
LabelIdGTE applies the GTE predicate on the "labelId" field.
func LabelIdLTE ¶
LabelIdLTE applies the LTE predicate on the "labelId" field.
func LabelIdNEQ ¶
LabelIdNEQ applies the NEQ predicate on the "labelId" field.
func LabelIdNotIn ¶
LabelIdNotIn applies the NotIn predicate on the "labelId" field.
func NameId ¶
NameId applies equality check predicate on the "nameId" field. It's identical to NameIdEQ.
func NameIdNotIn ¶
NameIdNotIn applies the NotIn predicate on the "nameId" field.
func TypeId ¶
TypeId applies equality check predicate on the "typeId" field. It's identical to TypeIdEQ.
func TypeIdNotIn ¶
TypeIdNotIn applies the NotIn predicate on the "typeId" field.
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 ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
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).
func Value ¶
Value applies equality check predicate on the "value" field. It's identical to ValueEQ.
func ValueNotIn ¶
ValueNotIn applies the NotIn predicate on the "value" field.
Types ¶
This section is empty.