mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-08 08:05:03 +00:00
* Inlines the namespace check for valid faasd namespaces * Creates a const for the namespace label applied to faasd namespaces Tested with go build and go test. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
17 lines
414 B
Go
17 lines
414 B
Go
package pkg
|
|
|
|
const (
|
|
// DefaultFunctionNamespace is the default containerd namespace functions are created
|
|
DefaultFunctionNamespace = "openfaas-fn"
|
|
|
|
// NamespaceLabel indicates that a namespace is managed by faasd
|
|
NamespaceLabel = "openfaas"
|
|
|
|
// FaasdNamespace is the containerd namespace services are created
|
|
FaasdNamespace = "openfaas"
|
|
|
|
faasServicesPullAlways = false
|
|
|
|
defaultSnapshotter = "overlayfs"
|
|
)
|