mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 12:15:20 +01:00
update
This commit is contained in:
parent
aecfcef51a
commit
fa0dec6c9c
@ -371,12 +371,12 @@ func (p *ProjectManager) Update(projectIDOrName interface{}, project *models.Pro
|
|||||||
}
|
}
|
||||||
|
|
||||||
// GetAll ...
|
// GetAll ...
|
||||||
func (p *ProjectManager) GetAll(query *models.ProjectQueryParam) ([]*models.Project, error) {
|
func (p *ProjectManager) GetAll(query *models.ProjectQueryParam, base ...*models.BaseProjectCollection) ([]*models.Project, error) {
|
||||||
return nil, errors.New("get all projects is unsupported")
|
return nil, errors.New("get all projects is unsupported")
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetTotal ...
|
// GetTotal ...
|
||||||
func (p *ProjectManager) GetTotal(query *models.ProjectQueryParam) (int64, error) {
|
func (p *ProjectManager) GetTotal(query *models.ProjectQueryParam, base ...*models.BaseProjectCollection) (int64, error) {
|
||||||
return 0, errors.New("get total of projects is unsupported")
|
return 0, errors.New("get total of projects is unsupported")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user