Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoConfigurator = errors.New("no configurator")
ErrNoConfigurator is defined in the config.
View Source
var ( // Module for fx. Module = fx.Options( fx.Provide(gopentracing.NewTracer), fx.Provide(sopentracing.NewTracer), ) )
Functions ¶
func NewConfigurator ¶
func NewConfigurator(params *ConfiguratorParams) (configurator.Configurator, error)
NewConfigurator for source.
Types ¶
type Config ¶
type Config struct { Kind string `yaml:"kind" json:"kind" toml:"kind"` Git git.Config `yaml:"git" json:"git" toml:"git"` Folder folder.Config `yaml:"folder" json:"folder" toml:"folder"` S3 s3.Config `yaml:"s3" json:"s3" toml:"s3"` }
Config for source.
type ConfiguratorParams ¶ added in v1.16.0
type ConfiguratorParams struct { Config *Config HTTPConfig *http.Config Logger *zap.Logger HTTPTracer hopentracing.Tracer Metrics *prometheus.ClientMetrics GitTracer gopentracing.Tracer S3Tracer sopentracing.Tracer }
ConfiguratorParams for source.
Click to show internal directories.
Click to hide internal directories.