Documentation ¶
Index ¶
- Constants
- func Setup(mgr ctrl.Manager, _ controller.Args) error
- type Reconcile
- type VolumeClaimHandler
- func (v VolumeClaimHandler) Create(event event.CreateEvent, limitingInterface workqueue.RateLimitingInterface)
- func (v VolumeClaimHandler) Delete(event event.DeleteEvent, limitingInterface workqueue.RateLimitingInterface)
- func (v VolumeClaimHandler) Generic(event event.GenericEvent, limitingInterface workqueue.RateLimitingInterface)
- func (v VolumeClaimHandler) Update(event event.UpdateEvent, limitingInterface workqueue.RateLimitingInterface)
Constants ¶
View Source
const (
StorageClass = "StorageClass"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Reconcile ¶
type Reconcile struct { client.Client discovery.DiscoveryClient Scheme *runtime.Scheme // contains filtered or unexported fields }
Reconcile reconciles a VolumeTrait object
type VolumeClaimHandler ¶
type VolumeClaimHandler struct { ClientSet *kubernetes.Clientset Client client.Client AppsClient clientappv1.AppsV1Interface // contains filtered or unexported fields }
VolumeClaimHandler will watch volume claim change and delete pvc automatically.
func (VolumeClaimHandler) Create ¶
func (v VolumeClaimHandler) Create(event event.CreateEvent, limitingInterface workqueue.RateLimitingInterface)
func (VolumeClaimHandler) Delete ¶
func (v VolumeClaimHandler) Delete(event event.DeleteEvent, limitingInterface workqueue.RateLimitingInterface)
func (VolumeClaimHandler) Generic ¶
func (v VolumeClaimHandler) Generic(event event.GenericEvent, limitingInterface workqueue.RateLimitingInterface)
func (VolumeClaimHandler) Update ¶
func (v VolumeClaimHandler) Update(event event.UpdateEvent, limitingInterface workqueue.RateLimitingInterface)
Click to show internal directories.
Click to hide internal directories.