Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
const ( PodAutoscalerController = "pod-autoscaler-controller" DistributedInferenceController = "distributed-inference-controller" ModelAdapterController = "model-adapter-controller" ModelRouteController = "model-route-controller" KVCacheController = "kv-cache-controller" // there's no need to register internal controllers like roleset, just use top-level controller name StormServiceController = "stormservice-controller" )
Variables ¶
      View Source
      
  
var ( // EnabledControllers is the map of controllers to enable or disable // '*' means "all enabled by default controllers" // 'foo' means "enable 'foo'" // '-foo' means "disable 'foo'" // first item for a particular name wins EnabledControllers = make(map[string]bool) ValidControllers = []string{ PodAutoscalerController, DistributedInferenceController, ModelAdapterController, ModelRouteController, KVCacheController, StormServiceController, } )
Functions ¶
func EnableAllControllers ¶
func EnableAllControllers()
EnableAllControllers is used to enable all known controllers.
func InitControllers ¶
func InitControllers(controllerList string)
InitControllers initializes the map of enabled controllers based on a comma-separated list.
func IsControllerEnabled ¶
IsControllerEnabled checks if a controller is enabled.
func ValidateControllers ¶
ValidateControllers checks the list of controllers for any invalid entries.
Types ¶
This section is empty.
 Click to show internal directories. 
   Click to hide internal directories.