lib

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2018 License: AGPL-3.0 Imports: 25 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMySQLCharsetNotSupported = errors.New("Charset is not supported for this version of MySQL")
)

Functions

func GenerateDefaultConfig

func GenerateDefaultConfig() *install.InstallConfig

func Install

func Install(ctx context.Context, c *install.InstallConfig, publisher func(event *InstallProgressEvent)) error

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