kubernetes/pkg/registry/core/service/portallocator/metrics.go

const namespace

const subsystem

var nodePortAllocated

var nodePortAvailable

var nodePortAllocations

var nodePortAllocationErrors

var registerMetricsOnce

func registerMetrics() {}

type metricsRecorderInterface

type metricsRecorder

func (m *metricsRecorder) setAllocated(allocated int) {}

func (m *metricsRecorder) setAvailable(available int) {}

func (m *metricsRecorder) incrementAllocations(scope string) {}

func (m *metricsRecorder) incrementAllocationErrors(scope string) {}

type emptyMetricsRecorder

func (*emptyMetricsRecorder) setAllocated(allocated int)             {}

func (*emptyMetricsRecorder) setAvailable(available int)             {}

func (*emptyMetricsRecorder) incrementAllocations(scope string)      {}

func (*emptyMetricsRecorder) incrementAllocationErrors(scope string) {}