Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MAPPINGS embed.FS
MAPPINGS contains embedded index templates.
Functions ¶
This section is empty.
Types ¶
type MappingBuilder ¶
type MappingBuilder struct { TemplateBuilder es.TemplateBuilder Shards int64 Replicas int64 EsVersion uint IndexPrefix string UseILM bool ILMPolicyName string }
MappingBuilder holds parameters required to render an elasticsearch index template
func (*MappingBuilder) GetDependenciesMappings ¶
func (mb *MappingBuilder) GetDependenciesMappings() (string, error)
GetDependenciesMappings returns dependencies mappings
func (*MappingBuilder) GetMapping ¶
func (mb *MappingBuilder) GetMapping(mapping string) (string, error)
GetMapping returns the rendered mapping based on elasticsearch version
func (*MappingBuilder) GetSpanServiceMappings ¶
func (mb *MappingBuilder) GetSpanServiceMappings() (string, string, error)
GetSpanServiceMappings returns span and service mappings
Click to show internal directories.
Click to hide internal directories.