mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 10:33:35 +00:00
rebase: bump github.com/ceph/go-ceph
Bumps [github.com/ceph/go-ceph](https://github.com/ceph/go-ceph) from 0.29.1-0.20240925141413-065319c78733 to 0.30.0. - [Release notes](https://github.com/ceph/go-ceph/releases) - [Changelog](https://github.com/ceph/go-ceph/blob/master/docs/release-process.md) - [Commits](https://github.com/ceph/go-ceph/commits/v0.30.0) --- updated-dependencies: - dependency-name: github.com/ceph/go-ceph dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
committed by
mergify[bot]
parent
3bcf6afe30
commit
9152b4c2c7
20
vendor/github.com/ceph/go-ceph/rbd/group_snap.go
generated
vendored
20
vendor/github.com/ceph/go-ceph/rbd/group_snap.go
generated
vendored
@ -91,11 +91,25 @@ const (
|
||||
GroupSnapStateComplete = GroupSnapState(C.RBD_GROUP_SNAP_STATE_COMPLETE)
|
||||
)
|
||||
|
||||
// GroupSnapInfo values are returned by GroupSnapList, representing the
|
||||
// snapshots that are part of an rbd group.
|
||||
// GroupSnap contains the information of a single snapshot that is part of a
|
||||
// group snapshot.
|
||||
type GroupSnap struct {
|
||||
Name string
|
||||
PoolID uint64
|
||||
SnapID uint64
|
||||
}
|
||||
|
||||
// GroupSnapInfo values are returned by GroupSnapList and GroupSnapGetInfo,
|
||||
// representing the group snapshots that are created of an rbd group.
|
||||
// SnapName, ID and Snapshots are only set by the GroupSnapGetInfo function.
|
||||
type GroupSnapInfo struct {
|
||||
Name string
|
||||
State GroupSnapState
|
||||
|
||||
SnapName string
|
||||
ID string
|
||||
|
||||
Snapshots []GroupSnap
|
||||
}
|
||||
|
||||
// GroupSnapList returns a slice of snapshots in a group.
|
||||
@ -190,7 +204,7 @@ func GroupSnapRollbackWithProgress(
|
||||
cb GroupSnapRollbackCallback, data interface{}) error {
|
||||
// the provided callback must be a real function
|
||||
if cb == nil {
|
||||
return rbdError(C.EINVAL)
|
||||
return getError(C.EINVAL)
|
||||
}
|
||||
|
||||
cGroupName := C.CString(group)
|
||||
|
Reference in New Issue
Block a user