debian

package
v0.0.0-...-7a9a01d Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MissingPkgsInstalledDebian bool
)

Functions

This section is empty.

Types

type Debian

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

Debian represents debian based host machine

func NewDebian

func NewDebian(exec cmdexec.Executor) *Debian

NewDebian creates and returns a new instance of Debian

func (*Debian) Check

func (d *Debian) Check() []platform.Check

Check inspects if a host machine meets all the requirements to be a cluster node

func (*Debian) CheckExistingInstallation

func (d *Debian) CheckExistingInstallation() (bool, error)

func (*Debian) CheckIfdpkgISLock

func (d *Debian) CheckIfdpkgISLock() (bool, error)

func (*Debian) CheckKubernetesCluster

func (d *Debian) CheckKubernetesCluster() (bool, error)

func (*Debian) DownloadAndInstallTimesyncPkg

func (d *Debian) DownloadAndInstallTimesyncPkg() error

func (*Debian) IsPresent

func (d *Debian) IsPresent(service string) error

func (*Debian) IsRunning

func (d *Debian) IsRunning(service string) error

func (*Debian) Version

func (d *Debian) Version() (string, error)

Jump to

Keyboard shortcuts

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