Interface V1Storage.StorageClassOrBuilder

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

public static interface V1Storage.StorageClassOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasMetadata

      boolean hasMetadata()
       Standard object's metadata.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    • getMetadata

      Meta.ObjectMeta getMetadata()
       Standard object's metadata.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    • getMetadataOrBuilder

      Meta.ObjectMetaOrBuilder getMetadataOrBuilder()
       Standard object's metadata.
       More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    • hasProvisioner

      boolean hasProvisioner()
       Provisioner indicates the type of the provisioner.
       
      optional string provisioner = 2;
    • getProvisioner

      String getProvisioner()
       Provisioner indicates the type of the provisioner.
       
      optional string provisioner = 2;
    • getProvisionerBytes

      com.google.protobuf.ByteString getProvisionerBytes()
       Provisioner indicates the type of the provisioner.
       
      optional string provisioner = 2;
    • getParametersCount

      int getParametersCount()
       Parameters holds the parameters for the provisioner that should
       create volumes of this storage class.
       +optional
       
      map<string, string> parameters = 3;
    • containsParameters

      boolean containsParameters(String key)
       Parameters holds the parameters for the provisioner that should
       create volumes of this storage class.
       +optional
       
      map<string, string> parameters = 3;
    • getParameters

      @Deprecated Map<String,String> getParameters()
      Deprecated.
      Use getParametersMap() instead.
    • getParametersMap

      Map<String,String> getParametersMap()
       Parameters holds the parameters for the provisioner that should
       create volumes of this storage class.
       +optional
       
      map<string, string> parameters = 3;
    • getParametersOrDefault

      String getParametersOrDefault(String key, String defaultValue)
       Parameters holds the parameters for the provisioner that should
       create volumes of this storage class.
       +optional
       
      map<string, string> parameters = 3;
    • getParametersOrThrow

      String getParametersOrThrow(String key)
       Parameters holds the parameters for the provisioner that should
       create volumes of this storage class.
       +optional
       
      map<string, string> parameters = 3;
    • hasReclaimPolicy

      boolean hasReclaimPolicy()
       Dynamically provisioned PersistentVolumes of this storage class are
       created with this reclaimPolicy. Defaults to Delete.
       +optional
       
      optional string reclaimPolicy = 4;
    • getReclaimPolicy

      String getReclaimPolicy()
       Dynamically provisioned PersistentVolumes of this storage class are
       created with this reclaimPolicy. Defaults to Delete.
       +optional
       
      optional string reclaimPolicy = 4;
    • getReclaimPolicyBytes

      com.google.protobuf.ByteString getReclaimPolicyBytes()
       Dynamically provisioned PersistentVolumes of this storage class are
       created with this reclaimPolicy. Defaults to Delete.
       +optional
       
      optional string reclaimPolicy = 4;
    • getMountOptionsList

      List<String> getMountOptionsList()
       Dynamically provisioned PersistentVolumes of this storage class are
       created with these mountOptions, e.g. ["ro", "soft"]. Not validated -
       mount of the PVs will simply fail if one is invalid.
       +optional
       
      repeated string mountOptions = 5;
    • getMountOptionsCount

      int getMountOptionsCount()
       Dynamically provisioned PersistentVolumes of this storage class are
       created with these mountOptions, e.g. ["ro", "soft"]. Not validated -
       mount of the PVs will simply fail if one is invalid.
       +optional
       
      repeated string mountOptions = 5;
    • getMountOptions

      String getMountOptions(int index)
       Dynamically provisioned PersistentVolumes of this storage class are
       created with these mountOptions, e.g. ["ro", "soft"]. Not validated -
       mount of the PVs will simply fail if one is invalid.
       +optional
       
      repeated string mountOptions = 5;
    • getMountOptionsBytes

      com.google.protobuf.ByteString getMountOptionsBytes(int index)
       Dynamically provisioned PersistentVolumes of this storage class are
       created with these mountOptions, e.g. ["ro", "soft"]. Not validated -
       mount of the PVs will simply fail if one is invalid.
       +optional
       
      repeated string mountOptions = 5;
    • hasAllowVolumeExpansion

      boolean hasAllowVolumeExpansion()
       AllowVolumeExpansion shows whether the storage class allow volume expand
       +optional
       
      optional bool allowVolumeExpansion = 6;
    • getAllowVolumeExpansion

      boolean getAllowVolumeExpansion()
       AllowVolumeExpansion shows whether the storage class allow volume expand
       +optional
       
      optional bool allowVolumeExpansion = 6;
    • hasVolumeBindingMode

      boolean hasVolumeBindingMode()
       VolumeBindingMode indicates how PersistentVolumeClaims should be
       provisioned and bound.  When unset, VolumeBindingImmediate is used.
       This field is only honored by servers that enable the VolumeScheduling feature.
       +optional
       
      optional string volumeBindingMode = 7;
    • getVolumeBindingMode

      String getVolumeBindingMode()
       VolumeBindingMode indicates how PersistentVolumeClaims should be
       provisioned and bound.  When unset, VolumeBindingImmediate is used.
       This field is only honored by servers that enable the VolumeScheduling feature.
       +optional
       
      optional string volumeBindingMode = 7;
    • getVolumeBindingModeBytes

      com.google.protobuf.ByteString getVolumeBindingModeBytes()
       VolumeBindingMode indicates how PersistentVolumeClaims should be
       provisioned and bound.  When unset, VolumeBindingImmediate is used.
       This field is only honored by servers that enable the VolumeScheduling feature.
       +optional
       
      optional string volumeBindingMode = 7;
    • getAllowedTopologiesList

      List<V1.TopologySelectorTerm> getAllowedTopologiesList()
       Restrict the node topologies where volumes can be dynamically provisioned.
       Each volume plugin defines its own supported topology specifications.
       An empty TopologySelectorTerm list means there is no topology restriction.
       This field is only honored by servers that enable the VolumeScheduling feature.
       +optional
       +listType=atomic
       
      repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
    • getAllowedTopologies

      V1.TopologySelectorTerm getAllowedTopologies(int index)
       Restrict the node topologies where volumes can be dynamically provisioned.
       Each volume plugin defines its own supported topology specifications.
       An empty TopologySelectorTerm list means there is no topology restriction.
       This field is only honored by servers that enable the VolumeScheduling feature.
       +optional
       +listType=atomic
       
      repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
    • getAllowedTopologiesCount

      int getAllowedTopologiesCount()
       Restrict the node topologies where volumes can be dynamically provisioned.
       Each volume plugin defines its own supported topology specifications.
       An empty TopologySelectorTerm list means there is no topology restriction.
       This field is only honored by servers that enable the VolumeScheduling feature.
       +optional
       +listType=atomic
       
      repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
    • getAllowedTopologiesOrBuilderList

      List<? extends V1.TopologySelectorTermOrBuilder> getAllowedTopologiesOrBuilderList()
       Restrict the node topologies where volumes can be dynamically provisioned.
       Each volume plugin defines its own supported topology specifications.
       An empty TopologySelectorTerm list means there is no topology restriction.
       This field is only honored by servers that enable the VolumeScheduling feature.
       +optional
       +listType=atomic
       
      repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;
    • getAllowedTopologiesOrBuilder

      V1.TopologySelectorTermOrBuilder getAllowedTopologiesOrBuilder(int index)
       Restrict the node topologies where volumes can be dynamically provisioned.
       Each volume plugin defines its own supported topology specifications.
       An empty TopologySelectorTerm list means there is no topology restriction.
       This field is only honored by servers that enable the VolumeScheduling feature.
       +optional
       +listType=atomic
       
      repeated .k8s.io.api.core.v1.TopologySelectorTerm allowedTopologies = 8;