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 ¶
type ElasticSearch struct { BaseURL string // contains filtered or unexported fields }
func NewElasticSearch ¶
func (*ElasticSearch) GetDeviceFeatures ¶
func (d *ElasticSearch) GetDeviceFeatures(envName, filterList string) (DeviceFeaturesResp, error)
Click to show internal directories.
Click to hide internal directories.