type NodeExpander … func newNodeExpander(resizeOp nodeResizeOperationOpts, client clientset.Interface, recorder record.EventRecorder) *NodeExpander { … } type testResponseData … // runPreCheck performs some sanity checks before expansion can be performed on the PVC. // This function returns true only if node expansion is allowed to proceed otherwise // it returns false. func (ne *NodeExpander) runPreCheck() bool { … } func (ne *NodeExpander) expandOnPlugin() (bool, resource.Quantity, error) { … }