Documentation ¶
Index ¶
- Variables
- func StartVPCController(mgr ctrl.Manager, commonService commonservice.Service)
- type VPCNetworkConfigurationHandler
- func (h *VPCNetworkConfigurationHandler) Create(_ context.Context, e event.CreateEvent, _ workqueue.RateLimitingInterface)
- func (h *VPCNetworkConfigurationHandler) Delete(_ context.Context, e event.DeleteEvent, _ workqueue.RateLimitingInterface)
- func (h *VPCNetworkConfigurationHandler) Generic(_ context.Context, _ event.GenericEvent, _ workqueue.RateLimitingInterface)
- func (h *VPCNetworkConfigurationHandler) Update(_ context.Context, e event.UpdateEvent, q workqueue.RateLimitingInterface)
- type VPCReconciler
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ResultNormal = common.ResultNormal ResultRequeue = common.ResultRequeue ResultRequeueAfter5mins = common.ResultRequeueAfter5mins MetricResType = common.MetricResTypeVPC )
View Source
var VPCNetworkConfigurationPredicate = predicate.Funcs{ CreateFunc: func(e event.CreateEvent) bool { return true }, UpdateFunc: func(e event.UpdateEvent) bool { return true }, DeleteFunc: func(e event.DeleteEvent) bool { return false }, GenericFunc: func(genericEvent event.GenericEvent) bool { return false }, }
Functions ¶
func StartVPCController ¶
func StartVPCController(mgr ctrl.Manager, commonService commonservice.Service)
Types ¶
type VPCNetworkConfigurationHandler ¶
type VPCNetworkConfigurationHandler struct { Client client.Client // contains filtered or unexported fields }
func (*VPCNetworkConfigurationHandler) Create ¶
func (h *VPCNetworkConfigurationHandler) Create(_ context.Context, e event.CreateEvent, _ workqueue.RateLimitingInterface)
func (*VPCNetworkConfigurationHandler) Delete ¶
func (h *VPCNetworkConfigurationHandler) Delete(_ context.Context, e event.DeleteEvent, _ workqueue.RateLimitingInterface)
func (*VPCNetworkConfigurationHandler) Generic ¶
func (h *VPCNetworkConfigurationHandler) Generic(_ context.Context, _ event.GenericEvent, _ workqueue.RateLimitingInterface)
func (*VPCNetworkConfigurationHandler) Update ¶
func (h *VPCNetworkConfigurationHandler) Update(_ context.Context, e event.UpdateEvent, q workqueue.RateLimitingInterface)
type VPCReconciler ¶
type VPCReconciler struct { Client client.Client Scheme *apimachineryruntime.Scheme Service *vpc.VPCService }
VPCReconciler VPCReconcile reconciles a VPC object
func (*VPCReconciler) GarbageCollector ¶
func (r *VPCReconciler) GarbageCollector(cancel chan bool, timeout time.Duration)
GarbageCollector collect vpc which has been removed from crd. cancel is used to break the loop during UT
Click to show internal directories.
Click to hide internal directories.