infoutil

package
v2.0.0-beta.5 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 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

func BlockIOWeight(cgroupManager string) bool

BlockIOWeight return whether Block IO weight is supported or not

func CgroupsVersion

func CgroupsVersion() string

func ClientVersion

func ClientVersion() dockercompat.ClientVersion

func DistroName

func DistroName() string

func GetSnapshotterNames

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

func Info

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

func NativeDaemonInfo

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

func ServerSemVer

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

func ServerVersion

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

func UnameM

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