Versions in this module Expand all Collapse all v2 v2.0.0 Jun 18, 2023 Changes in this version + type GeoLocationAPIResponse struct + City string + Country string + IP string + Location string + Org string + Postal string + Region string + Timezone string + type SettingsAPI struct + func New(ctx context.Context, logger *zap.Logger, storage storageTY.Plugin, ...) *SettingsAPI + func (s *SettingsAPI) AutoUpdateSystemGEOLocation() error + func (s *SettingsAPI) GetBackupLocations() (*settingsTY.BackupLocations, error) + func (s *SettingsAPI) GetByID(ID string) (*settingsTY.Settings, error) + func (s *SettingsAPI) GetEntityInterface() interface{} + func (s *SettingsAPI) GetGeoLocation() (*settingsTY.GeoLocation, error) + func (s *SettingsAPI) GetLocation() (*GeoLocationAPIResponse, error) + func (s *SettingsAPI) GetSystemJobs() (*settingsTY.SystemJobsSettings, error) + func (s *SettingsAPI) GetSystemSettings() (*settingsTY.SystemSettings, error) + func (s *SettingsAPI) GetTelemetry() (*settingsTY.TelemetryConfig, error) + func (s *SettingsAPI) GetVersion() (*settingsTY.VersionSettings, error) + func (s *SettingsAPI) Import(data interface{}) error + func (s *SettingsAPI) List(filters []storageTY.Filter, pagination *storageTY.Pagination) (*storageTY.Result, error) + func (s *SettingsAPI) ResetJwtAccessSecret(newSecret string) error + func (s *SettingsAPI) Save(settings *settingsTY.Settings) error + func (s *SettingsAPI) UpdateGeoLocation(location *settingsTY.GeoLocation) error + func (s *SettingsAPI) UpdateJwtAccessSecret() error + func (s *SettingsAPI) UpdateSettings(settings *settingsTY.Settings) error + func (s *SettingsAPI) UpdateSystemSettings(settings *settingsTY.Settings) error + func (s *SettingsAPI) UpdateVersion(version *settingsTY.VersionSettings) error