Documentation ¶
Index ¶
- func GetConfigKey() string
- func InitDashboardConfig(k8sClient kubernetes.Interface, stopper <-chan struct{})
- func InitDashboardConfigFromMountFile(mountPath string) error
- func UpdateDashboardConfig(k8sClient kubernetes.Interface, newDashboardConfig DashboardConfig) error
- type ChartRegistry
- type DashboardConfig
- type DockerRegistry
- type MenuConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigKey ¶
func GetConfigKey() string
func InitDashboardConfig ¶
func InitDashboardConfig(k8sClient kubernetes.Interface, stopper <-chan struct{})
func UpdateDashboardConfig ¶
func UpdateDashboardConfig(k8sClient kubernetes.Interface, newDashboardConfig DashboardConfig) error
Types ¶
type ChartRegistry ¶
type DashboardConfig ¶
type DashboardConfig struct { DockerRegistries []DockerRegistry `yaml:"docker_registries" json:"docker_registries"` ChartRegistries []ChartRegistry `yaml:"chart_registries" json:"chart_registries"` MenuConfigs []MenuConfig `yaml:"menu_configs" json:"menu_configs"` PathPrefix string `yaml:"path_prefix" json:"path_prefix"` }
func GetDashboardConfig ¶
func GetDashboardConfig() DashboardConfig
type DockerRegistry ¶
type MenuConfig ¶
type MenuConfig struct { Path string `yaml:"path" json:"path"` Enable bool `yaml:"enable" json:"enable"` SidebarKey string `yaml:"sidebar_key" json:"sidebar_key"` Children []MenuConfig `yaml:"children" json:"children,omitempty"` }
Click to show internal directories.
Click to hide internal directories.