Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ContextKey ¶
type ContextKey string
ContextKey defines a type to store the integration S3 session in context.Context.
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger logs the s3 operations in a configurable file.
func GetLogger ¶
func GetLogger() *Logger
GetLogger returns the logger for s3 operations. If the logger is not created yet, it creates a new instance of Logger.
type Session ¶
func GetSession ¶
GetSession returns the integration S3 session stored in context. Note that the context should be previously initialized with InitializeContext function.
func (*Session) CreateS3Bucket ¶
func (*Session) SetS3Client ¶
func (s *Session) SetS3Client()
func (*Session) SetS3UploaderManager ¶
func (s *Session) SetS3UploaderManager()
func (*Session) UploadFileToS3Bucket ¶
Click to show internal directories.
Click to hide internal directories.