Documentation ¶
Index ¶
- func NewSettingsManager() api.SettingsManager
- type SettingsHandler
- type SettingsManager
- func (sm *SettingsManager) DeletePinnedResource(client kubernetes.Interface, r *api.PinnedResource) error
- func (sm *SettingsManager) GetGlobalSettings(client kubernetes.Interface) api.Settings
- func (sm *SettingsManager) GetPinnedResources(client kubernetes.Interface) (r []api.PinnedResource)
- func (sm *SettingsManager) SaveGlobalSettings(client kubernetes.Interface, s *api.Settings) error
- func (sm *SettingsManager) SavePinnedResource(client kubernetes.Interface, r *api.PinnedResource) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSettingsManager ¶
func NewSettingsManager() api.SettingsManager
NewSettingsManager creates new settings manager.
Types ¶
type SettingsHandler ¶
type SettingsHandler struct {
// contains filtered or unexported fields
}
SettingsHandler manages all endpoints related to settings management.
func NewSettingsHandler ¶
func NewSettingsHandler(manager api.SettingsManager, clientManager clientapi.ClientManager) SettingsHandler
NewSettingsHandler creates SettingsHandler.
func (*SettingsHandler) Install ¶
func (self *SettingsHandler) Install(ws *restful.WebService)
Install creates new endpoints for settings management.
type SettingsManager ¶
type SettingsManager struct {
// contains filtered or unexported fields
}
SettingsManager is a structure containing all settings manager members.
func (*SettingsManager) DeletePinnedResource ¶
func (sm *SettingsManager) DeletePinnedResource(client kubernetes.Interface, r *api.PinnedResource) error
func (*SettingsManager) GetGlobalSettings ¶
func (sm *SettingsManager) GetGlobalSettings(client kubernetes.Interface) api.Settings
GetGlobalSettings implements SettingsManager interface. Check it for more information.
func (*SettingsManager) GetPinnedResources ¶
func (sm *SettingsManager) GetPinnedResources(client kubernetes.Interface) (r []api.PinnedResource)
func (*SettingsManager) SaveGlobalSettings ¶
func (sm *SettingsManager) SaveGlobalSettings(client kubernetes.Interface, s *api.Settings) error
GetGlobalSettings implements SettingsManager interface. Check it for more information.
func (*SettingsManager) SavePinnedResource ¶
func (sm *SettingsManager) SavePinnedResource(client kubernetes.Interface, r *api.PinnedResource) error
Click to show internal directories.
Click to hide internal directories.