Discover Packages
github.com/emmanuel-colussi-sonarsource/sonar-golc
pkg
devops
getbitbucketdc
package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: May 27, 2024
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type AnalysisResult
type Branch
type BranchResponse
type Children
type ExclusionList
type File
type FileResponse
type ParamsReposDC
type ParamsReposProjectDC
type Path
type Project
type ProjectBranch
func GetProjectBitbucketList(platformConfig map[string]interface{}, exlusionfile string) ([]ProjectBranch, error)
func GetRepos(project string, repos []Repo, parms ParamsReposDC, bitbucketURLBase string, ...) ([]ProjectBranch, int, int)
func GetReposProject(projects []Project, parms ParamsReposProjectDC, bitbucketURLBase string, ...) ([]ProjectBranch, int, int)
type ProjectRepo
type ProjectResponse
type Projectc
type Repo
type RepoResponse
type RepositoryData
type AnalysisResult struct {
NumProjects int
NumRepositories int
ProjectBranches []ProjectBranch
}
type Branch struct {
ID string `json:"id"`
Name string `json:"displayId"`
Type string `json:"type"`
LatestCommit string `json:"latestCommit"`
LatestChangeset string `json:"latestChangeset"`
IsDefault bool `json:"isDefault"`
}
type BranchResponse struct {
Size int `json:"size"`
Limit int `json:"limit"`
IsLastPage bool `json:"isLastPage"`
Values []Branch `json:"values"`
Start int `json:"start"`
NextPageStart int `json:"nextPageStart"`
}
type Children struct {
Size int `json:"size"`
Limit int `json:"limit"`
Values []File `json:"values"`
}
type ExclusionList struct {
Projects map[string ]bool `json:"projects"`
Repos map[string ]bool `json:"repos"`
}
type File struct {
Path Path `json:"path"`
ContentID string `json:"contentId"`
Type string `json:"type"`
Size int `json:"size"`
}
type FileResponse struct {
Path Path `json:"path"`
Revision string `json:"revision"`
Children Children `json:"children"`
Start int `json:"start"`
IsLastPage bool `json:"isLastPage"`
NextPageStart int `json:"nextPageStart"`
}
type Path struct {
Components []string `json:"components"`
Name string `json:"name"`
ToString string `json:"toString"`
}
type Project struct {
Key string `json:"key"`
Name string `json:"name"`
Links struct {
Self []struct {
Href string `json:"href"`
} `json:"self"`
} `json:"links"`
}
type ProjectRepo struct {
Type string `json:"type"`
Key string `json:"key"`
UUID string `json:"uuid"`
Name string `json:"name"`
}
type ProjectResponse struct {
Size int `json:"size"`
Limit int `json:"limit"`
IsLastPage bool `json:"isLastPage"`
Values []Project `json:"values"`
Start int `json:"start"`
NextPageStart int `json:"nextPageStart"`
}
type Projectc struct {
Key string `json:"key"`
UUID string `json:"uuid"`
IsPrivate bool `json:"is_private"`
Name string `json:"name"`
Description string `json:"description"`
Links struct {
Self struct {
Href string `json:"href"`
} `json:"self"`
} `json:"links"`
}
type Repo struct {
Slug string `json:"slug"`
Name string `json:"name"`
Project struct {
Key string `json:"key"`
} `json:"project"`
Links struct {
Self []struct {
Href string `json:"href"`
} `json:"self"`
} `json:"links"`
}
type RepoResponse struct {
Size int `json:"size"`
Limit int `json:"limit"`
IsLastPage bool `json:"isLastPage"`
Values []Repo `json:"values"`
Start int `json:"start"`
NextPageStart int `json:"nextPageStart"`
}
type RepositoryData struct {
Repository int `json:"repository"`
Attachments int `json:"attachments"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.