test: x-caddy extension parsing

This commit is contained in:
Pasha Sviderski
2025-08-13 13:45:39 +10:00
parent c67127f83f
commit 879c7c1876
4 changed files with 142 additions and 9 deletions
+1
View File
@@ -24,6 +24,7 @@ func LoadProject(ctx context.Context, paths []string, opts ...composecli.Project
composecli.WithConfigFileEnv,
// If none was selected, get default Compose file names from current or parent folders.
composecli.WithDefaultConfigPath,
composecli.WithExtension(CaddyExtensionKey, Caddy{}),
composecli.WithExtension(PortsExtensionKey, PortsSource{}),
composecli.WithExtension(MachinesExtensionKey, MachinesSource{}),
}