Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinuxKernelHandler ¶
type LinuxKernelHandler struct {
// contains filtered or unexported fields
}
func NewLinuxKernelHandler ¶
func NewLinuxKernelHandler() *LinuxKernelHandler
NewLinuxKernelHandler initializes LinuxKernelHandler with exec.
func (*LinuxKernelHandler) DetectKernelVersion ¶
func (kh *LinuxKernelHandler) DetectKernelVersion(ctx context.Context) (string, error)
func (*LinuxKernelHandler) GetModules ¶
func (kh *LinuxKernelHandler) GetModules(ctx context.Context, wantedModules []string) ([]string, error)
GetModules returns all installed kernel modules.
Click to show internal directories.
Click to hide internal directories.