mirror of
https://github.com/openfaas/faasd.git
synced 2025-06-16 03:46:48 +00:00
This patch completes part of the work in #20 by porting the code for faas-containerd in-tree. When tested, I was able to deploy and then remove figlet from the store on `x86_64`. In a follow-up PR, duplication will be removed where possible and consolidated with updated documentation. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
19 lines
628 B
Go
19 lines
628 B
Go
// Copyright (c) Alex Ellis 2017. All rights reserved.
|
|
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
|
|
// Package requests package provides a client SDK or library for
|
|
// the OpenFaaS gateway REST API
|
|
package requests
|
|
|
|
// AsyncReport is the report from a function executed on a queue worker.
|
|
type AsyncReport struct {
|
|
FunctionName string `json:"name"`
|
|
StatusCode int `json:"statusCode"`
|
|
TimeTaken float64 `json:"timeTaken"`
|
|
}
|
|
|
|
// DeleteFunctionRequest delete a deployed function
|
|
type DeleteFunctionRequest struct {
|
|
FunctionName string `json:"functionName"`
|
|
}
|