costreport

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the costreport type in the database.
	Label = "cost_report"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldStartTime holds the string denoting the start_time field in the database.
	FieldStartTime = "start_time"
	// FieldEndTime holds the string denoting the end_time field in the database.
	FieldEndTime = "end_time"
	// FieldMinutes holds the string denoting the minutes field in the database.
	FieldMinutes = "minutes"
	// FieldConnectorID holds the string denoting the connector_id field in the database.
	FieldConnectorID = "connector_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldFingerprint holds the string denoting the fingerprint field in the database.
	FieldFingerprint = "fingerprint"
	// FieldClusterName holds the string denoting the cluster_name field in the database.
	FieldClusterName = "cluster_name"
	// FieldNamespace holds the string denoting the namespace field in the database.
	FieldNamespace = "namespace"
	// FieldNode holds the string denoting the node field in the database.
	FieldNode = "node"
	// FieldController holds the string denoting the controller field in the database.
	FieldController = "controller"
	// FieldControllerKind holds the string denoting the controller_kind field in the database.
	FieldControllerKind = "controller_kind"
	// FieldPod holds the string denoting the pod field in the database.
	FieldPod = "pod"
	// FieldContainer holds the string denoting the container field in the database.
	FieldContainer = "container"
	// FieldPvs holds the string denoting the pvs field in the database.
	FieldPvs = "pvs"
	// FieldLabels holds the string denoting the labels field in the database.
	FieldLabels = "labels"
	// FieldTotalCost holds the string denoting the totalcost field in the database.
	FieldTotalCost = "total_cost"
	// FieldCurrency holds the string denoting the currency field in the database.
	FieldCurrency = "currency"
	// FieldCPUCost holds the string denoting the cpu_cost field in the database.
	FieldCPUCost = "cpu_cost"
	// FieldCPUCoreRequest holds the string denoting the cpu_core_request field in the database.
	FieldCPUCoreRequest = "cpu_core_request"
	// FieldGPUCost holds the string denoting the gpu_cost field in the database.
	FieldGPUCost = "gpu_cost"
	// FieldGPUCount holds the string denoting the gpu_count field in the database.
	FieldGPUCount = "gpu_count"
	// FieldRAMCost holds the string denoting the ram_cost field in the database.
	FieldRAMCost = "ram_cost"
	// FieldRAMByteRequest holds the string denoting the ram_byte_request field in the database.
	FieldRAMByteRequest = "ram_byte_request"
	// FieldPVCost holds the string denoting the pv_cost field in the database.
	FieldPVCost = "pv_cost"
	// FieldPVBytes holds the string denoting the pv_bytes field in the database.
	FieldPVBytes = "pv_bytes"
	// FieldLoadBalancerCost holds the string denoting the load_balancer_cost field in the database.
	FieldLoadBalancerCost = "load_balancer_cost"
	// FieldCPUCoreUsageAverage holds the string denoting the cpu_core_usage_average field in the database.
	FieldCPUCoreUsageAverage = "cpu_core_usage_average"
	// FieldCPUCoreUsageMax holds the string denoting the cpu_core_usage_max field in the database.
	FieldCPUCoreUsageMax = "cpu_core_usage_max"
	// FieldRAMByteUsageAverage holds the string denoting the ram_byte_usage_average field in the database.
	FieldRAMByteUsageAverage = "ram_byte_usage_average"
	// FieldRAMByteUsageMax holds the string denoting the ram_byte_usage_max field in the database.
	FieldRAMByteUsageMax = "ram_byte_usage_max"
	// EdgeConnector holds the string denoting the connector edge name in mutations.
	EdgeConnector = "connector"
	// Table holds the table name of the costreport in the database.
	Table = "cost_reports"
	// ConnectorTable is the table that holds the connector relation/edge.
	ConnectorTable = "cost_reports"
	// ConnectorInverseTable is the table name for the Connector entity.
	// It exists in this package in order to avoid circular dependency with the "connector" package.
	ConnectorInverseTable = "connectors"
	// ConnectorColumn is the table column denoting the connector relation/edge.
	ConnectorColumn = "connector_id"
)

Variables

