config

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2026 License: Apache-2.0 Imports: 14 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL