Imports github.com/elastic/beats/libbeat/common github.com/elastic/beats/libbeat/common/cfgwarn github.com/elastic/beats/libbeat/logp github.com/elastic/beats/metricbeat/mb github.com/ericchiang/k8s github.com/ericchiang/k8s/api/v1 github.com/ghodss/yaml Standard library imports context encoding/json errors fmt io/ioutil time