MCPcopy Create free account

hub / github.com/fabriziosalmi/proxmox-lxc-autoscale / types & classes

Types & classes139 in github.com/fabriziosalmi/proxmox-lxc-autoscale

↓ 21 callersClassRESTBackend
Proxmox backend using the REST API via ``proxmoxer``.
lxc_autoscale/backends/api.py:21
↓ 20 callersClassAsyncSSHPool
Async-compatible SSH connection pool wrapping paramiko in threads. All I/O is delegated to ``asyncio.to_thread`` so the event loop never bloc
lxc_autoscale/ssh.py:53
↓ 17 callersClassDefaultsConfig
Top-level DEFAULT section of the YAML config.
lxc_autoscale/config.py:49
↓ 13 callersClassBoostManager
Manages temporary resource boosts with automatic revert. Args: state_file: path to JSON persistence file for active boosts.
lxc_autoscale/boost.py:40
↓ 6 callersClassHorizontalScalingGroup
Horizontal scaling group configuration.
lxc_autoscale/config.py:201
↓ 6 callersClassSSHConfig
SSH connection settings.
lxc_autoscale/config.py:29
↓ 4 callersClassTierConfig
Per-tier container scaling configuration.
lxc_autoscale/config.py:163
↓ 3 callersClassBoostRecord
Tracks an active boost for a single resource of a single container.
lxc_autoscale/boost.py:31
↓ 3 callersClassCLIBackend
Proxmox backend using ``pct`` CLI commands (async).
lxc_autoscale/backends/cli.py:25
↓ 2 callersClassCommandError
A subprocess or remote command failed.
lxc_autoscale/errors.py:13
↓ 2 callersClassContainerStateCache
Thread-safe, evictable cache for per-container runtime state. Replaces the module-level dictionaries: _cgroup_path_cache, _prev_cpu_readings,
lxc_autoscale/state.py:16
↓ 2 callersClassSecretMaskingFilter
Logging filter that masks secret-looking strings in log messages.
lxc_autoscale/logging_setup.py:35
↓ 1 callersClassAppConfig
Top-level application configuration container.
lxc_autoscale/config.py:352
↓ 1 callersClassAutoScaleError
Base exception for all LXC AutoScale errors.
lxc_autoscale/errors.py:9
↓ 1 callersClassCgroupReadError
Failed to read cgroup metrics for a container.
lxc_autoscale/errors.py:38
↓ 1 callersClassCommandTimeout
A command exceeded its timeout.
lxc_autoscale/errors.py:22
↓ 1 callersClassContainerNotFound
A container ID was not found or is invalid.
lxc_autoscale/errors.py:30
↓ 1 callersClassEmailNotification
lxc_autoscale/notification.py:86
↓ 1 callersClassFailingNotifier
tests/test_hardening.py:195
↓ 1 callersClassFakeNotifier
tests/test_hardening.py:181
↓ 1 callersClassGotifyNotification
lxc_autoscale/notification.py:69
↓ 1 callersClassProxmoxAPIConfig
Proxmox REST API settings (optional backend).
lxc_autoscale/config.py:39
↓ 1 callersClassProxmoxBackend
Abstract base for all Proxmox backend implementations.
lxc_autoscale/backends/base.py:7
↓ 1 callersClassRetryNotifier
tests/test_hardening.py:237
↓ 1 callersClassTrackedNotifier
tests/test_coverage_final.py:404
↓ 1 callersClassTrackingNotifier
tests/test_hardening.py:211
↓ 1 callersClassUptimeKumaNotification
lxc_autoscale/notification.py:111
ClassBackendError
An error in the Proxmox backend (CLI or API).
lxc_autoscale/errors.py:46
ClassConfigurationError
Invalid or missing configuration.
lxc_autoscale/errors.py:50
ClassNotificationProxy
lxc_autoscale/notification.py:63
ClassTestAcquireLock
tests/test_lock_manager.py:13
ClassTestAdjustBoostMode
tests/test_boost.py:258
ClassTestAdjustResources
Test the main adjust_resources orchestration.
tests/test_scaling_full.py:16
ClassTestAsyncNotification
Test async dispatch.
tests/test_notification.py:70
ClassTestAsyncSSHPool
tests/test_ssh_pool.py:49
ClassTestBackupAndRollback
tests/test_lxc_utils.py:124
ClassTestBackupDedup
Test that backup_container_settings skips writes for unchanged data.
tests/test_hardening.py:256
ClassTestBackupSymlinkProtection
Backup operations must refuse to follow symlinks outside BACKUP_DIR.
tests/test_red_team.py:129
ClassTestBehaviourMultiplier
tests/test_scaling_manager.py:28
ClassTestBoostLifecycle
tests/test_boost.py:109
ClassTestBoostRecord
tests/test_boost.py:27
ClassTestBuildHostKeyPolicy
tests/test_ssh_pool.py:25
ClassTestCLIBackend
Test CLI backend with mocked async subprocess.
tests/test_backends.py:35
ClassTestCLIBackendEdgeCases
tests/test_backend_factory.py:35
ClassTestCalculateDecrement
tests/test_scaling.py:43
ClassTestCalculateIncrement
tests/test_scaling.py:19
ClassTestCgroupCPU
tests/test_lxc_utils.py:269
ClassTestCgroupMemory
Test host-side cgroup memory reading.
tests/test_hardening.py:502
ClassTestCgroupV1Fallback
tests/test_coverage_final.py:231
ClassTestCollectContainerData
tests/test_resource_manager.py:62
ClassTestCollectDataForContainer
tests/test_resource_manager.py:17
ClassTestComputeBoost
tests/test_boost.py:71
ClassTestConfigPermissionWarning
Config file with world-readable permissions should warn.
tests/test_security.py:113
ClassTestContainerIdValidation
Container IDs that contain shell metacharacters must be rejected.
tests/test_security.py:17
ClassTestContainerStateCache
tests/test_state_and_errors.py:71
ClassTestCoreCountCache
Test that core counts are cached and reused.
tests/test_hardening.py:473
ClassTestCpuDeltaComputation
tests/test_coverage_boost.py:242
ClassTestCpuPinningLocalUpdate
tests/test_coverage_final.py:195
ClassTestCpuPinningNativeIO
Test CPU pinning uses native file I/O in local mode (no sh -c).
tests/test_hardening.py:385
ClassTestCpuPinningRemote
tests/test_coverage_boost.py:174
ClassTestCpuTopology
tests/test_lxc_utils.py:212
ClassTestCreateBackend
tests/test_backend_factory.py:15
ClassTestDefaultsConfig
Test DefaultsConfig Pydantic model.
tests/test_config.py:16
ClassTestDynamicThresholds
tests/test_scaling_manager.py:50
ClassTestEmailNotifier
tests/test_coverage_final.py:369
ClassTestEntryPoint
tests/test_coverage_boost.py:276
ClassTestEnvVarExpansion
Test ${ENV_VAR} and ${ENV_VAR:-default} expansion in YAML values.
tests/test_hardening.py:29
ClassTestEvictStaleCaches
tests/test_coverage_boost.py:18
ClassTestEviction
tests/test_boost.py:242
ClassTestExceptionHierarchy
tests/test_state_and_errors.py:22
ClassTestFilePermissions
Backup and log files must be created with restrictive permissions.
tests/test_red_team.py:179
ClassTestFireAndForget
tests/test_coverage_boost.py:459
ClassTestFullBackoffCycle
tests/test_coverage_final.py:397
ClassTestGetContainerData
tests/test_coverage_boost.py:117
ClassTestGetContainers
tests/test_lxc_utils.py:69
ClassTestGetCpuUsage
tests/test_lxc_utils.py:288
ClassTestGetStateCacheSingleton
tests/test_state_and_errors.py:145
ClassTestGotifyNotifier
tests/test_notification.py:79
ClassTestGroupMetrics
tests/test_scaling_manager.py:63
ClassTestHorizontalGroupCtidValidation
Container IDs in horizontal scaling groups must be numeric.
tests/test_red_team.py:53
ClassTestHorizontalScalingNetwork
tests/test_coverage_final.py:280
ClassTestHostResources
tests/test_lxc_utils.py:182
ClassTestHostnameSanitisation
Cloned hostnames must be RFC-1123 safe.
tests/test_security.py:32
ClassTestIsContainerRunning
tests/test_lxc_utils.py:99
ClassTestIsOffPeak
Test timezone-aware off-peak detection.
tests/test_scaling.py:57
ClassTestJsonLogRotation
Test JSON log file rotation when size limit is exceeded.
tests/test_hardening.py:302
ClassTestJsonLogRotationEdgeCases
tests/test_coverage_boost.py:50
ClassTestLoadConfig
Test full YAML config loading.
tests/test_config.py:131
ClassTestLogJsonEvent
tests/test_lxc_utils.py:161
ClassTestLogScalingEvent
tests/test_scaling_manager.py:172
ClassTestMainBlock
tests/test_coverage_final.py:29
ClassTestMainLoop
tests/test_coverage_final.py:318
ClassTestManageHorizontalScaling
tests/test_scaling_full.py:161
ClassTestMemoryFallback
tests/test_coverage_boost.py:153
ClassTestNameGeneration
tests/test_lxc_utils.py:300
ClassTestNegativeCgroupCache
tests/test_coverage_boost.py:89
ClassTestNotificationBackoff
Test that failing notifiers get suppressed after consecutive failures.
tests/test_hardening.py:168
ClassTestNotificationSessionSecurity
tests/test_coverage_boost.py:428
ClassTestNotifierInit
Test notifier initialization from DEFAULTS.
tests/test_notification.py:31
ClassTestNowTz
tests/test_scaling_manager.py:196
next →1–100 of 139, ranked by callers