Documentation ¶
Index ¶
- Constants
- type ConfigReader
- type GitLab
- func (receiver GitLab) BrowseFileUrl(repositoryUrl string, branchName string, filePath string) string
- func (receiver GitLab) DownloadFileUrl(projectId int, filePath string, ref string) string
- func (receiver GitLab) GetProject(projectId int) (ProjectResult, error)
- func (receiver GitLab) GetProjectRepositoryBranches(projectId int, branch string) (ProjectRepositoryBranch, error)
- func (receiver GitLab) GetSpec(specUrl string) (OpenAPISpec, error)
- func (receiver GitLab) Search() ([]SearchQueryResult, error)
- type InfoSpec
- type OpenAPISpec
- type ProjectRepositoryBranch
- type ProjectRepositoryBranchCommit
- type ProjectResult
- type SearchQueryResult
Constants ¶
View Source
const SearchResultsPerPage = 1000
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigReader ¶
type GitLab ¶
type GitLab struct {
Config ConfigReader
}
func (GitLab) BrowseFileUrl ¶
func (GitLab) DownloadFileUrl ¶
func (GitLab) GetProject ¶
func (receiver GitLab) GetProject(projectId int) (ProjectResult, error)
func (GitLab) GetProjectRepositoryBranches ¶
func (receiver GitLab) GetProjectRepositoryBranches(projectId int, branch string) (ProjectRepositoryBranch, error)
func (GitLab) Search ¶
func (receiver GitLab) Search() ([]SearchQueryResult, error)
type OpenAPISpec ¶
type ProjectRepositoryBranch ¶
type ProjectRepositoryBranch struct {
Commit ProjectRepositoryBranchCommit `json:"commit"`
}
type ProjectRepositoryBranchCommit ¶
type ProjectRepositoryBranchCommit struct {
Id string `json:"id"`
}
type ProjectResult ¶
Click to show internal directories.
Click to hide internal directories.