const CgroupCPUPeriod …
const CgroupCPUShares …
const CgroupCPUQuota …
const CgroupMemLimit …
const Cgroupv2MemLimit …
const Cgroupv2MemRequest …
const Cgroupv2CPULimit …
const Cgroupv2CPURequest …
const CPUPeriod …
const MinContainerRuntimeVersion …
var podOnCgroupv2Node …
type ContainerResources …
type ContainerAllocations …
type ResizableContainerInfo …
type containerPatch …
type patchSpec …
func getTestResourceInfo(tcInfo ResizableContainerInfo) (v1.ResourceRequirements, v1.ResourceList, []v1.ContainerResizePolicy) { … }
func InitDefaultResizePolicy(containers []ResizableContainerInfo) { … }
func makeResizableContainer(tcInfo ResizableContainerInfo) (v1.Container, v1.ContainerStatus) { … }
func MakePodWithResizableContainers(ns, name, timeStamp string, tcInfo []ResizableContainerInfo) *v1.Pod { … }
func VerifyPodResizePolicy(gotPod *v1.Pod, wantCtrs []ResizableContainerInfo) { … }
func VerifyPodResources(gotPod *v1.Pod, wantCtrs []ResizableContainerInfo) { … }
func VerifyPodAllocations(gotPod *v1.Pod, wantCtrs []ResizableContainerInfo) error { … }
func VerifyPodStatusResources(gotPod *v1.Pod, wantCtrs []ResizableContainerInfo) { … }
func isPodOnCgroupv2Node(f *framework.Framework, pod *v1.Pod) bool { … }
func VerifyPodContainersCgroupValues(ctx context.Context, f *framework.Framework, pod *v1.Pod, tcInfo []ResizableContainerInfo) error { … }
func waitForContainerRestart(ctx context.Context, podClient *PodClient, pod *v1.Pod, expectedContainers []ResizableContainerInfo, initialContainers []ResizableContainerInfo, isRollback bool) error { … }
func WaitForPodResizeActuation(ctx context.Context, f *framework.Framework, podClient *PodClient, pod, patchedPod *v1.Pod, expectedContainers []ResizableContainerInfo, initialContainers []ResizableContainerInfo, isRollback bool) *v1.Pod { … }
func ResizeContainerPatch(containers []ResizableContainerInfo) (string, error) { … }