infoutil

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const UnameO = "GNU/Linux"

Variables

This section is empty.

Functions

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, defaultSnapshotter string) (*dockercompat.Info, 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