util

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ProcPath is a vfs storing process info for Linux.
	ProcPath = "/proc"
	// HostProcPath is the convention path where host `/proc` is mounted.
	HostProcPath = "/host/proc"
)

Variables

This section is empty.

Functions

func ContainsIgnoredCase

func ContainsIgnoredCase(s []string, k string) bool

func GetFullDevPath

func GetFullDevPath(shortPath string) string

func IsHostProcMounted

func IsHostProcMounted() (bool, error)

IsHostProcMounted checks if host's proc info `/proc` is mounted on `/host/proc`

Types

This section is empty.

Jump to

Keyboard shortcuts

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