Interface Loggable<W>

    • Method Detail

      • getLog

        String getLog()
        Get logs of a resource
        Returns:
        logs as string
      • getLog

        String getLog​(Boolean isPretty)
        Get logs with pretty enabled
        Parameters:
        isPretty - whether we need logs with pretty output or not
        Returns:
        logs as string
      • getLogReader

        Reader getLogReader()
        Get a Reader for reading logs
        Returns:
        Reader log reader
      • watchLog

        W watchLog()
        Watch logs of a resource
        Returns:
        returns a Closeable interface for log watch
      • watchLog

        W watchLog​(OutputStream out)
        Watch logs of resource and put them inside OutputStream inside
        Parameters:
        out - OutputStream for storing logs
        Returns:
        returns a Closeable interface for log watch
      • withLogWaitTimeout

        Loggable<W> withLogWaitTimeout​(Integer logWaitTimeout)
        While waiting for Pod logs, how long shall we wait until a Pod becomes ready and starts producing logs
        Parameters:
        logWaitTimeout - timeout in milliseconds
        Returns:
        Loggable for fetching logs