# Functions
No description provided by the author
AddMetadataLabel adds label to the POD metadata section :param labelName - key in map, label name :param labelContent - value, label content.
AddToPodDefinitionCpuLimits adds CPU limits and requests to the definition of POD.
AddToPodDefinitionHugePages1Gi adds Hugepages 1Gi limits and requirements to the POD spec.
AddToPodDefinitionHugePages2Mi adds Hugepages 2Mi limits and requirements to the POD spec.
AddToPodDefinitionMemory adds Memory constraints to the POD spec.
AddToPodDefinitionVolumesWithDownwardAPI adds to the POD specification at the 'path' downwardAPI volumes that expose POD namespace :param pod - POD object to be modified :param mountPath - path of the folder in which file is going to be available :param volumeName - name of the volume :param containerNumber - number of the container to which volumes have to be added :return updated POD object.
No description provided by the author
No description provided by the author
No description provided by the author
CreateRunningPod create a pod and wait until it is running.
No description provided by the author
No description provided by the author
No description provided by the author
DeletePod will delete a pod.
ExecuteCommand execute command on the POD :param core - core V1 Interface :param config - configuration used to establish REST connection with K8s node :param podName - POD name on which command has to be executed :param ns - namespace in which POD exists :param containerName - container name on which command should be executed :param command - command to be executed on POD :return string output of the command (stdout) string output of the command (stderr) error Error object or when everthing is correct nil.
No description provided by the author
GetMultiNetworks adds a network to annotation.
No description provided by the author
{ "cniVersion": "0.3.0", "name": networkName, "type": "loopback", },.
No description provided by the author
GetOneNetwork add one network to pod.
GetOneNetworkTwoContainers returns POD with two containers and one network.
GetPodDefinition will return a test pod.
GetPodTestImage returns image to be used during testing.
No description provided by the author
No description provided by the author
No description provided by the author
IsMinHugepagesAvailable checks if a min Gi/Mi hugepage number is available on any nodes.
UpdatePodInfo will get the current pod state and return it.
No description provided by the author
WaitForPodStateRunning waits for pod to enter running state.