app

package
Version: v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCommandStartMetricsServer

func NewCommandStartMetricsServer(out, errOut io.Writer, stopCh <-chan struct{}) *cobra.Command

NewCommandStartMetricsServer provides a CLI handler for the metrics server entrypoint

Types

type MetricsServerOptions

type MetricsServerOptions struct {
	// genericoptions.ReccomendedOptions - EtcdOptions
	SecureServing  *genericoptions.SecureServingOptionsWithLoopback
	Authentication *genericoptions.DelegatingAuthenticationOptions
	Authorization  *genericoptions.DelegatingAuthorizationOptions
	Features       *genericoptions.FeatureOptions

	Kubeconfig string

	// Only to be used to for testing
	DisableAuthForTesting bool

	MetricResolution time.Duration

	KubeletPort                  int
	InsecureKubeletTLS           bool
	KubeletPreferredAddressTypes []string
	KubeletCAFile                string

	DeprecatedCompletelyInsecureKubelet bool
}

func NewMetricsServerOptions

func NewMetricsServerOptions() *MetricsServerOptions

NewMetricsServerOptions constructs a new set of default options for metrics-server.

func (MetricsServerOptions) Config

func (o MetricsServerOptions) Config() (*apiserver.Config, error)

func (MetricsServerOptions) Run

func (o MetricsServerOptions) Run(stopCh <-chan struct{}) error

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL