mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 18:43:34 +00:00
rebase: update to latest snapshotter
this commit update the snapshotter client to v6.1.0 Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
8b078f1a11
commit
c9ccbf29bb
@ -123,11 +123,11 @@ type VolumeSnapshotSource struct {
|
||||
// VolumeSnapshotStatus and VolumeSnapshotContentStatus. Fields in VolumeSnapshotStatus
|
||||
// are updated based on fields in VolumeSnapshotContentStatus. They are eventual
|
||||
// consistency. These fields are duplicate in both objects due to the following reasons:
|
||||
// - Fields in VolumeSnapshotContentStatus can be used for filtering when importing a
|
||||
// volumesnapshot.
|
||||
// - VolumsnapshotStatus is used by end users because they cannot see VolumeSnapshotContent.
|
||||
// - CSI snapshotter sidecar is light weight as it only watches VolumeSnapshotContent
|
||||
// object, not VolumeSnapshot object.
|
||||
// - Fields in VolumeSnapshotContentStatus can be used for filtering when importing a
|
||||
// volumesnapshot.
|
||||
// - VolumsnapshotStatus is used by end users because they cannot see VolumeSnapshotContent.
|
||||
// - CSI snapshotter sidecar is light weight as it only watches VolumeSnapshotContent
|
||||
// object, not VolumeSnapshot object.
|
||||
type VolumeSnapshotStatus struct {
|
||||
// boundVolumeSnapshotContentName is the name of the VolumeSnapshotContent
|
||||
// object to which this VolumeSnapshot object intends to bind to.
|
||||
@ -361,11 +361,11 @@ type VolumeSnapshotContentSource struct {
|
||||
// VolumeSnapshotStatus and VolumeSnapshotContentStatus. Fields in VolumeSnapshotStatus
|
||||
// are updated based on fields in VolumeSnapshotContentStatus. They are eventual
|
||||
// consistency. These fields are duplicate in both objects due to the following reasons:
|
||||
// - Fields in VolumeSnapshotContentStatus can be used for filtering when importing a
|
||||
// volumesnapshot.
|
||||
// - VolumsnapshotStatus is used by end users because they cannot see VolumeSnapshotContent.
|
||||
// - CSI snapshotter sidecar is light weight as it only watches VolumeSnapshotContent
|
||||
// object, not VolumeSnapshot object.
|
||||
// - Fields in VolumeSnapshotContentStatus can be used for filtering when importing a
|
||||
// volumesnapshot.
|
||||
// - VolumsnapshotStatus is used by end users because they cannot see VolumeSnapshotContent.
|
||||
// - CSI snapshotter sidecar is light weight as it only watches VolumeSnapshotContent
|
||||
// object, not VolumeSnapshot object.
|
||||
type VolumeSnapshotContentStatus struct {
|
||||
// snapshotHandle is the CSI "snapshot_id" of a snapshot on the underlying storage system.
|
||||
// If not specified, it indicates that dynamic snapshot creation has either failed
|
||||
|
@ -37,14 +37,14 @@ var localSchemeBuilder = runtime.SchemeBuilder{
|
||||
// AddToScheme adds all types of this clientset into the given scheme. This allows composition
|
||||
// of clientsets, like in:
|
||||
//
|
||||
// import (
|
||||
// "k8s.io/client-go/kubernetes"
|
||||
// clientsetscheme "k8s.io/client-go/kubernetes/scheme"
|
||||
// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme"
|
||||
// )
|
||||
// import (
|
||||
// "k8s.io/client-go/kubernetes"
|
||||
// clientsetscheme "k8s.io/client-go/kubernetes/scheme"
|
||||
// aggregatorclientsetscheme "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/scheme"
|
||||
// )
|
||||
//
|
||||
// kclientset, _ := kubernetes.NewForConfig(c)
|
||||
// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme)
|
||||
// kclientset, _ := kubernetes.NewForConfig(c)
|
||||
// _ = aggregatorclientsetscheme.AddToScheme(clientsetscheme.Scheme)
|
||||
//
|
||||
// After this, RawExtensions in Kubernetes types will serialize kube-aggregator types
|
||||
// correctly.
|
||||
|
Reference in New Issue
Block a user