modules

package
v1.6.0-rc6 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

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