...

Package modules

import "edge-infra.dev/pkg/lib/kernel/modules"
Overview
Index

Overview ▾

Package modules implements kernel module functions

Functionality to run modprobe and lsmod with go

func IsLoaded

func IsLoaded(name string) (bool, error)

func Load

func Load(name string) error

func LoadIfNotLoaded

func LoadIfNotLoaded(name string) error