Documentation
¶
Index ¶
- func CheckPodExist(clientset *kubernetes.Clientset, name string, namespace string) (*corev1.Pod, error)
- func GetActualRunningPod(childPods *corev1.PodList) (int, corev1.PodList, corev1.PodList)
- func GetDummyServiceIPAndPort(clientset *kubernetes.Clientset, ctx context.Context, namespace string) (string, int32)
- func GetSourcePodTemplate(clientset *kubernetes.Clientset, sourcePodName string, namespace string) (*corev1.PodTemplateSpec, error)
- func PrintContainerIDs(clientset *kubernetes.Clientset, namespace string) ([]types.Container, error)
- func PushDockerImage(localCheckpointPath string, containerName string, podName string)
- func RetrieveContainerName(path string) string
- func RetrievePodName(path string) string
- func WaitForContainerReady(podName, namespace, containerName string, clientset *kubernetes.Clientset) error
- func WaitForPodDeletion(ctx context.Context, podName string, namespace string, ...) error
- func WaitForServiceReady(ctx context.Context, serviceName, namespace string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPodExist ¶
func GetActualRunningPod ¶
func GetSourcePodTemplate ¶
func GetSourcePodTemplate(clientset *kubernetes.Clientset, sourcePodName string, namespace string) (*corev1.PodTemplateSpec, error)
func PrintContainerIDs ¶
func PushDockerImage ¶
func RetrieveContainerName ¶
func RetrievePodName ¶
func WaitForContainerReady ¶
func WaitForContainerReady(podName, namespace, containerName string, clientset *kubernetes.Clientset) error
func WaitForPodDeletion ¶
func WaitForServiceReady ¶
func WaitForServiceReady(ctx context.Context, serviceName, namespace string, clientset *kubernetes.Clientset)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.