



런타임별 필요한 메타데이터
| 필드 | 설명 |
|---|---|
function_id |
내부 고유 ID (DB PK) |
name |
함수 이름 (예: generate_report) |
version |
함수 버전 관리 (예: v1.0.0) |
description |
함수 설명 |
created_at / updated_at |
생성/수정 시각 |
런타임 정보
| 필드 | 설명 |
|---|---|
runtime |
python3.11, nodejs20.x 등 |
handler |
엔트리 포인트 (Python: main.handler, Node: index.handler) |
dependencies |
필요 패키지 목록 (requirements.txt, package.json) |
environment_variables |
함수 실행 시 적용 환경 변수 |
memory |
함수 메모리 제한 (MB) |
timeout |
최대 실행 시간 (초) |
concurrency_limit |
동시 실행 제한 (Knative/KPA 등) |
빌드/배포 정보
| 필드 | 설명 |
|---|---|
source_type |
zip, git, inline_code 등 |
source_location |
코드 저장 위치 (Git URL, S3/ECR 경로) |
build_command |
빌드 시 실행 명령 (pip install -r requirements.txt 등) |
image_uri |
빌드 후 컨테이너 이미지 URI (ECR 등) |
entrypoint |
컨테이너 내 실행 명령어 (optional) |
scaling_policy |
scale-to-zero, max replicas, concurrency 등 |