MCPcopy
hub / github.com/kubernetes/client-go / Handles

Method Handles

testing/fixture.go:525–532  ·  view source on GitHub ↗
(action Action)

Source from the content-addressed store, hash-verified

523}
524
525func (r *SimpleWatchReactor) Handles(action Action) bool {
526 resourceCovers := r.Resource == "*" || r.Resource == action.GetResource().Resource
527 if !resourceCovers {
528 return false
529 }
530
531 return true
532}
533
534func (r *SimpleWatchReactor) React(action Action) (bool, watch.Interface, error) {
535 return r.Reaction(action)

Callers

nothing calls this directly

Calls 1

GetResourceMethod · 0.65

Tested by

no test coverage detected