Documentation ¶
Index ¶
- Constants
- func BlockIOWeight(cgroupManager string) bool
- func CgroupsVersion() string
- func ClientVersion() dockercompat.ClientVersion
- func DistroName() string
- func GetSnapshotterNames(ctx context.Context, introService introspection.Service) ([]string, error)
- func Info(ctx context.Context, client *containerd.Client, ...) (*dockercompat.Info, error)
- func NativeDaemonInfo(ctx context.Context, client *containerd.Client) (*native.DaemonInfo, error)
- func ServerSemVer(ctx context.Context, client *containerd.Client) (*semver.Version, error)
- func ServerVersion(ctx context.Context, client *containerd.Client) (*dockercompat.ServerVersion, error)
- func UnameM() string
- func UnameR() string
Constants ¶
View Source
const UnameO = "GNU/Linux"
Variables ¶
This section is empty.
Functions ¶
func BlockIOWeight ¶
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 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)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.