Documentation ¶
Index ¶
- func BuildTestNode(name string, millicpu int64, mem int64, pods int64) *v1.Node
- func BuildTestPod(name string, cpu int64, memory int64, nodeName string) *v1.Pod
- func GetCriticalPodAnnotation() map[string]string
- func GetDaemonSetAnnotation() map[string]string
- func GetMirrorPodAnnotation() map[string]string
- func GetNormalPodAnnotation() map[string]string
- func GetReplicaSetAnnotation() map[string]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildTestNode ¶
BuildTestNode creates a node with specified capacity.
func BuildTestPod ¶
TODO:@ravisantoshgudimetla. As of now building some test pods here. This needs to move to utils after refactor. buildTestPod creates a test pod with given parameters.
func GetCriticalPodAnnotation ¶
GetCriticalPodAnnotation returns the annotation needed for critical pod.
func GetDaemonSetAnnotation ¶
GetDaemonSetAnnotation returns the annotation needed for daemonset pod.
func GetMirrorPodAnnotation ¶
GetMirrorPodAnnotation returns the annotation needed for mirror pod.
func GetNormalPodAnnotation ¶
GetNormalPodAnnotation returns the annotation needed for a pod.
func GetReplicaSetAnnotation ¶
GetReplicaSetAnnotation returns the annotation needed for replicaset pod.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.