View Source
var (
	Hooks [1]ent.Hook
	// ConnectorIDValidator is a validator for the "connector_id" field. It is called by the builders before save.
	ConnectorIDValidator func(string) error
	// DefaultPvs holds the default value on creation for the "pvs" field.
	DefaultPvs map[string]types.PVCost
	// DefaultLabels holds the default value on creation for the "labels" field.
	DefaultLabels map[string]string
	// DefaultTotalCost holds the default value on creation for the "totalCost" field.
	DefaultTotalCost float64
	// DefaultCPUCost holds the default value on creation for the "cpu_cost" field.
	DefaultCPUCost float64
	// DefaultCPUCoreRequest holds the default value on creation for the "cpu_core_request" field.
	DefaultCPUCoreRequest float64
	// DefaultGPUCost holds the default value on creation for the "gpu_cost" field.
	DefaultGPUCost float64
	// DefaultGPUCount holds the default value on creation for the "gpu_count" field.
	DefaultGPUCount float64
	// DefaultRAMCost holds the default value on creation for the "ram_cost" field.
	DefaultRAMCost float64
	// DefaultRAMByteRequest holds the default value on creation for the "ram_byte_request" field.
	DefaultRAMByteRequest float64
	// DefaultPVCost holds the default value on creation for the "pv_cost" field.
	DefaultPVCost float64
	// DefaultPVBytes holds the default value on creation for the "pv_bytes" field.
	DefaultPVBytes float64
	// DefaultLoadBalancerCost holds the default value on creation for the "load_balancer_cost" field.
	DefaultLoadBalancerCost float64
	// DefaultCPUCoreUsageAverage holds the default value on creation for the "cpu_core_usage_average" field.
	DefaultCPUCoreUsageAverage float64
	// DefaultCPUCoreUsageMax holds the default value on creation for the "cpu_core_usage_max" field.
	DefaultCPUCoreUsageMax float64
	// DefaultRAMByteUsageAverage holds the default value on creation for the "ram_byte_usage_average" field.
	DefaultRAMByteUsageAverage float64
	// DefaultRAMByteUsageMax holds the default value on creation for the "ram_byte_usage_max" field.
	DefaultRAMByteUsageMax float64
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/seal-io/walrus/pkg/dao/model/runtime"

Columns holds all SQL columns for costreport fields.

Functions

func And

func And(predicates ...predicate.CostReport) predicate.CostReport

And groups predicates with the AND operator between them.

func CPUCoreRequest

func CPUCoreRequest(v float64) predicate.CostReport

CPUCoreRequest applies equality check predicate on the "cpu_core_request" field. It's identical to CPUCoreRequestEQ.

func CPUCoreRequestEQ

func CPUCoreRequestEQ(v float64) predicate.CostReport

CPUCoreRequestEQ applies the EQ predicate on the "cpu_core_request" field.

func CPUCoreRequestGT

func CPUCoreRequestGT(v float64) predicate.CostReport

CPUCoreRequestGT applies the GT predicate on the "cpu_core_request" field.

func CPUCoreRequestGTE

func CPUCoreRequestGTE(v float64) predicate.CostReport

CPUCoreRequestGTE applies the GTE predicate on the "cpu_core_request" field.

func CPUCoreRequestIn

func CPUCoreRequestIn(vs ...float64) predicate.CostReport

CPUCoreRequestIn applies the In predicate on the "cpu_core_request" field.

func CPUCoreRequestLT

func CPUCoreRequestLT(v float64) predicate.CostReport

CPUCoreRequestLT applies the LT predicate on the "cpu_core_request" field.

func CPUCoreRequestLTE

func CPUCoreRequestLTE(v float64) predicate.CostReport

CPUCoreRequestLTE applies the LTE predicate on the "cpu_core_request" field.

func CPUCoreRequestNEQ

func CPUCoreRequestNEQ(v float64) predicate.CostReport

CPUCoreRequestNEQ applies the NEQ predicate on the "cpu_core_request" field.

func CPUCoreRequestNotIn

func CPUCoreRequestNotIn(vs ...float64) predicate.CostReport

CPUCoreRequestNotIn applies the NotIn predicate on the "cpu_core_request" field.

func CPUCoreUsageAverage

func CPUCoreUsageAverage(v float64) predicate.CostReport

CPUCoreUsageAverage applies equality check predicate on the "cpu_core_usage_average" field. It's identical to CPUCoreUsageAverageEQ.

func CPUCoreUsageAverageEQ

func CPUCoreUsageAverageEQ(v float64) predicate.CostReport

CPUCoreUsageAverageEQ applies the EQ predicate on the "cpu_core_usage_average" field.

func CPUCoreUsageAverageGT

func CPUCoreUsageAverageGT(v float64) predicate.CostReport

CPUCoreUsageAverageGT applies the GT predicate on the "cpu_core_usage_average" field.

func CPUCoreUsageAverageGTE

func CPUCoreUsageAverageGTE(v float64) predicate.CostReport

CPUCoreUsageAverageGTE applies the GTE predicate on the "cpu_core_usage_average" field.

func CPUCoreUsageAverageIn

func CPUCoreUsageAverageIn(vs ...float64) predicate.CostReport

CPUCoreUsageAverageIn applies the In predicate on the "cpu_core_usage_average" field.

func CPUCoreUsageAverageLT

func CPUCoreUsageAverageLT(v float64) predicate.CostReport

CPUCoreUsageAverageLT applies the LT predicate on the "cpu_core_usage_average" field.

func CPUCoreUsageAverageLTE

func CPUCoreUsageAverageLTE(v float64) predicate.CostReport

CPUCoreUsageAverageLTE applies the LTE predicate on the "cpu_core_usage_average" field.

func CPUCoreUsageAverageNEQ

func CPUCoreUsageAverageNEQ(v float64) predicate.CostReport

CPUCoreUsageAverageNEQ applies the NEQ predicate on the "cpu_core_usage_average" field.

func CPUCoreUsageAverageNotIn

func CPUCoreUsageAverageNotIn(vs ...float64) predicate.CostReport

CPUCoreUsageAverageNotIn applies the NotIn predicate on the "cpu_core_usage_average" field.

func CPUCoreUsageMax

func CPUCoreUsageMax(v float64) predicate.CostReport

CPUCoreUsageMax applies equality check predicate on the "cpu_core_usage_max" field. It's identical to CPUCoreUsageMaxEQ.

func CPUCoreUsageMaxEQ

func CPUCoreUsageMaxEQ(v float64) predicate.CostReport

CPUCoreUsageMaxEQ applies the EQ predicate on the "cpu_core_usage_max" field.

func CPUCoreUsageMaxGT

func CPUCoreUsageMaxGT(v float64) predicate.CostReport

CPUCoreUsageMaxGT applies the GT predicate on the "cpu_core_usage_max" field.

func CPUCoreUsageMaxGTE

func CPUCoreUsageMaxGTE(v float64) predicate.CostReport

CPUCoreUsageMaxGTE applies the GTE predicate on the "cpu_core_usage_max" field.

func CPUCoreUsageMaxIn

func CPUCoreUsageMaxIn(vs ...float64) predicate.CostReport

CPUCoreUsageMaxIn applies the In predicate on the "cpu_core_usage_max" field.

func CPUCoreUsageMaxLT

func CPUCoreUsageMaxLT(v float64) predicate.CostReport

CPUCoreUsageMaxLT applies the LT predicate on the "cpu_core_usage_max" field.

func CPUCoreUsageMaxLTE

func CPUCoreUsageMaxLTE(v float64) predicate.CostReport

CPUCoreUsageMaxLTE applies the LTE predicate on the "cpu_core_usage_max" field.

func CPUCoreUsageMaxNEQ

func CPUCoreUsageMaxNEQ(v float64) predicate.CostReport

CPUCoreUsageMaxNEQ applies the NEQ predicate on the "cpu_core_usage_max" field.

func CPUCoreUsageMaxNotIn

func CPUCoreUsageMaxNotIn(vs ...float64) predicate.CostReport

CPUCoreUsageMaxNotIn applies the NotIn predicate on the "cpu_core_usage_max" field.

func CPUCost

func CPUCost(v float64) predicate.CostReport

CPUCost applies equality check predicate on the "cpu_cost" field. It's identical to CPUCostEQ.

func CPUCostEQ

func CPUCostEQ(v float64) predicate.CostReport

CPUCostEQ applies the EQ predicate on the "cpu_cost" field.

func CPUCostGT

func CPUCostGT(v float64) predicate.CostReport

CPUCostGT applies the GT predicate on the "cpu_cost" field.

func CPUCostGTE

func CPUCostGTE(v float64) predicate.CostReport

CPUCostGTE applies the GTE predicate on the "cpu_cost" field.

func CPUCostIn

func CPUCostIn(vs ...float64) predicate.CostReport

CPUCostIn applies the In predicate on the "cpu_cost" field.

func CPUCostLT

func CPUCostLT(v float64) predicate.CostReport

CPUCostLT applies the LT predicate on the "cpu_cost" field.

func CPUCostLTE

func CPUCostLTE(v float64) predicate.CostReport

CPUCostLTE applies the LTE predicate on the "cpu_cost" field.

func CPUCostNEQ

func CPUCostNEQ(v float64) predicate.CostReport

CPUCostNEQ applies the NEQ predicate on the "cpu_cost" field.

func CPUCostNotIn

func CPUCostNotIn(vs ...float64) predicate.CostReport

CPUCostNotIn applies the NotIn predicate on the "cpu_cost" field.

func ClusterName

func ClusterName(v string) predicate.CostReport

ClusterName applies equality check predicate on the "cluster_name" field. It's identical to ClusterNameEQ.

func ClusterNameContains

func ClusterNameContains(v string) predicate.CostReport

ClusterNameContains applies the Contains predicate on the "cluster_name" field.

func ClusterNameContainsFold

func ClusterNameContainsFold(v string) predicate.CostReport

ClusterNameContainsFold applies the ContainsFold predicate on the "cluster_name" field.

func ClusterNameEQ

func ClusterNameEQ(v string) predicate.CostReport

ClusterNameEQ applies the EQ predicate on the "cluster_name" field.

func ClusterNameEqualFold

func ClusterNameEqualFold(v string) predicate.CostReport

ClusterNameEqualFold applies the EqualFold predicate on the "cluster_name" field.

func ClusterNameGT

func ClusterNameGT(v string) predicate.CostReport

ClusterNameGT applies the GT predicate on the "cluster_name" field.

func ClusterNameGTE

func ClusterNameGTE(v string) predicate.CostReport

ClusterNameGTE applies the GTE predicate on the "cluster_name" field.

func ClusterNameHasPrefix

func ClusterNameHasPrefix(v string) predicate.CostReport

ClusterNameHasPrefix applies the HasPrefix predicate on the "cluster_name" field.

func ClusterNameHasSuffix

func ClusterNameHasSuffix(v string) predicate.CostReport

ClusterNameHasSuffix applies the HasSuffix predicate on the "cluster_name" field.

func ClusterNameIn

func ClusterNameIn(vs ...string) predicate.CostReport

ClusterNameIn applies the In predicate on the "cluster_name" field.

func ClusterNameIsNil

func ClusterNameIsNil() predicate.CostReport

ClusterNameIsNil applies the IsNil predicate on the "cluster_name" field.

func ClusterNameLT

func ClusterNameLT(v string) predicate.CostReport

ClusterNameLT applies the LT predicate on the "cluster_name" field.

func ClusterNameLTE

func ClusterNameLTE(v string) predicate.CostReport

ClusterNameLTE applies the LTE predicate on the "cluster_name" field.

func ClusterNameNEQ

func ClusterNameNEQ(v string) predicate.CostReport

ClusterNameNEQ applies the NEQ predicate on the "cluster_name" field.

func ClusterNameNotIn

func ClusterNameNotIn(vs ...string) predicate.CostReport

ClusterNameNotIn applies the NotIn predicate on the "cluster_name" field.

func ClusterNameNotNil

func ClusterNameNotNil() predicate.CostReport

ClusterNameNotNil applies the NotNil predicate on the "cluster_name" field.

func ConnectorID

func ConnectorID(v object.ID) predicate.CostReport

ConnectorID applies equality check predicate on the "connector_id" field. It's identical to ConnectorIDEQ.

func ConnectorIDContains

func ConnectorIDContains(v object.ID) predicate.CostReport

ConnectorIDContains applies the Contains predicate on the "connector_id" field.

func ConnectorIDContainsFold

func ConnectorIDContainsFold(v object.ID) predicate.CostReport

ConnectorIDContainsFold applies the ContainsFold predicate on the "connector_id" field.

func ConnectorIDEQ

func ConnectorIDEQ(v object.ID) predicate.CostReport

ConnectorIDEQ applies the EQ predicate on the "connector_id" field.

func ConnectorIDEqualFold

func ConnectorIDEqualFold(v object.ID) predicate.CostReport

ConnectorIDEqualFold applies the EqualFold predicate on the "connector_id" field.

func ConnectorIDGT

func ConnectorIDGT(v object.ID) predicate.CostReport

ConnectorIDGT applies the GT predicate on the "connector_id" field.

func ConnectorIDGTE

func ConnectorIDGTE(v object.ID) predicate.CostReport

ConnectorIDGTE applies the GTE predicate on the "connector_id" field.

func ConnectorIDHasPrefix

func ConnectorIDHasPrefix(v object.ID) predicate.CostReport

ConnectorIDHasPrefix applies the HasPrefix predicate on the "connector_id" field.

func ConnectorIDHasSuffix

func ConnectorIDHasSuffix(v object.ID) predicate.CostReport

ConnectorIDHasSuffix applies the HasSuffix predicate on the "connector_id" field.

func ConnectorIDIn

func ConnectorIDIn(vs ...object.ID) predicate.CostReport

ConnectorIDIn applies the In predicate on the "connector_id" field.

func ConnectorIDLT

func ConnectorIDLT(v object.ID) predicate.CostReport

ConnectorIDLT applies the LT predicate on the "connector_id" field.

func ConnectorIDLTE

func ConnectorIDLTE(v object.ID) predicate.CostReport

ConnectorIDLTE applies the LTE predicate on the "connector_id" field.

func ConnectorIDNEQ

func ConnectorIDNEQ(v object.ID) predicate.CostReport

ConnectorIDNEQ applies the NEQ predicate on the "connector_id" field.

func ConnectorIDNotIn

func ConnectorIDNotIn(vs ...object.ID) predicate.CostReport

ConnectorIDNotIn applies the NotIn predicate on the "connector_id" field.

func Container

func Container(v string) predicate.CostReport

Container applies equality check predicate on the "container" field. It's identical to ContainerEQ.

func ContainerContains

func ContainerContains(v string) predicate.CostReport

ContainerContains applies the Contains predicate on the "container" field.

func ContainerContainsFold

func ContainerContainsFold(v string) predicate.CostReport

ContainerContainsFold applies the ContainsFold predicate on the "container" field.

func ContainerEQ

func ContainerEQ(v string) predicate.CostReport

ContainerEQ applies the EQ predicate on the "container" field.

func ContainerEqualFold

func ContainerEqualFold(v string) predicate.CostReport

ContainerEqualFold applies the EqualFold predicate on the "container" field.

func ContainerGT

func ContainerGT(v string) predicate.CostReport

ContainerGT applies the GT predicate on the "container" field.

func ContainerGTE

func ContainerGTE(v string) predicate.CostReport

ContainerGTE applies the GTE predicate on the "container" field.

func ContainerHasPrefix

func ContainerHasPrefix(v string) predicate.CostReport

ContainerHasPrefix applies the HasPrefix predicate on the "container" field.

func ContainerHasSuffix

func ContainerHasSuffix(v string) predicate.CostReport

ContainerHasSuffix applies the HasSuffix predicate on the "container" field.

func ContainerIn

func ContainerIn(vs ...string) predicate.CostReport

ContainerIn applies the In predicate on the "container" field.

func ContainerIsNil

func ContainerIsNil() predicate.CostReport

ContainerIsNil applies the IsNil predicate on the "container" field.

func ContainerLT

func ContainerLT(v string) predicate.CostReport

ContainerLT applies the LT predicate on the "container" field.

func ContainerLTE

func ContainerLTE(v string) predicate.CostReport

ContainerLTE applies the LTE predicate on the "container" field.

func ContainerNEQ

func ContainerNEQ(v string) predicate.CostReport

ContainerNEQ applies the NEQ predicate on the "container" field.

func ContainerNotIn

func ContainerNotIn(vs ...string) predicate.CostReport

ContainerNotIn applies the NotIn predicate on the "container" field.

func ContainerNotNil

func ContainerNotNil() predicate.CostReport

ContainerNotNil applies the NotNil predicate on the "container" field.

func Controller

func Controller(v string) predicate.CostReport

Controller applies equality check predicate on the "controller" field. It's identical to ControllerEQ.

func ControllerContains

func ControllerContains(v string) predicate.CostReport

ControllerContains applies the Contains predicate on the "controller" field.

func ControllerContainsFold

func ControllerContainsFold(v string) predicate.CostReport

ControllerContainsFold applies the ContainsFold predicate on the "controller" field.

func ControllerEQ

func ControllerEQ(v string) predicate.CostReport

ControllerEQ applies the EQ predicate on the "controller" field.

func ControllerEqualFold

func ControllerEqualFold(v string) predicate.CostReport

ControllerEqualFold applies the EqualFold predicate on the "controller" field.

func ControllerGT

func ControllerGT(v string) predicate.CostReport

ControllerGT applies the GT predicate on the "controller" field.

func ControllerGTE

func ControllerGTE(v string) predicate.CostReport

ControllerGTE applies the GTE predicate on the "controller" field.

func ControllerHasPrefix

func ControllerHasPrefix(v string) predicate.CostReport

ControllerHasPrefix applies the HasPrefix predicate on the "controller" field.

func ControllerHasSuffix

func ControllerHasSuffix(v string) predicate.CostReport

ControllerHasSuffix applies the HasSuffix predicate on the "controller" field.

func ControllerIn

func ControllerIn(vs ...string) predicate.CostReport

ControllerIn applies the In predicate on the "controller" field.

func ControllerIsNil

func ControllerIsNil() predicate.CostReport

ControllerIsNil applies the IsNil predicate on the "controller" field.

func ControllerKind

func ControllerKind(v string) predicate.CostReport

ControllerKind applies equality check predicate on the "controller_kind" field. It's identical to ControllerKindEQ.

func ControllerKindContains

func ControllerKindContains(v string) predicate.CostReport

ControllerKindContains applies the Contains predicate on the "controller_kind" field.

func ControllerKindContainsFold

func ControllerKindContainsFold(v string) predicate.CostReport

ControllerKindContainsFold applies the ContainsFold predicate on the "controller_kind" field.

func ControllerKindEQ

func ControllerKindEQ(v string) predicate.CostReport

ControllerKindEQ applies the EQ predicate on the "controller_kind" field.

func ControllerKindEqualFold

func ControllerKindEqualFold(v string) predicate.CostReport

ControllerKindEqualFold applies the EqualFold predicate on the "controller_kind" field.

func ControllerKindGT

func ControllerKindGT(v string) predicate.CostReport

ControllerKindGT applies the GT predicate on the "controller_kind" field.

func ControllerKindGTE

func ControllerKindGTE(v string) predicate.CostReport

ControllerKindGTE applies the GTE predicate on the "controller_kind" field.

func ControllerKindHasPrefix

func ControllerKindHasPrefix(v string) predicate.CostReport

ControllerKindHasPrefix applies the HasPrefix predicate on the "controller_kind" field.

func ControllerKindHasSuffix

func ControllerKindHasSuffix(v string) predicate.CostReport

ControllerKindHasSuffix applies the HasSuffix predicate on the "controller_kind" field.

func ControllerKindIn

func ControllerKindIn(vs ...string) predicate.CostReport

ControllerKindIn applies the In predicate on the "controller_kind" field.

func ControllerKindIsNil

func ControllerKindIsNil() predicate.CostReport

ControllerKindIsNil applies the IsNil predicate on the "controller_kind" field.

func ControllerKindLT

func ControllerKindLT(v string) predicate.CostReport

ControllerKindLT applies the LT predicate on the "controller_kind" field.

func ControllerKindLTE

func ControllerKindLTE(v string) predicate.CostReport

ControllerKindLTE applies the LTE predicate on the "controller_kind" field.

func ControllerKindNEQ

func ControllerKindNEQ(v string) predicate.CostReport

ControllerKindNEQ applies the NEQ predicate on the "controller_kind" field.

func ControllerKindNotIn

func ControllerKindNotIn(vs ...string) predicate.CostReport

ControllerKindNotIn applies the NotIn predicate on the "controller_kind" field.

func ControllerKindNotNil

func ControllerKindNotNil() predicate.CostReport

ControllerKindNotNil applies the NotNil predicate on the "controller_kind" field.

func ControllerLT

func ControllerLT(v string) predicate.CostReport

ControllerLT applies the LT predicate on the "controller" field.

func ControllerLTE

func ControllerLTE(v string) predicate.CostReport

ControllerLTE applies the LTE predicate on the "controller" field.

func ControllerNEQ

func ControllerNEQ(v string) predicate.CostReport

ControllerNEQ applies the NEQ predicate on the "controller" field.

func ControllerNotIn

func ControllerNotIn(vs ...string) predicate.CostReport

ControllerNotIn applies the NotIn predicate on the "controller" field.

func ControllerNotNil

func ControllerNotNil() predicate.CostReport

ControllerNotNil applies the NotNil predicate on the "controller" field.

func Currency

func Currency(v int) predicate.CostReport

Currency applies equality check predicate on the "currency" field. It's identical to CurrencyEQ.

func CurrencyEQ

func CurrencyEQ(v int) predicate.CostReport

CurrencyEQ applies the EQ predicate on the "currency" field.

func CurrencyGT

func CurrencyGT(v int) predicate.CostReport

CurrencyGT applies the GT predicate on the "currency" field.

func CurrencyGTE

func CurrencyGTE(v int) predicate.CostReport

CurrencyGTE applies the GTE predicate on the "currency" field.

func CurrencyIn

func CurrencyIn(vs ...int) predicate.CostReport

CurrencyIn applies the In predicate on the "currency" field.

func CurrencyIsNil

func CurrencyIsNil() predicate.CostReport

CurrencyIsNil applies the IsNil predicate on the "currency" field.

func CurrencyLT

func CurrencyLT(v int) predicate.CostReport

CurrencyLT applies the LT predicate on the "currency" field.

func CurrencyLTE

func CurrencyLTE(v int) predicate.CostReport

CurrencyLTE applies the LTE predicate on the "currency" field.

func CurrencyNEQ

func CurrencyNEQ(v int) predicate.CostReport

CurrencyNEQ applies the NEQ predicate on the "currency" field.

func CurrencyNotIn

func CurrencyNotIn(vs ...int) predicate.CostReport

CurrencyNotIn applies the NotIn predicate on the "currency" field.

func CurrencyNotNil

func CurrencyNotNil() predicate.CostReport

CurrencyNotNil applies the NotNil predicate on the "currency" field.

func EndTime

func EndTime(v time.Time) predicate.CostReport

EndTime applies equality check predicate on the "end_time" field. It's identical to EndTimeEQ.

func EndTimeEQ

func EndTimeEQ(v time.Time) predicate.CostReport

EndTimeEQ applies the EQ predicate on the "end_time" field.

func EndTimeGT

func EndTimeGT(v time.Time) predicate.CostReport

EndTimeGT applies the GT predicate on the "end_time" field.

func EndTimeGTE

func EndTimeGTE(v time.Time) predicate.CostReport

EndTimeGTE applies the GTE predicate on the "end_time" field.

func EndTimeIn

func EndTimeIn(vs ...time.Time) predicate.CostReport

EndTimeIn applies the In predicate on the "end_time" field.

func EndTimeLT

func EndTimeLT(v time.Time) predicate.CostReport

EndTimeLT applies the LT predicate on the "end_time" field.

func EndTimeLTE

func EndTimeLTE(v time.Time) predicate.CostReport

EndTimeLTE applies the LTE predicate on the "end_time" field.

func EndTimeNEQ

func EndTimeNEQ(v time.Time) predicate.CostReport

EndTimeNEQ applies the NEQ predicate on the "end_time" field.

func EndTimeNotIn

func EndTimeNotIn(vs ...time.Time) predicate.CostReport

EndTimeNotIn applies the NotIn predicate on the "end_time" field.

func Fingerprint

func Fingerprint(v string) predicate.CostReport

Fingerprint applies equality check predicate on the "fingerprint" field. It's identical to FingerprintEQ.

func FingerprintContains

func FingerprintContains(v string) predicate.CostReport

FingerprintContains applies the Contains predicate on the "fingerprint" field.

func FingerprintContainsFold

func FingerprintContainsFold(v string) predicate.CostReport

FingerprintContainsFold applies the ContainsFold predicate on the "fingerprint" field.

func FingerprintEQ

func FingerprintEQ(v string) predicate.CostReport

FingerprintEQ applies the EQ predicate on the "fingerprint" field.

func FingerprintEqualFold

func FingerprintEqualFold(v string) predicate.CostReport

FingerprintEqualFold applies the EqualFold predicate on the "fingerprint" field.

func FingerprintGT

func FingerprintGT(v string) predicate.CostReport

FingerprintGT applies the GT predicate on the "fingerprint" field.

func FingerprintGTE

func FingerprintGTE(v string) predicate.CostReport

FingerprintGTE applies the GTE predicate on the "fingerprint" field.

func FingerprintHasPrefix

func FingerprintHasPrefix(v string) predicate.CostReport

FingerprintHasPrefix applies the HasPrefix predicate on the "fingerprint" field.

func FingerprintHasSuffix

func FingerprintHasSuffix(v string) predicate.CostReport

FingerprintHasSuffix applies the HasSuffix predicate on the "fingerprint" field.

func FingerprintIn

func FingerprintIn(vs ...string) predicate.CostReport

FingerprintIn applies the In predicate on the "fingerprint" field.

func FingerprintLT

func FingerprintLT(v string) predicate.CostReport

FingerprintLT applies the LT predicate on the "fingerprint" field.

func FingerprintLTE

func FingerprintLTE(v string) predicate.CostReport

FingerprintLTE applies the LTE predicate on the "fingerprint" field.

func FingerprintNEQ

func FingerprintNEQ(v string) predicate.CostReport

FingerprintNEQ applies the NEQ predicate on the "fingerprint" field.

func FingerprintNotIn

func FingerprintNotIn(vs ...string) predicate.CostReport

FingerprintNotIn applies the NotIn predicate on the "fingerprint" field.

func GPUCost

func GPUCost(v float64) predicate.CostReport

GPUCost applies equality check predicate on the "gpu_cost" field. It's identical to GPUCostEQ.

func GPUCostEQ

func GPUCostEQ(v float64) predicate.CostReport

GPUCostEQ applies the EQ predicate on the "gpu_cost" field.

func GPUCostGT

func GPUCostGT(v float64) predicate.CostReport

GPUCostGT applies the GT predicate on the "gpu_cost" field.

func GPUCostGTE

func GPUCostGTE(v float64) predicate.CostReport

GPUCostGTE applies the GTE predicate on the "gpu_cost" field.

func GPUCostIn

func GPUCostIn(vs ...float64) predicate.CostReport

GPUCostIn applies the In predicate on the "gpu_cost" field.

func GPUCostLT

func GPUCostLT(v float64) predicate.CostReport

GPUCostLT applies the LT predicate on the "gpu_cost" field.

func GPUCostLTE

func GPUCostLTE(v float64) predicate.CostReport

GPUCostLTE applies the LTE predicate on the "gpu_cost" field.

func GPUCostNEQ

func GPUCostNEQ(v float64) predicate.CostReport

GPUCostNEQ applies the NEQ predicate on the "gpu_cost" field.

func GPUCostNotIn

func GPUCostNotIn(vs ...float64) predicate.CostReport

GPUCostNotIn applies the NotIn predicate on the "gpu_cost" field.

func GPUCount

func GPUCount(v float64) predicate.CostReport

GPUCount applies equality check predicate on the "gpu_count" field. It's identical to GPUCountEQ.

func GPUCountEQ

func GPUCountEQ(v float64) predicate.CostReport

GPUCountEQ applies the EQ predicate on the "gpu_count" field.

func GPUCountGT

func GPUCountGT(v float64) predicate.CostReport

GPUCountGT applies the GT predicate on the "gpu_count" field.

func GPUCountGTE

func GPUCountGTE(v float64) predicate.CostReport

GPUCountGTE applies the GTE predicate on the "gpu_count" field.

func GPUCountIn

func GPUCountIn(vs ...float64) predicate.CostReport

GPUCountIn applies the In predicate on the "gpu_count" field.

func GPUCountLT

func GPUCountLT(v float64) predicate.CostReport

GPUCountLT applies the LT predicate on the "gpu_count" field.

func GPUCountLTE

func GPUCountLTE(v float64) predicate.CostReport

GPUCountLTE applies the LTE predicate on the "gpu_count" field.

func GPUCountNEQ

func GPUCountNEQ(v float64) predicate.CostReport

GPUCountNEQ applies the NEQ predicate on the "gpu_count" field.

func GPUCountNotIn

func GPUCountNotIn(vs ...float64) predicate.CostReport

GPUCountNotIn applies the NotIn predicate on the "gpu_count" field.

func HasConnector

func HasConnector() predicate.CostReport

HasConnector applies the HasEdge predicate on the "connector" edge.

func HasConnectorWith

func HasConnectorWith(preds ...predicate.Connector) predicate.CostReport

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

func ID

func ID(id int) predicate.CostReport

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.CostReport

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.CostReport

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.CostReport

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.CostReport

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.CostReport

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.CostReport

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func LoadBalancerCost

func LoadBalancerCost(v float64) predicate.CostReport

LoadBalancerCost applies equality check predicate on the "load_balancer_cost" field. It's identical to LoadBalancerCostEQ.

func LoadBalancerCostEQ

func LoadBalancerCostEQ(v float64) predicate.CostReport

LoadBalancerCostEQ applies the EQ predicate on the "load_balancer_cost" field.

func LoadBalancerCostGT

func LoadBalancerCostGT(v float64) predicate.CostReport

LoadBalancerCostGT applies the GT predicate on the "load_balancer_cost" field.

func LoadBalancerCostGTE

func LoadBalancerCostGTE(v float64) predicate.CostReport

LoadBalancerCostGTE applies the GTE predicate on the "load_balancer_cost" field.

func LoadBalancerCostIn

func LoadBalancerCostIn(vs ...float64) predicate.CostReport

LoadBalancerCostIn applies the In predicate on the "load_balancer_cost" field.

func LoadBalancerCostLT

func LoadBalancerCostLT(v float64) predicate.CostReport

LoadBalancerCostLT applies the LT predicate on the "load_balancer_cost" field.

func LoadBalancerCostLTE

func LoadBalancerCostLTE(v float64) predicate.CostReport

LoadBalancerCostLTE applies the LTE predicate on the "load_balancer_cost" field.

func LoadBalancerCostNEQ

func LoadBalancerCostNEQ(v float64) predicate.CostReport

LoadBalancerCostNEQ applies the NEQ predicate on the "load_balancer_cost" field.

func LoadBalancerCostNotIn

func LoadBalancerCostNotIn(vs ...float64) predicate.CostReport

LoadBalancerCostNotIn applies the NotIn predicate on the "load_balancer_cost" field.

func Minutes

func Minutes(v float64) predicate.CostReport

Minutes applies equality check predicate on the "minutes" field. It's identical to MinutesEQ.

func MinutesEQ

func MinutesEQ(v float64) predicate.CostReport

MinutesEQ applies the EQ predicate on the "minutes" field.

func MinutesGT

func MinutesGT(v float64) predicate.CostReport

MinutesGT applies the GT predicate on the "minutes" field.

func MinutesGTE

func MinutesGTE(v float64) predicate.CostReport

MinutesGTE applies the GTE predicate on the "minutes" field.

func MinutesIn

func MinutesIn(vs ...float64) predicate.CostReport

MinutesIn applies the In predicate on the "minutes" field.

func MinutesLT

func MinutesLT(v float64) predicate.CostReport

MinutesLT applies the LT predicate on the "minutes" field.

func MinutesLTE

func MinutesLTE(v float64) predicate.CostReport

MinutesLTE applies the LTE predicate on the "minutes" field.

func MinutesNEQ

func MinutesNEQ(v float64) predicate.CostReport

MinutesNEQ applies the NEQ predicate on the "minutes" field.

func MinutesNotIn

func MinutesNotIn(vs ...float64) predicate.CostReport

MinutesNotIn applies the NotIn predicate on the "minutes" field.

func Name

func Name(v string) predicate.CostReport

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.CostReport

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.CostReport

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.CostReport

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.CostReport

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.CostReport

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.CostReport

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.CostReport

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.CostReport

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.CostReport

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.CostReport

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.CostReport

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.CostReport

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.CostReport

NameNotIn applies the NotIn predicate on the "name" field.

func Namespace

func Namespace(v string) predicate.CostReport

Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.

func NamespaceContains

func NamespaceContains(v string) predicate.CostReport

NamespaceContains applies the Contains predicate on the "namespace" field.

func NamespaceContainsFold

func NamespaceContainsFold(v string) predicate.CostReport

NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.

func NamespaceEQ

func NamespaceEQ(v string) predicate.CostReport

NamespaceEQ applies the EQ predicate on the "namespace" field.

func NamespaceEqualFold

func NamespaceEqualFold(v string) predicate.CostReport

NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.

func NamespaceGT

func NamespaceGT(v string) predicate.CostReport

NamespaceGT applies the GT predicate on the "namespace" field.

func NamespaceGTE

func NamespaceGTE(v string) predicate.CostReport

NamespaceGTE applies the GTE predicate on the "namespace" field.

func NamespaceHasPrefix

func NamespaceHasPrefix(v string) predicate.CostReport

NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.

func NamespaceHasSuffix

func NamespaceHasSuffix(v string) predicate.CostReport

NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.

func NamespaceIn

func NamespaceIn(vs ...string) predicate.CostReport

NamespaceIn applies the In predicate on the "namespace" field.

func NamespaceIsNil

func NamespaceIsNil() predicate.CostReport

NamespaceIsNil applies the IsNil predicate on the "namespace" field.

func NamespaceLT

func NamespaceLT(v string) predicate.CostReport

NamespaceLT applies the LT predicate on the "namespace" field.

func NamespaceLTE

func NamespaceLTE(v string) predicate.CostReport

NamespaceLTE applies the LTE predicate on the "namespace" field.

func NamespaceNEQ

func NamespaceNEQ(v string) predicate.CostReport

NamespaceNEQ applies the NEQ predicate on the "namespace" field.

func NamespaceNotIn

func NamespaceNotIn(vs ...string) predicate.CostReport

NamespaceNotIn applies the NotIn predicate on the "namespace" field.

func NamespaceNotNil

func NamespaceNotNil() predicate.CostReport

NamespaceNotNil applies the NotNil predicate on the "namespace" field.

func Node

func Node(v string) predicate.CostReport

Node applies equality check predicate on the "node" field. It's identical to NodeEQ.

func NodeContains

func NodeContains(v string) predicate.CostReport

NodeContains applies the Contains predicate on the "node" field.

func NodeContainsFold

func NodeContainsFold(v string) predicate.CostReport

NodeContainsFold applies the ContainsFold predicate on the "node" field.

func NodeEQ

func NodeEQ(v string) predicate.CostReport

NodeEQ applies the EQ predicate on the "node" field.

func NodeEqualFold

func NodeEqualFold(v string) predicate.CostReport

NodeEqualFold applies the EqualFold predicate on the "node" field.

func NodeGT

func NodeGT(v string) predicate.CostReport

NodeGT applies the GT predicate on the "node" field.

func NodeGTE

func NodeGTE(v string) predicate.CostReport

NodeGTE applies the GTE predicate on the "node" field.

func NodeHasPrefix

func NodeHasPrefix(v string) predicate.CostReport

NodeHasPrefix applies the HasPrefix predicate on the "node" field.

func NodeHasSuffix

func NodeHasSuffix(v string) predicate.CostReport

NodeHasSuffix applies the HasSuffix predicate on the "node" field.

func NodeIn

func NodeIn(vs ...string) predicate.CostReport

NodeIn applies the In predicate on the "node" field.

func NodeIsNil

func NodeIsNil() predicate.CostReport

NodeIsNil applies the IsNil predicate on the "node" field.

func NodeLT

func NodeLT(v string) predicate.CostReport

NodeLT applies the LT predicate on the "node" field.

func NodeLTE

func NodeLTE(v string) predicate.CostReport

NodeLTE applies the LTE predicate on the "node" field.

func NodeNEQ

func NodeNEQ(v string) predicate.CostReport

NodeNEQ applies the NEQ predicate on the "node" field.

func NodeNotIn

func NodeNotIn(vs ...string) predicate.CostReport

NodeNotIn applies the NotIn predicate on the "node" field.

func NodeNotNil

func NodeNotNil() predicate.CostReport

NodeNotNil applies the NotNil predicate on the "node" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.CostReport) predicate.CostReport

