Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrDecodeRequestBody = errors.New("could not decode the request body")
)
Functions ¶
func ErrorResponse ¶
func ErrorResponse(err error) errorResponse
Types ¶
type CreateDeployParams ¶
type CreateDeployParams struct{}
CreateDeployParams holds all the necessary fields to deploy a new function.
type CreateEndpointParams ¶
type CreateEndpointParams struct { // Name of the endpoint Name string `json:"name"` // Runtime on which the code will be invoked. (go or js for now) Runtime string `json:"runtime"` // A map of environment variables Environment map[string]string `json:"environment"` }
CreateEndpointParams holds all the necessary fields to create a new run application.
type CreateRollbackParams ¶
CreateRollbackParams holds all the necessary fields to rollback your application to a specific deploy id (version).
type CreateRollbackResponse ¶
Click to show internal directories.
Click to hide internal directories.