Versions in this module Expand all Collapse all v0 v0.1.0 Jun 11, 2024 Changes in this version + var ErrConflictBackendType = errors.New("conflict backend type") + var ErrConflictConfigItemType = errors.New("type of the config item conflicts between saved and registered") + var ErrEmptyBackendName = errors.New("backend name should not be empty") + var ErrEmptyBackendType = errors.New("empty backend type") + var ErrEmptyConfigItem = errors.New("empty config item") + var ErrEmptyConfigItemKey = errors.New("empty config item key") + var ErrEmptyConfigItemValue = errors.New("empty config item value") + var ErrInUseCurrentBackend = errors.New("unset in-use current backend") + var ErrInvalidBackNameDefault = errors.New("backend name should not be default") + var ErrInvalidBackendNameCurrent = errors.New("backend name should not be current") + var ErrNonEmptyBackendConfigItems = errors.New("non-empty backend config items") + var ErrNotBool = errors.New("not bool type") + var ErrNotExistCurrentBackend = errors.New("cannot assign current to not exist backend") + var ErrNotInt = errors.New("not int type") + var ErrNotString = errors.New("not string type") + var ErrUnsetDefaultCurrentBackend = errors.New("cannot unset default current backend") + var ErrUnsupportedBackendType = errors.New("unsupported backend type") + var ErrUnsupportedConfigItem = errors.New("unsupported config item") + func DeleteConfigItem(key string) error + func GetConfig() (*v1.Config, error) + func GetEncodedConfigItem(key string) (string, error) + func SetEncodedConfigItem(key, strValue string) error