Or groups predicates with the OR operator between them.

func PVBytes

func PVBytes(v float64) predicate.CostReport

PVBytes applies equality check predicate on the "pv_bytes" field. It's identical to PVBytesEQ.

func PVBytesEQ

func PVBytesEQ(v float64) predicate.CostReport

PVBytesEQ applies the EQ predicate on the "pv_bytes" field.

func PVBytesGT

func PVBytesGT(v float64) predicate.CostReport

PVBytesGT applies the GT predicate on the "pv_bytes" field.

func PVBytesGTE

func PVBytesGTE(v float64) predicate.CostReport

PVBytesGTE applies the GTE predicate on the "pv_bytes" field.

func PVBytesIn

func PVBytesIn(vs ...float64) predicate.CostReport

PVBytesIn applies the In predicate on the "pv_bytes" field.

func PVBytesLT

func PVBytesLT(v float64) predicate.CostReport

PVBytesLT applies the LT predicate on the "pv_bytes" field.

func PVBytesLTE

func PVBytesLTE(v float64) predicate.CostReport

PVBytesLTE applies the LTE predicate on the "pv_bytes" field.

func PVBytesNEQ

func PVBytesNEQ(v float64) predicate.CostReport

PVBytesNEQ applies the NEQ predicate on the "pv_bytes" field.

