Documentation ¶
Index ¶
Constants ¶
View Source
const PodVolPerms os.FileMode = 0755
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mount ¶
Mount represents a universal mount point in a container. Note: This is a simplified version of the actual implementation and can be replaced by containerd's Mount type whenever (if) containerd is integrated into the project.
func CreateContainerMounts ¶
func CreateContainerMounts(ctx context.Context, podVolRoot string, container corev1.Container, pod *corev1.Pod, serviceAccountToken string, configMaps map[string]*corev1.ConfigMap) ([]Mount, error)
CreateContainerMounts creates the mounts for a container based on the pod spec.
Click to show internal directories.
Click to hide internal directories.