Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendResponse ¶
func SendResponse(results *[]externaldata.Item, systemErr string, w http.ResponseWriter)
sendResponse sends back the response to Gatekeeper.
Types ¶
type Config ¶
type Config struct { Server ServerConfig `yaml:"server"` Prometheus PrometheusConfig `yaml:"prometheus"` }
var AppConfig Config
type PrometheusConfig ¶
type Query ¶
type Query struct { Memory UsageRequest `yaml:"memory"` CPU UsageRequest `yaml:"cpu"` }
type ServerConfig ¶
type UsageRequest ¶
Click to show internal directories.
Click to hide internal directories.