Struct k8s_openapi::v1_10::api::extensions::v1beta1::AllowedHostPath[][src]

pub struct AllowedHostPath {
    pub path_prefix: Option<String>,
}

defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.

Fields

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

Trait Implementations

impl Clone for AllowedHostPath
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for AllowedHostPath
[src]

Formats the value using the given formatter. Read more

impl Default for AllowedHostPath
[src]

Returns the "default value" for a type. Read more

impl PartialEq for AllowedHostPath
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for AllowedHostPath
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for AllowedHostPath
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations