kernelmodule

package
v0.4.9 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package kernelmodule provides a component that checks the kernel modules in Linux.

Index

Constants

View Source
const DefaultEtcModulesPath = "/etc/modules"

ref. https://manpages.ubuntu.com/manpages/xenial/man5/modules.5.html

View Source
const Name = "kernel-module"

Name is the name of the kernel module component.

Variables

This section is empty.

Functions

func New

func New(modulesToCheck []string) components.Component

Types

type Data added in v0.4.6

type Data struct {
	LoadedModules []string `json:"loaded_modules"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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