mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 05:31:44 +08:00
14 lines
314 B
Go
14 lines
314 B
Go
package biz
|
|
|
|
import (
|
|
"github.com/acepanel/panel/pkg/api"
|
|
"github.com/acepanel/panel/pkg/types"
|
|
)
|
|
|
|
type TemplateRepo interface {
|
|
List() api.Templates
|
|
Get(slug string) (*api.Template, error)
|
|
Callback(slug string) error
|
|
CreateCompose(name, compose string, envs []types.KV, autoFirewall bool) (string, error)
|
|
}
|