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 CreateDeploymentParams ¶
type CreateDeploymentParams struct{}
CreateDeploymentParams 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 PublishParams ¶
PublishParams holds all the necessary fields to publish a specific deployment LIVE to your application.
type PublishResponse ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server serves the public run API.
type UpdateEndpointParams ¶
Click to show internal directories.
Click to hide internal directories.