checks

package
v0.0.0-...-c8ecb63 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Autologin

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

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

CanRun returns whether the check can run

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) ReportIfDisabled

func (f *Autologin) ReportIfDisabled() bool

ReportIfDisabled returns whether the check should report if it is disabled

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) ReportIfDisabled

func (f *DockerAccess) ReportIfDisabled() bool

ReportIfDisabled returns whether the check should report if it is disabled

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) ReportIfDisabled

func (f *EncryptingFS) ReportIfDisabled() bool

ReportIfDisabled returns whether the check should report if it is disabled

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
}

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

CanRun returns whether the check can run

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) ReportIfDisabled

func (f *Firewall) ReportIfDisabled() bool

ReportIfDisabled returns whether the check should report if it is disabled

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 KernelParamsCheck

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

func (*KernelParamsCheck) FailedMessage

func (k *KernelParamsCheck) FailedMessage() string

func (*KernelParamsCheck) IsRunnable

func (k *KernelParamsCheck) IsRunnable() bool

func (*KernelParamsCheck) Name

func (k *KernelParamsCheck) Name() string

func (*KernelParamsCheck) Passed

func (k *KernelParamsCheck) Passed() bool

func (*KernelParamsCheck) PassedMessage

func (k *KernelParamsCheck) PassedMessage() string

func (*KernelParamsCheck) ReportIfDisabled

func (k *KernelParamsCheck) ReportIfDisabled() bool

func (*KernelParamsCheck) RequiresRoot

func (k *KernelParamsCheck) RequiresRoot() bool

func (*KernelParamsCheck) Run

func (k *KernelParamsCheck) Run() error

func (*KernelParamsCheck) Status

func (k *KernelParamsCheck) Status() string

func (*KernelParamsCheck) UUID

func (k *KernelParamsCheck) UUID() string

type KeyInfo

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

type KeyType

type KeyType string
const (
	ED25519    KeyType = "ED25519"
	ED25519_SK KeyType = "ED25519-SK"
	ECDSA      KeyType = "ECDSA"
	ECDSA_SK   KeyType = "ECDSA-SK"
	DSA        KeyType = "DSA"
	RSA        KeyType = "RSA"
)

type ParetoReleases

type ParetoReleases []struct {
	TagName         string    `json:"tag_name,omitempty"`
	TargetCommitish string    `json:"target_commitish,omitempty"`
	Name            string    `json:"name,omitempty"`
	Draft           bool      `json:"draft,omitempty"`
	Prerelease      bool      `json:"prerelease,omitempty"`
	CreatedAt       time.Time `json:"created_at,omitempty"`
	PublishedAt     time.Time `json:"published_at,omitempty"`
}

type ParetoUpdated

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

func (*ParetoUpdated) FailedMessage

func (f *ParetoUpdated) FailedMessage() string

FailedMessage returns the message to return if the check failed

func (*ParetoUpdated) IsRunnable

func (f *ParetoUpdated) IsRunnable() bool

CanRun returns whether the check can run

func (*ParetoUpdated) Name

func (f *ParetoUpdated) Name() string

Name returns the name of the check

func (*ParetoUpdated) Passed

func (f *ParetoUpdated) Passed() bool

Passed returns the status of the check

func (*ParetoUpdated) PassedMessage

func (f *ParetoUpdated) PassedMessage() string

PassedMessage returns the message to return if the check passed

func (*ParetoUpdated) ReportIfDisabled

func (f *ParetoUpdated) ReportIfDisabled() bool

ReportIfDisabled returns whether the check should report if it is disabled

func (*ParetoUpdated) RequiresRoot

func (f *ParetoUpdated) RequiresRoot() bool

RequiresRoot returns whether the check requires root access

func (*ParetoUpdated) Run

func (f *ParetoUpdated) Run() error

Run executes the check

func (*ParetoUpdated) Status

func (f *ParetoUpdated) Status() string

Status returns the status of the check

func (*ParetoUpdated) UUID

func (f *ParetoUpdated) UUID() string

UUID returns the UUID of the check

type PasswordToUnlock

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

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

CanRun 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) ReportIfDisabled

func (f *PasswordToUnlock) ReportIfDisabled() bool

ReportIfDisabled returns whether the check should report if it is disabled

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) ReportIfDisabled

func (f *Printer) ReportIfDisabled() bool

ReportIfDisabled returns whether the check should report if it is disabled

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 RemoteLogin

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

func (*RemoteLogin) FailedMessage

func (f *RemoteLogin) FailedMessage() string

FailedMessage returns the message to return if the check failed

func (*RemoteLogin) IsRunnable

func (f *RemoteLogin) IsRunnable() bool

CanRun returns whether the check can run

func (*RemoteLogin) Name

func (f *RemoteLogin) Name() string

Name returns the name of the check

func (*RemoteLogin) Passed

func (f *RemoteLogin) Passed() bool

Passed returns the status of the check

func (*RemoteLogin) PassedMessage

func (f *RemoteLogin) PassedMessage() string

PassedMessage returns the message to return if the check passed

func (*RemoteLogin) ReportIfDisabled

func (f *RemoteLogin) ReportIfDisabled() bool

ReportIfDisabled returns whether the check should report if it is disabled

func (*RemoteLogin) RequiresRoot

func (f *RemoteLogin) RequiresRoot() bool

RequiresRoot returns whether the check requires root access

func (*RemoteLogin) Run

func (f *RemoteLogin) Run() error

Run executes the check

func (*RemoteLogin) Status

func (f *RemoteLogin) Status() string

Status returns the status of the check

func (*RemoteLogin) UUID

