Interface Execable

    • Method Detail

      • exec

        ExecWatch exec​(String... input)
        Execute a command in a container
        Parameters:
        input - the command to run
        Returns:
        container with stdin, stdout, stderr streams (if redirectingInput(), redirectingOutput(), redirectingError() were called respectively)
      • attach

        ExecWatch attach()
        Attach to the main process of a container
        Returns:
        container with stdin, stdout, stderr streams (if redirectingInput(), redirectingOutput(), redirectingError() were called respectively)
      • withReadyWaitTimeout

        Execable withReadyWaitTimeout​(Integer timeout)
        How long shall we wait until a Pod is ready or terminal before attaching or execing
        Parameters:
        timeout - in milliseconds
        Returns:
        Loggable for fetching logs