Package io.fabric8.kubernetes.api.model
Class QuobyteVolumeSource
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.QuobyteVolumeSource
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<QuobyteVolumeSourceBuilder>
,KubernetesResource
,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class QuobyteVolumeSource extends Object implements io.fabric8.kubernetes.api.builder.Editable<QuobyteVolumeSourceBuilder>, KubernetesResource
Represents a Quobyte mount that lasts the lifetime of a pod. Quobyte volumes do not support ownership management or SELinux relabeling.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description QuobyteVolumeSource()
No args constructor for use in serializationQuobyteVolumeSource(String group, Boolean readOnly, String registry, String tenant, String user, String volume)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuobyteVolumeSourceBuilder
edit()
Map<String,Object>
getAdditionalProperties()
String
getGroup()
group to map volume access to Default is no groupBoolean
getReadOnly()
readOnly here will force the Quobyte volume to be mounted with read-only permissions.String
getRegistry()
registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumesString
getTenant()
tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the pluginString
getUser()
user to map volume access to Defaults to serivceaccount userString
getVolume()
volume is a string that references an already created Quobyte volume by name.void
setAdditionalProperties(Map<String,Object> additionalProperties)
void
setAdditionalProperty(String name, Object value)
void
setGroup(String group)
group to map volume access to Default is no groupvoid
setReadOnly(Boolean readOnly)
readOnly here will force the Quobyte volume to be mounted with read-only permissions.void
setRegistry(String registry)
registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumesvoid
setTenant(String tenant)
tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the pluginvoid
setUser(String user)
user to map volume access to Defaults to serivceaccount uservoid
setVolume(String volume)
volume is a string that references an already created Quobyte volume by name.QuobyteVolumeSourceBuilder
toBuilder()
-
-
-
Method Detail
-
getGroup
public String getGroup()
group to map volume access to Default is no group
-
setGroup
public void setGroup(String group)
group to map volume access to Default is no group
-
getReadOnly
public Boolean getReadOnly()
readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.
-
setReadOnly
public void setReadOnly(Boolean readOnly)
readOnly here will force the Quobyte volume to be mounted with read-only permissions. Defaults to false.
-
getRegistry
public String getRegistry()
registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes
-
setRegistry
public void setRegistry(String registry)
registry represents a single or multiple Quobyte Registry services specified as a string as host:port pair (multiple entries are separated with commas) which acts as the central registry for volumes
-
getTenant
public String getTenant()
tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin
-
setTenant
public void setTenant(String tenant)
tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the plugin
-
getUser
public String getUser()
user to map volume access to Defaults to serivceaccount user
-
setUser
public void setUser(String user)
user to map volume access to Defaults to serivceaccount user
-
getVolume
public String getVolume()
volume is a string that references an already created Quobyte volume by name.
-
setVolume
public void setVolume(String volume)
volume is a string that references an already created Quobyte volume by name.
-
edit
public QuobyteVolumeSourceBuilder edit()
- Specified by:
edit
in interfaceio.fabric8.kubernetes.api.builder.Editable<QuobyteVolumeSourceBuilder>
-
toBuilder
public QuobyteVolumeSourceBuilder toBuilder()
-
-