public class ExtensionsV1beta1AllowedHostPath extends Object
Constructor and Description |
---|
ExtensionsV1beta1AllowedHostPath() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getPathPrefix()
pathPrefix is the path prefix that the host volume must match.
|
int |
hashCode() |
Boolean |
isReadOnly()
when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
|
ExtensionsV1beta1AllowedHostPath |
pathPrefix(String pathPrefix) |
ExtensionsV1beta1AllowedHostPath |
readOnly(Boolean readOnly) |
void |
setPathPrefix(String pathPrefix) |
void |
setReadOnly(Boolean readOnly) |
String |
toString() |
public ExtensionsV1beta1AllowedHostPath pathPrefix(String pathPrefix)
public String getPathPrefix()
public void setPathPrefix(String pathPrefix)
public ExtensionsV1beta1AllowedHostPath readOnly(Boolean readOnly)
public Boolean isReadOnly()
public void setReadOnly(Boolean readOnly)
Copyright © 2019. All rights reserved.