mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-22 06:43:28 +00:00
Migrate to containerd v1.7.0 and update dependencies
* Updates containerd to v1.7.0 and new binary for 32-bit Arm OSes. * Updates Go dependencies - openfaas and external Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
committed by
Alex Ellis
parent
9efd019e86
commit
c41c2cd9fc
8
vendor/github.com/containerd/go-cni/namespace_opts.go
generated
vendored
8
vendor/github.com/containerd/go-cni/namespace_opts.go
generated
vendored
@ -50,6 +50,14 @@ func WithCapabilityDNS(dns DNS) NamespaceOpts {
|
||||
}
|
||||
}
|
||||
|
||||
// WithCapabilityCgroupPath passes in the cgroup path capability.
|
||||
func WithCapabilityCgroupPath(cgroupPath string) NamespaceOpts {
|
||||
return func(c *Namespace) error {
|
||||
c.capabilityArgs["cgroupPath"] = cgroupPath
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
// WithCapability support well-known capabilities
|
||||
// https://www.cni.dev/docs/conventions/#well-known-capabilities
|
||||
func WithCapability(name string, capability interface{}) NamespaceOpts {
|
||||
|
Reference in New Issue
Block a user