oslo.cache/oslo_cache
Takashi Kajinami f1950fdaa9 Fail if tls_enabled is True but backend does not support it
The tls_enabled option works properly only for the following backends.
 - oslo_cache.memcache_pool
 - dogpile.cache.bmemcache
 - dogpile.cache.pymemcache

Currently the tls options are all ignored in case a different backend
is used, but this does not allow users to notice that TLS is not
enabled contrary to their expectations.

This introduces the validation to ensure an appropriate backend is used
when tls is enabled.

NOTE:
The oslo_cache.memcache_pool bakcend supports tls_enabled only when
sasl_enabled is true, which can be fixed separately.

Change-Id: Ib967bf8cb21fb97fff94a6d6cb5983374e4798eb
2024-02-01 02:34:03 +09:00
..
backends Allow bmemcached to be optional for memcache_pool 2023-02-23 14:55:12 +00:00
locale Imported Translations from Zanata 2022-06-21 03:41:55 +00:00
tests Fail if tls_enabled is True but backend does not support it 2024-02-01 02:34:03 +09:00
__init__.py Export functions from __init__ 2015-10-13 14:48:32 +11:00
_bmemcache_pool.py Support SASL protocol for memcached 2022-05-03 10:58:53 +08:00
_i18n.py Update the documentation link for doc migration 2017-08-07 16:41:41 +08:00
_memcache_pool.py Merge "Clean-up memcache connection sockets" 2024-01-11 17:46:46 +00:00
_opts.py Fix minor typos in parameter help texts 2024-01-30 18:23:56 +09:00
core.py Fail if tls_enabled is True but backend does not support it 2024-02-01 02:34:03 +09:00
exception.py Cleanup exceptions 2015-06-29 18:13:32 +00:00
testing.py Make CacheIsolatingProxy public 2015-10-08 16:28:08 -05:00
version.py pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz) 2017-02-06 12:49:23 -05:00