Documentation
¶
Index ¶
Constants ¶
View Source
const EnvPrefix = "MR"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConditionalModelRegistryHealthChecker ¶
type ConditionalModelRegistryHealthChecker struct {
// contains filtered or unexported fields
}
ConditionalModelRegistryHealthChecker checks model registry health only if service is available
func (*ConditionalModelRegistryHealthChecker) Check ¶
func (c *ConditionalModelRegistryHealthChecker) Check() platformproxy.HealthCheck
type Config ¶
type Config struct {
DbFile string `mapstructure:"db-file" yaml:"db-file"`
Hostname string `mapstructure:"hostname" yaml:"hostname"`
Port int `mapstructure:"port" yaml:"port"`
LibraryDirs []string `mapstructure:"metadata-library-dir" yaml:"metadata-library-dir"`
CORSAllowedOrigins []string `mapstructure:"cors-allowed-origins" yaml:"cors-allowed-origins"`
}
type ModelRegistryServiceHolder ¶
type ModelRegistryServiceHolder struct {
// contains filtered or unexported fields
}
ModelRegistryServiceHolder safely holds the model registry service
func (*ModelRegistryServiceHolder) Get ¶
func (h *ModelRegistryServiceHolder) Get() api.ModelRegistryApi
func (*ModelRegistryServiceHolder) Set ¶
func (h *ModelRegistryServiceHolder) Set(service api.ModelRegistryApi)
type ProxyConfig ¶
type ProxyConfig struct {
EmbedMD embedmd.EmbedMDConfig
DatastoreType string
}
Click to show internal directories.
Click to hide internal directories.