func (f *RemoteLogin) UUID() string

UUID returns the UUID of the check

type SSHConfigCheck

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

func (*SSHConfigCheck) FailedMessage

func (s *SSHConfigCheck) FailedMessage() string

func (*SSHConfigCheck) IsRunnable

func (s *SSHConfigCheck) IsRunnable() bool

func (*SSHConfigCheck) Name

func (s *SSHConfigCheck) Name() string

func (*SSHConfigCheck) Passed

func (s *SSHConfigCheck) Passed() bool

func (*SSHConfigCheck) PassedMessage

func (s *SSHConfigCheck) PassedMessage() string

func (*SSHConfigCheck) ReportIfDisabled

func (s *SSHConfigCheck) ReportIfDisabled() bool

func (*SSHConfigCheck) RequiresRoot

func (s *SSHConfigCheck) RequiresRoot() bool

func (*SSHConfigCheck) Run

func (s *SSHConfigCheck) Run() error

func (*SSHConfigCheck) Status

func (s *SSHConfigCheck) Status() string

func (*SSHConfigCheck) UUID

func (s *SSHConfigCheck) UUID() string

type SSHKeys

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

func (*SSHKeys) FailedMessage

func (f *SSHKeys) FailedMessage() string

FailedMessage returns the message to return if the check failed

func (*SSHKeys) IsRunnable

func (f *SSHKeys) IsRunnable() bool

CanRun returns whether the check can run

func (*SSHKeys) Name

func (f *SSHKeys) Name() string

Name returns the name of the check

func (*SSHKeys) Passed

func (f *SSHKeys) Passed() bool

Passed returns the status of the check

func (*SSHKeys) PassedMessage

func (f *SSHKeys) PassedMessage() string

PassedMessage returns the message to return if the check passed

func (*SSHKeys) ReportIfDisabled

func (f *SSHKeys) ReportIfDisabled() bool

ReportIfDisabled returns whether the check should report if it is disabled

func (*SSHKeys) RequiresRoot

func (f *SSHKeys) RequiresRoot() bool

RequiresRoot returns whether the check requires root access

func (*SSHKeys) Run

func (f *SSHKeys) Run() error

Run executes the check

func (*SSHKeys) Status

func (f *SSHKeys) Status() string

Status returns the status of the check

func (*SSHKeys) UUID

func (f *SSHKeys) UUID() string

UUID returns the UUID of the check

type SSHKeysAlgo

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

func (*SSHKeysAlgo) FailedMessage

func (f *SSHKeysAlgo) FailedMessage() string

FailedMessage returns the message to return if the check failed

func (*SSHKeysAlgo) IsRunnable

func (f *SSHKeysAlgo) IsRunnable() bool

CanRun returns whether the check can run

func (*SSHKeysAlgo) Name

func (f *SSHKeysAlgo) Name() string

Name returns the name of the check

func (*SSHKeysAlgo) Passed

func (f *SSHKeysAlgo) Passed() bool

Passed returns the status of the check

func (*SSHKeysAlgo) PassedMessage

func (f *SSHKeysAlgo) PassedMessage() string

PassedMessage returns the message to return if the check passed

func (*SSHKeysAlgo) ReportIfDisabled

func (f *SSHKeysAlgo) ReportIfDisabled() bool

ReportIfDisabled returns whether the check should report if it is disabled

func (*SSHKeysAlgo) RequiresRoot

func (f *SSHKeysAlgo) RequiresRoot() bool

RequiresRoot returns whether the check requires root access

func (*SSHKeysAlgo) Run

func (f *SSHKeysAlgo) Run() error

Run executes the check

func (*SSHKeysAlgo) Status

func (f *SSHKeysAlgo) Status() string

Status returns the status of the check

func (*SSHKeysAlgo) UUID

func (f *SSHKeysAlgo) UUID() string

UUID returns the UUID of the check

type SecureBoot

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

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

CanRun returns whether the check can run

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) ReportIfDisabled

func (f *SecureBoot) ReportIfDisabled() bool

ReportIfDisabled returns whether the check should report if it is disabled

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) ReportIfDisabled

func (f *Sharing) ReportIfDisabled() bool

ReportIfDisabled returns whether the check should report if it is disabled

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

type SoftwareUpdates

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

func (*SoftwareUpdates) FailedMessage

func (f *SoftwareUpdates) FailedMessage() string

FailedMessage returns the message to return if the check failed

func (*SoftwareUpdates) IsRunnable

func (f *SoftwareUpdates) IsRunnable() bool

CanRun returns whether the check can run

func (*SoftwareUpdates) Name

func (f *SoftwareUpdates) Name() string

Name returns the name of the check

func (*SoftwareUpdates) Passed

func (f *SoftwareUpdates) Passed() bool

Passed returns the status of the check

func (*SoftwareUpdates) PassedMessage

func (f *SoftwareUpdates) PassedMessage() string

PassedMessage returns the message to return if the check passed

func (*SoftwareUpdates) ReportIfDisabled

func (f *SoftwareUpdates) ReportIfDisabled() bool

ReportIfDisabled returns whether the check should report if it is disabled

func (*SoftwareUpdates) RequiresRoot

func (f *SoftwareUpdates) RequiresRoot() bool

RequiresRoot returns whether the check requires root access

func (*SoftwareUpdates) Run

func (f *SoftwareUpdates) Run() error

Run executes the check

func (*SoftwareUpdates) Status

func (f *SoftwareUpdates) Status() string

Status returns the status of the check

func (*SoftwareUpdates) UUID

func (f *SoftwareUpdates) 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