kubernetes: k8s.io/kubernetes/test/images/resource-consumer/common Index | Files

package common

import "k8s.io/kubernetes/test/images/resource-consumer/common"

Index

Package Files

common.go

Constants

const (
    ConsumeCPUAddress       = "/ConsumeCPU"
    ConsumeMemAddress       = "/ConsumeMem"
    BumpMetricAddress       = "/BumpMetric"
    GetCurrentStatusAddress = "/GetCurrentStatus"
    MetricsAddress          = "/metrics"

    MillicoresQuery              = "millicores"
    MegabytesQuery               = "megabytes"
    MetricNameQuery              = "metric"
    DeltaQuery                   = "delta"
    DurationSecQuery             = "durationSec"
    RequestSizeInMillicoresQuery = "requestSizeMillicores"
    RequestSizeInMegabytesQuery  = "requestSizeMegabytes"
    RequestSizeCustomMetricQuery = "requestSizeMetrics"

    BadRequest                = "Bad request. Not a POST request"
    UnknownFunction           = "unknown function"
    IncorrectFunctionArgument = "incorrect function argument"
    NotGivenFunctionArgument  = "not given function argument"

    FrameworkName = "horizontal-pod-autoscaling"
)

Constants related to Prometheus metrics.

Package common is imported by 4 packages. Updated 2019-04-15. Refresh now. Tools for package owners.