Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildResourceMetrics ¶
func BuildResourceMetrics( scheme *runtime.Scheme, parameterCodec runtime.ParameterCodec, codecs serializer.CodecFactory, m resource.MetricsGetter, podMetadataLister cache.GenericLister, nodeLister corev1listers.NodeLister, nodeSelector []labels.Requirement, ) genericapiserver.APIGroupInfo
BuildResourceMetrics constructs APIGroupInfo the metrics.k8s.io API group using the given getters.
func InstallCustomMetricsAPI ¶
func InstallCustomMetricsAPI( scheme *runtime.Scheme, parameterCodec runtime.ParameterCodec, codecs serializer.CodecFactory, metricsProvider provider.CustomMetricsProvider, s *genericapiserver.GenericAPIServer, ) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.