Documentation
¶
Index ¶
- Variables
- func CheckNamespacesExists(namespaces []LinuxNamespaceWithInode, wantedTypes ...specs.LinuxNamespaceType) error
- func CopyFileFromProcessToBundle(bundle string, pid int, path string) error
- func IsUsingHostNetwork(pid int) (bool, error)
- func ReadCgroupPath(pid int) (string, error)
- func ResolveNamespacesUsingInode(namespaces []LinuxNamespaceWithInode) []specs.LinuxNamespace
- func RootCommandContext(ctx context.Context, name string, arg ...string) *exec.Cmd
- type LinuxNamespaceWithInode
Constants ¶
This section is empty.
Variables ¶
View Source
var SidecarImagePath = getSidecarImagePath()
Functions ¶
func CheckNamespacesExists ¶ added in v1.1.10
func CheckNamespacesExists(namespaces []LinuxNamespaceWithInode, wantedTypes ...specs.LinuxNamespaceType) error
func IsUsingHostNetwork ¶
IsUsingHostNetwork determines weather the given process has the same network as the init process.
func ReadCgroupPath ¶
func ResolveNamespacesUsingInode ¶ added in v1.1.10
func ResolveNamespacesUsingInode(namespaces []LinuxNamespaceWithInode) []specs.LinuxNamespace
Types ¶
type LinuxNamespaceWithInode ¶ added in v1.1.10
type LinuxNamespaceWithInode struct {
specs.LinuxNamespace
Inode uint64
}
func ReadNamespaces ¶
func ReadNamespaces(pid int) ([]LinuxNamespaceWithInode, error)
Click to show internal directories.
Click to hide internal directories.