chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package compose
|
||||
|
||||
import (
|
||||
"github.com/docker/cli/cli/command"
|
||||
"github.com/docker/compose/v2/pkg/api"
|
||||
"github.com/docker/compose/v2/pkg/compose"
|
||||
)
|
||||
|
||||
type ComposeDeployer struct {
|
||||
createComposeServiceFn func(command.Cli, ...compose.Option) api.Compose
|
||||
}
|
||||
|
||||
// NewComposeDeployer creates a new compose deployer
|
||||
func NewComposeDeployer() *ComposeDeployer {
|
||||
return &ComposeDeployer{
|
||||
createComposeServiceFn: compose.NewComposeService,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user