settings

package
v1.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2018 License: Apache-2.0 Imports: 12 Imported by: 85

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 clientapi.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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL