bundler

Function bundle_endpoint

source
pub(crate) async fn bundle_endpoint(
    __arg0: State<Arc<RwLock<BundleFile<NoMetadata>>>>,
    if_none_match: Option<TypedHeader<IfNoneMatch>>,
) -> impl IntoResponse
Expand description

Returns the Open Policy Agent bundle in gzipped tar format

ETag matching is supported via the ‘If-None-Match’ header, requests containing this header will not recieve any data if it matches the current bundle version