apache / openwhisk-client-go

Go client library for the Apache OpenWhisk platform
https://openwhisk.apache.org/
Apache License 2.0
35 stars 44 forks source link

Add Env field #158

Closed giusdp closed 1 year ago

giusdp commented 1 year ago

This PR adds a KeyValueArr field to the action struct.

I am working on adding a --env flag to wsk to support adding environment variables during action initialization, and I figured I need another KeyValueArr when building the Action struct in openwhisk-cli.

The action struct is from the client-go so I'm adding it here, let me know if it's the correct way to do it!