"time"
"git.curoverse.com/arvados.git/sdk/go/arvados"
- "github.com/prometheus/client_golang/prometheus"
)
type BlockWriter interface {
// Do whatever private setup tasks and configuration checks
// are needed. Return non-nil if the volume is unusable (e.g.,
// invalid config).
- Start() error
+ Start(vm *volumeMetricsVecs) error
// Get a block: copy the block data into buf, and return the
// number of bytes copied.
type InternalStatser interface {
InternalStats() interface{}
}
-
-// InternalMetricser provides an interface for volume drivers to register their
-// own specific metrics.
-type InternalMetricser interface {
- SetupInternalMetrics(*prometheus.Registry, prometheus.Labels)
-}