func PVBytesNotIn

func PVBytesNotIn(vs ...float64) predicate.CostReport

PVBytesNotIn applies the NotIn predicate on the "pv_bytes" field.

func PVCost

func PVCost(v float64) predicate.CostReport

PVCost applies equality check predicate on the "pv_cost" field. It's identical to PVCostEQ.

func PVCostEQ

func PVCostEQ(v float64) predicate.CostReport

PVCostEQ applies the EQ predicate on the "pv_cost" field.

func PVCostGT

func PVCostGT(v float64) predicate.CostReport

PVCostGT applies the GT predicate on the "pv_cost" field.

func PVCostGTE

func PVCostGTE(v float64) predicate.CostReport

PVCostGTE applies the GTE predicate on the "pv_cost" field.

func PVCostIn

func PVCostIn(vs ...float64) predicate.CostReport

PVCostIn applies the In predicate on the "pv_cost" field.

func PVCostLT

func PVCostLT(v float64) predicate.CostReport

PVCostLT applies the LT predicate on the "pv_cost" field.

func PVCostLTE

func PVCostLTE(v float64) predicate.CostReport

PVCostLTE applies the LTE predicate on the "pv_cost" field.

func PVCostNEQ

func PVCostNEQ(v float64) predicate.CostReport

PVCostNEQ applies the NEQ predicate on the "pv_cost" field.

