Movatterモバイル変換


[0]ホーム

URL:


modprobe

package
v2.0.0-beta.5Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2025 License:Apache-2.0Imports:7Imported by:0

Details

Repository

github.com/moby/moby

Links

Documentation

Overview

Package modprobe attempts to load kernel modules. It may have more successthan simply running "modprobe", particularly for docker-in-docker.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

funcLoadModules

func LoadModules(ctxcontext.Context, isLoaded func()error, modNames ...string)error

LoadModules attempts to load kernel modules, if necessary.

isLoaded must be a function that checks whether the modules are loaded. It maybe called multiple times. isLoaded must return an error to indicate that themodules still need to be loaded, otherwise nil.

For each method of loading modules, LoadModules will attempt the load for eachof modNames, then it will call isLoaded to check the result - moving on to trythe next method if needed, and there is one.

The returned error is the result of the final call to isLoaded.

Types

This section is empty.

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp