Documentation
¶
Index ¶
- Constants
- type GoGenerator
- func (g *GoGenerator) GenerateClient(ctx context.Context, schema *introspection.Schema, schemaVersion string) (*generator.GeneratedState, error)
- func (g *GoGenerator) GenerateLibrary(ctx context.Context, schema *introspection.Schema, schemaVersion string) (*generator.GeneratedState, error)
- func (g *GoGenerator) GenerateModule(ctx context.Context, schema *introspection.Schema, schemaVersion string) (*generator.GeneratedState, error)
- type MountedFS
- type PackageInfo
Constants ¶
View Source
const ( // ClientGenFile is the path to write the codegen for the dagger API ClientGenFile = "dagger.gen.go" // StarterTemplateFile is the path to write the default module code StarterTemplateFile = "main.go" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoGenerator ¶
func (*GoGenerator) GenerateClient ¶ added in v0.16.3
func (g *GoGenerator) GenerateClient(ctx context.Context, schema *introspection.Schema, schemaVersion string) (*generator.GeneratedState, error)
func (*GoGenerator) GenerateLibrary ¶ added in v0.18.15
func (g *GoGenerator) GenerateLibrary(ctx context.Context, schema *introspection.Schema, schemaVersion string) (*generator.GeneratedState, error)
func (*GoGenerator) GenerateModule ¶ added in v0.16.3
func (g *GoGenerator) GenerateModule(ctx context.Context, schema *introspection.Schema, schemaVersion string) (*generator.GeneratedState, error)
type PackageInfo ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.