Documentation
¶
Overview ¶
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
templ: version: v0.3.960
Index ¶
- func Dashboard(data DashboardData) templ.Component
- func Layout(title string) templ.Component
- func PluginCard(plugin PluginInfo) templ.Component
- func PluginForm(data PluginFormData) templ.Component
- func PluginList(data PluginListData) templ.Component
- func PluginListCard(plugin PluginListItem) templ.Component
- func ServerCard(server ServerSummary) templ.Component
- func ServerDetail(data ServerDetailData) templ.Component
- func ServerForm(data ServerFormData) templ.Component
- type DashboardData
- type MaintenanceInfo
- type PluginFormData
- type PluginInfo
- type PluginListData
- type PluginListItem
- type PluginSummary
- type PluginUpdate
- type ServerDetailData
- type ServerFormData
- type ServerSummary
- type UpdateInfo
- type UpdatePlan
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Dashboard ¶
func Dashboard(data DashboardData) templ.Component
func PluginCard ¶
func PluginCard(plugin PluginInfo) templ.Component
func PluginForm ¶
func PluginForm(data PluginFormData) templ.Component
func PluginList ¶
func PluginList(data PluginListData) templ.Component
func PluginListCard ¶
func PluginListCard(plugin PluginListItem) templ.Component
func ServerCard ¶
func ServerCard(server ServerSummary) templ.Component
func ServerDetail ¶
func ServerDetail(data ServerDetailData) templ.Component
func ServerForm ¶
func ServerForm(data ServerFormData) templ.Component
Types ¶
type DashboardData ¶
type DashboardData struct {
Servers []ServerSummary
Namespaces []string
SelectedNamespace string
}
type MaintenanceInfo ¶
type PluginFormData ¶
type PluginInfo ¶
type PluginListData ¶
type PluginListData struct {
Plugins []PluginListItem
Namespaces []string
SelectedNamespace string
}
type PluginListItem ¶
type PluginSummary ¶
type PluginUpdate ¶
type ServerDetailData ¶
type ServerDetailData struct {
Name string
Namespace string
CurrentPaperVersion string
DesiredPaperVersion string
AvailableUpdate string
Plugins []PluginInfo
MaintenanceSchedule MaintenanceInfo
LastUpdate UpdateInfo
Labels map[string]string
}
type ServerFormData ¶
type ServerFormData struct {
IsEdit bool
Name string
Namespace string
Strategy string
Version string
Build string
UpdateDelay string
CheckCron string
MaintenanceEnabled bool
MaintenanceCron string
Namespaces []string
Error string
}
ServerFormData contains data for the server create/edit form.
type ServerSummary ¶
type UpdateInfo ¶
type UpdatePlan ¶
type UpdatePlan struct {
PaperUpdate string
PluginUpdates []PluginUpdate
AppliesAt string
}
Click to show internal directories.
Click to hide internal directories.