cds-snc/elenchos

View on GitHub
src/interfaces/Cluster.ts

Summary

Maintainability
A
0 mins
Test Coverage
export interface Node {
  name: string;
}

export interface NodePools {
  nodes: Node[];
}

export interface Status {
  state: string;
}

// note - if an error occurs check for message field
export interface Cluster {
  id: string;
  name: string;
  node_pools: NodePools[];
  status: Status;
  state: string;
  message?: string;
}