Documentation ¶
Overview ¶
Package modules contains a manager of loaded modules which supports search operation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModulesManager ¶
type ModulesManager struct {
// contains filtered or unexported fields
}
ModulesManager is a manager which stores information about loaded modules and provides a search operation.
func (*ModulesManager) FindOrLoadModules ¶
func (m *ModulesManager) FindOrLoadModules(expectedNames ...string) error
FindOrLoadModules checks whether the given kernel modules are loaded and tries to load those which are not.
func (*ModulesManager) Init ¶
func (m *ModulesManager) Init() error
Init initializes the internal modules information store of modules manager.
Click to show internal directories.
Click to hide internal directories.