mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 06:47:20 +08:00
14 lines
380 B
Go
14 lines
380 B
Go
package biz
|
|
|
|
import "github.com/acepanel/panel/pkg/types"
|
|
|
|
type ContainerComposeRepo interface {
|
|
List() ([]types.ContainerCompose, error)
|
|
Get(name string) (string, []types.KV, error)
|
|
Create(name, compose string, envs []types.KV) error
|
|
Update(name, compose string, envs []types.KV) error
|
|
Up(name string, force bool) error
|
|
Down(name string) error
|
|
Remove(name string) error
|
|
}
|