mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 21:39:40 +02:00
refactor(libstack): move library to portainer [EE-5474] (#9120)
This commit is contained in:
parent
11571fd6ea
commit
8c16fbb8aa
15 changed files with 691 additions and 0 deletions
11
pkg/libstack/compose/compose.go
Normal file
11
pkg/libstack/compose/compose.go
Normal file
|
@ -0,0 +1,11 @@
|
|||
package compose
|
||||
|
||||
import (
|
||||
"github.com/portainer/portainer/pkg/libstack"
|
||||
"github.com/portainer/portainer/pkg/libstack/compose/internal/composeplugin"
|
||||
)
|
||||
|
||||
// NewComposeDeployer will try to create a wrapper for docker-compose plugin
|
||||
func NewComposeDeployer(binaryPath, configPath string) (libstack.Deployer, error) {
|
||||
return composeplugin.NewPluginWrapper(binaryPath, configPath)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue