apiserver

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 19 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type CompletedConfig added in v1.25.0

type CompletedConfig struct {
	genericapiserver.CompletedConfig
}

func (CompletedConfig) New added in v1.25.0

func (c CompletedConfig) New(name string, customMetricsProvider provider.CustomMetricsProvider, externalMetricsProvider provider.ExternalMetricsProvider) (*CustomMetricsAdapterServer, error)

New returns a new instance of CustomMetricsAdapterServer from the given config. name is used to differentiate for logging. Each of the arguments: customMetricsProvider, externalMetricsProvider can be set either to a provider implementation, or to nil to disable one of the APIs.

type Config

type Config struct {
	GenericConfig *genericapiserver.Config
}

func (*Config) Complete

func (c *Config) Complete(informers informers.SharedInformerFactory) CompletedConfig

Complete fills in any fields not set that are required to have valid data. It's mutating the receiver.

type CustomMetricsAdapterServer

type CustomMetricsAdapterServer struct {
	GenericAPIServer *genericapiserver.GenericAPIServer
	// contains filtered or unexported fields
}

CustomMetricsAdapterServer contains state for a Kubernetes cluster master/api server.

func (*CustomMetricsAdapterServer) InstallCustomMetricsAPI

func (s *CustomMetricsAdapterServer) InstallCustomMetricsAPI() error

func (*CustomMetricsAdapterServer) InstallExternalMetricsAPI

func (s *CustomMetricsAdapterServer) InstallExternalMetricsAPI() error

InstallExternalMetricsAPI registers the api server in Kube Aggregator

Directories

Path Synopsis
endpoints
Package metrics provides metrics and instrumentation functions for the metrics API server.
Package metrics provides metrics and instrumentation functions for the metrics API server.
registry

Jump to

Keyboard shortcuts

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