certbot.plugins.storage module
Plugin storage class.
class
certbot.plugins.storage.``PluginStorage(config, classkey)[source]
Bases:object
Class implementing storage functionality for pluginssave()[source]
Saves PluginStorage content to disk
Raises: errors.PluginStorageError – when unable to serialize the data or write it to the filesystemput(key, value)[source]
Put configuration value to PluginStorage
Parameters: - key (str) – Key to store the value to- value – Data to storefetch(key)[source]
Get configuration value from PluginStorage
Parameters: key (str) – Key to get value from the storage
Raises: KeyError – If the key doesn’t exist in the storage
Certbot中文文檔
推薦文章: