Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { CustomMetricsAdapterServerOptions *options.CustomMetricsAdapterServerOptions KubeConfig string // ClusterAPIQPS is the QPS to use while talking with cluster kube-apiserver. ClusterAPIQPS float32 // ClusterAPIBurst is the burst to allow while talking with cluster kube-apiserver. ClusterAPIBurst int // KubeAPIQPS is the QPS to use while talking with karmada-apiserver. KubeAPIQPS float32 // KubeAPIBurst is the burst to allow while talking with karmada-apiserver. KubeAPIBurst int ProfileOpts profileflag.Options }
Options contains everything necessary to create and run metrics-adapter.
func (*Options) Config ¶
func (o *Options) Config(stopCh <-chan struct{}) (*metricsadapter.MetricsServer, error)
Config returns config for the metrics-adapter server given Options
Click to show internal directories.
Click to hide internal directories.