Documentation ¶
Index ¶
- type Service
- func (s *Service) AddFreeVolume(c context.Context, arg *model.ArgAddFreeVolume) (err error)
- func (s *Service) AddVolume(c context.Context, arg *model.ArgAddVolume) (err error)
- func (s *Service) Close()
- func (s *Service) Clusters(c context.Context) (clusters []string)
- func (s *Service) Compact(c context.Context, arg *model.ArgCompact) (err error)
- func (s *Service) Groups(c context.Context, arg *model.ArgCluster) (resp *model.RespGroup, err error)
- func (s *Service) Ping(c context.Context) (err error)
- func (s *Service) Racks(c context.Context, arg *model.ArgCluster) (resp *model.RespRack, err error)
- func (s *Service) SetGroupStatus(c context.Context, arg *model.ArgGroupStatus) (err error)
- func (s *Service) Total(c context.Context, arg *model.ArgCluster) (resp *model.RespTotal, err error)
- func (s *Service) Volumes(c context.Context, arg *model.ArgCluster) (resp *model.RespVolume, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service struct
func (*Service) AddFreeVolume ¶
AddFreeVolume add free volume.
func (*Service) Groups ¶
func (s *Service) Groups(c context.Context, arg *model.ArgCluster) (resp *model.RespGroup, err error)
Groups .
func (*Service) SetGroupStatus ¶
SetGroupStatus set group status(read,write,sync,health).
func (*Service) Total ¶
func (s *Service) Total(c context.Context, arg *model.ArgCluster) (resp *model.RespTotal, err error)
Total .
func (*Service) Volumes ¶
func (s *Service) Volumes(c context.Context, arg *model.ArgCluster) (resp *model.RespVolume, err error)
Volumes .
Click to show internal directories.
Click to hide internal directories.