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: 11 Imported by: 0

Documentation

Index

Constants

View Source
const BuildConfigKey = "buildConfig"

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	ContextPath    string
	Redis          redisconfig.RedisOptions
	OIDCConfig     auth.OIDCConfig
	DockerRegistry registry.RegistryConfig
	BuildUrl       string
	SCMConfig
}

func GetBuildConfigCtx

func GetBuildConfigCtx(ctx context.Context) Options

func GetBuildConfigReq

func GetBuildConfigReq(r *http.Request) Options

func NewDefaultOptions

func NewDefaultOptions() *Options

func ParseViperConfig

func ParseViperConfig() *Options

type SCMConfig

type SCMConfig struct {
	Url string
}

func (SCMConfig) GetCheckoutUrl

func (c SCMConfig) GetCheckoutUrl() string

Jump to

Keyboard shortcuts

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