Skip to content

Commit 341ac4c

Browse files
committed
Remove unused structures
1 parent 58bae80 commit 341ac4c

File tree

4 files changed

+0
-110
lines changed

4 files changed

+0
-110
lines changed

client/apis/volumegroupsnapshot/v1beta1/types.go

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,6 @@ type VolumeGroupSnapshotStatus struct {
110110
Error *snapshotv1.VolumeSnapshotError `json:"error,omitempty" protobuf:"bytes,4,opt,name=error,casttype=VolumeSnapshotError"`
111111
}
112112

113-
// PVCVolumeSnapshotPair defines a pair of a PVC reference and a Volume Snapshot Reference
114-
type PVCVolumeSnapshotPair struct {
115-
// PersistentVolumeClaimRef is a reference to the PVC this pair is referring to
116-
PersistentVolumeClaimRef core_v1.LocalObjectReference `json:"persistentVolumeClaimRef,omitempty" protobuf:"bytes,1,opt,name=persistentVolumeClaimRef"`
117-
118-
// VolumeSnapshotRef is a reference to the VolumeSnapshot this pair is referring to
119-
VolumeSnapshotRef core_v1.LocalObjectReference `json:"volumeSnapshotRef,omitempty" protobuf:"bytes,2,opt,name=volumeSnapshotRef"`
120-
}
121-
122113
//+genclient
123114
//+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
124115

@@ -354,16 +345,6 @@ type VolumeGroupSnapshotContentStatus struct {
354345
VolumeSnapshotHandlePairList []VolumeSnapshotHandlePair `json:"volumeSnapshotHandlePairList,omitempty" protobuf:"bytes,6,opt,name=volumeSnapshotHandlePairList"`
355346
}
356347

357-
// PVVolumeSnapshotContentPair represent a pair of PV names and
358-
// VolumeSnapshotContent names
359-
type PVVolumeSnapshotContentPair struct {
360-
// PersistentVolumeRef is a reference to the persistent volume resource
361-
PersistentVolumeRef core_v1.LocalObjectReference `json:"persistentVolumeRef,omitempty" protobuf:"bytes,1,opt,name=persistentVolumeRef"`
362-
363-
// VolumeSnapshotContentRef is a reference to the volume snapshot content resource
364-
VolumeSnapshotContentRef core_v1.LocalObjectReference `json:"volumeSnapshotContentRef,omitempty" protobuf:"bytes,2,opt,name=volumeSnapshotContentRef"`
365-
}
366-
367348
// VolumeGroupSnapshotContentSource represents the CSI source of a group snapshot.
368349
// Exactly one of its members must be set.
369350
// Members in VolumeGroupSnapshotContentSource are immutable.

client/apis/volumegroupsnapshot/v1beta1/zz_generated.deepcopy.go

Lines changed: 0 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1/types.go

Lines changed: 0 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/kubernetes-csi/external-snapshotter/client/v8/apis/volumegroupsnapshot/v1beta1/zz_generated.deepcopy.go

Lines changed: 0 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)