Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResizeController ¶
type ResizeController interface { // Run starts the controller. Run(workers int, ctx context.Context) }
ResizeController watches PVCs and checks if they are requesting an resizing operation. If requested, it will resize according PVs and update PVCs' status to reflect the new size.
func NewResizeController ¶
func NewResizeController( name string, resizer resizer.Resizer, kubeClient kubernetes.Interface, resyncPeriod time.Duration, informerFactory informers.SharedInformerFactory) ResizeController
NewResizeController returns a ResizeController.
Click to show internal directories.
Click to hide internal directories.