healthcheck

package
v0.0.0-...-cf6c19e Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CustomWorkloadHealthcheck

func CustomWorkloadHealthcheck(ctx context.Context, timeout time.Duration, definition string) error

func EasyCustomWorkloadHealthcheck

func EasyCustomWorkloadHealthcheck(ctx context.Context, timeout time.Duration, namespace string, deployments, daemonsets, statefulsets []string) error

func MicroShiftHealthcheck

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

Types

type NamespaceWorkloads

type NamespaceWorkloads struct {
	Deployments  []string `json:"deployments"`
	DaemonSets   []string `json:"daemonsets"`
	StatefulSets []string `json:"statefulsets"`
}

func (NamespaceWorkloads) String

func (nw NamespaceWorkloads) String() string

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