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

Method WithCodegenInput

toolchains/engine-dev/internal/dagger/codegen.gen.go:107–117  ·  view source on GitHub ↗

Create or update a binding of type Codegen in the environment

(name string, value *Codegen, description string)

Source from the content-addressed store, hash-verified

105
106// Create or update a binding of type Codegen in the environment
107func (r *Env) WithCodegenInput(name string, value *Codegen, description string) *Env { // codegen (../../../../:0:0)
108 assertNotNil("value", value)
109 q := r.query.Select("withCodegenInput")
110 q = q.Arg("name", name)
111 q = q.Arg("value", value)
112 q = q.Arg("description", description)
113
114 return &Env{
115 query: q,
116 }
117}
118
119// Declare a desired Codegen output to be assigned in the environment
120func (r *Env) WithCodegenOutput(name string, description string) *Env { // codegen (../../../../:0:0)

Callers

nothing calls this directly

Calls 3

assertNotNilFunction · 0.70
SelectMethod · 0.65
ArgMethod · 0.45

Tested by

no test coverage detected