21 lines
358 B
Go
21 lines
358 B
Go
package main
|
|
|
|
import "github.com/ceph/go-ceph/rados"
|
|
|
|
|
|
type cephConnection struct {
|
|
conn *rados.Conn
|
|
}
|
|
|
|
type Poolinfo struct {
|
|
Pool string `json:"pool,omitempty"`
|
|
PoolId uint64 `json:"pool_id,omitempty"`
|
|
Size uint64 `json:"size,omitempty"`
|
|
}
|
|
|
|
type Device struct {
|
|
Class string `json:"class"`
|
|
ID int64 `json:"id"`
|
|
Name string `json:"name"`
|
|
}
|