Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
func Run(configuration Configuration, registry registry.Registry)
Run creates the warp menu and update the menu whenever a relevant etcd key was changed
Types ¶
type Categories ¶
type Categories []*Category
Categories collection of warp categories
func (Categories) Len ¶
func (categories Categories) Len() int
func (Categories) Less ¶
func (categories Categories) Less(i, j int) bool
func (Categories) Swap ¶
func (categories Categories) Swap(i, j int)
type ConfigReader ¶
type ConfigReader struct {
// contains filtered or unexported fields
}
ConfigReader reads the configuration for the warp menu from etcd
type Configuration ¶
type Configuration struct {
Sources []Source
Target string
Order confd.Order
SupportSources []SupportSource `yaml:"support"`
}
Configuration for warp menu creation
type DisabledSupportEntries ¶
type DisabledSupportEntries struct {
// contains filtered or unexported fields
}
type EntryWithCategory ¶
EntryWithCategory is a dto for entries with a category
type SupportSource ¶
type SupportSource struct {
Identifier string `yaml:"identifier"`
External bool `yaml:"external"`
Href string `yaml:"href"`
}
Source for SupportEntries from yaml
Click to show internal directories.
Click to hide internal directories.