Documentation
¶
Index ¶
- Constants
- type ApiConfig
- type DetectorConfig
- type DockerConfig
- type EConfig
- type EnovaAlgoConfig
- type EnovaInferConfig
- type K8sConfig
- type LoggerConfig
- type PromConfig
- type RedisConfig
- type ResourceBackendConfig
- type ResourceBackendType
- type ScalerConfig
- type ServingConfig
- type TritonInferConfig
- type ZmqConfig
Constants ¶
View Source
const ( ResourceBackendTypeDocker = "docker" ResourceBackendTypeK8s = "k8s" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DetectorConfig ¶
type DetectorConfig struct {
Prom PromConfig `json:"prom"`
Api ApiConfig `json:"api"`
DetectInterval int64 `json:"detect_interval"`
}
type DockerConfig ¶
type DockerConfig struct {
}
type EConfig ¶
type EConfig struct {
Docker DockerConfig
Detector DetectorConfig
Scaler ScalerConfig
Zmq ZmqConfig
Redis RedisConfig
Logger LoggerConfig
K8s K8sConfig
Serving ServingConfig `json:"serving"`
EnovaAlgo EnovaAlgoConfig `json:"enova_algo"`
ResourceBackend ResourceBackendConfig `json:"resource_backend"`
}
func GetEConfig ¶
func GetEConfig() *EConfig
func (*EConfig) DynamicUpdateConfig ¶
func (*EConfig) PrintConfig ¶
func (c *EConfig) PrintConfig()
type EnovaAlgoConfig ¶
type EnovaAlgoConfig struct {
Host string
}
type EnovaInferConfig ¶
type EnovaInferConfig struct {
ExecutionControl TritonInferConfig
PerformanceDetection TritonInferConfig
ApplicationDomainAdaption TritonInferConfig
}
type LoggerConfig ¶
type PromConfig ¶
type RedisConfig ¶
type ResourceBackendConfig ¶
type ResourceBackendConfig struct {
Type ResourceBackendType
}
type ResourceBackendType ¶
type ResourceBackendType string
type ScalerConfig ¶
type ScalerConfig struct {
}
type ServingConfig ¶
type TritonInferConfig ¶
func (TritonInferConfig) GetUrl ¶
func (e TritonInferConfig) GetUrl() string
Click to show internal directories.
Click to hide internal directories.