features

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: Apache-2.0 Imports: 2 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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"
	ModelClaimController           = "model-claim-controller"
	ModelWarmupController          = "model-warmup-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,
		ModelClaimController, ModelWarmupController, 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

func IsControllerEnabled(name string) bool

IsControllerEnabled checks if a controller is enabled.

func ValidateControllers

func ValidateControllers(controllerList string) error

ValidateControllers checks the list of controllers for any invalid entries.

Types

This section is empty.

Jump to

Keyboard shortcuts

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