Código fonte para asgard.workers.autoscaler.decision_component_interface

from abc import ABC, abstractmethod
from typing import List

from asgard.workers.models.decision import Decision
from asgard.workers.models.scalable_app import ScalableApp


[documentos]class DecisionComponentInterface(ABC):
[documentos] @abstractmethod def decide_scaling_actions( self, apps_stats: List[ScalableApp] ) -> List[Decision]: raise NotImplementedError