codegen

package
v0.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SubcommandProvider

func SubcommandProvider(ctx *cli.Context) []*cobra.Command

SubcommandProvider returns the codegen subcommand tree for use in a CLI.

Types

type ExtService

type ExtService struct {
	Name   string   // service name, e.g. "clock"
	Ports  []string // internal ports declared via expose:, e.g. ["8080"]
	EnvVar string   // env var name, e.g. "CLOCK_URL"
}

ExtService describes a project compose extension service that exposes internal ports. The codegen adds host port mappings for these services in compose.test.yml so that tests running on the host can reach them.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL