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

org.zodic.kubernetes.base.support.PodOperations Maven / Gradle / Ivy

The newest version!
package org.zodic.kubernetes.base.support;

import java.util.function.Supplier;

import io.fabric8.kubernetes.api.model.Pod;

public interface PodOperations {

    /**
     * @return A supplier of the currentPod. The supplier will hold the currentPodif inside Kubernetes or false, otherwise.
     */
    Supplier currentPod();

    /**
     * @return {@code True} if called from within Kubernetes, false otherwise.
     */
    Boolean isInsideKubernetes();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy