Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsControllerError ¶
func IsControllerError(err error) bool
Types ¶
type ControllerError ¶
type ControllerError interface {
error
IsFinal() bool
}
type DatabaseCreationError ¶
type DatabaseCreationError struct {
DatabaseType DatabaseType
EnvironmentConfig EnvironmentConfig
Reason string
}
type DatabaseInitError ¶
type DatabaseInitError struct {
SiteName string
ServiceName string
Reason string
}
type DatabaseMigrationError ¶
type DatabaseMigrationError struct {
SiteName string
ServiceName string
Reason string
}
type DatabaseType ¶
type DatabaseType string
const (
DatabaseTypeMongo DatabaseType = "Mongo"
DatabaseTypeMysql DatabaseType = "Mysql"
DatabaseTypeRedis DatabaseType = "Redis"
)
type EnvironmentConfig ¶
type EnvironmentConfig interface {
GetSiteName() string
GetServiceName() string
GetEnvironment() string
}
type UnresolvedTemplatesError ¶
type UnresolvedTemplatesError struct {
UnresolvedTemplateVariables []string
AvailableTemplateVariables []string
EntityType string
Key string
}
Click to show internal directories.
Click to hide internal directories.