Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MetricTypeNameMap = map[schemas.MetricType]common.MetricType{ schemas.MetricTypeUndefined: common.MetricType_METRICS_TYPE_UNDEFINED, schemas.CPUUsageSecondsPercentage: common.MetricType_CPU_USAGE_SECONDS_PERCENTAGE, schemas.MemoryUsageBytes: common.MetricType_MEMORY_USAGE_BYTES, schemas.PowerUsageWatts: common.MetricType_POWER_USAGE_WATTS, schemas.TemperatureCelsius: common.MetricType_TEMPERATURE_CELSIUS, schemas.DutyCycle: common.MetricType_DUTY_CYCLE, schemas.CurrentOffset: common.MetricType_CURRENT_OFFSET, schemas.Lag: common.MetricType_LAG, schemas.Latency: common.MetricType_LATENCY, schemas.Number: common.MetricType_NUMBER, schemas.CPUCores: common.MetricType_CPU_CORES, }
View Source
var QueryConditionFunctionNameMap = map[DBCommon.FunctionType]common.FunctionType{ DBCommon.NoneFunction: common.FunctionType_FUNCTIONTYPE_UNDEFINED, DBCommon.FunctionCount: common.FunctionType_FUNCTIONTYPE_COUNT, DBCommon.FuncDistinct: common.FunctionType_FUNCTIONTYPE_DISTINCT, DBCommon.FuncIntegral: common.FunctionType_FUNCTIONTYPE_INTEGRAL, DBCommon.FunctionMean: common.FunctionType_FUNCTIONTYPE_MEAN, DBCommon.FunctionMedian: common.FunctionType_FUNCTIONTYPE_MEDIAN, DBCommon.FunctionMode: common.FunctionType_FUNCTIONTYPE_MODE, DBCommon.FunctionSpread: common.FunctionType_FUNCTIONTYPE_SPREAD, DBCommon.FunctionStddev: common.FunctionType_FUNCTIONTYPE_STDDEV, DBCommon.FunctionSum: common.FunctionType_FUNCTIONTYPE_SUM, DBCommon.FunctionBottom: common.FunctionType_FUNCTIONTYPE_BOTTOM, DBCommon.FunctionFirst: common.FunctionType_FUNCTIONTYPE_FIRST, DBCommon.FunctionLast: common.FunctionType_FUNCTIONTYPE_LAST, DBCommon.FunctionMax: common.FunctionType_FUNCTIONTYPE_MAX, DBCommon.FunctionMin: common.FunctionType_FUNCTIONTYPE_MIN, DBCommon.FunctionPercentile: common.FunctionType_FUNCTIONTYPE_PERCENTILE, DBCommon.FunctionSample: common.FunctionType_FUNCTIONTYPE_SAMPLE, DBCommon.FunctionTop: common.FunctionType_FUNCTIONTYPE_TOP, DBCommon.FuncDerivative: common.FunctionType_FUNCTIONTYPE_DERIVATIVE, }
View Source
var QueryConditionOrderNameMap = map[DBCommon.Order]common.QueryCondition_Order{ DBCommon.NoneOrder: common.QueryCondition_NONE, DBCommon.Asc: common.QueryCondition_ASC, DBCommon.Desc: common.QueryCondition_DESC, }
View Source
var ResourceBoundaryNameMap = map[schemas.ResourceBoundary]common.ResourceBoundary{ schemas.ResourceBoundaryUndefined: common.ResourceBoundary_RESOURCE_BOUNDARY_UNDEFINED, schemas.ResourceRaw: common.ResourceBoundary_RESOURCE_RAW, schemas.ResourceUpperBound: common.ResourceBoundary_RESOURCE_UPPER_BOUND, schemas.ResourceLowerBound: common.ResourceBoundary_RESOURCE_LOWER_BOUND, }
View Source
var ResourceQuotaNameMap = map[schemas.ResourceQuota]common.ResourceQuota{ schemas.ResourceQuotaUndefined: common.ResourceQuota_RESOURCE_QUOTA_UNDEFINED, schemas.ResourceLimit: common.ResourceQuota_RESOURCE_LIMIT, schemas.ResourceRequest: common.ResourceQuota_RESOURCE_REQUEST, schemas.ResourceInitialLimit: common.ResourceQuota_RESOURCE_INITIAL_LIMIT, schemas.ResourceInitialRequest: common.ResourceQuota_RESOURCE_INITIAL_REQUEST, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.