Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ByOrganizationIndexMapping is the mapping definition for fetching // telegrafs by organization ID. ByOrganizationIndexMapping = kv.NewIndexMapping( []byte("telegrafv1"), []byte("telegrafbyorgindexv1"), func(v []byte) ([]byte, error) { var telegraf influxdb.TelegrafConfig if err := json.Unmarshal(v, &telegraf); err != nil { return nil, err } id, _ := telegraf.OrgID.Encode() return id, nil }, ) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.