kernel

package
v16.7.9 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAtLeast

func IsAtLeast(expected Version) (bool, error)

IsAtLeast checks whether the running kernel is at the given version or later.

Types

type Version

type Version struct {
	// Major is the major version of the kernel.
	Major int
	// Minor is the minor version of the kernel.
	Minor int
}

Version models a kernel version.

Jump to

Keyboard shortcuts

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