Releases: openfaas/faas-provider
Releases · openfaas/faas-provider
Add Secret to structs
Add Secret struct Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Port models from openfaas/faas gateway
Port models from gateway This patch moves types from the requests package of the gateway into faas-provider, so that providers will no longer have to vendor the gateway package. Ref: https://github.com/openfaas/faas/issues/565 Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Update logging interface
Fix import of httputils and add travis CI **What** - Fix a broken rename in the proxy code, it was referenceing `httputils` instead of the correct `httputil` - Add a travis config to help ensure that the project is compilable Signed-off-by: Lucas Roesler <[email protected]>
Define the logging interface
Changelog:
- Feature: Define the logging interface #15 via @LucasRoesler
Allows providers to provide logs via a stream
Allow override for secret name paths
Basic auth username/password can be read from any path required. Signed-off-by: Alex Ellis <[email protected]>
Rename health handler
Add /system/secrets
Break out function proxy code
Changelog:
- Break out function proxy code #9 by @LucasRoesler
Allow basic auth decoration
Protected/system endpoints can now be decorated with basic auth
// FaaSConfig set config for HTTP handlers
type FaaSConfig struct {
TCPPort *int
ReadTimeout time.Duration
WriteTimeout time.Duration
EnableHealth bool
EnableBasicAuth bool
SecretMountPath string
}
Set EnableBasicAuth
to true and populate the value for SecretMountPath
.
Include basic-auth packages
Moves out middle-ware and loading code from gateway in openfaas/faas.