Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitServiceHandler ¶
func InitServiceHandler( d *yarpc.Dispatcher, parent tally.Scope, )
InitServiceHandler initialize serviceHandler.
func NewTestServiceHandler ¶
func NewTestServiceHandler() *serviceHandler
NewTestServiceHandler returns an empty new ServiceHandler ptr for testing.
Types ¶
type Metrics ¶
type Metrics struct { GetVolumeAPI tally.Counter GetVolume tally.Counter GetVolumeFail tally.Counter ListVolumeAPI tally.Counter ListVolume tally.Counter ListVolumeFail tally.Counter DeleteVolumeAPI tally.Counter DeleteVolume tally.Counter DeleteVolumeFail tally.Counter }
Metrics is a placeholder for all metrics in volume manager.
func NewMetrics ¶
NewMetrics returns a new instance of volumesvc.Metrics.
Click to show internal directories.
Click to hide internal directories.