Documentation ¶
Index ¶
- type ProjectController
- type ProjectDaoImpl
- func (inst *ProjectDaoImpl) Find(id dxo.ProjectID) (*entity.Project, error)
- func (inst *ProjectDaoImpl) FindByOwnerRepository(id dxo.LocalRepositoryID) ([]*entity.Project, error)
- func (inst *ProjectDaoImpl) FindByPath(path string) (*entity.Project, error)
- func (inst *ProjectDaoImpl) Insert(o *entity.Project) (*entity.Project, error)
- func (inst *ProjectDaoImpl) ListAll() ([]*entity.Project, error)
- func (inst *ProjectDaoImpl) ListByIds(ids []dxo.ProjectID) ([]*entity.Project, error)
- func (inst *ProjectDaoImpl) Remove(id dxo.ProjectID) error
- func (inst *ProjectDaoImpl) Update(id dxo.ProjectID, o1 *entity.Project) (*entity.Project, error)
- type ProjectImportController
- type ProjectImportServiceImpl
- func (inst *ProjectImportServiceImpl) Find(ctx context.Context, o *vo.ProjectImport) (*vo.ProjectImport, error)
- func (inst *ProjectImportServiceImpl) FindOrLocate(ctx context.Context, o *vo.ProjectImport) (*vo.ProjectImport, error)
- func (inst *ProjectImportServiceImpl) Locate(ctx context.Context, o *vo.ProjectImport) (*vo.ProjectImport, error)
- func (inst *ProjectImportServiceImpl) Save(ctx context.Context, o *vo.ProjectImport) (*vo.ProjectImport, error)
- type ProjectServiceImpl
- func (inst *ProjectServiceImpl) Find(ctx context.Context, id dxo.ProjectID, options *service.ProjectOptions) (*dto.Project, error)
- func (inst *ProjectServiceImpl) FindByOwnerRepository(ctx context.Context, id dxo.LocalRepositoryID, options *service.ProjectOptions) ([]*dto.Project, error)
- func (inst *ProjectServiceImpl) FindByPath(ctx context.Context, path string, options *service.ProjectOptions) (*dto.Project, error)
- func (inst *ProjectServiceImpl) Insert(ctx context.Context, o1 *dto.Project) (*dto.Project, error)
- func (inst *ProjectServiceImpl) InsertOrFetch(ctx context.Context, o1 *dto.Project, opt *service.ProjectOptions) (*dto.Project, error)
- func (inst *ProjectServiceImpl) ListAll(ctx context.Context, options *service.ProjectOptions) ([]*dto.Project, error)
- func (inst *ProjectServiceImpl) ListByIds(ctx context.Context, ids []dxo.ProjectID, options *service.ProjectOptions) ([]*dto.Project, error)
- func (inst *ProjectServiceImpl) Locate(ctx context.Context, o1 *dto.Project, options *service.ProjectOptions) (*dto.Project, error)
- func (inst *ProjectServiceImpl) Remove(ctx context.Context, id dxo.ProjectID) error
- func (inst *ProjectServiceImpl) Update(ctx context.Context, id dxo.ProjectID, o1 *dto.Project) (*dto.Project, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectController ¶
type ProjectController struct { markup.RestController `class:"rest-controller"` ProjectService service.ProjectService `inject:"#ProjectService"` Responder glass.MainResponder `inject:"#glass-main-responder"` }
ProjectController 仓库控制器
func (*ProjectController) Init ¶
func (inst *ProjectController) Init(ec glass.EngineConnection) error
Init 初始化
type ProjectDaoImpl ¶
type ProjectDaoImpl struct { markup.Component `id:"ProjectDAO"` Agent dbagent.GormDBAgent `inject:"#GormDBAgent"` UUIDGenService service.UUIDGenService `inject:"#UUIDGenService"` }
ProjectDaoImpl ...
func (*ProjectDaoImpl) FindByOwnerRepository ¶
func (inst *ProjectDaoImpl) FindByOwnerRepository(id dxo.LocalRepositoryID) ([]*entity.Project, error)
FindByOwnerRepository ...
func (*ProjectDaoImpl) FindByPath ¶ added in v0.1.1
func (inst *ProjectDaoImpl) FindByPath(path string) (*entity.Project, error)
FindByPath ...
func (*ProjectDaoImpl) ListAll ¶
func (inst *ProjectDaoImpl) ListAll() ([]*entity.Project, error)
ListAll ...
type ProjectImportController ¶
type ProjectImportController struct { markup.RestController `class:"rest-controller"` ProjectImportService service.ProjectImportService `inject:"#ProjectImportService"` Responder glass.MainResponder `inject:"#glass-main-responder"` }
ProjectImportController 仓库控制器
func (*ProjectImportController) Init ¶
func (inst *ProjectImportController) Init(ec glass.EngineConnection) error
Init 初始化
type ProjectImportServiceImpl ¶
ProjectImportServiceImpl ...
func (*ProjectImportServiceImpl) Find ¶
func (inst *ProjectImportServiceImpl) Find(ctx context.Context, o *vo.ProjectImport) (*vo.ProjectImport, error)
func (*ProjectImportServiceImpl) FindOrLocate ¶
func (inst *ProjectImportServiceImpl) FindOrLocate(ctx context.Context, o *vo.ProjectImport) (*vo.ProjectImport, error)
func (*ProjectImportServiceImpl) Locate ¶
func (inst *ProjectImportServiceImpl) Locate(ctx context.Context, o *vo.ProjectImport) (*vo.ProjectImport, error)
func (*ProjectImportServiceImpl) Save ¶
func (inst *ProjectImportServiceImpl) Save(ctx context.Context, o *vo.ProjectImport) (*vo.ProjectImport, error)
type ProjectServiceImpl ¶
type ProjectServiceImpl struct { markup.Component `id:"ProjectService"` UUIDGenService service.UUIDGenService `inject:"#UUIDGenService"` LocalRepoService service.LocalRepositoryService `inject:"#LocalRepositoryService"` ProjectTypeService service.ContentTypeService `inject:"#ContentTypeService"` FileSystemService service.FileSystemService `inject:"#FileSystemService"` LocationService service.LocationService `inject:"#LocationService"` ProjectDAO dao.ProjectDAO `inject:"#ProjectDAO"` LocalRepoDAO dao.LocalRepositoryDAO `inject:"#LocalRepositoryDAO"` GitLibAgent store.LibAgent `inject:"#git-lib-agent"` }
ProjectServiceImpl ...
func (*ProjectServiceImpl) Find ¶
func (inst *ProjectServiceImpl) Find(ctx context.Context, id dxo.ProjectID, options *service.ProjectOptions) (*dto.Project, error)
Find ...
func (*ProjectServiceImpl) FindByOwnerRepository ¶
func (inst *ProjectServiceImpl) FindByOwnerRepository(ctx context.Context, id dxo.LocalRepositoryID, options *service.ProjectOptions) ([]*dto.Project, error)
FindByOwnerRepository ...
func (*ProjectServiceImpl) FindByPath ¶ added in v0.1.1
func (inst *ProjectServiceImpl) FindByPath(ctx context.Context, path string, options *service.ProjectOptions) (*dto.Project, error)
FindByPath ...
func (*ProjectServiceImpl) InsertOrFetch ¶ added in v0.1.1
func (inst *ProjectServiceImpl) InsertOrFetch(ctx context.Context, o1 *dto.Project, opt *service.ProjectOptions) (*dto.Project, error)
InsertOrFetch ...
func (*ProjectServiceImpl) ListAll ¶
func (inst *ProjectServiceImpl) ListAll(ctx context.Context, options *service.ProjectOptions) ([]*dto.Project, error)
ListAll ...
func (*ProjectServiceImpl) ListByIds ¶
func (inst *ProjectServiceImpl) ListByIds(ctx context.Context, ids []dxo.ProjectID, options *service.ProjectOptions) ([]*dto.Project, error)
ListByIds ...
func (*ProjectServiceImpl) Locate ¶ added in v0.1.1
func (inst *ProjectServiceImpl) Locate(ctx context.Context, o1 *dto.Project, options *service.ProjectOptions) (*dto.Project, error)
Locate ...
Click to show internal directories.
Click to hide internal directories.