Documentation
¶
Index ¶
- func BranchesListCmd() error
- 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 NewBranchesListCmd() *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 BranchesListCmd ¶ added in v1.0.25
func BranchesListCmd() error
func GetRawFile ¶ added in v1.0.1
func GetRawFileFromGithub ¶ added in v1.0.26
func ListMergeRequests ¶ added in v1.0.1
func ListMergeRequestsByAssigneeID ¶ added in v1.0.17
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 ¶ added in v1.0.2
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 ¶ added in v1.0.18
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 ¶ added in v1.0.1
func ListPipelineCleanupSchedulesCmd ¶
func ListPipelineCleanupSchedulesCmd() error
func ListPipelineSchedules ¶
func ListPipelineSchedulesCmd ¶
func ListPipelineSchedulesCmd() error
func ListProjectsByNamespace ¶ added in v1.0.1
func ListProjectsByNamespace(h *client.Host, namespaces []string, opt gitlab.ListProjectsOptions, wg *limiter.Limiter, data chan<- interface{}, options ...gitlab.RequestOptionFunc) error
func ListProjectsFiles ¶
func ListProjectsFilesFromGithub ¶ added in v1.0.26
func ListPullRequests ¶ added in v1.0.26
func ListPullRequests(h *client.Host, repository *github.Repository, opt github.PullRequestListOptions, wg *limiter.Limiter, data chan<- interface{}, options ...gitlab.RequestOptionFunc) error
func ListPullRequestsByAuthorOrAssigneeID ¶ added in v1.0.26
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 ¶ added in v1.0.26
func ListRepositoriesByNamespace ¶ added in v1.0.26
func ListWithLanguages ¶ added in v1.0.22
func ListWithLanguages() error
func ListWorkflowRuns ¶ added in v1.0.26
func MergeRequestsListCmd ¶ added in v1.0.1
func MergeRequestsListCmd() error
func NewBranchesCmd ¶ added in v1.0.15
func NewBranchesListCmd ¶ added in v1.0.25
func NewEditCmd ¶ added in v1.0.10
func NewFilesCmd ¶
func NewLanguagesCmd ¶ added in v1.0.22
func NewListCmd ¶
func NewMergeRequestListCmd ¶ added in v1.0.1
func NewMergeRequestsCmd ¶ added in v1.0.1
func NewPipelineSchedulesCmd ¶
func NewPipelinesCmd ¶
func NewProtectRepositoryBranchesCmd ¶ added in v1.0.15
func NewProtectedBranchesCmd ¶ added in v1.0.15
func NewProtectedBranchesListCmd ¶ added in v1.0.15
func NewRegistryCmd ¶ added in v1.0.16
func NewRegistryListCmd ¶ added in v1.0.16
func NewSearchCmd ¶
func ProtectRepositoryBranchesCmd ¶ added in v1.0.15
func ProtectRepositoryBranchesCmd() error
func ProtectedBranchesListCmd ¶ added in v1.0.15
func ProtectedBranchesListCmd() error
func RegistryListCmd ¶ added in v1.0.16
func RegistryListCmd() error
func SearchRegexp ¶
func SearchRegexp() error
Types ¶
type ProjectBranch ¶ added in v1.0.25
type ProjectFile ¶ added in v1.0.3
type ProjectLanguage ¶ added in v1.0.24
func (ProjectLanguage) String ¶ added in v1.0.24
func (pl ProjectLanguage) String() string
type ProjectLintResult ¶ added in v1.0.14
type ProjectPipelineSchedule ¶
type ProjectProtectedBranch ¶ added in v1.0.15
type ProjectProtectedBranch struct {
Project *gitlab.Project `json:"project,omitempty"`
ProtectedBranches []*gitlab.ProtectedBranch `json:"protected_branches,omitempty"`
}
func (*ProjectProtectedBranch) BranchesNames ¶ added in v1.0.15
func (pb *ProjectProtectedBranch) BranchesNames() []string
func (*ProjectProtectedBranch) Search ¶ added in v1.0.15
func (pb *ProjectProtectedBranch) Search(name string) (*gitlab.ProtectedBranch, bool)
type ProjectRegistryRepository ¶ added in v1.0.16
type ProjectRegistryRepository struct {
Project *gitlab.Project `json:"project,omitempty"`
RegistryRepositories []*gitlab.RegistryRepository `json:"registry_repositories,omitempty"`
}
func (*ProjectRegistryRepository) TagsCount ¶ added in v1.0.16
func (pr *ProjectRegistryRepository) TagsCount() (i int)
func (*ProjectRegistryRepository) TotalSize ¶ added in v1.0.16
func (pr *ProjectRegistryRepository) TotalSize() (i int)
type ProjectWithLanguages ¶ added in v1.0.22
type ProjectWithLanguages struct {
Project *gitlab.Project `json:"project,omitempty"`
Languages *gitlab.ProjectLanguages `json:"languages,omitempty"`
}
func (ProjectWithLanguages) LanguagesToString ¶ added in v1.0.24
func (p ProjectWithLanguages) LanguagesToString() string
type RepositoryBranch ¶ added in v1.0.26
type RepositoryBranch struct {
Repository *github.Repository `json:"repository,omitempty"`
Branch *github.Branch `json:"branch,omitempty"`
}
type RepositoryFile ¶ added in v1.0.26
type RepositoryFile struct {
Repository *github.Repository `json:"repository,omitempty"`
Raw string
}
type RepositoryWorkflow ¶ added in v1.0.26
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.