mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
* Consolidating route type utilization Fixes: #197 * Adding --version to fn init CLI command * Updating functions_go to 0.1.36 * Updating route init process * Updating tests * Adding "memory" CLI flag to fn run * Make CLI memory flag override what's in func.yaml * Get rid of default value for memory flag * Revert UX impact func.yaml remains the same, no nested maps
Go API client for functions
The open source serverless platform.
Overview
This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.
- API version: 0.1.28
- Package version: 0.1.28
- Build package: class io.swagger.codegen.languages.GoClientCodegen
Installation
Put the package under your project folder and add the following in import:
"./functions"
Documentation for API Endpoints
All URIs are relative to https://127.0.0.1:8080/v1
| Class | Method | HTTP request | Description |
|---|---|---|---|
| AppsApi | AppsAppDelete | Delete /apps/{app} | Delete an app. |
| AppsApi | AppsAppGet | Get /apps/{app} | Get information for a app. |
| AppsApi | AppsAppPatch | Patch /apps/{app} | Updates an app. |
| AppsApi | AppsGet | Get /apps | Get all app names. |
| AppsApi | AppsPost | Post /apps | Post new app |
| RoutesApi | AppsAppRoutesGet | Get /apps/{app}/routes | Get route list by app name. |
| RoutesApi | AppsAppRoutesPost | Post /apps/{app}/routes | Create new Route |
| RoutesApi | AppsAppRoutesRouteDelete | Delete /apps/{app}/routes/{route} | Deletes the route |
| RoutesApi | AppsAppRoutesRouteGet | Get /apps/{app}/routes/{route} | Gets route by name |
| RoutesApi | AppsAppRoutesRoutePatch | Patch /apps/{app}/routes/{route} | Update a Route |
| TasksApi | TasksGet | Get /tasks | Get next task. |
| VersionApi | VersionGet | Get /version | Get daemon version. |
Documentation For Models
- App
- AppWrapper
- AppsWrapper
- ErrorBody
- ModelError
- NewTask
- Route
- RouteWrapper
- RoutesWrapper
- Task
- TaskWrapper
- Version
Documentation For Authorization
All endpoints do not require authorization.