system

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type System

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

System handles system tuning and kernel parameters

func New

func New(exec *executor.Executor, f *file.File, logger *slog.Logger) *System

New creates a new System instance

func (*System) Configure

func (s *System) Configure() error

Configure configures system tuning

func (*System) ConfigureSysctl

func (s *System) ConfigureSysctl() error

ConfigureSysctl sets kernel parameters

func (*System) ConfigureSystemd

func (s *System) ConfigureSystemd() error

ConfigureSystemd configures systemd resource limits and features

func (*System) EnableSystemdFeatures

func (s *System) EnableSystemdFeatures() error

EnableSystemdFeatures enables systemd features

func (*System) SetupTimers

func (s *System) SetupTimers() error

SetupTimers configures systemd timers for maintenance

Jump to

Keyboard shortcuts

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