group

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitlabGroupLister

type GitlabGroupLister interface {
	ListGroups(opt *gitlab.ListGroupsOptions, options ...gitlab.RequestOptionFunc) ([]*gitlab.Group, *gitlab.Response, error)
	ListGroupProjects(gid interface{}, opt *gitlab.ListGroupProjectsOptions, options ...gitlab.RequestOptionFunc) ([]*gitlab.Project, *gitlab.Response, error)
}

type GitlabGroupRepository

type GitlabGroupRepository struct {
	// contains filtered or unexported fields
}

func NewGitlabGroupRepository

func NewGitlabGroupRepository(group GitlabGroupLister, perPage int) *GitlabGroupRepository

func (GitlabGroupRepository) Find

func (g GitlabGroupRepository) Find(name string) ([]domain.Group, error)

func (GitlabGroupRepository) List

func (g GitlabGroupRepository) List() ([]domain.Group, error)

func (GitlabGroupRepository) ListProjects

func (g GitlabGroupRepository) ListProjects(group string) ([]domain.Project, error)

Jump to

Keyboard shortcuts

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