Documentation ¶
Index ¶
- Variables
- type CreateGpuPredictionsRequestExtended
- type CreateNodeMetricsRequestExtended
- type CreateNodePredictionsRequestExtended
- type CreatePodMetricsRequestExtended
- type CreatePodPredictionsRequestExtended
- type ListNodeMetricsRequestExtended
- type ListNodePredictionsRequestExtended
- type ListPodMetricsRequestExtended
- type ListPodPredictionsRequestExtended
- type ListSimulatedSchedulingScoresRequestExtended
- type QueryConditionExtend
Constants ¶
This section is empty.
Variables ¶
View Source
var MetricTypeNameMap = map[ApiCommon.MetricType]FormatEnum.MetricType{ ApiCommon.MetricType_CPU_USAGE_SECONDS_PERCENTAGE: FormatEnum.MetricTypeCPUUsageSecondsPercentage, ApiCommon.MetricType_MEMORY_USAGE_BYTES: FormatEnum.MetricTypeMemoryUsageBytes, ApiCommon.MetricType_POWER_USAGE_WATTS: FormatEnum.MetricTypePowerUsageWatts, ApiCommon.MetricType_TEMPERATURE_CELSIUS: FormatEnum.MetricTypeTemperatureCelsius, ApiCommon.MetricType_DUTY_CYCLE: FormatEnum.MetricTypeDutyCycle, }
Functions ¶
This section is empty.
Types ¶
type CreateGpuPredictionsRequestExtended ¶
type CreateGpuPredictionsRequestExtended struct {
ApiGpu.CreateGpuPredictionsRequest
}
func (*CreateGpuPredictionsRequestExtended) ProducePredictions ¶
func (r *CreateGpuPredictionsRequestExtended) ProducePredictions() DaoGpu.GpuPredictionMap
func (*CreateGpuPredictionsRequestExtended) Validate ¶
func (r *CreateGpuPredictionsRequestExtended) Validate() error
type CreateNodeMetricsRequestExtended ¶
type CreateNodeMetricsRequestExtended struct {
ApiMetrics.CreateNodeMetricsRequest
}
func (*CreateNodeMetricsRequestExtended) ProduceMetrics ¶
func (r *CreateNodeMetricsRequestExtended) ProduceMetrics() DaoMetricTypes.NodeMetricMap
func (*CreateNodeMetricsRequestExtended) Validate ¶
func (r *CreateNodeMetricsRequestExtended) Validate() error
type CreateNodePredictionsRequestExtended ¶
type CreateNodePredictionsRequestExtended struct {
ApiPredictions.CreateNodePredictionsRequest
}
func (*CreateNodePredictionsRequestExtended) ProducePredictions ¶
func (r *CreateNodePredictionsRequestExtended) ProducePredictions() DaoPredictionTypes.NodePredictionMap
func (*CreateNodePredictionsRequestExtended) Validate ¶
func (r *CreateNodePredictionsRequestExtended) Validate() error
type CreatePodMetricsRequestExtended ¶
type CreatePodMetricsRequestExtended struct {
ApiMetrics.CreatePodMetricsRequest
}
func (*CreatePodMetricsRequestExtended) ProduceMetrics ¶
func (r *CreatePodMetricsRequestExtended) ProduceMetrics() DaoMetricTypes.PodMetricMap
func (*CreatePodMetricsRequestExtended) Validate ¶
func (r *CreatePodMetricsRequestExtended) Validate() error
type CreatePodPredictionsRequestExtended ¶
type CreatePodPredictionsRequestExtended struct {
ApiPredictions.CreatePodPredictionsRequest
}
func (*CreatePodPredictionsRequestExtended) ProducePredictions ¶
func (r *CreatePodPredictionsRequestExtended) ProducePredictions() DaoPredictionTypes.PodPredictionMap
func (*CreatePodPredictionsRequestExtended) Validate ¶
func (r *CreatePodPredictionsRequestExtended) Validate() error
type ListNodeMetricsRequestExtended ¶
type ListNodeMetricsRequestExtended struct {
Request *ApiMetrics.ListNodeMetricsRequest
}
func (*ListNodeMetricsRequestExtended) ProduceRequest ¶
func (r *ListNodeMetricsRequestExtended) ProduceRequest() DaoMetricTypes.ListNodeMetricsRequest
func (*ListNodeMetricsRequestExtended) Validate ¶
func (r *ListNodeMetricsRequestExtended) Validate() error
type ListNodePredictionsRequestExtended ¶
type ListNodePredictionsRequestExtended struct {
Request *ApiPredictions.ListNodePredictionsRequest
}
func (*ListNodePredictionsRequestExtended) ProduceRequest ¶
func (r *ListNodePredictionsRequestExtended) ProduceRequest() DaoPredictionTypes.ListNodePredictionsRequest
func (*ListNodePredictionsRequestExtended) Validate ¶
func (r *ListNodePredictionsRequestExtended) Validate() error
type ListPodMetricsRequestExtended ¶
type ListPodMetricsRequestExtended struct {
Request *ApiMetrics.ListPodMetricsRequest
}
func (*ListPodMetricsRequestExtended) ProduceRequest ¶
func (r *ListPodMetricsRequestExtended) ProduceRequest() DaoMetricTypes.ListPodMetricsRequest
func (*ListPodMetricsRequestExtended) Validate ¶
func (r *ListPodMetricsRequestExtended) Validate() error
type ListPodPredictionsRequestExtended ¶
type ListPodPredictionsRequestExtended struct {
Request *ApiPredictions.ListPodPredictionsRequest
}
func (*ListPodPredictionsRequestExtended) ProduceRequest ¶
func (r *ListPodPredictionsRequestExtended) ProduceRequest() DaoPredictionTypes.ListPodPredictionsRequest
func (*ListPodPredictionsRequestExtended) Validate ¶
func (r *ListPodPredictionsRequestExtended) Validate() error
type ListSimulatedSchedulingScoresRequestExtended ¶
type ListSimulatedSchedulingScoresRequestExtended struct {
Request *ApiScores.ListSimulatedSchedulingScoresRequest
}
func (*ListSimulatedSchedulingScoresRequestExtended) ProduceRequest ¶
func (r *ListSimulatedSchedulingScoresRequestExtended) ProduceRequest() DaoScoreTypes.ListRequest
type QueryConditionExtend ¶
type QueryConditionExtend struct {
Condition *ApiCommon.QueryCondition
}
func (QueryConditionExtend) QueryCondition ¶
func (d QueryConditionExtend) QueryCondition() DBCommon.QueryCondition
Click to show internal directories.
Click to hide internal directories.