Closed viccuad closed 2 years ago
This package specifies the HostCaller interface, and provides a native and a wasm hostcaller that implement them.
Fix https://github.com/kubewarden/policy-sdk-go/issues/22
Did minimum tests by importing the new package and calling it from a go policy. (used export GOFLAGS="-mod=mod", and a replace github.com/kubewarden/policy-sdk-go v0.1.2 => ../policy-sdk-go).
export GOFLAGS="-mod=mod"
replace github.com/kubewarden/policy-sdk-go v0.1.2 => ../policy-sdk-go
I created https://github.com/kubewarden/policy-sdk-go/pull/25 that supersedes this PR. I retained @viccuad history inside of the new PR
This package specifies the HostCaller interface, and provides a native and a wasm hostcaller that implement them.
Description
Fix https://github.com/kubewarden/policy-sdk-go/issues/22
Test
Did minimum tests by importing the new package and calling it from a go policy. (used
export GOFLAGS="-mod=mod"
, and areplace github.com/kubewarden/policy-sdk-go v0.1.2 => ../policy-sdk-go
).Additional Information
Tradeoff
Potential improvement