Class PodLogs.Builder

  • Enclosing class:
    PodLogs

    public static class PodLogs.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • withClient

        public PodLogs.Builder withClient​(io.fabric8.kubernetes.client.KubernetesClient client)
      • outputTo

        public PodLogs.Builder outputTo​(PrintStream printStream)
        Gets a PrintStream instance that will be passed on and used by the PodLogs instance
        Parameters:
        printStream - A PrintStream instance which will be used for streaming the service logs. It is expected that the PrintStream instance life cycle will be handled at the outer scope level, in the context and by the component which created it.
        Returns:
        A PodLogs.Builder instance with the outputTo property set to the given value.