linklogs

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LinkContainerLogs

func LinkContainerLogs(ctx context.Context, kubePodUID, emptyDirVolName, id string, metadata *types.ContainerMetadata) error

func MountPodLogs

func MountPodLogs(ctx context.Context, kubePodUID, emptyDirVolName, namespace, kubeName, mountLabel string) error

MountPodLogs bind mounts the kubelet pod log directory under the specified empty dir volume

func UnmountPodLogs

func UnmountPodLogs(ctx context.Context, kubePodUID, emptyDirVolName string) error

UnmountPodLogs unmounts the pod log directory from the specified empty dir volume

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL