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 QuobyteVolumeSourceBuilderedit()Map<String,Object>getAdditionalProperties()StringgetGroup()group to map volume access to Default is no groupBooleangetReadOnly()readOnly here will force the Quobyte volume to be mounted with read-only permissions.StringgetRegistry()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 volumesStringgetTenant()tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the pluginStringgetUser()user to map volume access to Defaults to serivceaccount userStringgetVolume()volume is a string that references an already created Quobyte volume by name.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetGroup(String group)group to map volume access to Default is no groupvoidsetReadOnly(Boolean readOnly)readOnly here will force the Quobyte volume to be mounted with read-only permissions.voidsetRegistry(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 volumesvoidsetTenant(String tenant)tenant owning the given Quobyte volume in the Backend Used with dynamically provisioned Quobyte volumes, value is set by the pluginvoidsetUser(String user)user to map volume access to Defaults to serivceaccount uservoidsetVolume(String volume)volume is a string that references an already created Quobyte volume by name.QuobyteVolumeSourceBuildertoBuilder()
-
-
-
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:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<QuobyteVolumeSourceBuilder>
-
toBuilder
public QuobyteVolumeSourceBuilder toBuilder()
-
-