Documentation ¶
Index ¶
Constants ¶
View Source
const ( RefreshTrue = "true" RefreshWaitFor = "wait_for" RefreshFalse = "false" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ElasticsearchConfig ¶
type ElasticsearchConfig struct { Refresh RefreshOption URL, Username, Password string InsecureSkipVerify bool }
func (ElasticsearchConfig) IsValid ¶
func (c ElasticsearchConfig) IsValid() (e error)
type RefreshOption ¶
type RefreshOption string
RefreshOption is based on https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-refresh.html
func (RefreshOption) String ¶
func (r RefreshOption) String() string
Click to show internal directories.
Click to hide internal directories.