func PVCostNotIn

func PVCostNotIn(vs ...float64) predicate.CostReport

PVCostNotIn applies the NotIn predicate on the "pv_cost" field.

func Pod

Pod applies equality check predicate on the "pod" field. It's identical to PodEQ.

func PodContains

func PodContains(v string) predicate.CostReport

PodContains applies the Contains predicate on the "pod" field.

func PodContainsFold

func PodContainsFold(v string) predicate.CostReport

PodContainsFold applies the ContainsFold predicate on the "pod" field.

func PodEQ

func PodEQ(v string) predicate.CostReport

PodEQ applies the EQ predicate on the "pod" field.

func PodEqualFold

func PodEqualFold(v string) predicate.CostReport

PodEqualFold applies the EqualFold predicate on the "pod" field.

func PodGT

func PodGT(v string) predicate.CostReport

PodGT applies the GT predicate on the "pod" field.

func PodGTE

func PodGTE(v string) predicate.CostReport

PodGTE applies the GTE predicate on the "pod" field.

func PodHasPrefix

func PodHasPrefix(v string) predicate.CostReport

PodHasPrefix applies the HasPrefix predicate on the "pod" field.

func PodHasSuffix

func PodHasSuffix(v string) predicate.CostReport

PodHasSuffix applies the HasSuffix predicate on the "pod" field.

