faas/gateway/requests/requests.go
Jonatas Baldin 22b15fb0a9 Remove duplicated Secret struct
Signed-off-by: Jonatas Baldin <jonatas.baldin@gmail.com>
2019-10-05 18:58:47 +01:00

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"`
}