public static interface V1beta1Policy.AllowedHostPathOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getPathPrefix()
pathPrefix is the path prefix that the host volume must match.
|
com.google.protobuf.ByteString |
getPathPrefixBytes()
pathPrefix is the path prefix that the host volume must match.
|
boolean |
getReadOnly()
when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
|
boolean |
hasPathPrefix()
pathPrefix is the path prefix that the host volume must match.
|
boolean |
hasReadOnly()
when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasPathPrefix()
pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`
optional string pathPrefix = 1;String getPathPrefix()
pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`
optional string pathPrefix = 1;com.google.protobuf.ByteString getPathPrefixBytes()
pathPrefix is the path prefix that the host volume must match. It does not support `*`. Trailing slashes are trimmed when validating the path prefix with a host path. Examples: `/foo` would allow `/foo`, `/foo/` and `/foo/bar` `/foo` would not allow `/food` or `/etc/foo`
optional string pathPrefix = 1;boolean hasReadOnly()
when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly. +optional
optional bool readOnly = 2;boolean getReadOnly()
when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly. +optional
optional bool readOnly = 2;Copyright © 2020. All rights reserved.