Versions in this module Expand all Collapse all v0 v0.1.0 Jun 3, 2026 Changes in this version + func Connect(ctx context.Context, cfg plugin.ConnectConfig, provider Provider) (plugin.Session, error) + func ExecuteSearchRequest(ctx context.Context, s *Session, index string, req sqldb.QueryRequest) (sqldb.QueryResult, error) + func Routes(provider Provider) []plugin.Route + type Client struct + func (c *Client) Do(ctx context.Context, method, path string, query url.Values, body any, out any) error + type Options struct + Authorization string + Endpoint string + PageLimit int + Password string + Product Product + ReadOnly bool + TLSConfig *tls.Config + Timeout time.Duration + Username string + func ParseOptions(cfg plugin.ConnectConfig, provider Provider) (Options, error) + type Plugin struct + func New(provider Provider) *Plugin + func (p *Plugin) Connect(ctx context.Context, cfg plugin.ConnectConfig) (plugin.Session, error) + func (p *Plugin) Manifest() plugin.Manifest + func (p *Plugin) Routes() []plugin.Route + type Product string + const ProductElasticsearch + const ProductOpenSearch + type Provider struct + DefaultURL string + Description string + Icon plugin.Icon + Product Product + Protocol string + Title string + type Session struct + func (s *Session) Close() error + func (s *Session) HealthCheck(ctx context.Context) error + func (s *Session) OpenChannel(context.Context, plugin.ChannelRequest) (plugin.Channel, error)