MCPcopy Create free account
hub / github.com/dagger/dagger / inspectModule

Function inspectModule

core/integration/module_test.go:8391–8398  ·  view source on GitHub ↗
(ctx context.Context, t *testctx.T, ctr *dagger.Container)

Source from the content-addressed store, hash-verified

8389`)
8390
8391func inspectModule(ctx context.Context, t *testctx.T, ctr *dagger.Container) gjson.Result {
8392 t.Helper()
8393 out, err := ctr.With(moduleIntrospection).Stdout(ctx)
8394 require.NoError(t, err)
8395 result := gjson.Get(out, "host.directory.asModule")
8396 t.Logf("module introspection:\n%v", result.Raw)
8397 return result
8398}
8399
8400func inspectModuleObjects(ctx context.Context, t *testctx.T, ctr *dagger.Container) gjson.Result {
8401 t.Helper()

Callers 10

TestCustomEnumTypeMethod · 0.70
TestEnumDefaultValueMethod · 0.70
TestNativeEnumTypeMethod · 0.70
TestTelemetryImportMethod · 0.70
TestTypeKeywordMethod · 0.70
TestInterfaceMethod · 0.70
TestDescriptionMethod · 0.70
inspectModuleObjectsFunction · 0.70
inspectModuleInterfacesFunction · 0.70

Calls 3

GetMethod · 0.65
StdoutMethod · 0.45
WithMethod · 0.45

Tested by

no test coverage detected