Is there documentation for cgroup (v1 or v2) path string format options for k8s?

I want to use the cgroup path to get the pod ID and container ID with regex but saw there are many different options. Is there a documentation for all the options?