Documentation ¶
Overview ¶
Package lib is in charge of installing cells. Used by both the Rest service and the CLI-based install.
Index ¶
- Constants
- Variables
- func GenerateDefaultConfig() *install.InstallConfig
- func Install(ctx context.Context, c *install.InstallConfig, flags byte, ...) error
- func MergeWithDefaultConfig(conf *install.InstallConfig) error
- func PerformCheck(ctx context.Context, name string, c *install.InstallConfig) *install.CheckResult
- type DexClient
- type InstallProgressEvent
Constants ¶
View Source
const ( INSTALL_ALL = 1 << iota INSTALL_DB INSTALL_DS INSTALL_CONFIG INSTALL_FRONTEND )
Variables ¶
View Source
var (
ErrMySQLCharsetNotSupported = errors.New("Charset is not supported for this version of MySQL")
)
Functions ¶
func GenerateDefaultConfig ¶
func GenerateDefaultConfig() *install.InstallConfig
GenerateDefaultConfig creates InstallConfig with default values
func Install ¶
func Install(ctx context.Context, c *install.InstallConfig, flags byte, publisher func(event *InstallProgressEvent)) error
func MergeWithDefaultConfig ¶
func MergeWithDefaultConfig(conf *install.InstallConfig) error
MergeWithDefaultConfig merges a parsed config (from yaml or json) with missing fields values from Default config.
func PerformCheck ¶
func PerformCheck(ctx context.Context, name string, c *install.InstallConfig) *install.CheckResult
Types ¶
type InstallProgressEvent ¶
Click to show internal directories.
Click to hide internal directories.