server

package
v0.0.0-...-c1fcc63 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CustomMetricsAdapterServerOptions

type CustomMetricsAdapterServerOptions struct {
	// genericoptions.ReccomendedOptions - EtcdOptions
	Recommended    *genericoptions.RecommendedOptions
	SecureServing  *genericoptions.SecureServingOptions
	Authentication *genericoptions.DelegatingAuthenticationOptions
	Authorization  *genericoptions.DelegatingAuthorizationOptions
	Features       *genericoptions.FeatureOptions

	StdOut io.Writer
	StdErr io.Writer
}

CustomMetricsAdapterServerOptions stores a configuration for custom metrics adapter.

func NewCustomMetricsAdapterServerOptions

func NewCustomMetricsAdapterServerOptions(out, errOut io.Writer) *CustomMetricsAdapterServerOptions

NewCustomMetricsAdapterServerOptions creates CustomMetricsAdapterServerOptions for provided output interface.

func (*CustomMetricsAdapterServerOptions) Complete

Complete fills in any fields not set that are required to have valid data. Currently all fields are set by NewCustomMetricsAdapterServerOptions, so this is a no-op.

func (CustomMetricsAdapterServerOptions) Config

Config returns apiserver.Config object from CustomMetricsAdapterServerOptions.

func (CustomMetricsAdapterServerOptions) Validate

func (o CustomMetricsAdapterServerOptions) Validate(args []string) error

Validate validates CustomMetricsAdapterServerOptions. Currently all fields are correctly set in NewCustomMetricsAdapterServerOptions, so this is a no-op.

Jump to

Keyboard shortcuts

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