Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CurlPodExecOpt = kubectl.PodExecOptions{ Name: "curl", Namespace: "curl", Container: "curl", } CurlPod = &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "curl", Namespace: "curl", }, } CurlPodManifest = filepath.Join(util.MustGetThisDir(), "testdata", "curl_pod.yaml") CurlPodLabelSelector = "app.kubernetes.io/name=curl" HttpEchoPod = &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "http-echo", Namespace: "http-echo", }, } HttpEchoPodManifest = filepath.Join(util.MustGetThisDir(), "testdata", "http_echo.yaml") TcpEchoPod = &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "tcp-echo", Namespace: "tcp-echo", }, } TcpEchoPodManifest = filepath.Join(util.MustGetThisDir(), "testdata", "tcp_echo.yaml") NginxPod = &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "nginx", Namespace: "nginx", }, } NginxSvc = &corev1.Service{ ObjectMeta: metav1.ObjectMeta{ Name: "nginx", Namespace: "nginx", }, } NginxPodManifest = filepath.Join(util.MustGetThisDir(), "testdata", "nginx_pod.yaml") )
View Source
var CurlPodYaml []byte
View Source
var HttpEchoPodYaml []byte
View Source
var HttpbinYaml []byte
View Source
var NginxPodYaml []byte
View Source
var TcpEchoPodYaml []byte
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.