Interface Resource<T>

    • Method Detail

      • isReady

        boolean isReady()
        Check if the resource is ready. If no readiness check exists, this is just an existence check.

        Note: for resources other than Node, Deployment, ReplicaSet, StatefulSet, Pod, ReplicationController, and DeploymentConfig readiness is simply an existence check.

        Also note this obtains the latest version of the resource from the server even if the context item is present.

        Returns:
        true if the resource exists and is ready.
      • item

        T item()
        Get the item used to create the current operation context if available.
        Returns:
        the current item if provided via the load, resource, or resourceList method, or null if this resource was created just from a class.