@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-06-19T10:47:33.387Z[Etc/UTC]") public class V1CephFSVolumeSource extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_MONITORS |
static String |
SERIALIZED_NAME_PATH |
static String |
SERIALIZED_NAME_READ_ONLY |
static String |
SERIALIZED_NAME_SECRET_FILE |
static String |
SERIALIZED_NAME_SECRET_REF |
static String |
SERIALIZED_NAME_USER |
Constructor and Description |
---|
V1CephFSVolumeSource() |
Modifier and Type | Method and Description |
---|---|
V1CephFSVolumeSource |
addMonitorsItem(String monitorsItem) |
boolean |
equals(Object o) |
List<String> |
getMonitors()
Required: Monitors is a collection of Ceph monitors More info:
https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
String |
getPath()
Optional: Used as the mounted root, rather than the full Ceph tree, default is /
|
Boolean |
getReadOnly()
Optional: Defaults to false (read/write).
|
String |
getSecretFile()
Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More
info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
V1LocalObjectReference |
getSecretRef()
Get secretRef
|
String |
getUser()
Optional: User is the rados user name, default is admin More info:
https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
int |
hashCode() |
V1CephFSVolumeSource |
monitors(List<String> monitors) |
V1CephFSVolumeSource |
path(String path) |
V1CephFSVolumeSource |
readOnly(Boolean readOnly) |
V1CephFSVolumeSource |
secretFile(String secretFile) |
V1CephFSVolumeSource |
secretRef(V1LocalObjectReference secretRef) |
void |
setMonitors(List<String> monitors) |
void |
setPath(String path) |
void |
setReadOnly(Boolean readOnly) |
void |
setSecretFile(String secretFile) |
void |
setSecretRef(V1LocalObjectReference secretRef) |
void |
setUser(String user) |
String |
toString() |
V1CephFSVolumeSource |
user(String user) |
public static final String SERIALIZED_NAME_MONITORS
public static final String SERIALIZED_NAME_PATH
public static final String SERIALIZED_NAME_READ_ONLY
public static final String SERIALIZED_NAME_SECRET_FILE
public static final String SERIALIZED_NAME_SECRET_REF
public static final String SERIALIZED_NAME_USER
public V1CephFSVolumeSource monitors(List<String> monitors)
public V1CephFSVolumeSource addMonitorsItem(String monitorsItem)
public List<String> getMonitors()
public V1CephFSVolumeSource path(String path)
@Nullable public String getPath()
public void setPath(String path)
public V1CephFSVolumeSource readOnly(Boolean readOnly)
@Nullable public Boolean getReadOnly()
public void setReadOnly(Boolean readOnly)
public V1CephFSVolumeSource secretFile(String secretFile)
@Nullable public String getSecretFile()
public void setSecretFile(String secretFile)
public V1CephFSVolumeSource secretRef(V1LocalObjectReference secretRef)
@Nullable public V1LocalObjectReference getSecretRef()
public void setSecretRef(V1LocalObjectReference secretRef)
public V1CephFSVolumeSource user(String user)
@Nullable public String getUser()
public void setUser(String user)
Copyright © 2020. All rights reserved.