2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-07 07:03:12 +08:00
Files
panel/internal/biz/template.go

14 lines
313 B
Go

package biz
import (
"github.com/acepanel/panel/pkg/api"
"github.com/acepanel/panel/pkg/types"
)
type TemplateRepo interface {
List() (api.Templates, error)
Get(slug string) (*api.Template, error)
Callback(slug string) error
CreateCompose(name, compose string, envs []types.KV, autoFirewall bool) error
}