mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-14 02:10:21 +00:00
rebase: bump github.com/ceph/go-ceph from 0.22.0 to 0.23.0
Bumps [github.com/ceph/go-ceph](https://github.com/ceph/go-ceph) from 0.22.0 to 0.23.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/compare/v0.22.0...v0.23.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:
parent
6b6257c45f
commit
ef84a10910
2
go.mod
2
go.mod
@ -8,7 +8,7 @@ require (
|
|||||||
github.com/aws/aws-sdk-go-v2/service/sts v1.21.5
|
github.com/aws/aws-sdk-go-v2/service/sts v1.21.5
|
||||||
github.com/ceph/ceph-csi/api v0.0.0-00010101000000-000000000000
|
github.com/ceph/ceph-csi/api v0.0.0-00010101000000-000000000000
|
||||||
// TODO: API for managing subvolume metadata and snapshot metadata requires `ceph_ci_untested` build-tag
|
// TODO: API for managing subvolume metadata and snapshot metadata requires `ceph_ci_untested` build-tag
|
||||||
github.com/ceph/go-ceph v0.22.0
|
github.com/ceph/go-ceph v0.23.0
|
||||||
github.com/container-storage-interface/spec v1.8.0
|
github.com/container-storage-interface/spec v1.8.0
|
||||||
github.com/csi-addons/replication-lib-utils v0.2.0
|
github.com/csi-addons/replication-lib-utils v0.2.0
|
||||||
github.com/csi-addons/spec v0.2.1-0.20230606140122-d20966d2e444
|
github.com/csi-addons/spec v0.2.1-0.20230606140122-d20966d2e444
|
||||||
|
4
go.sum
4
go.sum
@ -761,8 +761,8 @@ github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA
|
|||||||
github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
|
github.com/census-instrumentation/opencensus-proto v0.3.0/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
|
||||||
github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91VeyqjLS6ao50K5bOcLKN6Q42XnYaRYw=
|
github.com/census-instrumentation/opencensus-proto v0.4.1/go.mod h1:4T9NM4+4Vw91VeyqjLS6ao50K5bOcLKN6Q42XnYaRYw=
|
||||||
github.com/centrify/cloud-golang-sdk v0.0.0-20190214225812-119110094d0f/go.mod h1:C0rtzmGXgN78pYR0tGJFhtHgkbAs0lIbHwkB81VxDQE=
|
github.com/centrify/cloud-golang-sdk v0.0.0-20190214225812-119110094d0f/go.mod h1:C0rtzmGXgN78pYR0tGJFhtHgkbAs0lIbHwkB81VxDQE=
|
||||||
github.com/ceph/go-ceph v0.22.0 h1:neClxdgly+Bb2IfmC3vP4Rihh//BM0YpJW/685T+yT4=
|
github.com/ceph/go-ceph v0.23.0 h1:b/glx9y7vXQJd5m6VqfNv9krYHny7W/+Zc3fNyTbIIo=
|
||||||
github.com/ceph/go-ceph v0.22.0/go.mod h1:vyoYT04bHOlrjFfu1NmmtqKdH5uRBVKPKq7viyUL4sc=
|
github.com/ceph/go-ceph v0.23.0/go.mod h1:QDYBF+MBdj9B5nSAvevZOrh5WSOflN15t/tZ67b17Qw=
|
||||||
github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
|
github.com/cespare/xxhash v1.1.0/go.mod h1:XrSqR1VqqWfGrhpAt58auRo0WTKS1nRRg3ghfAqPWnc=
|
||||||
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
github.com/cespare/xxhash/v2 v2.1.1/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
||||||
github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
github.com/cespare/xxhash/v2 v2.1.2/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
|
||||||
|
4
vendor/github.com/ceph/go-ceph/cephfs/admin/pin.go
generated
vendored
4
vendor/github.com/ceph/go-ceph/cephfs/admin/pin.go
generated
vendored
@ -1,5 +1,5 @@
|
|||||||
//go:build !nautilus && ceph_preview
|
//go:build !nautilus
|
||||||
// +build !nautilus,ceph_preview
|
// +build !nautilus
|
||||||
|
|
||||||
package admin
|
package admin
|
||||||
|
|
||||||
|
4
vendor/github.com/ceph/go-ceph/cephfs/admin/volume_info.go
generated
vendored
4
vendor/github.com/ceph/go-ceph/cephfs/admin/volume_info.go
generated
vendored
@ -1,5 +1,5 @@
|
|||||||
//go:build !(nautilus || octopus) && ceph_preview
|
//go:build !(nautilus || octopus)
|
||||||
// +build !nautilus,!octopus,ceph_preview
|
// +build !nautilus,!octopus
|
||||||
|
|
||||||
package admin
|
package admin
|
||||||
|
|
||||||
|
7
vendor/github.com/ceph/go-ceph/rbd/mirror_desc_status.go
generated
vendored
7
vendor/github.com/ceph/go-ceph/rbd/mirror_desc_status.go
generated
vendored
@ -1,5 +1,5 @@
|
|||||||
//go:build !nautilus && ceph_preview
|
//go:build !nautilus
|
||||||
// +build !nautilus,ceph_preview
|
// +build !nautilus
|
||||||
|
|
||||||
package rbd
|
package rbd
|
||||||
|
|
||||||
@ -61,7 +61,8 @@ func (s *SiteMirrorImageStatus) UnmarshalDescriptionJSON(v interface{}) error {
|
|||||||
// the image status description field if available. If the embedded status JSON
|
// the image status description field if available. If the embedded status JSON
|
||||||
// is not found or fails to parse and error will be returned.
|
// is not found or fails to parse and error will be returned.
|
||||||
func (s *SiteMirrorImageStatus) DescriptionReplayStatus() (
|
func (s *SiteMirrorImageStatus) DescriptionReplayStatus() (
|
||||||
*MirrorDescriptionReplayStatus, error) {
|
*MirrorDescriptionReplayStatus, error,
|
||||||
|
) {
|
||||||
// ---
|
// ---
|
||||||
mdrs := MirrorDescriptionReplayStatus{}
|
mdrs := MirrorDescriptionReplayStatus{}
|
||||||
if err := s.UnmarshalDescriptionJSON(&mdrs); err != nil {
|
if err := s.UnmarshalDescriptionJSON(&mdrs); err != nil {
|
||||||
|
9
vendor/github.com/ceph/go-ceph/rbd/mirror_peer_site.go
generated
vendored
9
vendor/github.com/ceph/go-ceph/rbd/mirror_peer_site.go
generated
vendored
@ -1,5 +1,5 @@
|
|||||||
//go:build !nautilus && ceph_preview
|
//go:build !nautilus
|
||||||
// +build !nautilus,ceph_preview
|
// +build !nautilus
|
||||||
|
|
||||||
package rbd
|
package rbd
|
||||||
|
|
||||||
@ -26,8 +26,8 @@ import (
|
|||||||
// const char *site_name,
|
// const char *site_name,
|
||||||
// const char *client_name);
|
// const char *client_name);
|
||||||
func AddMirrorPeerSite(ioctx *rados.IOContext, siteName string, clientName string,
|
func AddMirrorPeerSite(ioctx *rados.IOContext, siteName string, clientName string,
|
||||||
direction MirrorPeerDirection) (string, error) {
|
direction MirrorPeerDirection,
|
||||||
|
) (string, error) {
|
||||||
var (
|
var (
|
||||||
err error
|
err error
|
||||||
buf []byte
|
buf []byte
|
||||||
@ -78,7 +78,6 @@ func RemoveMirrorPeerSite(ioctx *rados.IOContext, uuid string) error {
|
|||||||
// size_t *max_key_len, char *values, size_t *max_val_len,
|
// size_t *max_key_len, char *values, size_t *max_val_len,
|
||||||
// size_t *key_value_count);
|
// size_t *key_value_count);
|
||||||
func GetAttributesMirrorPeerSite(ioctx *rados.IOContext, uuid string) (map[string]string, error) {
|
func GetAttributesMirrorPeerSite(ioctx *rados.IOContext, uuid string) (map[string]string, error) {
|
||||||
|
|
||||||
var (
|
var (
|
||||||
err error
|
err error
|
||||||
keys []byte
|
keys []byte
|
||||||
|
16
vendor/github.com/ceph/go-ceph/rbd/snapshot_nautilus.go
generated
vendored
16
vendor/github.com/ceph/go-ceph/rbd/snapshot_nautilus.go
generated
vendored
@ -67,8 +67,12 @@ func (image *Image) GetParentInfo(pool, name, snapname []byte) error {
|
|||||||
|
|
||||||
// ImageSpec represents the image information.
|
// ImageSpec represents the image information.
|
||||||
type ImageSpec struct {
|
type ImageSpec struct {
|
||||||
ImageName string
|
ImageName string
|
||||||
PoolName string
|
ImageID string
|
||||||
|
PoolName string
|
||||||
|
PoolNamespace string
|
||||||
|
PoolID uint64
|
||||||
|
Trash bool
|
||||||
}
|
}
|
||||||
|
|
||||||
// SnapSpec represents the snapshot infomation.
|
// SnapSpec represents the snapshot infomation.
|
||||||
@ -104,8 +108,12 @@ func (image *Image) GetParent() (*ParentInfo, error) {
|
|||||||
defer C.rbd_snap_spec_cleanup(&parentSnap)
|
defer C.rbd_snap_spec_cleanup(&parentSnap)
|
||||||
|
|
||||||
imageSpec := ImageSpec{
|
imageSpec := ImageSpec{
|
||||||
ImageName: C.GoString(parentImage.image_name),
|
ImageName: C.GoString(parentImage.image_name),
|
||||||
PoolName: C.GoString(parentImage.pool_name),
|
ImageID: C.GoString(parentImage.image_id),
|
||||||
|
PoolName: C.GoString(parentImage.pool_name),
|
||||||
|
PoolNamespace: C.GoString(parentImage.pool_namespace),
|
||||||
|
PoolID: uint64(parentImage.pool_id),
|
||||||
|
Trash: bool(parentImage.trash),
|
||||||
}
|
}
|
||||||
|
|
||||||
snapSpec := SnapSpec{
|
snapSpec := SnapSpec{
|
||||||
|
11
vendor/github.com/ceph/go-ceph/rbd/sparsify.go
generated
vendored
11
vendor/github.com/ceph/go-ceph/rbd/sparsify.go
generated
vendored
@ -1,5 +1,5 @@
|
|||||||
//go:build !nautilus && ceph_preview
|
//go:build !nautilus
|
||||||
// +build !nautilus,ceph_preview
|
// +build !nautilus
|
||||||
|
|
||||||
package rbd
|
package rbd
|
||||||
|
|
||||||
@ -56,7 +56,8 @@ type sparsifyCallbackCtx struct {
|
|||||||
// int rbd_sparsify_with_progress(rbd_image_t image, size_t sparse_size,
|
// int rbd_sparsify_with_progress(rbd_image_t image, size_t sparse_size,
|
||||||
// librbd_progress_fn_t cb, void *cbdata);
|
// librbd_progress_fn_t cb, void *cbdata);
|
||||||
func (image *Image) SparsifyWithProgress(
|
func (image *Image) SparsifyWithProgress(
|
||||||
sparseSize uint, cb SparsifyCallback, data interface{}) error {
|
sparseSize uint, cb SparsifyCallback, data interface{},
|
||||||
|
) error {
|
||||||
// the provided callback must be a real function
|
// the provided callback must be a real function
|
||||||
if cb == nil {
|
if cb == nil {
|
||||||
return rbdError(C.EINVAL)
|
return rbdError(C.EINVAL)
|
||||||
@ -80,8 +81,8 @@ func (image *Image) SparsifyWithProgress(
|
|||||||
|
|
||||||
//export sparsifyCallback
|
//export sparsifyCallback
|
||||||
func sparsifyCallback(
|
func sparsifyCallback(
|
||||||
offset, total C.uint64_t, index uintptr) C.int {
|
offset, total C.uint64_t, index uintptr,
|
||||||
|
) C.int {
|
||||||
v := sparsifyCallbacks.Lookup(index)
|
v := sparsifyCallbacks.Lookup(index)
|
||||||
ctx := v.(sparsifyCallbackCtx)
|
ctx := v.(sparsifyCallbackCtx)
|
||||||
return C.int(ctx.callback(uint64(offset), uint64(total), ctx.data))
|
return C.int(ctx.callback(uint64(offset), uint64(total), ctx.data))
|
||||||
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
@ -135,7 +135,7 @@ github.com/ceph/ceph-csi/api/deploy/kubernetes/cephfs
|
|||||||
github.com/ceph/ceph-csi/api/deploy/kubernetes/nfs
|
github.com/ceph/ceph-csi/api/deploy/kubernetes/nfs
|
||||||
github.com/ceph/ceph-csi/api/deploy/kubernetes/rbd
|
github.com/ceph/ceph-csi/api/deploy/kubernetes/rbd
|
||||||
github.com/ceph/ceph-csi/api/deploy/ocp
|
github.com/ceph/ceph-csi/api/deploy/ocp
|
||||||
# github.com/ceph/go-ceph v0.22.0
|
# github.com/ceph/go-ceph v0.23.0
|
||||||
## explicit; go 1.19
|
## explicit; go 1.19
|
||||||
github.com/ceph/go-ceph/cephfs/admin
|
github.com/ceph/go-ceph/cephfs/admin
|
||||||
github.com/ceph/go-ceph/common/admin/manager
|
github.com/ceph/go-ceph/common/admin/manager
|
||||||
|
Loading…
Reference in New Issue
Block a user