learning_go/ceph/types.go
Alexander Pivkin 2b29e09ff7 sdf
2025-09-05 18:31:53 +03:00

23 lines
360 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"`
}