infoutil

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const UnameO = "GNU/Linux"

Variables

This section is empty.

Functions

func BlockIOWeight added in v0.22.0

func BlockIOWeight(cgroupManager string) bool

BlockIOWeight return whether Block IO weight is supported or not

func CgroupsVersion added in v0.8.1

func CgroupsVersion() string

func ClientVersion added in v0.11.1

func ClientVersion() dockercompat.ClientVersion

func DistroName

func DistroName() string

func GetSnapshotterNames added in v0.7.3

func GetSnapshotterNames(ctx context.Context, introService introspection.Service) ([]string, error)

func Info added in v0.7.3

func Info(ctx context.Context, client *containerd.Client, snapshotter, cgroupManager string) (*dockercompat.Info, error)

func NativeDaemonInfo added in v0.20.0

func NativeDaemonInfo(ctx context.Context, client *containerd.Client) (*native.DaemonInfo, error)

func ServerSemVer added in v0.20.0

func ServerSemVer(ctx context.Context, client *containerd.Client) (*semver.Version, error)

func ServerVersion added in v0.11.1

func ServerVersion(ctx context.Context, client *containerd.Client) (*dockercompat.ServerVersion, error)

func UnameM added in v0.7.3

func UnameM() string

UnameM returns `uname -m`

func UnameR

func UnameR() string

UnameR returns `uname -r`

Types

This section is empty.

Jump to

Keyboard shortcuts

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