Generate and format files
- Run hack/update-codegen.sh - Run hack/update-generated-device-plugin.sh - Run hack/update-generated-protobuf.sh - Run hack/update-generated-runtime.sh - Run hack/update-generated-swagger-docs.sh - Run hack/update-openapi-spec.sh - Run hack/update-gofmt.sh Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
@@ -165,7 +165,8 @@ func ProbeVolumePlugins(config volume.VolumeConfig) []volume.VolumePlugin {
|
||||
// FakeVolumePlugin is useful for testing. It tries to be a fully compliant
|
||||
// plugin, but all it does is make empty directories.
|
||||
// Use as:
|
||||
// volume.RegisterPlugin(&FakePlugin{"fake-name"})
|
||||
//
|
||||
// volume.RegisterPlugin(&FakePlugin{"fake-name"})
|
||||
type FakeVolumePlugin struct {
|
||||
sync.RWMutex
|
||||
PluginName string
|
||||
@@ -1177,7 +1178,7 @@ func (fc *FakeProvisioner) Provision(selectedNode *v1.Node, allowedTopologies []
|
||||
|
||||
var _ volumepathhandler.BlockVolumePathHandler = &FakeVolumePathHandler{}
|
||||
|
||||
//NewDeviceHandler Create a new IoHandler implementation
|
||||
// NewDeviceHandler Create a new IoHandler implementation
|
||||
func NewBlockVolumePathHandler() volumepathhandler.BlockVolumePathHandler {
|
||||
return &FakeVolumePathHandler{}
|
||||
}
|
||||
|
Reference in New Issue
Block a user