checks

package
v0.0.0-...-70f6bb7 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Overview

Package linux provides checks for Linux systems.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationUpdates

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

func (*ApplicationUpdates) FailedMessage

func (f *ApplicationUpdates) FailedMessage() string

FailedMessage returns the message to return if the check failed

func (*ApplicationUpdates) IsRunnable

func (f *ApplicationUpdates) IsRunnable() bool

CanRun returns whether the check can run

func (*ApplicationUpdates) Name

func (f *ApplicationUpdates) Name() string

Name returns the name of the check

func (*ApplicationUpdates) Passed

func (f *ApplicationUpdates) Passed() bool

Passed returns the status of the check

func (*ApplicationUpdates) PassedMessage

func (f *ApplicationUpdates) PassedMessage() string

PassedMessage returns the message to return if the check passed

func (*ApplicationUpdates) RequiresRoot

func (f *ApplicationUpdates) RequiresRoot() bool

RequiresRoot returns whether the check requires root access

func (*ApplicationUpdates) Run

func (f *ApplicationUpdates) Run() error

Run executes the check

func (*ApplicationUpdates) Status

func (f *ApplicationUpdates) Status() string

Status returns the status of the check

func (*ApplicationUpdates) UUID

func (f *ApplicationUpdates) UUID() string

UUID returns the UUID of the check

type Autologin

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

Autologin checks for autologin misconfiguration.

func (*Autologin) FailedMessage

func (f *Autologin) FailedMessage() string

FailedMessage returns the message to return if the check failed

func (*Autologin) IsRunnable

func (f *Autologin) IsRunnable() bool

IsRunnable returns whether Autologin is runnable.

func (*Autologin) Name

func (f *Autologin) Name() string

Name returns the name of the check

func (*Autologin) Passed

func (f *Autologin) Passed() bool

Passed returns the status of the check

func (*Autologin) PassedMessage

func (f *Autologin) PassedMessage() string

PassedMessage returns the message to return if the check passed

func (*Autologin) RequiresRoot

func (f *Autologin) RequiresRoot() bool

RequiresRoot returns whether the check requires root access

func (*Autologin) Run

func (f *Autologin) Run() error

Run executes the check

func (*Autologin) Status

func (f *Autologin) Status() string

Status returns the status of the check

func (*Autologin) UUID

func (f *Autologin) UUID() string

UUID returns the UUID of the check

type DockerAccess

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

func (*DockerAccess) FailedMessage

func (f *DockerAccess) FailedMessage() string

FailedMessage returns the message to return if the check failed

func (*DockerAccess) IsRunnable

func (f *DockerAccess) IsRunnable() bool

CanRun returns whether the check can run

func (*DockerAccess) Name

func (f *DockerAccess) Name() string

Name returns the name of the check

func (*DockerAccess) Passed

func (f *DockerAccess) Passed() bool

Passed returns the status of the check

func (*DockerAccess) PassedMessage

func (f *DockerAccess) PassedMessage() string

PassedMessage returns the message to return if the check passed

func (*DockerAccess) RequiresRoot

func (f *DockerAccess) RequiresRoot() bool

RequiresRoot returns whether the check requires root access

func (*DockerAccess) Run

func (f *DockerAccess) Run() error

Run executes the check

func (*DockerAccess) Status

func (f *DockerAccess) Status() string

Status returns the status of the check

func (*DockerAccess) UUID

func (f *DockerAccess) UUID() string

UUID returns the UUID of the check

type EncryptingFS

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

func (*EncryptingFS) FailedMessage

func (f *EncryptingFS) FailedMessage() string

FailedMessage returns the message to return if the check failed

func (*EncryptingFS) IsRunnable

func (f *EncryptingFS) IsRunnable() bool

CanRun returns whether the check can run

func (*EncryptingFS) Name

func (f *EncryptingFS) Name() string

Name returns the name of the check

func (*EncryptingFS) Passed

func (f *EncryptingFS) Passed() bool

Passed returns the status of the check

func (*EncryptingFS) PassedMessage

func (f *EncryptingFS) PassedMessage() string

PassedMessage returns the message to return if the check passed

func (*EncryptingFS) RequiresRoot

func (f *EncryptingFS) RequiresRoot() bool

RequiresRoot returns whether the check requires root access

func (*EncryptingFS) Run

func (f *EncryptingFS) Run() error

Run executes the check

func (*EncryptingFS) Status

func (f *EncryptingFS) Status() string

Status returns the status of the check

func (*EncryptingFS) UUID

func (f *EncryptingFS) UUID() string

UUID returns the UUID of the check

type Firewall

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

Firewall checks the system firewall.

func (*Firewall) FailedMessage

func (f *Firewall) FailedMessage() string

FailedMessage returns the message to return if the check failed

func (*Firewall) IsRunnable

func (f *Firewall) IsRunnable() bool

IsRunnable returns whether Firewall is runnable.

func (*Firewall) Name

func (f *Firewall) Name() string

Name returns the name of the check

func (*Firewall) Passed

func (f *Firewall) Passed() bool

Passed returns the status of the check

func (*Firewall) PassedMessage

func (f *Firewall) PassedMessage() string

PassedMessage returns the message to return if the check passed

func (*Firewall) RequiresRoot

func (f *Firewall) RequiresRoot() bool

RequiresRoot returns whether the check requires root access

func (*Firewall) Run

func (f *Firewall) Run() error

Run executes the check

func (*Firewall) Status

func (f *Firewall) Status() string

Status returns the status of the check

