lib

package
v2.3.2+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2021 License: AGPL-3.0 Imports: 31 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package lib is in charge of installing cells. Used by both the Rest service and the CLI-based install.

Index

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")
	ErrMySQLVersionNotSupported = errors.New("This version of the database is currently not supported")
)
View Source
var (
	PartialDefaultConfig *install.InstallConfig
)

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 DexClient

type DexClient struct {
	Id                     string
	Name                   string
	Secret                 string
	RedirectURIs           []string
	IdTokensExpiry         string
	RefreshTokensExpiry    string
	OfflineSessionsSliding bool
}

type InstallProgressEvent

type InstallProgressEvent struct {
	Progress int
	Message  string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL