Interface V1.EmptyDirVolumeSourceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1.EmptyDirVolumeSource, V1.EmptyDirVolumeSource.Builder
Enclosing class:
V1

public static interface V1.EmptyDirVolumeSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    What type of storage medium should back this directory.
    com.google.protobuf.ByteString
    What type of storage medium should back this directory.
    Total amount of local storage required for this EmptyDir volume.
    Total amount of local storage required for this EmptyDir volume.
    boolean
    What type of storage medium should back this directory.
    boolean
    Total amount of local storage required for this EmptyDir volume.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasMedium

      boolean hasMedium()
       What type of storage medium should back this directory.
       The default is "" which means to use the node's default medium.
       Must be an empty string (default) or Memory.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
       +optional
       
      optional string medium = 1;
    • getMedium

      String getMedium()
       What type of storage medium should back this directory.
       The default is "" which means to use the node's default medium.
       Must be an empty string (default) or Memory.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
       +optional
       
      optional string medium = 1;
    • getMediumBytes

      com.google.protobuf.ByteString getMediumBytes()
       What type of storage medium should back this directory.
       The default is "" which means to use the node's default medium.
       Must be an empty string (default) or Memory.
       More info: https://kubernetes.io/docs/concepts/storage/volumes#emptydir
       +optional
       
      optional string medium = 1;
    • hasSizeLimit

      boolean hasSizeLimit()
       Total amount of local storage required for this EmptyDir volume.
       The size limit is also applicable for memory medium.
       The maximum usage on memory medium EmptyDir would be the minimum value between
       the SizeLimit specified here and the sum of memory limits of all containers in a pod.
       The default is nil which means that the limit is undefined.
       More info: http://kubernetes.io/docs/user-guide/volumes#emptydir
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity sizeLimit = 2;
    • getSizeLimit

      Resource.Quantity getSizeLimit()
       Total amount of local storage required for this EmptyDir volume.
       The size limit is also applicable for memory medium.
       The maximum usage on memory medium EmptyDir would be the minimum value between
       the SizeLimit specified here and the sum of memory limits of all containers in a pod.
       The default is nil which means that the limit is undefined.
       More info: http://kubernetes.io/docs/user-guide/volumes#emptydir
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity sizeLimit = 2;
    • getSizeLimitOrBuilder

      Resource.QuantityOrBuilder getSizeLimitOrBuilder()
       Total amount of local storage required for this EmptyDir volume.
       The size limit is also applicable for memory medium.
       The maximum usage on memory medium EmptyDir would be the minimum value between
       the SizeLimit specified here and the sum of memory limits of all containers in a pod.
       The default is nil which means that the limit is undefined.
       More info: http://kubernetes.io/docs/user-guide/volumes#emptydir
       +optional
       
      optional .k8s.io.apimachinery.pkg.api.resource.Quantity sizeLimit = 2;