config

package
v1.95.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Port                                   int32                  `yaml:"port"`
	LogFormat                              string                 `yaml:"logFormat"`
	LogLevel                               string                 `yaml:"logLevel"`
	APIServerURL                           string                 `yaml:"apiServerUrl"`
	APIServerCAData                        *string                `yaml:"apiServerCaData,omitempty"`
	MaxRequestBodySize                     string                 `yaml:"maxRequestBodySize"`
	ExperimentalUseWatchCacheForListShoots string                 `yaml:"experimentalUseWatchCacheForListShoots"`
	ReadinessProbe                         ReadinessProbe         `yaml:"readinessProbe"`
	UnreachableSeeds                       UnreachableSeeds       `yaml:"unreachableSeeds"`
	ContentSecurityPolicy                  *ContentSecurityPolicy `yaml:"contentSecurityPolicy,omitempty"`
	Terminal                               *Terminal              `yaml:"terminal,omitempty"`
	OIDC                                   *OIDC                  `yaml:"oidc,omitempty"`
	GitHub                                 *GitHub                `yaml:"gitHub,omitempty"`
	Frontend                               map[string]interface{} `yaml:"frontend,omitempty"`
}

Config is the dashboard config structure.

type ContentSecurityPolicy

type ContentSecurityPolicy struct {
	ConnectSources []string `yaml:"connectSrc"`
}

ContentSecurityPolicy is the configuration for the content security policy.

type GitHub

type GitHub struct {
	APIURL              string `yaml:"apiUrl"`
	Org                 string `yaml:"org"`
	Repository          string `yaml:"repository"`
	PollIntervalSeconds *int64 `yaml:"pollIntervalSeconds,omitempty"`
	SyncThrottleSeconds int    `yaml:"syncThrottleSeconds"`
	SyncConcurrency     int    `yaml:"syncConcurrency"`
}

GitHub is the GitHub configuration.

type LoginConfig

type LoginConfig struct {
	LoginTypes     []string               `json:"loginTypes"`
	LandingPageURL string                 `json:"landingPageUrl,omitempty"`
	Branding       map[string]interface{} `json:"branding,omitempty"`
	Themes         map[string]interface{} `json:"themes,omitempty"`
}

LoginConfig is the dashboard login config structure.

type OIDC

type OIDC struct {
	Issuer             string     `yaml:"issuer"`
	SessionLifetime    int64      `yaml:"sessionLifetime"`
	RedirectURIs       []string   `yaml:"redirect_uris"`
	Scope              string     `yaml:"scope"`
	RejectUnauthorized bool       `yaml:"rejectUnauthorized"`
	Public             OIDCPublic `yaml:"public"`
}

OIDC is the OIDC configuration.

type OIDCPublic

type OIDCPublic struct {
	ClientID string `yaml:"clientId"`
	UsePKCE  bool   `yaml:"usePKCE"`
}

OIDCPublic is the public OIDC configuration.

type ReadinessProbe

type ReadinessProbe struct {
	PeriodSeconds int `yaml:"periodSeconds"`
}

ReadinessProbe is the readiness probe configuration.

type Terminal

type Terminal struct {
	Container                  TerminalContainer                   `yaml:"container"`
	ContainerImageDescriptions []TerminalContainerImageDescription `yaml:"containerImageDescriptions"`
	GardenTerminalHost         TerminalGardenHost                  `yaml:"gardenTerminalHost"`
	Garden                     TerminalGarden                      `yaml:"garden"`
}

Terminal is the configuration for the terminals.

type TerminalContainer

type TerminalContainer struct {
	Image string `yaml:"image"`
}

TerminalContainer is the configuration for a terminal container.

type TerminalContainerImageDescription

type TerminalContainerImageDescription struct {
	Image       string `yaml:"image"`
	Description string `yaml:"description"`
}

TerminalContainerImageDescription is the configuration for terminal image descriptions.

type TerminalGarden

type TerminalGarden struct {
	OperatorCredentials TerminalOperatorCredentials `yaml:"operatorCredentials"`
}

TerminalGarden is the configuration for the garden terminals.

type TerminalGardenHost

type TerminalGardenHost struct {
	SeedRef string `yaml:"seedRef"`
}

TerminalGardenHost is the configuration for the garden terminal host.

type TerminalOperatorCredentials

type TerminalOperatorCredentials struct {
	ServiceAccountRef corev1.SecretReference `yaml:"serviceAccountRef"`
}

TerminalOperatorCredentials is the configuration for the operator credentials for terminals.

type UnreachableSeeds

type UnreachableSeeds struct {
	MatchLabels map[string]string `yaml:"matchLabels"`
}

UnreachableSeeds is the configuration for unreachable seeds.

Jump to

Keyboard shortcuts

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