@vessl-ai/mcpctl-control-plane
Version:
Vessl MCP Control Plane service for managing distributed jobs.
21 lines (17 loc) • 577 B
text/typescript
import { Controller, Get, Post } from '@nestjs/common';
import { ControlPlaneStatus } from '@vessl-ai/mcpctl-shared/types/dto/controlplane';
import { ControlService } from './control.service';
('control')
export class ControlController {
constructor(private readonly controlService: ControlService) {}
// Stops the control plane
('stop')
async stop() {
return this.controlService.stop();
}
// Gets the status of the control plane
('status')
async status(): Promise<ControlPlaneStatus> {
return this.controlService.status();
}
}