package
0.0.0-20240917120716-8843776e9f3a
Repository: https://github.com/cossacklabs/acra.git
Documentation: pkg.go.dev
# Functions
GetEncryptorConfigStorage returns initialized filesystem.Storage interface depending on incoming storage type.
IsEncryptorConfigLoaderCLIConfigured check weather CLI ConfigStorage flags were configured.
IsEncryptorConfigLoaderCLIConfiguredWithFlags check weather CLI ConfigStorage flags of FlagSet were configured.
NewConfigLoader create new ConfigLoader.
RegisterEncryptorConfigLoaderCLIWithFlags register flags for all fabrics.
RegisterEncryptorConfigLoaderParameters register flags for all fabrics with CommandLine flags.
RegisterEncryptorConfigStorageCreator add new filesystem.Storage to registry.
# Constants
represent all possible encryptor config loader types.
represent all possible encryptor config loader types.
# Variables
ErrEncryptorConfigStorageNotFound represent an error of missing EncryptorConfigStorage in registry.
SupportedEncryptorConfigStorages contains all possible values for flag `--encryptor_config_storage_type`.
# Structs
ConfigLoader load encryptor config using encryptor.ConfigStorage.
# Interfaces
EncryptorConfigStorageCreator describe interface for creating EncryptorConfigStorage.