MCPcopy
hub / github.com/coredns/coredns / Readiness

Interface Readiness

plugin/ready/readiness.go:4–7  ·  view source on GitHub ↗

The Readiness interface needs to be implemented by each plugin willing to provide a readiness check.

Source from the content-addressed store, hash-verified

2
3// The Readiness interface needs to be implemented by each plugin willing to provide a readiness check.
4type Readiness interface {
5 // Ready is called by ready to see whether the plugin is ready.
6 Ready() bool
7}

Callers 3

onStartupMethod · 0.65
ReadyMethod · 0.65
OnStartupMethod · 0.65

Implementers 6

Nomadplugin/nomad/nomad.go
listplugin/ready/list.go
startupListenerplugin/metrics/metrics.go
Kubernetesplugin/kubernetes/kubernetes.go
Erraticplugin/erratic/erratic.go
unreadytest/reload_test.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…