Package io.kubernetes.client.proto
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 Summary
Modifier and TypeMethodDescriptionboolean
containsParameters
(String key) Parameters holds the parameters for the provisioner that should create volumes of this storage class.getAllowedTopologies
(int index) Restrict the node topologies where volumes can be dynamically provisioned.int
Restrict the node topologies where volumes can be dynamically provisioned.Restrict the node topologies where volumes can be dynamically provisioned.getAllowedTopologiesOrBuilder
(int index) Restrict the node topologies where volumes can be dynamically provisioned.List<? extends V1.TopologySelectorTermOrBuilder>
Restrict the node topologies where volumes can be dynamically provisioned.boolean
AllowVolumeExpansion shows whether the storage class allow volume expand +optionalStandard object's metadata.Standard object's metadata.getMountOptions
(int index) Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g.com.google.protobuf.ByteString
getMountOptionsBytes
(int index) Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g.int
Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g.Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g.Deprecated.int
Parameters holds the parameters for the provisioner that should create volumes of this storage class.Parameters holds the parameters for the provisioner that should create volumes of this storage class.getParametersOrDefault
(String key, String defaultValue) Parameters holds the parameters for the provisioner that should create volumes of this storage class.Parameters holds the parameters for the provisioner that should create volumes of this storage class.Provisioner indicates the type of the provisioner.com.google.protobuf.ByteString
Provisioner indicates the type of the provisioner.Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy.com.google.protobuf.ByteString
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy.VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound.com.google.protobuf.ByteString
VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound.boolean
AllowVolumeExpansion shows whether the storage class allow volume expand +optionalboolean
Standard object's metadata.boolean
Provisioner indicates the type of the provisioner.boolean
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy.boolean
VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound.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
-
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
Parameters holds the parameters for the provisioner that should create volumes of this storage class. +optional
map<string, string> parameters = 3;
-
getParameters
Deprecated.UsegetParametersMap()
instead. -
getParametersMap
Parameters holds the parameters for the provisioner that should create volumes of this storage class. +optional
map<string, string> parameters = 3;
-
getParametersOrDefault
Parameters holds the parameters for the provisioner that should create volumes of this storage class. +optional
map<string, string> parameters = 3;
-
getParametersOrThrow
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
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
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
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
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;
-