metrics

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package metrics provides shared calculation functions for configuration metrics.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateTotalConfigItems

func CalculateTotalConfigItems(
	totalInterfaces int,
	totalFirewallRules int,
	totalUsers int,
	totalGroups int,
	totalServices int,
	totalGateways int,
	totalGatewayGroups int,
	sysctlSettings int,
	dhcpScopes int,
	loadBalancerMonitors int,
) int

CalculateTotalConfigItems calculates the total number of configuration items by summing all relevant components including interfaces, firewall rules, users, groups, services, gateways, gateway groups, sysctl settings, DHCP scopes, and load balancer monitors. This ensures consistency across different packages.

Types

This section is empty.

Jump to

Keyboard shortcuts

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