onboard

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2020 License: MIT Imports: 18 Imported by: 0

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

Jump to

Keyboard shortcuts

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