Settings:
export KUBERNETES_BRANCH="release-1.10"
export CLIENT_VERSION="0.1.0a1"
export PACKAGE_NAME="client"
33 lines
1.5 KiB
Go
33 lines
1.5 KiB
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
|
|
|
|
// PersistentVolumeClaimSpec describes the common attributes of storage devices and allows a Source for provider-specific attributes
|
|
type V1PersistentVolumeClaimSpec struct {
|
|
|
|
// AccessModes contains the desired access modes the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1
|
|
AccessModes []string `json:"accessModes,omitempty"`
|
|
|
|
// Resources represents the minimum resources the volume should have. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
|
|
Resources *V1ResourceRequirements `json:"resources,omitempty"`
|
|
|
|
// A label query over volumes to consider for binding.
|
|
Selector *V1LabelSelector `json:"selector,omitempty"`
|
|
|
|
// Name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
|
|
StorageClassName string `json:"storageClassName,omitempty"`
|
|
|
|
// volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec. This is an alpha feature and may change in the future.
|
|
VolumeMode string `json:"volumeMode,omitempty"`
|
|
|
|
// VolumeName is the binding reference to the PersistentVolume backing this claim.
|
|
VolumeName string `json:"volumeName,omitempty"`
|
|
}
|