MCPcopy
hub / github.com/flyteorg/flyte / Timer

Interface Timer

flytestdlib/ioutils/timed_readers.go:8–11  ·  view source on GitHub ↗

Defines a common interface for timers.

Source from the content-addressed store, hash-verified

6
7// Defines a common interface for timers.
8type Timer interface {
9 // Stops the timer and reports observation.
10 Stop() float64
11}
12
13func ReadAll(r io.Reader, t Timer) ([]byte, error) {
14 defer t.Stop()

Callers 2

enqueueLoopMethod · 0.95
enqueueLoopMethod · 0.95

Implementers 8

GoCronSchedulerruns/scheduler/core/scheduler.go
AppK8sClientapp/internal/k8s/app_client.go
mockAppK8sClientapp/internal/service/internal_app_serv
APITimerflytestdlib/metrics/crud.go
OperationTimerflytestdlib/metrics/crud.go
Timerflytestdlib/promutils/scope.go
fakeTimerflytestdlib/promutils/labeled/timer_wr
timerflytestdlib/promutils/labeled/timer_wr

Calls

no outgoing calls

Tested by

no test coverage detected