cmd

package
v0.0.0-...-ddcacec Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAdapterServer

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

NewAdapterServer 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

	// Collection Interval
	CollectionInterval string
}

AdapterServerOptions ...

func (AdapterServerOptions) RunAdapterServer

func (o AdapterServerOptions) RunAdapterServer(stopCh <-chan struct{}) error

RunAdapterServer ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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