service

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListGroupService

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

ListGroupService struct

func NewListGroupService

func NewListGroupService(gitlab ports.GitlabGroupRepository) (ListGroupService, error)

NewListGroupService returns a new ListGroupService

func (ListGroupService) List

func (s ListGroupService) List() ([]domain.Group, error)

List returns a list of groups

func (ListGroupService) ListProjects

func (s ListGroupService) ListProjects(group string) ([]domain.Project, error)

ListProjects returns a list of projects that belongs to a group

type ListProjectService

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

ListProjectService struct

func NewListProjectService

func NewListProjectService(gitlab ports.GitlabProjectRepository) (ListProjectService, error)

NewListProjectService returns a new ListProjectService

func (ListProjectService) List

func (s ListProjectService) List() ([]domain.Project, error)

List returns a list of projects

Jump to

Keyboard shortcuts

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