MCPcopy Index your code
hub / github.com/stakater/Reloader / ResourceUpdatedHandler

Struct ResourceUpdatedHandler

internal/pkg/handler/update.go:18–24  ·  view source on GitHub ↗

ResourceUpdatedHandler contains updated objects

Source from the content-addressed store, hash-verified

16
17// ResourceUpdatedHandler contains updated objects
18type ResourceUpdatedHandler struct {
19 Resource interface{}
20 OldResource interface{}
21 Collectors metrics.Collectors
22 Recorder record.EventRecorder
23 EnqueueTime time.Time // Time when this handler was added to the queue
24}
25
26// GetEnqueueTime returns when this handler was enqueued
27func (r ResourceUpdatedHandler) GetEnqueueTime() time.Time {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected