MCPcopy Index your code
hub / github.com/devspace-sh/devspace / Reset

Method Reset

pkg/devspace/devpod/targetselector.go:100–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98}
99
100func (u *untilNewestRunning) Reset() targetselector.WaitingStrategy {
101 return &untilNewestRunning{
102 parent: u.parent,
103 originalDelay: u.originalDelay,
104 initialDelay: time.Now().Add(u.originalDelay),
105 podInfoPrinter: &targetselector.PodInfoPrinter{
106 LastWarning: time.Now().Add(u.originalDelay),
107 },
108 }
109}
110
111func (u *untilNewestRunning) SelectPod(ctx context.Context, client kubectl.Client, namespace string, pods []*corev1.Pod, log log.Logger) (bool, *corev1.Pod, error) {
112 now := time.Now()

Callers

nothing calls this directly

Calls 1

AddMethod · 0.65

Tested by

no test coverage detected