s3Storage.go 689 B

123456789101112131415161718
  1. package models
  2. // S3 is the storage configuration.
  3. type S3 struct {
  4. Enabled bool `json:"enabled"`
  5. Endpoint string `json:"endpoint,omitempty"`
  6. AccessKey string `json:"accessKey,omitempty"`
  7. Secret string `json:"secret,omitempty"`
  8. Bucket string `json:"bucket,omitempty"`
  9. Region string `json:"region,omitempty"`
  10. ACL string `json:"acl,omitempty"`
  11. ForcePathStyle bool `json:"forcePathStyle"`
  12. // This property is no longer used as of v0.1.1. See the standalone
  13. // property that was pulled out of here instead. It's only left here
  14. // to allow the migration to take place without data loss.
  15. ServingEndpoint string `json:"-"`
  16. }