Interface KubernetesPodRestartsCheck.Fetcher

Enclosing class:
KubernetesPodRestartsCheck
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface KubernetesPodRestartsCheck.Fetcher
Reads the pod list JSON (a seam for tests).
  • Method Summary

    Modifier and Type
    Method
    Description
    fetch(String labelSelector)
    The JSON body of GET /api/v1/namespaces/{ns}/pods?
  • Method Details