Architecture
Architecture
Components
caked: core background daemoncakectl: command-line controllercakedlib: shared library codegrpc: communication contracts and streaming/client interfaces
High-level Flow
cakectlsends commands tocakedcakedexecutes lifecycle/resource operations- responses and streams are transmitted through gRPC
- logs/status are returned to clients
Service Responsibilities
caked is responsible for:
- lifecycle management
- resource allocation
- health monitoring
- logging and diagnostics
Communication
The system uses gRPC for communication between cakectl and caked, providing:
- Type-safe service contracts
- Streaming capabilities for real-time updates
- Cross-platform compatibility
- Efficient binary protocol
Repository Structure
Sources/
├── caked/ # Daemon implementation
├── cakectl/ # CLI client
├── cakedlib/ # Shared libraries
└── grpc/ # gRPC definitions and generated code