Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UtilsInterface ¶
type UtilsInterface interface { CreateNamespace(namespace string) error DeleteNamespace(namespace string) error CreatePodOnNode(nodeName, namespace, image string, command []string) (pod *corev1.Pod, err error) DeletePod(pod *corev1.Pod) error RunCommandOnPod(pod *corev1.Pod, command []string) ([]byte, error) GetPodLogs(namespace string, pod *corev1.Pod) (string, error) WriteFile(path string, data []byte) error IsBMInfra() (bool, error) IsSNOCluster() (bool, error) WaitForPodStatus(namespace string, pod *corev1.Pod, PodPhase corev1.PodPhase) error }
func New ¶
func New(c *client.ClientSet) UtilsInterface
Click to show internal directories.
Click to hide internal directories.