Documentation ¶
Index ¶
- Constants
- func NodeForTest() *v1.Node
- func PodForTest() *v1.Pod
- func PodForTestWithAffinity() *v1.Pod
- func PodForTestWithConfigmap() *v1.Pod
- func PodForTestWithNodeSelector() *v1.Pod
- func PodForTestWithNodeSelectorAndAffinityClusterID() *v1.Pod
- func PodForTestWithNodeSelectorClusterID() *v1.Pod
- func PodForTestWithOtherTolerations() *v1.Pod
- func PodForTestWithPVC() *v1.Pod
- func PodForTestWithSecret() *v1.Pod
- func PodForTestWithSystemTolerations() *v1.Pod
Constants ¶
const ( // TaintNodeNotReady is not ready taint TaintNodeNotReady = "node.kubernetes.io/not-ready" // TaintNodeUnreachable is unreachable taint TaintNodeUnreachable = "node.kubernetes.io/unreachable" )
Variables ¶
This section is empty.
Functions ¶
func PodForTestWithAffinity ¶
PodForTestWithAffinity return a basic pod for test with Affinity
func PodForTestWithConfigmap ¶
PodForTestWithConfigmap return a basic pod for test with configmap
func PodForTestWithNodeSelector ¶
PodForTestWithNodeSelector return a basic pod for test with node selector
func PodForTestWithNodeSelectorAndAffinityClusterID ¶
PodForTestWithNodeSelectorAndAffinityClusterID return a basic pod for test with NodeSelectorClusterID
func PodForTestWithNodeSelectorClusterID ¶
PodForTestWithNodeSelectorClusterID return a basic pod for test with NodeSelectorClusterID
func PodForTestWithOtherTolerations ¶
PodForTestWithOtherTolerations return a basic pod for test with other Tolerations
func PodForTestWithPVC ¶
PodForTestWithPVC return a basic pod for test with PVC
func PodForTestWithSecret ¶
PodForTestWithSecret return a basic pod for test with secret
func PodForTestWithSystemTolerations ¶
PodForTestWithSystemTolerations return a basic pod for test with system Tolerations
Types ¶
This section is empty.