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

Interface ResourceHandler

internal/pkg/handler/handler.go:10–13  ·  view source on GitHub ↗

ResourceHandler handles the creation and update of resources

Source from the content-addressed store, hash-verified

8
9// ResourceHandler handles the creation and update of resources
10type ResourceHandler interface {
11 Handle() error
12 GetConfig() (common.Config, string)
13}
14
15// TimedHandler is a handler that tracks when it was enqueued
16type TimedHandler interface {

Callers 2

processNextItemMethod · 0.65
SetupPrometheusEndpointFunction · 0.65

Implementers 4

mockResourceHandlerinternal/pkg/controller/controller_tes
ResourceUpdatedHandlerinternal/pkg/handler/update.go
ResourceDeleteHandlerinternal/pkg/handler/delete.go
ResourceCreatedHandlerinternal/pkg/handler/create.go

Calls

no outgoing calls

Tested by

no test coverage detected