type expanderDefaults … func newExpanderDefaults(plugin *flexVolumePlugin) *expanderDefaults { … } func (e *expanderDefaults) ExpandVolumeDevice(spec *volume.Spec, newSize resource.Quantity, oldSize resource.Quantity) (resource.Quantity, error) { … } // the defaults for NodeExpand return a generic resize indicator that will trigger the operation executor to go ahead with // generic filesystem resize func (e *expanderDefaults) NodeExpand(rsOpt volume.NodeResizeOptions) (bool, error) { … }