FaaSnap API
This Python package is automatically generated by the Swagger Codegen project:
- API version: 1.0.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.PythonClientCodegen
Python 2.7 and 3.4+
If the python package is hosted on Github, you can install directly from Github
pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
(you may need to run pip
with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git
)
Then import the package:
import swagger_client
Install via Setuptools.
python setup.py install --user
(or sudo python setup.py install
to install the package for all users)
Then import the package:
import swagger_client
Please follow the installation procedure and then run the following:
from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.DefaultApi(swagger_client.ApiClient(configuration))
try:
api_response = api_instance.functions_get()
pprint(api_response)
except ApiException as e:
print("Exception when calling DefaultApi->functions_get: %s\n" % e)
All URIs are relative to http://localhost:8080
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | functions_get | GET /functions | |
DefaultApi | functions_post | POST /functions | |
DefaultApi | invocations_post | POST /invocations | |
DefaultApi | metrics_get | GET /metrics | |
DefaultApi | net_ifaces_namespace_put | PUT /net-ifaces/{namespace} | |
DefaultApi | snapshots_post | POST /snapshots | |
DefaultApi | snapshots_put | PUT /snapshots | |
DefaultApi | snapshots_ss_id_mincore_get | GET /snapshots/{ssId}/mincore | |
DefaultApi | snapshots_ss_id_mincore_patch | PATCH /snapshots/{ssId}/mincore | |
DefaultApi | snapshots_ss_id_mincore_post | POST /snapshots/{ssId}/mincore | |
DefaultApi | snapshots_ss_id_mincore_put | PUT /snapshots/{ssId}/mincore | |
DefaultApi | snapshots_ss_id_patch | PATCH /snapshots/{ssId} | |
DefaultApi | snapshots_ss_id_reap_delete | DELETE /snapshots/{ssId}/reap | |
DefaultApi | snapshots_ss_id_reap_get | GET /snapshots/{ssId}/reap | |
DefaultApi | snapshots_ss_id_reap_patch | PATCH /snapshots/{ssId}/reap | |
DefaultApi | ui_data_get | GET /ui/data | |
DefaultApi | ui_get | GET /ui | |
DefaultApi | vmms_post | POST /vmms | |
DefaultApi | vms_get | GET /vms | |
DefaultApi | vms_post | POST /vms | |
DefaultApi | vms_vm_id_delete | DELETE /vms/{vmId} | |
DefaultApi | vms_vm_id_get | GET /vms/{vmId} |
- Function
- InlineResponse200
- InlineResponse2001
- InlineResponse400
- Interface
- Invocation
- Layer
- Snapshot
- State
- State1
- VM
- VM1
- VMM
All endpoints do not require authorization.