mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 16:06:51 +00:00
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:
@@ -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"`
|
||||
|
||||
Reference in New Issue
Block a user