project

package
v0.0.0-...-5643740 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCLAGroupDoesNotExist = errors.New("cla group does not exist")
	ErrCLAGroupIDMissing    = errors.New("cla group id is missing")
)

errors

Functions

func Configure

func Configure(api *operations.EasyclaAPI, service v1Project.Service, v2Service Service, eventsService events.Service)

Configure establishes the middleware handlers for the project service

Types

type Service

type Service interface {
	GetCLAProjectsByID(ctx context.Context, foundationSFID string) (*models.EnabledClaList, error)
}

Service interface defines the v2 project service methods

func NewService

func NewService(v1ProjectService v1Project.Service, projectRepo repository.ProjectRepository, pcgRepo projects_cla_groups.Repository) Service

NewService returns an instance of v2 project service

Jump to

Keyboard shortcuts

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