| package objects
|
|
|
| type DataStorageSettings struct {
|
|
|
| DSN *string `json:"dsn"`
|
|
|
|
|
| Directory *string `json:"directory"`
|
|
|
|
|
| S3 *S3 `json:"s3"`
|
|
|
|
|
| GCS *GCS `json:"gcs"`
|
|
|
|
|
| WebDAV *WebDAV `json:"webdav"`
|
| }
|
|
|
| type S3 struct {
|
| BucketName string `json:"bucketName"`
|
| Endpoint string `json:"endpoint"`
|
| Region string `json:"region"`
|
| AccessKey string `json:"accessKey"`
|
| SecretKey string `json:"secretKey"`
|
|
|
|
|
| PathStyle bool `json:"pathStyle"`
|
| }
|
|
|
| type GCS struct {
|
| BucketName string `json:"bucketName"`
|
| Credential string `json:"credential"`
|
| }
|
|
|
| type WebDAV struct {
|
| URL string `json:"url"`
|
| Username string `json:"username"`
|
| Password string `json:"password"`
|
| InsecureSkipTLS bool `json:"insecure_skip_tls"`
|
| Path string `json:"path"`
|
| }
|
|
|