healthcheck

package
v0.0.0-...-1caeae3 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MicroShiftHealthcheck

func MicroShiftHealthcheck(ctx context.Context, timeout time.Duration) error

Types

type Systemd

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

func NewSystemd

func NewSystemd(ctx context.Context) (*Systemd, error)

func (*Systemd) Close

func (s *Systemd) Close()

func (*Systemd) IsServiceActiveAndNotFailed

func (s *Systemd) IsServiceActiveAndNotFailed(ctx context.Context, service string) (bool, error)

func (*Systemd) IsServiceEnabled

func (s *Systemd) IsServiceEnabled(ctx context.Context, service string) (bool, error)

Jump to

Keyboard shortcuts

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