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
Click to show internal directories.
Click to hide internal directories.