**What**
Update faas-provider to get the proxy implementation that allows CORS
requests (OPTIONS) and HEAD.
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
As per the other OpenFaaS projects, faasd is moving to Go 1.15
The primary Go module is also being migrated to 1.15
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit allows the provider to return a list of the names of the
secrets mapped into an openfaas function. This was tested by building
and deploying faasd on multipass and curling the provider directly and
seeing the returned secrets list!
Signed-off-by: Alistair Hey <alistair@heyal.co.uk>
By moving to a reference instead of a value type, this patch
means the annotations are not leaked into other objects in
the result of ListFunctions. Tested on x86 with a Linux host
and I could no longer reproduce the issue in #128
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>