Documentation
¶
Index ¶
- type ScopeSettingsParams
- type Settings
- func (c *Settings) GetScopeSchema(scope string) (*json.RawMessage, error)
- func (c *Settings) GetScopeSettings(scope string, opts ...filters.Option) (*json.RawMessage, error)
- func (c *Settings) GetSectionSchema(scope, section string) (*json.RawMessage, error)
- func (c *Settings) GetSectionSettings(scope, section string) (*json.RawMessage, error)
- func (c *Settings) Status() (*response.ServiceStatus, error)
- func (c *Settings) UpdateScopeSettings(settings map[string]interface{}, scope string) error
- func (c *Settings) UpdateSectionSettings(scope, section string, settings map[string]interface{}) error
- func (c *Settings) VerifyRestartRequired(scope string, settings map[string]interface{}) (*map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScopeSettingsParams ¶
type ScopeSettingsParams struct {
Merge string `url:"merge,omitempty"`
}
ScopeSettingsParams scope settings query parameter definition.
type Settings ¶
type Settings struct {
// contains filtered or unexported fields
}
Settings is a settings client instance.
func (*Settings) GetScopeSchema ¶
func (c *Settings) GetScopeSchema(scope string) (*json.RawMessage, error)
MARK: Schema GetScopeSchema get schema for the scope.
func (*Settings) GetScopeSettings ¶
MARK: Settings GetScopeSettings get settings for the scope
func (*Settings) GetSectionSchema ¶
func (c *Settings) GetSectionSchema(scope, section string) (*json.RawMessage, error)
GetSectionSchema get schema for the section
func (*Settings) GetSectionSettings ¶
func (c *Settings) GetSectionSettings(scope, section string) (*json.RawMessage, error)
GetSectionSettings get settings for the section.
func (*Settings) Status ¶
func (c *Settings) Status() (*response.ServiceStatus, error)
MARK: Status Status get settings microservice status.
func (*Settings) UpdateScopeSettings ¶
UpdateScopeSettings update settings for a scope.
Click to show internal directories.
Click to hide internal directories.