19 lines
479 B
Go
19 lines
479 B
Go
//go:build !linux
|
|
|
|
package osimage
|
|
|
|
import "context"
|
|
|
|
type adaptiveWriteController struct{}
|
|
|
|
func newAdaptiveWriteController(string) (*adaptiveWriteController, error) {
|
|
return &adaptiveWriteController{}, nil
|
|
}
|
|
|
|
func newNoopAdaptiveWriteController() *adaptiveWriteController {
|
|
return &adaptiveWriteController{}
|
|
}
|
|
|
|
func (c *adaptiveWriteController) Wait(ctx context.Context, n int) error { return nil }
|
|
func (c *adaptiveWriteController) ObserveWrite(n int, dur interface{}) {}
|