feat: Add orchestration models and services for Kubernetes cluster management
- Implemented Pydantic models for Kubernetes cluster state representation in `cluster.py`. - Created a `Resource` class for converting JSON/dict to Python objects in `resource.py`. - Established user models and services for user management, including password hashing and JWT token generation. - Developed application orchestration services for managing Kubernetes applications, including installation and uninstallation. - Added cluster service for retrieving cluster status and health reports. - Introduced node service for fetching node resource details and health status. - Implemented user service for handling user authentication and management.
This commit is contained in:
8
ocdp/controllers/v1/orchestration/cluster/__init__.py
Normal file
8
ocdp/controllers/v1/orchestration/cluster/__init__.py
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
from fastapi import APIRouter
|
||||
|
||||
from .get_cluster_status import router as get_cluster_status_router
|
||||
|
||||
router = APIRouter(prefix="/cluster")
|
||||
|
||||
router.include_router(get_cluster_status_router)
|
||||
Reference in New Issue
Block a user