Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Project ¶
type Project interface { Save(*spacedomain.Project) (spacedomain.Project, error) Delete(*domain.ResourceIndex) error Get(domain.Account, string) (spacedomain.Project, error) GetByName(domain.Account, domain.ResourceName) (spacedomain.Project, error) GetByRepoId(domain.Identity) (spacedomain.Project, error) GetSummary(domain.Account, string) (ProjectSummary, error) GetSummaryByName(domain.Account, domain.ResourceName) (domain.ResourceSummary, error) FindUserProjects([]repository.UserResourceListOption) ([]spacedomain.ProjectSummary, error) ListAndSortByUpdateTime(domain.Account, *repository.ResourceListOption) (UserProjectsInfo, error) ListAndSortByFirstLetter(domain.Account, *repository.ResourceListOption) (UserProjectsInfo, error) ListAndSortByDownloadCount(domain.Account, *repository.ResourceListOption) (UserProjectsInfo, error) ListGlobalAndSortByUpdateTime(*repository.GlobalResourceListOption) (UserProjectsInfo, error) ListGlobalAndSortByFirstLetter(*repository.GlobalResourceListOption) (UserProjectsInfo, error) ListGlobalAndSortByDownloadCount(*repository.GlobalResourceListOption) (UserProjectsInfo, error) Search(*repository.ResourceSearchOption) (repository.ResourceSearchResult, error) AddLike(*domain.ResourceIndex) error RemoveLike(*domain.ResourceIndex) error AddRelatedModel(*repository.RelatedResourceInfo) error RemoveRelatedModel(*repository.RelatedResourceInfo) error AddRelatedDataset(*repository.RelatedResourceInfo) error RemoveRelatedDataset(*repository.RelatedResourceInfo) error UpdateProperty(*ProjectPropertyUpdateInfo) error IncreaseFork(*domain.ResourceIndex) error IncreaseDownload(*domain.ResourceIndex) error }
type ProjectPropertyUpdateInfo ¶
type ProjectPropertyUpdateInfo struct { repository.ResourceToUpdate Property spacedomain.ProjectModifiableProperty }
type ProjectSummary ¶
type ProjectSummary struct { domain.ResourceSummary Tags []string }
type UserProjectsInfo ¶
type UserProjectsInfo struct { Projects []spacedomain.ProjectSummary Total int }
Click to show internal directories.
Click to hide internal directories.