func PodIn

func PodIn(vs ...string) predicate.CostReport

PodIn applies the In predicate on the "pod" field.

func PodIsNil

func PodIsNil() predicate.CostReport

PodIsNil applies the IsNil predicate on the "pod" field.

func PodLT

func PodLT(v string) predicate.CostReport

PodLT applies the LT predicate on the "pod" field.

func PodLTE

func PodLTE(v string) predicate.CostReport

PodLTE applies the LTE predicate on the "pod" field.

func PodNEQ

func PodNEQ(v string) predicate.CostReport

PodNEQ applies the NEQ predicate on the "pod" field.

func PodNotIn

func PodNotIn(vs ...string) predicate.CostReport

PodNotIn applies the NotIn predicate on the "pod" field.

func PodNotNil

func PodNotNil() predicate.CostReport

PodNotNil applies the NotNil predicate on the "pod" field.

func RAMByteRequest

func RAMByteRequest(v float64) predicate.CostReport

RAMByteRequest applies equality check predicate on the "ram_byte_request" field. It's identical to RAMByteRequestEQ.

func RAMByteRequestEQ

func RAMByteRequestEQ(v float64) predicate.CostReport

RAMByteRequestEQ applies the EQ predicate on the "ram_byte_request" field.

func RAMByteRequestGT

