All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fabric8.kubernetes.assertions.KubernetesNamespaceAssert Maven / Gradle / Ivy

Go to download

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy