Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Access string `yaml:"access" json:"access" toml:"access"` Secret string `yaml:"secret" json:"secret" toml:"secret"` Region string `yaml:"region" json:"region" toml:"region"` Bucket string `yaml:"bucket" json:"bucket" toml:"bucket"` URL string `yaml:"url" json:"url" toml:"url"` }
Config for s3.
type Configurator ¶
type Configurator struct {
// contains filtered or unexported fields
}
Configurator for s3.
func NewConfigurator ¶
func NewConfigurator(cfg Config, tracer opentracing.Tracer, client *http.Client) *Configurator
NewConfigurator for s3.
func (*Configurator) GetConfig ¶
func (c *Configurator) GetConfig(ctx context.Context, params source.ConfigParams) (*source.Config, error)
GetConfig for s3.
Click to show internal directories.
Click to hide internal directories.