func RAMByteRequestGT(v float64) predicate.CostReport

RAMByteRequestGT applies the GT predicate on the "ram_byte_request" field.

func RAMByteRequestGTE

func RAMByteRequestGTE(v float64) predicate.CostReport

RAMByteRequestGTE applies the GTE predicate on the "ram_byte_request" field.

func RAMByteRequestIn

func RAMByteRequestIn(vs ...float64) predicate.CostReport

RAMByteRequestIn applies the In predicate on the "ram_byte_request" field.

func RAMByteRequestLT

func RAMByteRequestLT(v float64) predicate.CostReport

RAMByteRequestLT applies the LT predicate on the "ram_byte_request" field.

func RAMByteRequestLTE

func RAMByteRequestLTE(v float64) predicate.CostReport

RAMByteRequestLTE applies the LTE predicate on the "ram_byte_request" field.

func RAMByteRequestNEQ

func RAMByteRequestNEQ(v float64) predicate.CostReport

RAMByteRequestNEQ applies the NEQ predicate on the "ram_byte_request" field.

func RAMByteRequestNotIn

func RAMByteRequestNotIn(vs ...float64) predicate.CostReport

RAMByteRequestNotIn applies the NotIn predicate on the "ram_byte_request" field.

func RAMByteUsageAverage

func RAMByteUsageAverage(v float64) predicate.CostReport

RAMByteUsageAverage applies equality check predicate on the "ram_byte_usage_average" field. It's identical to RAMByteUsageAverageEQ.

func RAMByteUsageAverageEQ

func RAMByteUsageAverageEQ(v float64) predicate.CostReport

RAMByteUsageAverageEQ applies the EQ predicate on the "ram_byte_usage_average" field.

func RAMByteUsageAverageGT

func RAMByteUsageAverageGT(v float64) predicate.CostReport

RAMByteUsageAverageGT applies the GT predicate on the "ram_byte_usage_average" field.

func RAMByteUsageAverageGTE

func RAMByteUsageAverageGTE(v float64) predicate.CostReport

RAMByteUsageAverageGTE applies the GTE predicate on the "ram_byte_usage_average" field.

func RAMByteUsageAverageIn

func RAMByteUsageAverageIn(vs ...float64) predicate.CostReport

RAMByteUsageAverageIn applies the In predicate on the "ram_byte_usage_average" field.

func RAMByteUsageAverageLT

func RAMByteUsageAverageLT(v float64) predicate.CostReport

RAMByteUsageAverageLT applies the LT predicate on the "ram_byte_usage_average" field.

func RAMByteUsageAverageLTE

func RAMByteUsageAverageLTE(v float64) predicate.CostReport

RAMByteUsageAverageLTE applies the LTE predicate on the "ram_byte_usage_average" field.

func RAMByteUsageAverageNEQ

func RAMByteUsageAverageNEQ(v float64) predicate.CostReport

RAMByteUsageAverageNEQ applies the NEQ predicate on the "ram_byte_usage_average" field.

func RAMByteUsageAverageNotIn

func RAMByteUsageAverageNotIn(vs ...float64) predicate.CostReport

RAMByteUsageAverageNotIn applies the NotIn predicate on the "ram_byte_usage_average" field.

func RAMByteUsageMax

func RAMByteUsageMax(v float64) predicate.CostReport

RAMByteUsageMax applies equality check predicate on the "ram_byte_usage_max" field. It's identical to RAMByteUsageMaxEQ.

func RAMByteUsageMaxEQ

func RAMByteUsageMaxEQ(v float64) predicate.CostReport

RAMByteUsageMaxEQ applies the EQ predicate on the "ram_byte_usage_max" field.

func RAMByteUsageMaxGT

func RAMByteUsageMaxGT(v float64) predicate.CostReport

RAMByteUsageMaxGT applies the GT predicate on the "ram_byte_usage_max" field.

func RAMByteUsageMaxGTE

func RAMByteUsageMaxGTE(v float64) predicate.CostReport

RAMByteUsageMaxGTE applies the GTE predicate on the "ram_byte_usage_max" field.

func RAMByteUsageMaxIn

func RAMByteUsageMaxIn(vs ...float64) predicate.CostReport

RAMByteUsageMaxIn applies the In predicate on the "ram_byte_usage_max" field.

func RAMByteUsageMaxLT

func RAMByteUsageMaxLT(v float64) predicate.CostReport

RAMByteUsageMaxLT applies the LT predicate on the "ram_byte_usage_max" field.

func RAMByteUsageMaxLTE

func RAMByteUsageMaxLTE(v float64) predicate.CostReport

