server

package
v0.0.0-...-d89feaf Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandStartAdapterServer

func NewCommandStartAdapterServer(stopCh <-chan struct{}) *cobra.Command

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

Jump to

Keyboard shortcuts

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