Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CgroupIDManager ¶
type CgroupIDManager interface { Run(ctx context.Context) GetCgroupIDForContainer(podUID, containerID string) (uint64, error) ListCgroupIDsForPod(podUID string) ([]uint64, error) }
CgroupIDManager maintains the mapping of pod to cgroup id.
func NewCgroupIDManager ¶
func NewCgroupIDManager(podFetcher pod.PodFetcher) CgroupIDManager
NewCgroupIDManager returns a CgroupIDManager
type ContainerCache ¶
type PodCache ¶
type PodCache map[string]ContainerCache // Keyed by pod UID
Click to show internal directories.
Click to hide internal directories.