Documentation ¶
Index ¶
- func GetAWSBucket(jobURL string) (string, error)
- func GetAWSKey(jobURL string) (string, error)
- func GetLocalDestination(config gonfig.Gonfig, dbInstance db.Storage, jobID string) (string, error)
- func GetLocalSourcePath(config gonfig.Gonfig, jobID string) (string, error)
- func GetOutputFilename(dbInstance db.Storage, jobID string) (string, error)
- func SetAWSCredentials(jobURL string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAWSBucket ¶
GetAWSBucket grabs the bucket from a given s3 url
func GetLocalDestination ¶
GetLocalDestination builds the path and filename of the local destination file
func GetLocalSourcePath ¶
GetLocalSourcePath builds the path and filename for the local source file
func GetOutputFilename ¶
GetOutputFilename build the destination path with the output filename
func SetAWSCredentials ¶
SetAWSCredentials will parse the job source and set the credentials on environment variables
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.