Documentation ¶
Index ¶
Constants ¶
View Source
const (
MaxBranchLength int = 150
)
View Source
const (
MaxProjectLength int = 150
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GitIntegrationService ¶
type GitIntegrationService interface { UpsertIntegration(integration models.GitIntegration) error GetIntegration(accountId, gitAccountId, provider string) (models.GitIntegration, error) ListIntegrations(accountId, provider string) ([]models.GitIntegration, error) ListRepositories(accountId, gitAccountId, provider string) ([]repository, error) ListBranches(accountId, gitAccountId, provider, repoFullName string) ([]branch, error) ExportProject(accountId, gitAccountId, provider, repoFullName, branchName, commitMessage, projectName string, mService marketplaceService.MarketplaceService, pService projectService.ProjectService, dbService databaseService.DatabaseService, cService crudService.CrudService) error ImportProject(accountId, gitAccountId, provider, repoFullName, branchName, projectName string, pService projectService.ProjectService, dbService databaseService.DatabaseService, cService crudService.CrudService, ubService uibuilderService.UIbuilderService) error }
func NewGitIntegrationService ¶
func NewGitIntegrationService(store gitIntegrationStore.GitIntegrationStore) GitIntegrationService
Click to show internal directories.
Click to hide internal directories.