Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallDbus ¶
func InstallDbus() error
InstallDbus checks if D-Bus service is installed and active. If not, installs D-Bus and starts the service. NOTE: this limits support to systems using systemctl to manage systemd.
func ListSystemdUnits ¶
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
func (*Config) AddRuntime ¶
func (*Config) RemoveRuntime ¶
func (*Config) RestartRuntime ¶
type K0sRestarter ¶
type K0sRestarter struct{}
func (K0sRestarter) Restart ¶
func (c K0sRestarter) Restart() error
type K3sRestarter ¶
type K3sRestarter struct{}
func (K3sRestarter) Restart ¶
func (c K3sRestarter) Restart() error
type MicroK8sRestarter ¶
type MicroK8sRestarter struct{}
func (MicroK8sRestarter) Restart ¶
func (c MicroK8sRestarter) Restart() error
type RKE2Restarter ¶
type RKE2Restarter struct{}
func (RKE2Restarter) Restart ¶
func (c RKE2Restarter) Restart() error
Click to show internal directories.
Click to hide internal directories.