infoutil

package
v2.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2025 License: Apache-2.0 Imports: 26 Imported by: 1

Documentation

Index

Constants

View Source
const UnameO = "GNU/Linux"

Variables

This section is empty.

Functions

func BlockIOReadBpsDevice added in v2.0.4

func BlockIOReadBpsDevice(cgroupManager string) bool

BlockIOReadBpsDevice returns whether Block IO read limit in bytes per second is supported or not

func BlockIOReadIOpsDevice added in v2.0.4

func BlockIOReadIOpsDevice(cgroupManager string) bool

BlockIOReadIOpsDevice returns whether Block IO read limit in IO per second is supported or not

func BlockIOWeight

func BlockIOWeight(cgroupManager string) bool

BlockIOWeight returns whether Block IO weight is supported or not

func BlockIOWeightDevice added in v2.0.4

func BlockIOWeightDevice(cgroupManager string) bool

BlockIOWeightDevice returns whether Block IO weight device is supported or not

func BlockIOWriteBpsDevice added in v2.0.4

func BlockIOWriteBpsDevice(cgroupManager string) bool

BlockIOWriteBpsDevice returns whether Block IO write limit in bytes per second is supported or not

func BlockIOWriteIOpsDevice added in v2.0.4

func BlockIOWriteIOpsDevice(cgroupManager string) bool

BlockIOWriteIOpsDevice returns whether Block IO write limit in IO per second is supported or not

func CPURealtime added in v2.0.5

func CPURealtime(cgroupManager string) bool

CPURealtime returns whether CPU realtime period 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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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