/**
  * {@inheritdoc}
  */
 public function delete(ReplicationController $replicationController)
 {
     try {
         $path = $this->namespaceClient->prefixPath(sprintf('/replicationcontrollers/%s', $replicationController->getMetadata()->getName()));
         return $this->connector->delete($path, null, ['class' => ReplicationController::class]);
     } catch (ClientError $e) {
         if ($e->getStatus()->getCode() === 404) {
             throw new ReplicationControllerNotFound();
         }
         throw $e;
     }
 }
 /**
  * {@inheritdoc}
  */
 public function delete(Pod $pod)
 {
     try {
         $path = $this->namespaceClient->prefixPath(sprintf('/pods/%s', $pod->getMetadata()->getName()));
         return $this->connector->delete($path, null, ['class' => Pod::class]);
     } catch (ClientError $e) {
         if ($e->getStatus()->getCode() === 404) {
             throw new PodNotFound();
         }
         throw $e;
     }
 }
 /**
  * {@inheritdoc}
  */
 public function delete(KubernetesNamespace $namespace)
 {
     return $this->connector->delete(sprintf('/namespaces/%s', $namespace->getMetadata()->getName()), null, ['class' => KubernetesNamespace::class]);
 }