mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-08 16:06:47 +00:00
* 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>
24 lines
581 B
Go
Generated
24 lines
581 B
Go
Generated
package hns
|
|
|
|
import "fmt"
|
|
|
|
//go:generate go run github.com/Microsoft/go-winio/tools/mkwinsyscall -output zsyscall_windows.go hns.go
|
|
|
|
//sys _hnsCall(method string, path string, object string, response **uint16) (hr error) = vmcompute.HNSCall?
|
|
|
|
type EndpointNotFoundError struct {
|
|
EndpointName string
|
|
}
|
|
|
|
func (e EndpointNotFoundError) Error() string {
|
|
return fmt.Sprintf("Endpoint %s not found", e.EndpointName)
|
|
}
|
|
|
|
type NetworkNotFoundError struct {
|
|
NetworkName string
|
|
}
|
|
|
|
func (e NetworkNotFoundError) Error() string {
|
|
return fmt.Sprintf("Network %s not found", e.NetworkName)
|
|
}
|