RAMByteUsageMaxLTE applies the LTE predicate on the "ram_byte_usage_max" field.

func RAMByteUsageMaxNEQ

func RAMByteUsageMaxNEQ(v float64) predicate.CostReport

RAMByteUsageMaxNEQ applies the NEQ predicate on the "ram_byte_usage_max" field.

func RAMByteUsageMaxNotIn

func RAMByteUsageMaxNotIn(vs ...float64) predicate.CostReport

RAMByteUsageMaxNotIn applies the NotIn predicate on the "ram_byte_usage_max" field.

func RAMCost

func RAMCost(v float64) predicate.CostReport

RAMCost applies equality check predicate on the "ram_cost" field. It's identical to RAMCostEQ.

func RAMCostEQ

func RAMCostEQ(v float64) predicate.CostReport

RAMCostEQ applies the EQ predicate on the "ram_cost" field.

func RAMCostGT

func RAMCostGT(v float64) predicate.CostReport

RAMCostGT applies the GT predicate on the "ram_cost" field.

func RAMCostGTE

func RAMCostGTE(v float64) predicate.CostReport

RAMCostGTE applies the GTE predicate on the "ram_cost" field.

func RAMCostIn

func RAMCostIn(vs ...float64) predicate.CostReport

RAMCostIn applies the In predicate on the "ram_cost" field.

func RAMCostLT

func RAMCostLT(v float64) predicate.CostReport

RAMCostLT applies the LT predicate on the "ram_cost" field.

func RAMCostLTE

func RAMCostLTE(v float64) predicate.CostReport

RAMCostLTE applies the LTE predicate on the "ram_cost" field.

func RAMCostNEQ

func RAMCostNEQ(v float64) predicate.CostReport

RAMCostNEQ applies the NEQ predicate on the "ram_cost" field.

func RAMCostNotIn

func RAMCostNotIn(vs ...float64) predicate.CostReport

RAMCostNotIn applies the NotIn predicate on the "ram_cost" field.

func StartTime

func StartTime(v time.Time) predicate.CostReport

StartTime applies equality check predicate on the "start_time" field. It's identical to StartTimeEQ.

func StartTimeEQ

func StartTimeEQ(v time.Time) predicate.CostReport

StartTimeEQ applies the EQ predicate on the "start_time" field.

func StartTimeGT

func StartTimeGT(v time.Time) predicate.CostReport

StartTimeGT applies the GT predicate on the "start_time" field.

func StartTimeGTE

func StartTimeGTE(v time.Time) predicate.CostReport

StartTimeGTE applies the GTE predicate on the "start_time" field.

func StartTimeIn

func StartTimeIn(vs ...time.Time) predicate.CostReport

StartTimeIn applies the In predicate on the "start_time" field.

func StartTimeLT

func StartTimeLT(v time.Time) predicate.CostReport

StartTimeLT applies the LT predicate on the "start_time" field.

func StartTimeLTE

func StartTimeLTE(v time.Time) predicate.CostReport

StartTimeLTE applies the LTE predicate on the "start_time" field.

func StartTimeNEQ

func StartTimeNEQ(v time.Time) predicate.CostReport

StartTimeNEQ applies the NEQ predicate on the "start_time" field.

func StartTimeNotIn

func StartTimeNotIn(vs ...time.Time) predicate.CostReport

StartTimeNotIn applies the NotIn predicate on the "start_time" field.

func TotalCost

func TotalCost(v float64) predicate.CostReport

TotalCost applies equality check predicate on the "totalCost" field. It's identical to TotalCostEQ.

func TotalCostEQ

func TotalCostEQ(v float64) predicate.CostReport

TotalCostEQ applies the EQ predicate on the "totalCost" field.

func TotalCostGT

func TotalCostGT(v float64) predicate.CostReport

TotalCostGT applies the GT predicate on the "totalCost" field.

func TotalCostGTE

func TotalCostGTE(v float64) predicate.CostReport

TotalCostGTE applies the GTE predicate on the "totalCost" field.

func TotalCostIn

func TotalCostIn(vs ...float64) predicate.CostReport

TotalCostIn applies the In predicate on the "totalCost" field.

func TotalCostLT

func TotalCostLT(v float64) predicate.CostReport

TotalCostLT applies the LT predicate on the "totalCost" field.

func TotalCostLTE

func TotalCostLTE(v float64) predicate.CostReport

TotalCostLTE applies the LTE predicate on the "totalCost" field.

func TotalCostNEQ

func TotalCostNEQ(v float64) predicate.CostReport

TotalCostNEQ applies the NEQ predicate on the "totalCost" field.

func TotalCostNotIn

func TotalCostNotIn(vs ...float64) predicate.CostReport

TotalCostNotIn applies the NotIn predicate on the "totalCost" field.

func ValidColumn

func ValidColumn(column string) bool

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

func WithoutFields

func WithoutFields(ignores ...string) []string

WithoutFields returns the fields ignored the given list.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the CostReport queries.

func ByCPUCoreRequest

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

ByCPUCoreRequest orders the results by the cpu_core_request field.

func ByCPUCoreUsageAverage

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

ByCPUCoreUsageAverage orders the results by the cpu_core_usage_average field.

func ByCPUCoreUsageMax

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

ByCPUCoreUsageMax orders the results by the cpu_core_usage_max field.

func ByCPUCost

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

ByCPUCost orders the results by the cpu_cost field.

func ByClusterName

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

ByClusterName orders the results by the cluster_name field.

func ByConnectorField

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

ByConnectorField orders the results by connector field.

func ByConnectorID

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

ByConnectorID orders the results by the connector_id field.

func ByContainer

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

ByContainer orders the results by the container field.

func ByController

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

ByController orders the results by the controller field.

func ByControllerKind

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

ByControllerKind orders the results by the controller_kind field.

func ByCurrency

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

ByCurrency orders the results by the currency field.

func ByEndTime

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

ByEndTime orders the results by the end_time field.

func ByFingerprint

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

ByFingerprint orders the results by the fingerprint field.

func ByGPUCost

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

ByGPUCost orders the results by the gpu_cost field.

func ByGPUCount

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

ByGPUCount orders the results by the gpu_count field.

func ByID

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

ByID orders the results by the id field.

func ByLoadBalancerCost

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

ByLoadBalancerCost orders the results by the load_balancer_cost field.

func ByMinutes

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

ByMinutes orders the results by the minutes field.

func ByName

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

ByName orders the results by the name field.

func ByNamespace

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

ByNamespace orders the results by the namespace field.

func ByNode

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

ByNode orders the results by the node field.

func ByPVBytes

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

ByPVBytes orders the results by the pv_bytes field.

func ByPVCost

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

ByPVCost orders the results by the pv_cost field.

func ByPod

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

ByPod orders the results by the pod field.

func ByRAMByteRequest

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

ByRAMByteRequest orders the results by the ram_byte_request field.

func ByRAMByteUsageAverage

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

ByRAMByteUsageAverage orders the results by the ram_byte_usage_average field.

func ByRAMByteUsageMax

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

ByRAMByteUsageMax orders the results by the ram_byte_usage_max field.

func ByRAMCost

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

ByRAMCost orders the results by the ram_cost field.

func ByStartTime

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

ByStartTime orders the results by the start_time field.

func ByTotalCost

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

ByTotalCost orders the results by the totalCost field.

Jump to

Keyboard shortcuts

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