Documentation
¶
Index ¶
Constants ¶
View Source
const CharSet = "UTF-8"
CharSet is the default character set for sending messages
Variables ¶
This section is empty.
Functions ¶
Types ¶
type OnboardRepository ¶
type OnboardRepository interface {
CreateCLAManagerRequest(lfid, projectName, companyName, userFullName, userEmail string) (*models.OnboardClaManagerRequest, error)
GetCLAManagerRequestsByLFID(lfid string) (*models.OnboardClaManagerRequests, error)
DeleteCLAManagerRequestsByRequestID(requestID string) error
}
OnboardRepository interface defines the functions for the github whitelist service
func NewRepository ¶
func NewRepository(awsSession *session.Session, stage string) OnboardRepository
NewRepository creates a new instance of the onboard repository service
type Service ¶
type Service interface {
CreateCLAManagerRequest(lfid, projectName, companyName, userFullName, userEmail string) (*models.OnboardClaManagerRequest, error)
GetCLAManagerRequestsByLFID(lfid string) (*models.OnboardClaManagerRequests, error)
DeleteCLAManagerRequestsByRequestID(requestID string) error
SendNotification(recipients []string, subject *string, emailBody *string) error
}
Service interface defining the public functions
func NewService ¶
func NewService(repo OnboardRepository) Service
NewService creates a new company service object
Click to show internal directories.
Click to hide internal directories.