projects

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRawFile added in v1.0.1

func GetRawFile(h *client.Host, project *gitlab.Project, filepath, ref string, re []*regexp.Regexp,
	wg *limiter.Limiter, data chan<- interface{}, options ...gitlab.RequestOptionFunc)

func List

func List() error

func ListMergeRequests added in v1.0.1

func ListMergeRequests(h *client.Host, project *gitlab.Project, opt gitlab.ListProjectMergeRequestsOptions,
	wg *limiter.Limiter, data chan<- interface{}, options ...gitlab.RequestOptionFunc) error

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 ListMergeRequestsSearch added in v1.0.1

func ListMergeRequestsSearch(h *client.Host, project *gitlab.Project, key string, value *regexp.Regexp, opt gitlab.ListProjectMergeRequestsOptions,
	wg *limiter.Limiter, data chan<- interface{}, options ...gitlab.RequestOptionFunc) error

func ListPipelineCleanupSchedulesCmd

func ListPipelineCleanupSchedulesCmd() error

func ListPipelineSchedules

func ListPipelineSchedules(h *client.Host, project *gitlab.Project, opt gitlab.ListPipelineSchedulesOptions,
	desc []*regexp.Regexp, wg *limiter.Limiter, data chan<- interface{}, options ...gitlab.RequestOptionFunc)

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 ListProjectsFiles(h *client.Host, filepath, ref string, re []*regexp.Regexp, opt gitlab.ListProjectsOptions,
	wg *limiter.Limiter, data chan<- interface{}, options ...gitlab.RequestOptionFunc)

func MergeRequestsListCmd added in v1.0.1

func MergeRequestsListCmd() error

func NewCmd

func NewCmd() *cobra.Command

func NewFilesCmd

func NewFilesCmd() *cobra.Command

func NewListCmd

func NewListCmd() *cobra.Command

func NewMergeRequestListCmd added in v1.0.1

func NewMergeRequestListCmd() *cobra.Command

func NewMergeRequestsCmd added in v1.0.1

func NewMergeRequestsCmd() *cobra.Command

func NewPipelineCleanupSchedulesCmd

func NewPipelineCleanupSchedulesCmd() *cobra.Command

func NewPipelineSchedulesCmd

func NewPipelineSchedulesCmd() *cobra.Command

func NewPipelinesCmd

func NewPipelinesCmd() *cobra.Command

func NewSearchCmd

func NewSearchCmd() *cobra.Command
func Search() 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 ProjectPipelineSchedule

type ProjectPipelineSchedule struct {
	Project  *gitlab.Project          `json:"project,omitempty"`
	Schedule *gitlab.PipelineSchedule `json:"schedule,omitempty"`
}

type Schedules

type Schedules []*gitlab.PipelineSchedule

func (Schedules) Descriptions

func (a Schedules) Descriptions() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL