Documentation ¶
Index ¶
- func IsRootless() bool
- func IsRootlessChild() bool
- func IsRootlessParent() bool
- func NewRootlessKitClient() (client.Client, error)
- func ParentEGID() int
- func ParentEUID() int
- func ParentMain() error
- func RootlessKitChildPid(stateDir string) (int, error)
- func RootlessKitStateDir() (string, error)
- func XDGConfigHome() (string, error)
- func XDGDataHome() (string, error)
- func XDGRuntimeDir() (string, error)
- type RootlessCNIPortManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRootless ¶
func IsRootless() bool
func IsRootlessChild ¶
func IsRootlessChild() bool
func IsRootlessParent ¶
func IsRootlessParent() bool
func NewRootlessKitClient ¶ added in v0.7.3
func ParentEGID ¶
func ParentEGID() int
func ParentEUID ¶
func ParentEUID() int
func ParentMain ¶
func ParentMain() error
func RootlessKitChildPid ¶
func RootlessKitStateDir ¶
func XDGConfigHome ¶
func XDGDataHome ¶
func XDGRuntimeDir ¶
Types ¶
type RootlessCNIPortManager ¶
func NewRootlessCNIPortManager ¶
func NewRootlessCNIPortManager(client client.Client) (*RootlessCNIPortManager, error)
func (*RootlessCNIPortManager) ExposePort ¶
func (rlcpm *RootlessCNIPortManager) ExposePort(ctx context.Context, cpm gocni.PortMapping) error
func (*RootlessCNIPortManager) UnexposePort ¶
func (rlcpm *RootlessCNIPortManager) UnexposePort(ctx context.Context, cpm gocni.PortMapping) error
Click to show internal directories.
Click to hide internal directories.