failedpodchecks

package
v0.16.3 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PodEventsChecker

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

func NewPodEventsChecker

func NewPodEventsChecker(checks []podchecks.PodEventCheck) (*PodEventsChecker, error)

func (*PodEventsChecker) IsRetryable

func (f *PodEventsChecker) IsRetryable(podEvents []*v1.Event) (bool, string)

type PodRetryChecker

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

func NewPodRetryChecker

func NewPodRetryChecker(config podchecks.FailedChecks) (*PodRetryChecker, error)

func (*PodRetryChecker) IsRetryable

func (f *PodRetryChecker) IsRetryable(pod *v1.Pod, podEvents []*v1.Event) (bool, string)

type PodStatusChecker

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

func NewPodStatusChecker

func NewPodStatusChecker(checks []podchecks.PodStatusCheck) (*PodStatusChecker, error)

func (*PodStatusChecker) IsRetryable

func (f *PodStatusChecker) IsRetryable(pod *v1.Pod) (bool, string)

type RetryChecker

type RetryChecker interface {
	IsRetryable(pod *v1.Pod, podEvents []*v1.Event) (bool, string)
}

Jump to

Keyboard shortcuts

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