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"` Secret string `yaml:"secret" json:"secret"` Region string `yaml:"region" json:"region"` Bucket string `yaml:"bucket" json:"bucket"` URL string `yaml:"url" json:"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.