resolver

package
v0.117.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInitFailed = errors.New("failed to initialize cgroup resolver")
	ErrInternal   = errors.New("internal cgroup resolver error")
)

Functions

This section is empty.

Types

type LinuxResolver

type LinuxResolver struct {
	// contains filtered or unexported fields
}

func New

func New() (*LinuxResolver, error)

func (*LinuxResolver) Resolve

func (resolver *LinuxResolver) Resolve(subsystemName subsystem.SubsystemName) (string, string, error)

type Mount

type Mount struct {
	Root       string
	MountPoint string
}

type Resolver

type Resolver interface {
	Resolve(subsystemName subsystem.SubsystemName) (string, string, error)
}

Jump to

Keyboard shortcuts

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