Documentation
¶
Index ¶
- Constants
- func CloudProjects(url string, accessToken string, isProjectResponse bool) (interface{}, error)
- func CloudRepos(url string, accessToken string, isProjectResponse bool) (interface{}, error)
- type AnalysisResult
- type Branch
- type BranchResponse
- type Commit
- type ExclusionList
- type FileInfo
- type Link
- type ParamsReposCloud
- type ParamsReposProjectCloud
- type Path
- type ProjectBranch
- type ProjectRepo
- type Projectc
- type ProjectcsResponse
- type ReposResponse
- type Reposc
- type Response1
- type SizeResponse
Constants ¶
View Source
const PrefixMsg = "Get Projects..."
Variables ¶
This section is empty.
Functions ¶
func CloudProjects ¶
Types ¶
type AnalysisResult ¶
type AnalysisResult struct {
NumProjects int
NumRepositories int
ProjectBranches []ProjectBranch
}
type Branch ¶
type BranchResponse ¶
type BranchResponse struct {
Values []Branch `json:"values"`
Pagelen int `json:"pagelen"`
Size int `json:"size"`
Page int `json:"page"`
Next string `json:"next"`
}
func CloudBranches ¶
func CloudBranches(url string, accessToken string) (*BranchResponse, error)
type ExclusionList ¶
type ParamsReposCloud ¶
type ParamsReposProjectCloud ¶
type ProjectBranch ¶
func GetProjectBitbucketListCloud ¶
func GetProjectBitbucketListCloud(url, baseapi, apiver, accessToken, workspace, exlusionfile, project, repo, branchmain string) ([]ProjectBranch, error)
func GetRepos ¶
func GetRepos(parms ParamsReposCloud) ([]ProjectBranch, int, int)
func GetReposProjectCloud ¶
func GetReposProjectCloud(parms ParamsReposProjectCloud) ([]ProjectBranch, int, int)
type ProjectRepo ¶
type Projectc ¶
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"`
}
func CloudAllProjects ¶
func CloudAllProjects(url string, accessToken string, exclusionList *ExclusionList) ([]Projectc, error)
func CloudOnelProjects ¶
func CloudOnelProjects(url string, accessToken string, exclusionList *ExclusionList) ([]Projectc, error)
type ProjectcsResponse ¶
type ReposResponse ¶
type Reposc ¶
type Reposc struct {
Name string `json:"name"`
Slug string `json:"slug"`
Description string `json:"description"`
Size int `json:"size"`
Language string `json:"language"`
Project ProjectRepo `json:"project"`
}
func CloudAllRepos ¶
func CloudAllRepos(url string, accessToken string, exclusionList *ExclusionList) ([]Reposc, error)
type SizeResponse ¶
type SizeResponse struct {
Size int `json:"size"`
}
Click to show internal directories.
Click to hide internal directories.