Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommandStartAdapterServer ¶
NewCommandStartAdapterServer provides a CLI handler for 'start adapter server' command
Types ¶
type AdapterServerOptions ¶
type AdapterServerOptions struct { *server.CustomMetricsAdapterServerOptions // RemoteKubeConfigFile is the config used to list pods from the master API server RemoteKubeConfigFile string // EnableCustomMetricsAPI switches on sample apiserver for Custom Metrics API EnableCustomMetricsAPI bool // EnableExternalMetricsAPI switches on sample apiserver for External Metrics API EnableExternalMetricsAPI bool Token string // CredentialsDir is the path to the dir where tokens are stored CredentialsDir string // SkipperIngressMetrics switches on support for skipper ingress based // metric collection. DisregardIncompatibleHPAs bool }
func (AdapterServerOptions) RunCustomMetricsAdapterServer ¶
func (o AdapterServerOptions) RunCustomMetricsAdapterServer(stopCh <-chan struct{}) error
Click to show internal directories.
Click to hide internal directories.