wonderwall

package
v0.0.0-...-d6ceb4e Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PortName               = "wonderwall"
	MetricsPortName        = "ww-metrics"
	Port                   = 7564
	MetricsPort            = 7565
	FrontChannelLogoutPath = "/oauth2/logout/frontchannel"
)

Variables

This section is empty.

Functions

func Create

func Create(source Source, ast *resource.Ast, naisCfg Config, wonderwallCfg Configuration) error

Types

type Config

type Config interface {
	GetWonderwallOptions() config.Wonderwall
	IsWonderwallEnabled() bool
}

type Configuration

type Configuration struct {
	ACRValues             string
	AutoLogin             bool
	AutoLoginIgnorePaths  []nais_io_v1.WonderwallIgnorePaths
	Ingresses             []nais_io_v1.Ingress
	NeedsEncryptionSecret bool
	Provider              string
	Resources             *nais_io_v1.ResourceRequirements
	SecretNames           []string
	UILocales             string
}

type Source

type Source interface {
	resource.Source
	GetAzure() nais_io_v1.AzureInterface
	GetIDPorten() *nais_io_v1.IDPorten
	GetLiveness() *nais_io_v1.Probe
	GetPort() int
	GetPrometheus() *nais_io_v1.PrometheusConfig
	GetReadiness() *nais_io_v1.Probe
	GetTerminationGracePeriodSeconds() *int64
}

Jump to

Keyboard shortcuts

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