MCPcopy
hub / github.com/etcd-io/etcd / Ctx

Method Ctx

client/v3/client.go:165–165  ·  view source on GitHub ↗

Ctx is a context for "out of band" messages (e.g., for sending "clean up" message when another context is canceled). It is canceled on client Close().

()

Source from the content-addressed store, hash-verified

163// "clean up" message when another context is canceled). It is
164// canceled on client Close().
165func (c *Client) Ctx() context.Context { return c.ctx }
166
167// Endpoints lists the registered endpoints for the client.
168func (c *Client) Endpoints() []string {

Callers 13

TestDialCancelFunction · 0.95
mustCreateWatcherFunction · 0.45
deregisterMemberFunction · 0.45
testLeasingOwnerDeleteFunction · 0.45
newGRPCProxyServerFunction · 0.45
RegisterFunction · 0.45
registerSessionFunction · 0.45
checkHealthFunction · 0.45
checkProxyHealthFunction · 0.45
NewClusterProxyFunction · 0.45

Calls

no outgoing calls

Tested by 6

TestDialCancelFunction · 0.76
mustCreateWatcherFunction · 0.36
deregisterMemberFunction · 0.36
testLeasingOwnerDeleteFunction · 0.36