21 lines
953 B
Go
21 lines
953 B
Go
|
|
/*
|
||
|
|
* 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
|
||
|
|
|
||
|
|
// PersistentVolumeClaimVolumeSource references the user's PVC in the same namespace. This volume finds the bound PV and mounts that volume for the pod. A PersistentVolumeClaimVolumeSource is, essentially, a wrapper around another type of volume that is owned by someone else (the system).
|
||
|
|
type V1PersistentVolumeClaimVolumeSource struct {
|
||
|
|
|
||
|
|
// ClaimName is the name of a PersistentVolumeClaim in the same namespace as the pod using this volume. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
|
||
|
|
ClaimName string `json:"claimName"`
|
||
|
|
|
||
|
|
// Will force the ReadOnly setting in VolumeMounts. Default false.
|
||
|
|
ReadOnly bool `json:"readOnly,omitempty"`
|
||
|
|
}
|