fix(oci): add missing method WithBundleParserOpts to oci_downloader_unavailable

Signed-off-by: slonka <slonka@users.noreply.github.com>
This commit is contained in:
slonka
2024-02-08 09:26:11 +01:00
committed by Ashutosh Narkar
parent 75f3507d55
commit c8f7244306
2 changed files with 13 additions and 2 deletions
+6
View File
@@ -4,6 +4,8 @@ package download
import (
"context"
"github.com/open-policy-agent/opa/ast"
"github.com/open-policy-agent/opa/bundle"
"github.com/open-policy-agent/opa/plugins/rest"
)
@@ -51,3 +53,7 @@ func (d *OCIDownloader) Start(context.Context) {
func (d *OCIDownloader) Stop(context.Context) {
panic("built without OCI support")
}
func (*OCIDownloader) WithBundleParserOpts(ast.ParserOptions) *OCIDownloader {
panic("built without OCI support")
}