Files
go/kubernetes/client/extensions_v1beta1_allowed_host_path.go

18 lines
755 B
Go
Raw Normal View History

/*
* Kubernetes
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* API version: v1.10.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package client
// defines the host volume conditions that will be enabled by a policy for pods to use. It requires the path prefix to be defined.
type ExtensionsV1beta1AllowedHostPath struct {
// 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`
PathPrefix string `json:"pathPrefix,omitempty"`
}