kubernetes/pkg/kubelet/util/pod_startup_latency_tracker.go

type PodStartupLatencyTracker

type basicPodStartupLatencyTracker

type perPodState

// NewPodStartupLatencyTracker creates an instance of PodStartupLatencyTracker
func NewPodStartupLatencyTracker() PodStartupLatencyTracker {}

func (p *basicPodStartupLatencyTracker) ObservedPodOnWatch(pod *v1.Pod, when time.Time) {}

func (p *basicPodStartupLatencyTracker) RecordImageStartedPulling(podUID types.UID) {}

func (p *basicPodStartupLatencyTracker) RecordImageFinishedPulling(podUID types.UID) {}

func (p *basicPodStartupLatencyTracker) RecordStatusUpdated(pod *v1.Pod) {}

// hasPodStartedSLO, check if for given pod, each container has been started at least once
//
// This should reflect "Pod startup latency SLI" definition
// ref: https://github.com/kubernetes/community/blob/master/sig-scalability/slos/pod_startup_latency.md
func hasPodStartedSLO(pod *v1.Pod) bool {}

func (p *basicPodStartupLatencyTracker) DeletePodStartupState(podUID types.UID) {}