# Constants
No description provided by the author
No description provided by the author
managed item types.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
A sentinel to skip regular files because "nil, nil" is ambiguous.
No description provided by the author
HubClient is the HTTP client used to communicate with the CrowdSec Hub.
The order is important, as it is used to range over sub-items in collections.
# Structs
No description provided by the author
Downloader is used to retrieve index and items from a remote hub, with cache control.
Hub is the main structure for the package.
Item is created from an index file and enriched with local info.
ItemState is used to keep the local state (i.e.
ItemVersion is used to detect the version of a given item by comparing the hash of each version to the local file.
# Interfaces
ContentProvider retrieves and writes the YAML files with the item content.
IndexProvider retrieves and writes .index.json.
# Type aliases
No description provided by the author
no need to import the lib package to use this.