rootlessutil

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Overview

On non-Linux platforms, the rootlessutil package always denies rootlessness and errors out, since RootlessKit only works on Linux and none of the Windows containerd runtimes can be considered rootless. https://github.com/containerd/nerdctl/issues/2115

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsRootless

func IsRootless() bool

Always returns false on non-Linux platforms.

func IsRootlessChild

func IsRootlessChild() bool

Always returns false on non-Linux platforms.

func IsRootlessParent

func IsRootlessParent() bool

Always returns false on non-Linux platforms.

func NewRootlessKitClient added in v0.7.3

func NewRootlessKitClient() (client.Client, error)

Always errors out on non-Linux platforms.

func ParentEUID

func ParentEUID() int

Always returns -1 on non-Linux platforms.

func ParentMain

func ParentMain(hostGatewayIP string) error

Always errors out on non-Linux platforms.

func RootlessContainredSockAddress added in v1.6.0

func RootlessContainredSockAddress() (string, error)

func XDGRuntimeDir

func XDGRuntimeDir() (string, error)

Always errors out on non-Linux platforms.

Types

This section is empty.

Jump to

Keyboard shortcuts

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