Versions in this module Expand all Collapse all v1 v1.0.0 Nov 3, 2021 Changes in this version + const ConfigOSSAccessKeyFile + const ConfigOSSAccessKeyID + const ConfigOSSBucket + const ConfigOSSEndpoint + func Run(mod application.Module) error + type Context struct + BucketParams OSSBucketParams + GitConfigFile fs.Path + GitConfigProps collection.Properties + GitRepoDir fs.Path + GitSer GitService + GitWorkingDir fs.Path + OSSSer OSSService + OSSURL string + PWD fs.Path + Pool lang.ReleasePool + ScanSer ScanService + UploadSer UploadService + type GitService interface + Open func() error + type GitServiceImpl struct + Context *Context + func (inst *GitServiceImpl) Open() error + type OSSBucketParams struct + AccessKeyID string + AccessKeySecret string + Bucket string + Endpoint string + type OSSService interface + Open func() error + UploadFile func(objectName string, file fs.Path) error + type OSSServiceImpl struct + Context *Context + func (inst *OSSServiceImpl) Open() error + func (inst *OSSServiceImpl) UploadFile(objectName string, file fs.Path) error + type ScanHandlerFn func(file fs.Path, spath string) error + type ScanService interface + Scan func(h ScanHandlerFn) error + type ScanServiceImpl struct + Context *Context + func (inst *ScanServiceImpl) Scan(h ScanHandlerFn) error + type UploadService interface + Upload func() error + type UploadServiceImpl struct + Context *Context + func (inst *UploadServiceImpl) Upload() error