Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Mode string `json:"mode"`
BindAddress string `json:"bindAddress"`
BindPort int `json:"bindPort"`
EnableProfiling bool `json:"profiling"`
EnableMetrics bool `json:"enableMetrics"`
EnableGrafana bool `json:"enableGrafana"`
GrafanaConfig *dashboard.GrafanaConfig `json:"grafanaConfig"`
KubeConfig *rest.Config `json:"kubeConfig"`
Scheme *runtime.Scheme `json:"scheme"`
Client client.Client `json:"client"`
RestMapper meta.RESTMapper `json:"restMapper"`
StoreType string `json:"storeType"`
PredictorMgr predictormgr.Manager
Api promapiv1.API
DashboardControl bool `json:"dashboardControl"`
}
func NewServerConfig ¶
func NewServerConfig() *Config
Click to show internal directories.
Click to hide internal directories.