Merge pull request #31834 from wongma7/pvc-genclient

Automatic merge from submit-queue

Generate versioned client for pvc

I noticed while trying to use client-go that there is no way to get PVC with versioned clientset. I don't know why it is excluded, I cannot find any discussion about this, so I am creating this assuming it is just an oversight...
This commit is contained in:
Kubernetes Submit Queue
2016-09-01 15:01:13 -07:00
committed by GitHub
6 changed files with 305 additions and 0 deletions

View File

@@ -434,6 +434,8 @@ type PersistentVolumeList struct {
Items []PersistentVolume `json:"items" protobuf:"bytes,2,rep,name=items"`
}
// +genclient=true
// PersistentVolumeClaim is a user's request for and claim to a persistent volume
type PersistentVolumeClaim struct {
unversioned.TypeMeta `json:",inline"`