AllowedHostPathPatch class

AllowedHostPath defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined. Deprecated: use AllowedHostPath from policy API Group instead.

Constructors

AllowedHostPathPatch({Input<String>? pathPrefix, Input<bool>? readOnly})
Creates a new AllowedHostPathPatch. pathPrefix 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. readOnly when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
const
AllowedHostPathPatch.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
pathPrefix → Input<String>?
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.
final
readOnly → Input<bool>?
when set to true, will allow host volumes matching the pathPrefix only if all volume mounts are readOnly.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited