Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { common.DBService ListInternalRepos(repo V1ImageRepo.ImageRepo, page, limit int, search string) (names []string, err error) Search(num, size int, conditions common.Conditions, options common.DBOptions) (result []V1ImageRepo.ImageRepo, count int, err error) Create(repo *V1ImageRepo.ImageRepo, options common.DBOptions) (err error) Delete(name string, options common.DBOptions) (err error) GetByName(name string, options common.DBOptions) (repo V1ImageRepo.ImageRepo, err error) UpdateRepo(name string, repo *V1ImageRepo.ImageRepo, options common.DBOptions) (err error) ListByCluster(cluster string, options common.DBOptions) (result []V1ImageRepo.ImageRepo, err error) ListImages(repo, cluster string, options common.DBOptions) (names []string, err error) ListImagesByRepo(repo string, page, limit int, search, token string, options common.DBOptions) (res V1ImageRepo.RepoResponse, err error) }
func NewService ¶
func NewService() Service
Click to show internal directories.
Click to hide internal directories.