mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 10:17:17 +08:00
* Initial plan * feat: 添加容器终端功能 - 通过 WebSocket 进入容器执行命令 Co-authored-by: devhaozi <115467771+devhaozi@users.noreply.github.com> * fix: 将 fmt.Errorf 错误信息改为英语 Co-authored-by: devhaozi <115467771+devhaozi@users.noreply.github.com> * feat: 前端优化 * feat: 容器优化 * feat: 前端优化 --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: devhaozi <115467771+devhaozi@users.noreply.github.com> Co-authored-by: 耗子 <haozi@loli.email>
15 lines
312 B
Go
15 lines
312 B
Go
package biz
|
|
|
|
import (
|
|
"github.com/acepanel/panel/internal/http/request"
|
|
"github.com/acepanel/panel/pkg/types"
|
|
)
|
|
|
|
type ContainerImageRepo interface {
|
|
List() ([]types.ContainerImage, error)
|
|
Exist(name string) (bool, error)
|
|
Pull(req *request.ContainerImagePull) error
|
|
Remove(id string) error
|
|
Prune() error
|
|
}
|