mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
feat(deploy): load compose project
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package client
|
||||
|
||||
import "github.com/compose-spec/compose-go/v2/types"
|
||||
|
||||
type ComposeDeployment struct {
|
||||
project *types.Project
|
||||
}
|
||||
|
||||
func NewComposeDeployment(project *types.Project) *ComposeDeployment {
|
||||
return &ComposeDeployment{project: project}
|
||||
}
|
||||
|
||||
// TODO: implement Plan method to generate a deployment plan that consists of a sequence of operations with
|
||||
// service Deployments.
|
||||
Reference in New Issue
Block a user