Documentation ¶
Index ¶
- func ExcludeFromSlice(fromSlice, inSlice []*kapiv1.Pod) []*kapiv1.Pod
- func FilterOut(slice []*kapiv1.Pod, exclude func(*kapiv1.Pod) (bool, error)) ([]*kapiv1.Pod, error)
- func IsReady(p *kapiv1.Pod) bool
- func KeepRunningPods(pods []*kapiv1.Pod) ([]*kapiv1.Pod, error)
- func PurgeNotReadyPods(pods []*kapiv1.Pod) ([]*kapiv1.Pod, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExcludeFromSlice ¶
ExcludeFromSlice return a slice of Pod that is not present in another slice
func KeepRunningPods ¶
KeepRunningPods check if the pod is Ready
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.