utils

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

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

Directories

Path Synopsis
Package mock_utils is a generated GoMock package.
Package mock_utils is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL