qinling/qinling/api/controllers/v1
Lingxian Kong 12d2ee6f26 Function versioning API: create
This patch supports to create function version.

- Versioning feature is only allowed for package type function for now
- New version creation code should be wrapped in lock to avoid any
  race condition
- New version number is calculated by Qinling and no need to be
  provided by end users
- Version creation is not allowed if no change happened to function
  package.
- Only function owner can create version.
- Maximum version number is 10 by default, we will make it configurable
  as needed in future.
- All function versions will be deleted when function itself is deleted

This patch only focuses on version creation, the other version
operations and related function operations will be handled in the
following patches.

Story: #2001829
Task: #14305
Change-Id: I62bb344da237766fc11cce2ffda65945313136b1
2018-04-18 18:38:13 +12:00
..
__init__.py Initial API code structure 2017-04-14 15:24:02 +12:00
execution.py Add administrative operations for some resources 2018-01-18 14:45:11 +13:00
function.py Function versioning API: create 2018-04-18 18:38:13 +12:00
function_version.py Function versioning API: create 2018-04-18 18:38:13 +12:00
job.py Add administrative operations for some resources 2018-01-18 14:45:11 +13:00
resources.py Function versioning API: create 2018-04-18 18:38:13 +12:00
root.py Support webhook 2018-01-13 22:50:47 +13:00
runtime.py Introduce etcd to qinling 2017-12-18 16:14:51 +13:00
types.py Initial API code structure 2017-04-14 15:24:02 +12:00
webhook.py Add administrative operations for some resources 2018-01-18 14:45:11 +13:00