MCPcopy
hub / github.com/google/seesaw / Checker

Interface Checker

healthcheck/core.go:75–78  ·  view source on GitHub ↗

Checker is the interface that must be implemented by a healthcheck.

Source from the content-addressed store, hash-verified

73
74// Checker is the interface that must be implemented by a healthcheck.
75type Checker interface {
76 Check(timeout time.Duration) *Result
77 String() string
78}
79
80// Target specifies the target for a healthcheck.
81type Target struct {

Callers 10

executeMethod · 0.65
checkFunction · 0.65
exchangeICMPEchoFunction · 0.65
CheckMethod · 0.65
StatusMethod · 0.65
main.goFile · 0.65
main.goFile · 0.65
findInterfaceFunction · 0.65
StringMethod · 0.65
TestReIPVserverFunction · 0.65

Implementers 7

HTTPCheckerhealthcheck/http.go
PingCheckerhealthcheck/ping.go
DNSCheckerhealthcheck/dns.go
RADIUSCheckerhealthcheck/radius.go
UDPCheckerhealthcheck/udp.go
fakeCheckerhealthcheck/healthcheck_test.go
TCPCheckerhealthcheck/tcp.go

Calls

no outgoing calls

Tested by

no test coverage detected