kubernetes/pkg/util/kernel/version.go

type readFileFunc

// GetVersion returns currently running kernel version.
func GetVersion() (*version.Version, error) {}

// getVersion reads os release file from the give readFile function.
func getVersion(readFile readFileFunc) (*version.Version, error) {}