Documentation
¶
Index ¶
- func GetS3Client() *s3.S3
- func GetSesClient() *ses.SES
- func InitBambooApi() timesheetUploader.BambooApi
- func InitS3RepositoryImpl(api s3iface.S3API) timesheetUploader.S3Repository
- func InitSesRepositoryImpl(api sesiface.SESAPI) timesheetUploader.SesRepository
- type BambooApiImpl
- type HTTPClient
- type S3RepositoryImpl
- type SesRepositoryImpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetS3Client ¶
func GetSesClient ¶
func InitBambooApi ¶
func InitBambooApi() timesheetUploader.BambooApi
func InitS3RepositoryImpl ¶
func InitS3RepositoryImpl(api s3iface.S3API) timesheetUploader.S3Repository
func InitSesRepositoryImpl ¶
func InitSesRepositoryImpl(api sesiface.SESAPI) timesheetUploader.SesRepository
Types ¶
type BambooApiImpl ¶
type BambooApiImpl struct { Client HTTPClient // contains filtered or unexported fields }
func (*BambooApiImpl) AddTimesheetRecord ¶
func (api *BambooApiImpl) AddTimesheetRecord(session model.BambooSession, entries []model.TimesheetEntry)
func (*BambooApiImpl) GetHomeContent ¶
func (api *BambooApiImpl) GetHomeContent() model.TimeTracking
* Should be called after logging in
func (*BambooApiImpl) LogIn ¶
func (api *BambooApiImpl) LogIn(username string, password string) model.BambooSession
type S3RepositoryImpl ¶
type S3RepositoryImpl struct {
// contains filtered or unexported fields
}
func (S3RepositoryImpl) GetS3FileContent ¶
func (repo S3RepositoryImpl) GetS3FileContent(key string, bucket string) string
type SesRepositoryImpl ¶
type SesRepositoryImpl struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.