gitIntegrationService

package
v0.0.0-...-27c9e6d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaxBranchLength int = 150
)
View Source
const (
	MaxProjectLength int = 150
)

Variables

This section is empty.

Functions

func MinInt

func MinInt(a, b int) int

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL