MCPcopy Index your code
hub / github.com/dagger/dagger / CurrentFunctionCall

Method CurrentFunctionCall

core/query.go:67–67  ·  view source on GitHub ↗

If the current client is coming from a function, return the function call metadata

(context.Context)

Source from the content-addressed store, hash-verified

65
66 // If the current client is coming from a function, return the function call metadata
67 CurrentFunctionCall(context.Context) (*FunctionCall, error)
68
69 // If the current client is bound to an environment, return that environment.
70 CurrentEnv(context.Context) (dagql.ObjectResult[*Env], error)

Callers 15

dispatchFunction · 0.65
dispatchFunction · 0.65
dispatchFunction · 0.65
dispatchFunction · 0.65
dispatchFunction · 0.65
dispatchFunction · 0.65
dispatchFunction · 0.65
dispatchFunction · 0.65
dispatchFunction · 0.65
dispatchFunction · 0.65
dispatchFunction · 0.65
dispatchFunction · 0.65

Implementers 3

mockServercore/telemetry_test.go
currentTypeDefsTestServercore/schema/test_server_test.go
Serverengine/server/server.go

Calls

no outgoing calls

Tested by

no test coverage detected