kernel

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 28, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = NFDConfig{
	KconfigFile: "",
	ConfigOpts: []string{
		"NO_HZ",
		"NO_HZ_IDLE",
		"NO_HZ_FULL",
		"PREEMPT",
	},
}

Functions

func SelinuxEnabled

func SelinuxEnabled() (bool, error)

Detect if selinux has been enabled in the kernel

Types

type NFDConfig

type NFDConfig struct {
	KconfigFile string
	ConfigOpts  []string `json:"configOpts,omitempty"`
}

Configuration file options

type Source

type Source struct{}

Implement FeatureSource interface

func (Source) Discover

func (s Source) Discover() (source.Features, error)

func (Source) Name

func (s Source) Name() string

Jump to

Keyboard shortcuts

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