Documentation ¶
Index ¶
- func GetAWSBucket(jobURL string) (string, error)
- func GetAWSKey(jobURL string) (string, error)
- func GetLocalDestination(config types.SystemConfig, dbInstance db.Storage, jobID string) (string, error)
- func GetLocalSourcePath(config types.SystemConfig, jobID string) (string, error)
- func GetNameAndContainer(source string) (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 ¶
func GetLocalDestination(config types.SystemConfig, dbInstance db.Storage, jobID string) (string, error)
GetLocalDestination builds the path and filename of the local destination file
func GetLocalSourcePath ¶
func GetLocalSourcePath(config types.SystemConfig, jobID string) (string, error)
GetLocalSourcePath builds the path and filename for the local source file
func GetNameAndContainer ¶
GetNameAndContainer returns the name and the container of a media 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.