Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SettingsHandler ¶
type SettingsHandler struct {
// contains filtered or unexported fields
}
SettingsHandler manages all endpoints related to settings management.
func NewSettingsHandler ¶
func NewSettingsHandler(manager SettingsManager) 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 NewSettingsManager ¶
func NewSettingsManager(clientManager client.ClientManager) SettingsManager
NewSettingsManager creates new settings manager.
func (*SettingsManager) GetGlobalSettings ¶
func (sm *SettingsManager) GetGlobalSettings(client kubernetes.Interface) api.Settings
GetGlobalSettings implements SettingsManager interface. Check it for more information.
func (*SettingsManager) SaveGlobalSettings ¶
func (sm *SettingsManager) SaveGlobalSettings(client kubernetes.Interface, s *api.Settings) error
GetGlobalSettings implements SettingsManager interface. Check it for more information.
Click to show internal directories.
Click to hide internal directories.