configuration

package
v0.0.0-...-cb90f35 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const SCMConfigKey = "scmConfig"

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	HostUrl           *url.URL
	GithubAppHomepage *url.URL
	UiUrl             *url.URL
	Redis             redisconfig.RedisOptions
	OIDCConfig        auth.OIDCConfig
	CheckoutPath      string
}

Options defines all options available to configure the IAM server.

func GetSCMConfigCtx

func GetSCMConfigCtx(ctx context.Context) Options

func GetSCMConfigReq

func GetSCMConfigReq(r *http.Request) Options

func NewDefaultOptions

func NewDefaultOptions() *Options

NewDefaultOptions returns the default options

func ParseViperConfig

func ParseViperConfig() *Options

ParseViperConfig tries to map a viper configuration

Jump to

Keyboard shortcuts

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