Documentation
¶
Index ¶
Constants ¶
View Source
const CharSet = "UTF-8"
CharSet is the default character set for sending messages
Variables ¶
This section is empty.
Functions ¶
func Configure ¶
func Configure(api *operations.ClaAPI, service Service)
Configure sets the response handlers for the onboarding API calls
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(sender *string, recipients []string, subject *string, emailBody *string) (*string, error)
}
Service interface defining the public functions
func NewService ¶
func NewService(repo OnboardRepository, awsSession *session.Session, snsEventTopicARN string) Service
NewService creates a new company service object
Click to show internal directories.
Click to hide internal directories.