Interface V1beta1Extensions.AllowedHostPathOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1beta1Extensions.AllowedHostPath, V1beta1Extensions.AllowedHostPath.Builder
Enclosing class:
V1beta1Extensions

public static interface V1beta1Extensions.AllowedHostPathOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    pathPrefix is the path prefix that the host volume must match.
    com.google.protobuf.ByteString
    pathPrefix is the path prefix that the host volume must match.
    boolean
    when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
    boolean
    pathPrefix is the path prefix that the host volume must match.
    boolean
    when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasPathPrefix

      boolean 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;
    • getPathPrefix

      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;
    • getPathPrefixBytes

      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;
    • hasReadOnly

      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;
    • getReadOnly

      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;