bump compose-go to version v2.9.1

Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
This commit is contained in:
Guillaume Lours
2025-10-30 11:19:34 +01:00
parent b016ae3552
commit 158f84f6a2
9 changed files with 48 additions and 24 deletions
+4 -2
View File
@@ -260,12 +260,14 @@ func WithProfiles(profiles []string) func(*Options) {
// PostProcessor is used to tweak compose model based on metadata extracted during yaml Unmarshal phase
// that hardly can be implemented using go-yaml and mapstructure
type PostProcessor interface {
yaml.Unmarshaler
// Apply changes to compose model based on recorder metadata
Apply(interface{}) error
}
type NoopPostProcessor struct{}
func (NoopPostProcessor) Apply(interface{}) error { return nil }
// LoadConfigFiles ingests config files with ResourceLoader and returns config details with paths to local copies
func LoadConfigFiles(ctx context.Context, configFiles []string, workingDir string, options ...func(*Options)) (*types.ConfigDetails, error) {
if len(configFiles) < 1 {