Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Global = new(config)
Functions ¶
This section is empty.
Types ¶
type GCSConfig ¶
type GCSConfig struct {
Endpoint string `toml:"zed_gcs_endpoint"`
Bucket string `toml:"zed_gcs_bucket"`
AccessKeyID string `toml:"zed_gcs_access_key_id"`
SecretAccessKey string `toml:"zed_gcs_secret_access_key"`
}
GCSConfig configures Google Cloud Storage used by indexes created with storage_type "gcs". Access goes through the S3-interoperable XML API of GCS, so HMAC keys are required.
type OSSConfig ¶
type OSSConfig struct {
Endpoint string `toml:"zed_oss_endpoint"`
Bucket string `toml:"zed_oss_bucket"`
Region string `toml:"zed_oss_region"`
AccessKeyID string `toml:"zed_oss_access_key_id"`
SecretAccessKey string `toml:"zed_oss_secret_access_key"`
}
OSSConfig configures Alibaba Cloud OSS used by indexes created with storage_type "oss", via its S3- compatible API.
type S3Config ¶
type S3Config struct {
Endpoint string `toml:"zed_s3_endpoint"`
Bucket string `toml:"zed_s3_bucket"`
Region string `toml:"zed_s3_region"`
AccessKeyID string `toml:"zed_s3_access_key_id"`
SecretAccessKey string `toml:"zed_s3_secret_access_key"`
UseSSL bool `toml:"zed_s3_use_ssl"`
}
S3Config configures the object store used by indexes created with storage_type "s3". Works with AWS S3, MinIO and any S3-compatible endpoint.