Versions in this module Expand all Collapse all v0 v0.5.0 Aug 8, 2018 Changes in this version + type ClusterState struct + func NewClusterState(ignoreFunc IgnoringContainersFunc) *ClusterState + func (cs *ClusterState) ForgetPod(ns, podName string) + func (cs *ClusterState) GetUnstableContainers(requiredStabilityPeriod time.Duration) []ContainerAndState + func (cs *ClusterState) UpdateState(c Container, update StateUpdate) + type Container struct + ContainerName string + Ns string + PodName string + type ContainerAndState struct + Container Container + State State + type IgnoringContainersFunc func(c Container) bool + func IgnoreContainersByRegexp(podPattern, nsPattern, containerPattern string) (IgnoringContainersFunc, error) + type PodWatcher struct + func NewPodWatcher(podListWatcher cache.ListerWatcher, onPodUpdate func(pod *v1.Pod), ...) *PodWatcher + func (w *PodWatcher) StartListeningToEvents() error + func (w *PodWatcher) Stop() + type State struct + Ready bool + ReadySince time.Time + RestartCnt int32 + type StateUpdate struct + Ready bool + RestartCnt int32