MCPcopy Create free account
hub / github.com/cloudfoundry/garden / Ping

Method Ping

client.go:12–12  ·  view source on GitHub ↗

Pings the garden server. Checks connectivity to the server. The server may, optionally, respond with specific errors indicating health issues. Errors: * garden.UnrecoverableError indicates that the garden server has entered an error state from which it cannot recover

()

Source from the content-addressed store, hash-verified

10 // Errors:
11 // * garden.UnrecoverableError indicates that the garden server has entered an error state from which it cannot recover
12 Ping() error
13
14 // Capacity returns the physical capacity of the server's machine.
15 //

Callers 3

server_test.goFile · 0.65
handlePingMethod · 0.65

Implementers 3

FakeBackendgardenfakes/fake_backend.go
FakeClientgardenfakes/fake_client.go
clientclient/client.go

Calls

no outgoing calls

Tested by

no test coverage detected