/**
  * {@inheritdoc}
  */
 public function delete(KubernetesNamespace $namespace)
 {
     return $this->connector->delete(sprintf('/namespaces/%s', $namespace->getMetadata()->getName()), null, ['class' => KubernetesNamespace::class]);
 }
 /**
  * @param string $path
  *
  * @return string
  */
 public function prefixPath($path)
 {
     return sprintf('/namespaces/%s%s', $this->namespace->getMetadata()->getName(), $path);
 }
Ejemplo n.º 3
0
 /**
  * @AfterScenario @cleanNamespace
  */
 public function cleanNamespace()
 {
     if (self::$namespace !== null) {
         $this->iDeleteTheNamespace(self::$namespace->getMetadata()->getName());
     }
 }