weave v4.0.0 Weave.Loaders.File

This loader will attempt to consume files located within a configured directory. The directory must be cofigured like one of the following:

loaders: [
  {Weave.Loaders.File, directories: [
    "/run/secrets"
  ]},
]

With the above configuration, any files in the mentioned directories will be sent to the handler.

Please note, the filenames will be “sanitized” before being sent to the handler.

This means “/run/secrets/my_DB_password” will become “my_db_password”

Link to this section Summary

Functions

Safety net to provide debug when people don’t configure their loaders correctly

Link to this section Functions

Link to this function load_configuration(list)
load_configuration(options: list(), only: list(), handler: atom()) :: list()

Safety net to provide debug when people don’t configure their loaders correctly