config

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2023 License: Apache-2.0, BSD-2-Clause Imports: 7 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL