kernel

package
v0.10.0-devel Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: Apache-2.0 Imports: 9 Imported by: 4

Documentation

Index

Constants

View Source
const Name = "kernel"

Variables

This section is empty.

Functions

func SelinuxEnabled

func SelinuxEnabled() (bool, error)

Detect if selinux has been enabled in the kernel

Types

type Config

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

Configuration file options

type Source

type Source struct {
	// contains filtered or unexported fields
}

Implement FeatureSource interface

func (*Source) Discover

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

func (*Source) GetConfig added in v0.6.0

func (s *Source) GetConfig() source.Config

GetConfig method of the FeatureSource interface

func (*Source) Name

func (s *Source) Name() string

func (*Source) NewConfig added in v0.6.0

func (s *Source) NewConfig() source.Config

NewConfig method of the FeatureSource interface

func (*Source) SetConfig added in v0.6.0

func (s *Source) SetConfig(conf source.Config)

SetConfig method of the FeatureSource interface

Jump to

Keyboard shortcuts

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