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

Method IntrospectionTool

toolchains/engine-dev/main.go:354–358  ·  view source on GitHub ↗

Build the `introspect` tool which introspects the engine API

()

Source from the content-addressed store, hash-verified

352
353// Build the `introspect` tool which introspects the engine API
354func (dev *EngineDev) IntrospectionTool() *dagger.File {
355 return dag.
356 Go(dagger.GoOpts{Source: dev.Source}).
357 Binary("./cmd/introspect")
358}
359
360// Generate the json schema for a dagger config file
361// Currently supported: "dagger.json", "engine.json"

Callers 2

GraphqlSchemaMethod · 0.95
invokeFunction · 0.45

Calls 2

BinaryMethod · 0.45
GoMethod · 0.45

Tested by

no test coverage detected