Documentation
¶
Index ¶
- func Edit() error
- func GetRawFile(h *client.Host, project *gitlab.Project, filepath, ref string, ...)
- func GetRawFileFromGithub(h *client.Host, repository *github.Repository, filepath, ref string, ...)
- func List() error
- func ListMergeRequests(h *client.Host, project *gitlab.Project, ...) error
- func ListMergeRequestsByAssigneeID(h *client.Host, project *gitlab.Project, assigneeIDs []int, ...) error
- func ListMergeRequestsByAuthorID(h *client.Host, project *gitlab.Project, authorIDs []int, ...) error
- func ListMergeRequestsByAuthorOrAssigneeID(h *client.Host, project *gitlab.Project, IDs []int, ...) error
- func ListMergeRequestsSearch(h *client.Host, project *gitlab.Project, key string, value *regexp.Regexp, ...) error
- func ListPipelineCleanupSchedulesCmd() error
- func ListPipelineSchedules(h *client.Host, project *gitlab.Project, ...)
- func ListPipelineSchedulesCmd() error
- func ListProjectsByNamespace(h *client.Host, namespaces []string, opt gitlab.ListProjectsOptions, ...) error
- func ListProjectsFiles(h *client.Host, filepath, ref string, re []*regexp.Regexp, ...)
- func ListProjectsFilesFromGithub(h *client.Host, filepath, ref string, re []*regexp.Regexp, ...)
- func ListPullRequests(h *client.Host, repository *github.Repository, ...) error
- func ListPullRequestsByAuthorOrAssigneeID(h *client.Host, repository *github.Repository, IDs []int, ...) error
- func ListRepositories(h *client.Host, archived bool, opt github.RepositoryListByOrgOptions, ...) error
- func ListRepositoriesByNamespace(h *client.Host, namespaces []string, archived bool, ...) error
- func ListWithLanguages() error
- func ListWorkflowRuns(h *client.Host, repository *github.Repository, opt github.ListOptions, ...)
- func MergeRequestsListCmd() error
- func NewBranchesCmd() *cobra.Command
- func NewCmd() *cobra.Command
- func NewEditCmd() *cobra.Command
- func NewFilesCmd() *cobra.Command
- func NewLanguagesCmd() *cobra.Command
- func NewListCmd() *cobra.Command
- func NewMergeRequestListCmd() *cobra.Command
- func NewMergeRequestsCmd() *cobra.Command
- func NewPipelineCleanupSchedulesCmd() *cobra.Command
- func NewPipelineSchedulesCmd() *cobra.Command
- func NewPipelinesCmd() *cobra.Command
- func NewProtectRepositoryBranchesCmd() *cobra.Command
- func NewProtectedBranchesCmd() *cobra.Command
- func NewProtectedBranchesListCmd() *cobra.Command
- func NewRegistryCmd() *cobra.Command
- func NewRegistryListCmd() *cobra.Command
- func NewSearchCmd() *cobra.Command
- func ProtectRepositoryBranchesCmd() error
- func ProtectedBranchesListCmd() error
- func RegistryListCmd() error
- func Search() error
- func SearchRegexp() error
- type ProjectBranch
- type ProjectFile
- type ProjectLanguage
- type ProjectLintResult
- type ProjectPipelineSchedule
- type ProjectProtectedBranch
- type ProjectRegistryRepository
- type ProjectWithLanguages
- type RepositoryBranch
- type RepositoryFile
- type RepositoryWorkflow
- type Schedules
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRawFile ¶
func GetRawFileFromGithub ¶
func ListMergeRequests ¶
func ListMergeRequestsByAssigneeID ¶
func ListMergeRequestsByAssigneeID(h *client.Host, project *gitlab.Project, assigneeIDs []int, opt gitlab.ListProjectMergeRequestsOptions, wg *limiter.Limiter, data chan<- interface{}, options ...gitlab.RequestOptionFunc) error
assigneeIDs slice must be sorted in ascending order
func ListMergeRequestsByAuthorID ¶
func ListMergeRequestsByAuthorID(h *client.Host, project *gitlab.Project, authorIDs []int, opt gitlab.ListProjectMergeRequestsOptions, wg *limiter.Limiter, data chan<- interface{}, options ...gitlab.RequestOptionFunc) error
authorIDs slice must be sorted in ascending order
func ListMergeRequestsByAuthorOrAssigneeID ¶
func ListMergeRequestsByAuthorOrAssigneeID(h *client.Host, project *gitlab.Project, IDs []int, opt gitlab.ListProjectMergeRequestsOptions, wg *limiter.Limiter, data chan<- interface{}, options ...gitlab.RequestOptionFunc) error
authorIDs slice must be sorted in ascending order
func ListMergeRequestsSearch ¶
func ListPipelineCleanupSchedulesCmd ¶
func ListPipelineCleanupSchedulesCmd() error
func ListPipelineSchedules ¶
func ListPipelineSchedulesCmd ¶
func ListPipelineSchedulesCmd() error
func ListProjectsByNamespace ¶
func ListProjectsFiles ¶
func ListPullRequests ¶
func ListPullRequests(h *client.Host, repository *github.Repository, opt github.PullRequestListOptions, wg *limiter.Limiter, data chan<- interface{}, options ...gitlab.RequestOptionFunc) error
func ListPullRequestsByAuthorOrAssigneeID ¶
func ListPullRequestsByAuthorOrAssigneeID(h *client.Host, repository *github.Repository, IDs []int, opt github.PullRequestListOptions, wg *limiter.Limiter, data chan<- interface{}) error
authorIDs slice must be sorted in ascending order
func ListRepositories ¶
func ListWithLanguages ¶
func ListWithLanguages() error
func ListWorkflowRuns ¶
func MergeRequestsListCmd ¶
func MergeRequestsListCmd() error
func NewBranchesCmd ¶
func NewEditCmd ¶
func NewFilesCmd ¶
func NewLanguagesCmd ¶
func NewListCmd ¶
func NewMergeRequestListCmd ¶
func NewMergeRequestsCmd ¶
func NewPipelineSchedulesCmd ¶
func NewPipelinesCmd ¶
func NewProtectedBranchesCmd ¶
func NewRegistryCmd ¶
func NewRegistryListCmd ¶
func NewSearchCmd ¶
func ProtectRepositoryBranchesCmd ¶
func ProtectRepositoryBranchesCmd() error
func ProtectedBranchesListCmd ¶
func ProtectedBranchesListCmd() error
func RegistryListCmd ¶
func RegistryListCmd() error
func SearchRegexp ¶
func SearchRegexp() error
Types ¶
type ProjectBranch ¶
type ProjectBranch struct { Project *gitlab.Project `json:"project,omitempty"` Branch *gitlab.Branch `json:"branch,omitempty"` }
type ProjectFile ¶
type ProjectFile struct { Project *gitlab.Project `json:"project,omitempty"` Raw []byte }
type ProjectLanguage ¶
func (ProjectLanguage) String ¶
func (pl ProjectLanguage) String() string
type ProjectLintResult ¶
type ProjectLintResult struct { Project *gitlab.Project `json:"project,omitempty"` MergedYaml map[string]interface{} `json:"merged_yaml,omitempty"` }
type ProjectPipelineSchedule ¶
type ProjectPipelineSchedule struct { Project *gitlab.Project `json:"project,omitempty"` Schedule *gitlab.PipelineSchedule `json:"schedule,omitempty"` Pipelines []*gitlab.Pipeline `json:"pipelines,omitempty"` }
type ProjectProtectedBranch ¶
type ProjectProtectedBranch struct { Project *gitlab.Project `json:"project,omitempty"` ProtectedBranches []*gitlab.ProtectedBranch `json:"protected_branches,omitempty"` }
func (*ProjectProtectedBranch) BranchesNames ¶
func (pb *ProjectProtectedBranch) BranchesNames() []string
func (*ProjectProtectedBranch) Search ¶
func (pb *ProjectProtectedBranch) Search(name string) (*gitlab.ProtectedBranch, bool)
type ProjectRegistryRepository ¶
type ProjectRegistryRepository struct { Project *gitlab.Project `json:"project,omitempty"` RegistryRepositories []*gitlab.RegistryRepository `json:"registry_repositories,omitempty"` }
func (*ProjectRegistryRepository) TagsCount ¶
func (pr *ProjectRegistryRepository) TagsCount() (i int)
func (*ProjectRegistryRepository) TotalSize ¶
func (pr *ProjectRegistryRepository) TotalSize() (i int)
type ProjectWithLanguages ¶
type ProjectWithLanguages struct { Project *gitlab.Project `json:"project,omitempty"` Languages *gitlab.ProjectLanguages `json:"languages,omitempty"` }
func (ProjectWithLanguages) LanguagesToString ¶
func (p ProjectWithLanguages) LanguagesToString() string
type RepositoryBranch ¶
type RepositoryBranch struct { Repository *github.Repository `json:"repository,omitempty"` Branch *github.Branch `json:"branch,omitempty"` }
type RepositoryFile ¶
type RepositoryFile struct { Repository *github.Repository `json:"repository,omitempty"` Raw string }
type RepositoryWorkflow ¶
type RepositoryWorkflow struct { Repository *github.Repository `json:"repository,omitempty"` Workflow *github.Workflow `json:"workflow,omitempty"` WorkflowRuns *github.WorkflowRuns `json:"workflow_runs,omitempty"` WorkflowFileContent *github.RepositoryContent `json:"workflow_file_content,omitempty"` }
Click to show internal directories.
Click to hide internal directories.