Interface Generated.ResourceStatusOrBuilder

    • Method Detail

      • hasName

        boolean hasName()
         Name of the resource. Must be unique within the pod and in case of non-DRA resource, match one of the resources from the pod spec.
         For DRA resources, the value must be "claim:<claim_name>/<request>".
         When this status is reported about a container, the "claim_name" and "request" must match one of the claims of this container.
         +required
         
        optional string name = 1;
        Returns:
        Whether the name field is set.
      • getName

        String getName()
         Name of the resource. Must be unique within the pod and in case of non-DRA resource, match one of the resources from the pod spec.
         For DRA resources, the value must be "claim:<claim_name>/<request>".
         When this status is reported about a container, the "claim_name" and "request" must match one of the claims of this container.
         +required
         
        optional string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Name of the resource. Must be unique within the pod and in case of non-DRA resource, match one of the resources from the pod spec.
         For DRA resources, the value must be "claim:<claim_name>/<request>".
         When this status is reported about a container, the "claim_name" and "request" must match one of the claims of this container.
         +required
         
        optional string name = 1;
        Returns:
        The bytes for name.
      • getResourcesList

        List<Generated.ResourceHealth> getResourcesList()
         List of unique resources health. Each element in the list contains an unique resource ID and its health.
         At a minimum, for the lifetime of a Pod, resource ID must uniquely identify the resource allocated to the Pod on the Node.
         If other Pod on the same Node reports the status with the same resource ID, it must be the same resource they share.
         See ResourceID type definition for a specific format it has in various use cases.
         +listType=map
         +listMapKey=resourceID
         
        repeated .k8s.io.api.core.v1.ResourceHealth resources = 2;
      • getResources

        Generated.ResourceHealth getResources​(int index)
         List of unique resources health. Each element in the list contains an unique resource ID and its health.
         At a minimum, for the lifetime of a Pod, resource ID must uniquely identify the resource allocated to the Pod on the Node.
         If other Pod on the same Node reports the status with the same resource ID, it must be the same resource they share.
         See ResourceID type definition for a specific format it has in various use cases.
         +listType=map
         +listMapKey=resourceID
         
        repeated .k8s.io.api.core.v1.ResourceHealth resources = 2;
      • getResourcesCount

        int getResourcesCount()
         List of unique resources health. Each element in the list contains an unique resource ID and its health.
         At a minimum, for the lifetime of a Pod, resource ID must uniquely identify the resource allocated to the Pod on the Node.
         If other Pod on the same Node reports the status with the same resource ID, it must be the same resource they share.
         See ResourceID type definition for a specific format it has in various use cases.
         +listType=map
         +listMapKey=resourceID
         
        repeated .k8s.io.api.core.v1.ResourceHealth resources = 2;
      • getResourcesOrBuilderList

        List<? extends Generated.ResourceHealthOrBuilder> getResourcesOrBuilderList()
         List of unique resources health. Each element in the list contains an unique resource ID and its health.
         At a minimum, for the lifetime of a Pod, resource ID must uniquely identify the resource allocated to the Pod on the Node.
         If other Pod on the same Node reports the status with the same resource ID, it must be the same resource they share.
         See ResourceID type definition for a specific format it has in various use cases.
         +listType=map
         +listMapKey=resourceID
         
        repeated .k8s.io.api.core.v1.ResourceHealth resources = 2;
      • getResourcesOrBuilder

        Generated.ResourceHealthOrBuilder getResourcesOrBuilder​(int index)
         List of unique resources health. Each element in the list contains an unique resource ID and its health.
         At a minimum, for the lifetime of a Pod, resource ID must uniquely identify the resource allocated to the Pod on the Node.
         If other Pod on the same Node reports the status with the same resource ID, it must be the same resource they share.
         See ResourceID type definition for a specific format it has in various use cases.
         +listType=map
         +listMapKey=resourceID
         
        repeated .k8s.io.api.core.v1.ResourceHealth resources = 2;