kernel

package
v0.0.0-...-d5876ce Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Version

type Version struct {
	// contains filtered or unexported fields
}

Version defines a kernel version helper

func NewKernelVersion

func NewKernelVersion() (*Version, error)

NewKernelVersion returns a new kernel version helper

func (*Version) IsOracleUEKKernel

func (k *Version) IsOracleUEKKernel() bool

IsOracleUEKKernel returns whether the kernel is an oracle uek kernel

func (*Version) IsRH7Kernel

func (k *Version) IsRH7Kernel() bool

IsRH7Kernel returns whether the kernel is a rh7 kernel

func (*Version) IsRH8Kernel

func (k *Version) IsRH8Kernel() bool

IsRH8Kernel returns whether the kernel is a rh8 kernel

func (*Version) IsSLES12Kernel

func (k *Version) IsSLES12Kernel() bool

IsSLES12Kernel returns whether the kernel is a sles 12 kernel

func (*Version) IsSLES15Kernel

func (k *Version) IsSLES15Kernel() bool

IsSLES15Kernel returns whether the kernel is a sles 15 kernel

func (*Version) IsSuseKernel

func (k *Version) IsSuseKernel() bool

IsSuseKernel returns whether the kernel is a suse kernel

func (*Version) String

func (k *Version) String() string

Jump to

Keyboard shortcuts

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