func (*Firewall) UUID

func (f *Firewall) UUID() string

UUID returns the UUID of the check

type PasswordManagerCheck

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

func (*PasswordManagerCheck) FailedMessage

func (pmc *PasswordManagerCheck) FailedMessage() string

func (*PasswordManagerCheck) IsRunnable

func (pmc *PasswordManagerCheck) IsRunnable() bool

func (*PasswordManagerCheck) Name

func (pmc *PasswordManagerCheck) Name() string

func (*PasswordManagerCheck) Passed

func (pmc *PasswordManagerCheck) Passed() bool

func (*PasswordManagerCheck) PassedMessage

func (pmc *PasswordManagerCheck) PassedMessage() string

func (*PasswordManagerCheck) RequiresRoot

func (pmc *PasswordManagerCheck) RequiresRoot() bool

func (*PasswordManagerCheck) Run

func (pmc *PasswordManagerCheck) Run() error

func (*PasswordManagerCheck) Status

func (pmc *PasswordManagerCheck) Status() string

func (*PasswordManagerCheck) UUID

func (pmc *PasswordManagerCheck) UUID() string

type PasswordToUnlock

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

PasswordToUnlock represents a check to ensure that a password is required to unlock the screen.

func (*PasswordToUnlock) FailedMessage

func (f *PasswordToUnlock) FailedMessage() string

FailedMessage returns the message to return if the check failed

func (*PasswordToUnlock) IsRunnable

func (f *PasswordToUnlock) IsRunnable() bool

IsRunnable returns whether the check can run

func (*PasswordToUnlock) Name

func (f *PasswordToUnlock) Name() string

Name returns the name of the check

func (*PasswordToUnlock) Passed

func (f *PasswordToUnlock) Passed() bool

Passed returns the status of the check

func (*PasswordToUnlock) PassedMessage

func (f *PasswordToUnlock) PassedMessage() string

PassedMessage returns the message to return if the check passed

func (*PasswordToUnlock) RequiresRoot

func (f *PasswordToUnlock) RequiresRoot() bool

RequiresRoot returns whether the check requires root access

func (*PasswordToUnlock) Run

func (f *PasswordToUnlock) Run() error

Run executes the check

func (*PasswordToUnlock) Status

func (f *PasswordToUnlock) Status() string

Status returns the status of the check

func (*PasswordToUnlock) UUID

func (f *PasswordToUnlock) UUID() string

UUID returns the UUID of the check

type Printer

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

func (*Printer) FailedMessage

func (f *Printer) FailedMessage() string

FailedMessage returns the message to return if the check failed

func (*Printer) IsRunnable

func (f *Printer) IsRunnable() bool

CanRun returns whether the check can run

func (*Printer) Name

func (f *Printer) Name() string

Name returns the name of the check

func (*Printer) Passed

func (f *Printer) Passed() bool

Passed returns the status of the check

func (*Printer) PassedMessage

func (f *Printer) PassedMessage() string

PassedMessage returns the message to return if the check passed

func (*Printer) RequiresRoot

func (f *Printer) RequiresRoot() bool

RequiresRoot returns whether the check requires root access

func (*Printer) Run

func (f *Printer) Run() error

Run executes the check

func (*Printer) Status

func (f *Printer) Status() string

Status returns the status of the check

func (*Printer) UUID

func (f *Printer) UUID() string

UUID returns the UUID of the check

type SecureBoot

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

SecureBoot checks secure boot configuration.

func (*SecureBoot) FailedMessage

func (f *SecureBoot) FailedMessage() string

FailedMessage returns the message to return if the check failed

func (*SecureBoot) IsRunnable

func (f *SecureBoot) IsRunnable() bool

IsRunnable returns whether SecureBoot is runnable.

func (*SecureBoot) Name

func (f *SecureBoot) Name() string

Name returns the name of the check

func (*SecureBoot) Passed

func (f *SecureBoot) Passed() bool

Passed returns the status of the check

func (*SecureBoot) PassedMessage

func (f *SecureBoot) PassedMessage() string

PassedMessage returns the message to return if the check passed

func (*SecureBoot) RequiresRoot

func (f *SecureBoot) RequiresRoot() bool

RequiresRoot returns whether the check requires root access

func (*SecureBoot) Run

func (f *SecureBoot) Run() error

Run executes the check

func (*SecureBoot) Status

func (f *SecureBoot) Status() string

Status returns the status of the check

func (*SecureBoot) UUID

func (f *SecureBoot) UUID() string

UUID returns the UUID of the check

type Sharing

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

func (*Sharing) FailedMessage

func (f *Sharing) FailedMessage() string

FailedMessage returns the message to return if the check failed

func (*Sharing) IsRunnable

func (f *Sharing) IsRunnable() bool

CanRun returns whether the check can run

func (*Sharing) Name

func (f *Sharing) Name() string

Name returns the name of the check

func (*Sharing) Passed

func (f *Sharing) Passed() bool

Passed returns the status of the check

func (*Sharing) PassedMessage

func (f *Sharing) PassedMessage() string

PassedMessage returns the message to return if the check passed

func (*Sharing) RequiresRoot

func (f *Sharing) RequiresRoot() bool

RequiresRoot returns whether the check requires root access

func (*Sharing) Run

func (f *Sharing) Run() error

Run executes the check

func (*Sharing) Status

func (f *Sharing) Status() string

Status returns the status of the check

func (*Sharing) UUID

func (f *Sharing) UUID() string

UUID returns the UUID of the check

Jump to

Keyboard shortcuts

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