@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-01-04T09:55:14.976Z[Etc/UTC]") public class V1CSIDriverSpec extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_ATTACH_REQUIRED |
static String |
SERIALIZED_NAME_FS_GROUP_POLICY |
static String |
SERIALIZED_NAME_POD_INFO_ON_MOUNT |
static String |
SERIALIZED_NAME_REQUIRES_REPUBLISH |
static String |
SERIALIZED_NAME_STORAGE_CAPACITY |
static String |
SERIALIZED_NAME_TOKEN_REQUESTS |
static String |
SERIALIZED_NAME_VOLUME_LIFECYCLE_MODES |
Constructor and Description |
---|
V1CSIDriverSpec() |
Modifier and Type | Method and Description |
---|---|
V1CSIDriverSpec |
addTokenRequestsItem(StorageV1TokenRequest tokenRequestsItem) |
V1CSIDriverSpec |
addVolumeLifecycleModesItem(String volumeLifecycleModesItem) |
V1CSIDriverSpec |
attachRequired(Boolean attachRequired) |
boolean |
equals(Object o) |
V1CSIDriverSpec |
fsGroupPolicy(String fsGroupPolicy) |
Boolean |
getAttachRequired()
attachRequired indicates this CSI volume driver requires an attach operation (because it
implements the CSI ControllerPublishVolume() method), and that the Kubernetes attach detach
controller should call the attach volume interface which checks the volumeattachment status and
waits until the volume is attached before proceeding to mounting.
|
String |
getFsGroupPolicy()
Defines if the underlying volume supports changing ownership and permission of the volume
before being mounted.
|
Boolean |
getPodInfoOnMount()
If set to true, podInfoOnMount indicates this CSI volume driver requires additional pod
information (like podName, podUID, etc.) during mount operations.
|
Boolean |
getRequiresRepublish()
RequiresRepublish indicates the CSI driver wants `NodePublishVolume` being
periodically called to reflect any possible change in the mounted volume.
|
Boolean |
getStorageCapacity()
If set to true, storageCapacity indicates that the CSI volume driver wants pod scheduling to
consider the storage capacity that the driver deployment will report by creating
CSIStorageCapacity objects with capacity information.
|
List<StorageV1TokenRequest> |
getTokenRequests()
TokenRequests indicates the CSI driver needs pods' service account tokens it is mounting
volume for to do necessary authentication.
|
List<String> |
getVolumeLifecycleModes()
volumeLifecycleModes defines what kind of volumes this CSI volume driver supports.
|
int |
hashCode() |
V1CSIDriverSpec |
podInfoOnMount(Boolean podInfoOnMount) |
V1CSIDriverSpec |
requiresRepublish(Boolean requiresRepublish) |
void |
setAttachRequired(Boolean attachRequired) |
void |
setFsGroupPolicy(String fsGroupPolicy) |
void |
setPodInfoOnMount(Boolean podInfoOnMount) |
void |
setRequiresRepublish(Boolean requiresRepublish) |
void |
setStorageCapacity(Boolean storageCapacity) |
void |
setTokenRequests(List<StorageV1TokenRequest> tokenRequests) |
void |
setVolumeLifecycleModes(List<String> volumeLifecycleModes) |
V1CSIDriverSpec |
storageCapacity(Boolean storageCapacity) |
V1CSIDriverSpec |
tokenRequests(List<StorageV1TokenRequest> tokenRequests) |
String |
toString() |
V1CSIDriverSpec |
volumeLifecycleModes(List<String> volumeLifecycleModes) |
public static final String SERIALIZED_NAME_ATTACH_REQUIRED
public static final String SERIALIZED_NAME_FS_GROUP_POLICY
public static final String SERIALIZED_NAME_POD_INFO_ON_MOUNT
public static final String SERIALIZED_NAME_REQUIRES_REPUBLISH
public static final String SERIALIZED_NAME_STORAGE_CAPACITY
public static final String SERIALIZED_NAME_TOKEN_REQUESTS
public static final String SERIALIZED_NAME_VOLUME_LIFECYCLE_MODES
public V1CSIDriverSpec attachRequired(Boolean attachRequired)
@Nullable public Boolean getAttachRequired()
public void setAttachRequired(Boolean attachRequired)
public V1CSIDriverSpec fsGroupPolicy(String fsGroupPolicy)
@Nullable public String getFsGroupPolicy()
public void setFsGroupPolicy(String fsGroupPolicy)
public V1CSIDriverSpec podInfoOnMount(Boolean podInfoOnMount)
@Nullable public Boolean getPodInfoOnMount()
public void setPodInfoOnMount(Boolean podInfoOnMount)
public V1CSIDriverSpec requiresRepublish(Boolean requiresRepublish)
@Nullable public Boolean getRequiresRepublish()
public void setRequiresRepublish(Boolean requiresRepublish)
public V1CSIDriverSpec storageCapacity(Boolean storageCapacity)
@Nullable public Boolean getStorageCapacity()
public void setStorageCapacity(Boolean storageCapacity)
public V1CSIDriverSpec tokenRequests(List<StorageV1TokenRequest> tokenRequests)
public V1CSIDriverSpec addTokenRequestsItem(StorageV1TokenRequest tokenRequestsItem)
@Nullable public List<StorageV1TokenRequest> getTokenRequests()
public void setTokenRequests(List<StorageV1TokenRequest> tokenRequests)
public V1CSIDriverSpec volumeLifecycleModes(List<String> volumeLifecycleModes)
public V1CSIDriverSpec addVolumeLifecycleModesItem(String volumeLifecycleModesItem)
@Nullable public List<String> getVolumeLifecycleModes()
Copyright © 2021. All rights reserved.