Documentation
¶
Index ¶
Constants ¶
View Source
const ( AWSScheme = "s3" GCSScheme = "gs" )
View Source
const ( Name = "s3" DownloaderMaxConcurrency = 5 // Maximum # of parallel downloads per Read() call. DownloaderMaxPartSize = 32 * 1024 * 1024 // 32 MB per part. )
Variables ¶
Functions ¶
Types ¶
type Config ¶
type Config struct {
URL string `json:"url"`
Region string `json:"region,omitempty"`
Endpoint string `json:"endpoint,omitempty"`
AccessID string `json:"access_id"`
Secret string `json:"secret"`
ForcePath bool `json:"force_path"`
Interval string `json:"polling_interval,omitempty"` // default 5m, min 10s
Path string `json:"path"`
RegoTransformRule string `json:"rego_transform"`
// contains filtered or unexported fields
}
Config represents the configuration of the s3 data plugin
Click to show internal directories.
Click to hide internal directories.