Class PodLogs

java.lang.Object
io.kubernetes.client.PodLogs

public class PodLogs extends Object
Utility class offering streaming access to Pod logs.
  • Constructor Details

    • PodLogs

      public PodLogs()
      Simple PodLogs API constructor, uses default configuration
    • PodLogs

      public PodLogs(io.kubernetes.client.openapi.ApiClient apiClient)
      PodLogs API Constructor
      Parameters:
      apiClient - The api client to use.
  • Method Details

    • getApiClient

      public io.kubernetes.client.openapi.ApiClient getApiClient()
      Get the API client for these Logs operations.
      Returns:
      The API client that will be used.
    • streamNamespacedPodLog

      public InputStream streamNamespacedPodLog(io.kubernetes.client.openapi.models.V1Pod pod) throws io.kubernetes.client.openapi.ApiException, IOException
      Throws:
      io.kubernetes.client.openapi.ApiException
      IOException
    • streamNamespacedPodLog

      public InputStream streamNamespacedPodLog(String namespace, String name, String container) throws io.kubernetes.client.openapi.ApiException, IOException
      Throws:
      io.kubernetes.client.openapi.ApiException
      IOException
    • streamNamespacedPodLog

      public InputStream streamNamespacedPodLog(String namespace, String name, String container, Integer sinceSeconds, Integer tailLines, boolean timestamps) throws io.kubernetes.client.openapi.ApiException, IOException
      Throws:
      io.kubernetes.client.openapi.ApiException
      IOException