We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kocierik/mcp-nomad'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
deployments.go•945 B
// File: types/deployments.go
package types
// DeploymentSummary represents a summary of a deployment
type DeploymentSummary struct {
ID string `json:"id"`
JobID string `json:"job_id"`
Namespace string `json:"namespace"`
Status string `json:"status"`
}
// Deployment represents a detailed view of a deployment
type Deployment struct {
ID string `json:"id"`
JobID string `json:"job_id"`
Namespace string `json:"namespace"`
Status string `json:"status"`
TaskGroups map[string]DeploymentTaskGroup `json:"task_groups"`
}
// DeploymentTaskGroup represents the deployment status of a task group
type DeploymentTaskGroup struct {
DesiredTotal int `json:"desired_total"`
PlacedAllocs int `json:"placed_allocs"`
HealthyAllocs int `json:"healthy_allocs"`
UnhealthyAllocs int `json:"unhealthy_allocs"`
}