io.fabric8.kubernetes.assertions.KubernetesNamespaceAssert Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kubernetes-assertions
Show all versions of kubernetes-assertions
This library provides a bunch of helpful assertj assertions for working with the kubernetes-api.
The newest version!
package io.fabric8.kubernetes.assertions;
import io.fabric8.kubernetes.client.KubernetesClient;
/**
* Provides a set of assertions for a namespace
*/
public class KubernetesNamespaceAssert
extends KubernetesAssert
{
private final KubernetesClient client;
private final String namespace;
public KubernetesNamespaceAssert(KubernetesClient client, String namespace)
{
super(client);
this.client = client;
this.namespace = namespace;
}
@Override
public String namespace()
{
return namespace;
}
}