package nsenter
import "k8s.io/kubernetes/pkg/util/nsenter"
Index ¶
Types ¶
type Nsenter ¶
type Nsenter struct { // a map of commands to their paths on the host filesystem Paths map[string]string }
Nsenter is part of experimental support for running the kubelet in a container.
func NewNsenter ¶
func NewNsenter() *Nsenter
NewNsenter constructs a new instance of Nsenter
func (*Nsenter) AbsHostPath ¶
AbsHostPath returns the absolute runnable path for a specified command
func (*Nsenter) Exec ¶
Exec executes nsenter commands in hostProcMountNsPath mount namespace
func (*Nsenter) SupportsSystemd ¶
SupportsSystemd checks whether command systemd-run exists
Source Files ¶
nsenter_unsupported.go
- Version
- v1.9.8-beta.0
- Published
- Apr 18, 2018
- Platform
- js/wasm
- Imports
- 1 packages
- Last checked
- 28 seconds ago –
Tools for package owners.