Discover Packages
github.com/colussim/GoLC
pkg
devops
getbitbucketdc
package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: May 6, 2024
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Jump to ...
Documentation
Index
Constants
Variables
Functions
Types
type AnalysisResult
type Branch
type BranchResponse
type Children
type ExclusionList
type File
type FileResponse
type Path
type Project
type ProjectBranch
GetProjectBitbucketList(url, baseapi, apiver, accessToken, exlusionfile, project, repo, branchmain)
GetRepos(project, repos, ...)
GetReposProject(projects, url, baseapi, apiver, accessToken, bitbucketURLBase, branchmain, ...)
type ProjectResponse
type Repo
type RepoResponse
type RepositoryData
Source Files
Documentation
Documentation
¶
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"`
}
func GetProjectBitbucketList(url, baseapi, apiver, accessToken, exlusionfile, project, repo, branchmain string ) ([]ProjectBranch , error )
func GetRepos(project string , repos []Repo , url, baseapi, apiver, accessToken, bitbucketURLBase, branchmain string , exclusionList *ExclusionList , spin *spinner .Spinner ) ([]ProjectBranch , int , int )
func GetReposProject(projects []Project , url, baseapi, apiver, accessToken, bitbucketURLBase, branchmain string , nbRepos int , exclusionList *ExclusionList , spin *spinner .Spinner ) ([]ProjectBranch , int , int )
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 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.