Documentation ¶
Index ¶
- Constants
- func AppendIstioContainerToPod(pod *corev1.Pod, image string)
- func ArgListToMap(lst []string) map[string]string
- func DefineDeploymentWithNonUBIContainer(namespace string) *appsv1.Deployment
- func DefineStatefulSetWithNonUBIContainer(namespace string) *appsv1.StatefulSet
- func GetHugePagesConfigNumber(file string, pod *corev1.Pod) (int, error)
- func UpdateAndVerifyHugePagesConfig(updatedHugePagesNumber int, filePath string, pod *corev1.Pod) error
- func WaitForSpecificNodeCondition(clients *client.ClientSet, timeout, interval time.Duration, nodeName string, ...) error
Constants ¶
View Source
const WaitingTime = 5 * time.Minute
Variables ¶
This section is empty.
Functions ¶
func AppendIstioContainerToPod ¶
AppendIstioContainerToPod appends istio-proxy container to a pod.
func ArgListToMap ¶
ArgListToMap takes a list of strings of the form "key=value" and translate it into a map of the form {key: value}.
func DefineDeploymentWithNonUBIContainer ¶
func DefineDeploymentWithNonUBIContainer(namespace string) *appsv1.Deployment
Creates deployment with one pod with one non-UBI based container.
func DefineStatefulSetWithNonUBIContainer ¶
func DefineStatefulSetWithNonUBIContainer(namespace string) *appsv1.StatefulSet
Creates statefulset with one pod with one non-UBI based container.
func GetHugePagesConfigNumber ¶
GetHugePagesConfigNumber returns hugepages config number from a given file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.