java.lang.Object
io.javaoperatorsdk.webhook.sample.commons.Utils

public class Utils extends Object
  • Field Details

  • Constructor Details

    • Utils

      public Utils()
  • Method Details

    • applyAndWait

      public static void applyAndWait(io.fabric8.kubernetes.client.KubernetesClient client, String path)
    • applyAndWait

      public static void applyAndWait(io.fabric8.kubernetes.client.KubernetesClient client, String path, UnaryOperator<io.fabric8.kubernetes.api.model.HasMetadata> transform)
    • applyAndWait

      public static void applyAndWait(io.fabric8.kubernetes.client.KubernetesClient client, InputStream is)
    • applyAndWait

      public static void applyAndWait(io.fabric8.kubernetes.client.KubernetesClient client, List<io.fabric8.kubernetes.api.model.HasMetadata> resources, UnaryOperator<io.fabric8.kubernetes.api.model.HasMetadata> transformer)
    • applyAndWait

      public static void applyAndWait(io.fabric8.kubernetes.client.KubernetesClient client, InputStream is, UnaryOperator<io.fabric8.kubernetes.api.model.HasMetadata> transformer)
    • addRequiredLabels

      public static void addRequiredLabels(io.fabric8.kubernetes.api.model.networking.v1.Ingress ingress)
    • testIngress

      public static io.fabric8.kubernetes.api.model.networking.v1.Ingress testIngress(String name)
    • addConversionHookEndpointToCustomResource

      public static UnaryOperator<io.fabric8.kubernetes.api.model.HasMetadata> addConversionHookEndpointToCustomResource(String serviceName)