system_configuration

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Installer

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

Installer handles system configuration installation

func NewInstaller

func NewInstaller(logger *logrus.Logger) *Installer

NewInstaller creates a new system configuration Installer

func (*Installer) Execute

func (i *Installer) Execute(ctx context.Context) error

Execute configures system settings including sysctl and resolv.conf

func (*Installer) GetName

func (i *Installer) GetName() string

GetName returns the step name

func (*Installer) IsCompleted

func (i *Installer) IsCompleted(ctx context.Context) bool

IsCompleted checks if system configuration has been applied

func (*Installer) Validate

func (i *Installer) Validate(ctx context.Context) error

Validate validates the system configuration installation

type UnInstaller

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

UnInstaller handles system configuration cleanup

func NewUnInstaller

func NewUnInstaller(logger *logrus.Logger) *UnInstaller

NewUnInstaller creates a new system configuration unInstaller

func (*UnInstaller) Execute

func (su *UnInstaller) Execute(ctx context.Context) error

Execute removes system configuration files and resets settings

func (*UnInstaller) GetName

func (su *UnInstaller) GetName() string

GetName returns the cleanup step name

func (*UnInstaller) IsCompleted

func (su *UnInstaller) IsCompleted(ctx context.Context) bool

IsCompleted checks if system configuration has been removed

Jump to

Keyboard shortcuts

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