Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AuthorizationConfig ¶
type Config ¶
type Config struct {
APIHost string `validate:"required"`
EncryptionKey string `validate:"required"`
Environment string `validate:"required"`
Port int `validate:"required"`
SentryDSN string
OauthClientID string
Streams Streams `validate:"dive,required"`
Docs Documentations
Applications []models.Application `validate:"dive"`
Authorization *AuthorizationConfig `validate:"required"`
Database *DatabaseConfig `validate:"required"`
Mlflow *MlflowConfig `validate:"required"`
UI *UIConfig
}
func LoadAndValidate ¶
func NewDefaultConfig ¶
func NewDefaultConfig() *Config
func (*Config) ListenAddress ¶
type DatabaseConfig ¶
type Documentation ¶
type Documentations ¶
type Documentations []Documentation
type MlflowConfig ¶
type MlflowConfig struct {
TrackingURL string `validated:"required,url"`
}
type UIConfig ¶
type UIConfig struct {
StaticPath string `validated:"required"`
IndexPath string `validated:"required"`
ClockworkUIHomepage string `json:"REACT_APP_CLOCKWORK_UI_HOMEPAGE"`
KubeflowUIHomepage string `json:"REACT_APP_KUBEFLOW_UI_HOMEPAGE"`
}
UIConfig stores the configuration for the UI.
Click to show internal directories.
Click to hide internal directories.