Documentation
¶
Overview ¶
Package ui provides the Tinkerbell web UI service.
Index ¶
Constants ¶
View Source
const ( // StaticAssetCacheDuration is the cache duration for static assets (24 hours). StaticAssetCacheDuration = 24 * time.Hour // DefaultURLPrefix is the default URI path prefix for all web UI routes. DefaultURLPrefix = "/" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
DebugMode bool
URLPrefix string
// EnableAutoLogin bypasses the login page and uses AutoLoginRestConfig for all requests.
EnableAutoLogin bool
// AutoLoginRestConfig is the Kubernetes REST config used when EnableAutoLogin is true.
AutoLoginRestConfig *rest.Config
// AutoLoginNamespace is the namespace to use for namespace-scoped fallbacks when EnableAutoLogin is true.
AutoLoginNamespace string
}
Config holds the configuration for the web UI service.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package assets provides embedded static assets for the Tinkerbell web UI.
|
Package assets provides embedded static assets for the Tinkerbell web UI. |
|
internal
|
|
|
http
Package webhttp provides HTTP handlers for the Tinkerbell web UI.
|
Package webhttp provides HTTP handlers for the Tinkerbell web UI. |
|
templ: version: v0.3.977
|
templ: version: v0.3.977 |
Click to show internal directories.
Click to hide internal directories.