Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiTransportFactory ¶ added in v0.93.2
type ApiTransportFactory interface { RoundTripper(transport *http.Transport, opts ApiTransportFactoryRoundTripperOptions) http.RoundTripper DefaultTransportTimeout() time.Duration DefaultHTTPProxyURL() *url.URL }
type ApiTransportFactoryRoundTripperOptions ¶ added in v0.166.0
type DefaultFactoryResolver ¶
type DefaultFactoryResolver struct {
// contains filtered or unexported fields
}
func NewDefaultFactoryResolver ¶
func NewDefaultFactoryResolver(transportFactory ApiTransportFactory, baseTransport *http.Transport, log *zap.Logger, hooksClient *hooks.Client) *DefaultFactoryResolver
func (*DefaultFactoryResolver) Resolve ¶
func (d *DefaultFactoryResolver) Resolve(ds *wgpb.DataSourceConfiguration) (plan.PlannerFactory, error)
type EngineConfigLoader ¶
type EngineConfigLoader struct {
// contains filtered or unexported fields
}
func New ¶
func New(opts EngineConfigLoaderOptions, resolvers ...FactoryResolver) *EngineConfigLoader
func (*EngineConfigLoader) Load ¶
func (l *EngineConfigLoader) Load(engineConfig *wgpb.EngineConfiguration, wgServerUrl string) (*plan.Configuration, error)
func (*EngineConfigLoader) LoadInternedString ¶ added in v0.160.0
func (l *EngineConfigLoader) LoadInternedString(engineConfig *wgpb.EngineConfiguration, str *wgpb.InternedString) (string, error)
type EngineConfigLoaderOptions ¶ added in v0.166.0
type FactoryResolver ¶
type FactoryResolver interface {
Resolve(ds *wgpb.DataSourceConfiguration) (plan.PlannerFactory, error)
}
Click to show internal directories.
Click to hide internal directories.