fix(imagerepo): workload 创建加载全部镜像

This commit is contained in:
ssongliu
2022-05-24 17:24:06 +08:00
parent f3d5fcd0b3
commit 0fb84467b1
7 changed files with 157 additions and 66 deletions

View File

@@ -5,6 +5,7 @@ import "github.com/KubeOperator/kubepi/pkg/util/imagerepo/repos"
type RepoClient interface {
ListRepos(request repos.ProjectRequest) ([]string, error)
ListImages(request repos.RepoRequest) (response repos.RepoResponse, err error)
ListImagesWithoutPage(repository string) (images []string, err error)
}
func NewClient(config repos.Config) RepoClient {