Documentation ¶
Index ¶
Constants ¶
View Source
const ESHelpersSlug = "es-helpers"
View Source
const EsConnectionSlug = "es-connection"
Variables ¶
This section is empty.
Functions ¶
func NewESClientFromParsedLayers ¶
func NewESClientFromParsedLayers( parsedLayers *layers.ParsedLayers, ) (*elasticsearch.Client, error)
func NewESHelpersParameterLayer ¶
func NewESHelpersParameterLayer( options ...layers.ParameterLayerOptions, ) (*layers.ParameterLayerImpl, error)
Types ¶
type ESHelperSettings ¶
type EsClientSettings ¶
type EsClientSettings struct { Addresses []string `glazed.parameter:"addresses"` Username string `glazed.parameter:"username"` Password string `glazed.parameter:"password"` CloudId string `glazed.parameter:"cloud-id"` ApiKey string `glazed.parameter:"api-key"` ServiceToken string `glazed.parameter:"service-token"` CertificateFingerprint string `glazed.parameter:"certificate-fingerprint"` RetryOnStatus []int `glazed.parameter:"retry-on-status"` DisableRetry bool `glazed.parameter:"disable-retry"` MaxRetries int `glazed.parameter:"max-retries"` EnableMetrics bool `glazed.parameter:"enable-metrics"` EnableDebugLogger bool `glazed.parameter:"enable-debug-logger"` EnableCompatibilityMode bool `glazed.parameter:"enable-compatibility-mode"` }
func NewESClientSettingsFromParsedLayers ¶
func NewESClientSettingsFromParsedLayers(parsedLayers *layers.ParsedLayers) (*EsClientSettings, error)
type EsParameterLayer ¶
type EsParameterLayer struct {
*layers.ParameterLayerImpl `yaml:",inline"`
}
func NewESParameterLayer ¶
func NewESParameterLayer(options ...layers.ParameterLayerOptions) (*EsParameterLayer, error)
Click to show internal directories.
Click to hide internal directories.