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

Function New

client/client.go:16–20  ·  view source on GitHub ↗
(connection connection.Connection)

Source from the content-addressed store, hash-verified

14}
15
16func New(connection connection.Connection) Client {
17 return &client{
18 connection: connection,
19 }
20}
21
22func (client *client) Ping() error {
23 return client.connection.Ping()

Callers 5

server_test.goFile · 0.92
listenAndServeFunction · 0.92
container_test.goFile · 0.70
client_test.goFile · 0.70

Calls

no outgoing calls

Tested by 1

listenAndServeFunction · 0.74