Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCanceled = errors.New("buildservice: canceled by context")
)
Functions ¶
func GetPreparedContent ¶
func GetPreparedContent(ctx context.Context, bd *entity.BuildDefinition, vars []entity.UserVariable) (*entity.BuildDefinitionContent, error)
Types ¶
type BuildService ¶
type BuildService struct { Cfg *configuration.AppConfig SessMgr *sessionstore.SessionManager Logger *logrus.Entry DBSvc *dbservice.DBService DeploySvc *deploymentservice.DeploymentService }
func New ¶
func New(cfg *configuration.AppConfig, sessMgr *sessionstore.SessionManager, logger *logrus.Entry, ds *dbservice.DBService, dpl *deploymentservice.DeploymentService) *BuildService
func (*BuildService) CloneRepository ¶
func (*BuildService) GetBasePath ¶
func (bs *BuildService) GetBasePath() string
func (*BuildService) GetRepositoryUrl ¶
func (bs *BuildService) GetRepositoryUrl(ctx context.Context, cont *entity.BuildDefinitionContent, withCredentials bool) (string, error)
Click to show internal directories.
Click to hide internal directories.