mount

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FstabCheck

type FstabCheck struct {
	Enabled        bool     `toml:"enabled"`
	Severity       string   `toml:"severity"`
	ExcludeFSTypes []string `toml:"exclude_fstype"`
	ExcludePaths   []string `toml:"exclude_paths"`
}

type Instance

type Instance struct {
	config.InternalConfig

	Mounts []MountSpec `toml:"mounts"`
	Fstab  FstabCheck  `toml:"fstab"`
}

func (*Instance) Gather

func (ins *Instance) Gather(q *safe.Queue[*types.Event])

func (*Instance) Init

func (ins *Instance) Init() error

type MountPlugin

type MountPlugin struct {
	config.InternalConfig
	Instances []*Instance `toml:"instances"`
}

func (*MountPlugin) GetInstances

func (p *MountPlugin) GetInstances() []plugins.Instance

type MountSpec

type MountSpec struct {
	Path     string   `toml:"path"`
	FSType   string   `toml:"fstype"`
	Options  []string `toml:"options"`
	Severity string   `toml:"severity"`
}

Jump to

Keyboard shortcuts

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