Documentation ¶
Index ¶
- func CustomWorkloadHealthcheck(ctx context.Context, timeout time.Duration, definition string) error
- func EasyCustomWorkloadHealthcheck(ctx context.Context, timeout time.Duration, namespace string, ...) error
- func MicroShiftHealthcheck(ctx context.Context, timeout time.Duration) error
- type AllErrGroup
- type NamespaceWorkloads
- type Systemd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AllErrGroup ¶
type AllErrGroup struct {
// contains filtered or unexported fields
}
AllErrGroup is a helper to wait for all goroutines and get all errors that occurred. It's based on sync.WaitGroup (which doesn't capture any errors) and errgroup.Group (which only captures the first error).
func (*AllErrGroup) Go ¶
func (g *AllErrGroup) Go(f func() error)
func (*AllErrGroup) Wait ¶
func (g *AllErrGroup) Wait() error
type NamespaceWorkloads ¶
type Systemd ¶
type Systemd struct {
// contains filtered or unexported fields
}
func (*Systemd) IsServiceActiveAndNotFailed ¶
Click to show internal directories.
Click to hide internal directories.