Documentation ¶
Overview ¶
Package modules contains a manager of loaded modules which supports search operation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cell = cell.Module( "kernel-modules-manager", "Load kernel modules required by Cilium", cell.Provide(newManager), )
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager stores information about loaded modules and provides a search operation.
func (*Manager) FindModules ¶
FindModules checks whether the given kernel modules are loaded and also returns a slice with names of modules which are not loaded.
func (*Manager) FindOrLoadModules ¶
FindOrLoadModules checks whether the given kernel modules are loaded and tries to load those which are not.
Click to show internal directories.
Click to hide internal directories.