podreadiness

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainsReadinessGate

func ContainsReadinessGate(pod *v1.Pod) bool

func GetReadinessCondition

func GetReadinessCondition(pod *v1.Pod) *v1.PodCondition

Types

type Interface added in v1.2.0

type Interface interface {
	ContainsReadinessGate(pod *v1.Pod) bool
	AddNotReadyKey(pod *v1.Pod, msg Message) error
	RemoveNotReadyKey(pod *v1.Pod, msg Message) error
}

func NewForAdapter added in v1.2.0

func NewForAdapter(adp podadapter.Adapter) Interface

type Message

type Message struct {
	UserAgent string `json:"userAgent"`
	Key       string `json:"key"`
}

Jump to

Keyboard shortcuts

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