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) 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) Insert(ctx context.Context, o1 *dto.Project) (*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) 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) 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.ProjectTypeService `inject:"#ProjectTypeService"` FileSystemService service.FileSystemService `inject:"#FileSystemService"` 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) 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 ...
Click to show internal directories.
Click to hide internal directories.