Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ControllersGetter ¶
type ControllersGetter interface { // Pod is for getting controller config at the pod level Pod(ctx context.Context, pod *corev1.Pod, controllerConfig interface{}) error // Container is for getting controller config at the container level Container(ctx context.Context, pod *corev1.Pod, containerName string, controllerConfig interface{}) error // Child is for getting controller config at the container's child level Child(ctx context.Context, pod *corev1.Pod, containerName, childName string, controllerConfig interface{}) error }
func BuildGetter ¶
func BuildGetter(ctx context.Context, c client.Client, k8sClient *kubernetes.Clientset) (ControllersGetter, error)
BuildGetter return a cgroup information getter that complies with the cgroup version that is currently used by the nodes on the cluster
Click to show internal directories.
Click to hide internal directories.