mirror of
https://git.mirrors.martin98.com/https://github.com/ceph/ceph-csi.git
synced 2025-08-05 09:20:42 +08:00
![dependabot[bot]](/assets/img/avatar_default.png)
Bumps [github.com/ceph/go-ceph](https://github.com/ceph/go-ceph) from 0.13.0 to 0.14.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.13.0...v0.14.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>
18 lines
456 B
Go
18 lines
456 B
Go
package manager
|
|
|
|
import (
|
|
ccom "github.com/ceph/go-ceph/common/commands"
|
|
)
|
|
|
|
// MgrAdmin is used to administrate ceph's manager (mgr).
|
|
type MgrAdmin struct {
|
|
conn ccom.RadosCommander
|
|
}
|
|
|
|
// NewFromConn creates an new management object from a preexisting
|
|
// rados connection. The existing connection can be rados.Conn or any
|
|
// type implementing the RadosCommander interface.
|
|
func NewFromConn(conn ccom.RadosCommander) *MgrAdmin {
|
|
return &MgrAdmin{conn}
|
|
}
|