package
2.7.0+incompatible
Repository: https://github.com/kubernetes/dashboard.git
Documentation: pkg.go.dev
# Functions
GetDefaultSettings returns settings structure, that should be used if there are no global or local settings overriding them.
GetDefaultSettingsConfigMap returns config map with default settings.
MarshalPinnedResources pinned resource into JSON object.
Unmarshal settings from JSON string into object.
UnmarshalPinnedResources unmarshal pinned resource into object.
# Constants
ConcurrentSettingsChangeError occurs during settings save if settings were modified concurrently.
ConfigMapAPIVersion is a API version of config map.
ConfigMapKindName is a name of config map kind.
GlobalSettingsKey is a settings map key which maps to current global settings.
PinnedResourceNotFoundError occurs while deleting pinned resource, if the resource wasn't already pinned.
PinnedResourcesKey is a settings map key which maps to current pinned resources.
ResourceAlreadyPinnedError occurs while pinning a new resource, if it has been pinned before.
SettingsConfigMapName contains a name of config map, that stores settings.
# Structs
PinnedResource represents a pinned resource.
Settings is a single instance of settings without context.
# Interfaces
SettingsManager is used for user settings management.