import { useMemo } from 'react'
import { MOCK_NAMESPACES, MOCK_PODS, MOCK_DEPLOYMENTS, MOCK_SERVICES } from '../data/mockResources'

export interface K8sResource {
  type: string
  name: string
  namespace?: string
  status?: string
  color?: string
}

export const useKubernetes = () => {
  return useMemo(
    () => ({
      namespaces: MOCK_NAMESPACES,
      pods: MOCK_PODS,
      deployments: MOCK_DEPLOYMENTS,
      services: MOCK_SERVICES,
      isLoading: false,
    }),
    []
  )
}
