Documentation ¶
Index ¶
- Constants
- func ReserveMemory(f *framework.Framework, id string, replicas, megabytes int, expectRunning bool, ...) func() error
- func SIGDescribe(text string, body func()) bool
- func WaitForClusterSizeFunc(c clientset.Interface, sizeFunc func(int) bool, timeout time.Duration) error
- func WaitForClusterSizeFuncWithUnready(c clientset.Interface, sizeFunc func(int) bool, timeout time.Duration, ...) error
- type CriticalAddonsOnlyError
- type DNSParamsLinear
- type HPAScaleTest
Constants ¶
View Source
const ( DNSdefaultTimeout = 5 * time.Minute ClusterAddonLabelKey = "k8s-app" DNSLabelName = "kube-dns" DNSAutoscalerLabelName = "kube-dns-autoscaler" )
Variables ¶
This section is empty.
Functions ¶
func ReserveMemory ¶
func ReserveMemory(f *framework.Framework, id string, replicas, megabytes int, expectRunning bool, timeout time.Duration) func() error
ReserveMemory creates a replication controller with pods that, in summation, request the specified amount of memory.
func SIGDescribe ¶
Types ¶
type CriticalAddonsOnlyError ¶
type CriticalAddonsOnlyError struct{}
CriticalAddonsOnlyError implements the `error` interface, and signifies the presence of the `CriticalAddonsOnly` taint on the node.
func (CriticalAddonsOnlyError) Error ¶
func (CriticalAddonsOnlyError) Error() string
type DNSParamsLinear ¶
type DNSParamsLinear struct {
// contains filtered or unexported fields
}
type HPAScaleTest ¶
type HPAScaleTest struct {
// contains filtered or unexported fields
}
HPAScaleTest struct is used by the scale(...) function.
Click to show internal directories.
Click to hide internal directories.