worker: add an option to upload public objects to aws.s3 target
If the object is marked as public, its direct download URL will be returned instead of the presigned one. Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
parent
0e6c132ee6
commit
54e2c2304c
2 changed files with 13 additions and 3 deletions
|
|
@ -42,6 +42,7 @@ type AWSS3TargetOptions struct {
|
|||
Endpoint string `json:"endpoint"`
|
||||
CABundle string `json:"ca_bundle"`
|
||||
SkipSSLVerification bool `json:"skip_ssl_verification"`
|
||||
Public bool `json:"public,omitempty"`
|
||||
}
|
||||
|
||||
func (AWSS3TargetOptions) isTargetOptions() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue