settings

package
v2.1.1-0...-11cc7cf Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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