mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-04 02:30:45 +00:00
`isResourceSupported` checks whether a kubernetes resource is supported by the api server. This ensures that, if the probe is unable to communicate with the api server, the call is retried until a true/false response. If `isResourceSupported` returns false, `ListAndWatch` is not called and `runReflectorUntil` just exits.