Documentation ¶
Index ¶
- func Edit() error
- func GetRawFile(h *client.Host, project *gitlab.Project, 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 MergeRequestsListCmd() error
- func NewBranchesCmd() *cobra.Command
- func NewCmd() *cobra.Command
- func NewEditCmd() *cobra.Command
- func NewFilesCmd() *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 ProjectFile
- type ProjectLintResult
- type ProjectPipelineSchedule
- type ProjectProtectedBranch
- type ProjectRegistryRepository
- type Schedules
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRawFile ¶ added in v1.0.1
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 ListProjectsFiles ¶
func MergeRequestsListCmd ¶ added in v1.0.1
func MergeRequestsListCmd() error
func NewBranchesCmd ¶ added in v1.0.15
func NewEditCmd ¶ added in v1.0.10
func NewFilesCmd ¶
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 ProjectFile ¶ added in v1.0.3
type ProjectFile struct { Project *gitlab.Project `json:"project,omitempty"` Raw []byte }
type ProjectLintResult ¶ added in v1.0.14
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 ¶ 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)
Click to show internal directories.
Click to hide internal directories.