Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeviceFeaturesResp ¶
type DeviceFeaturesResp struct { Aggregations struct { Integrations struct { Buckets []struct { Key string `json:"key"` DeviceDefinitions struct { Buckets []struct { Key string `json:"key"` Regions struct { Buckets []struct { Key string `json:"key"` Features struct { Buckets map[string]ElasticFilterResult } } } } } } } } }
type ElasticFilterResult ¶
type ElasticFilterResult struct {
DocCount int `json:"doc_count"`
}
type ElasticSearch ¶
func NewElasticSearch ¶
func (*ElasticSearch) GetDeviceFeatures ¶
func (d *ElasticSearch) GetDeviceFeatures(envName, filterList string) (DeviceFeaturesResp, error)
GetDeviceFeatures queries elastic for the presence of the given filterList (integration_features), returns all of them regardless if seen or not
Click to show internal directories.
Click to hide internal directories.