Documentation ¶
Overview ¶
Definitions for the Kubernetes Controllers
Definitions for the multicluster Kubernetes Controllers ¶
Definitions for the Kubernetes Controllers
Index ¶
- type DestinationRuleDeletionReconciler
- type DestinationRuleEventHandler
- type DestinationRuleEventHandlerFuncs
- func (f *DestinationRuleEventHandlerFuncs) CreateDestinationRule(obj *networking_istio_io_v1.DestinationRule) error
- func (f *DestinationRuleEventHandlerFuncs) DeleteDestinationRule(obj *networking_istio_io_v1.DestinationRule) error
- func (f *DestinationRuleEventHandlerFuncs) GenericDestinationRule(obj *networking_istio_io_v1.DestinationRule) error
- func (f *DestinationRuleEventHandlerFuncs) UpdateDestinationRule(objOld, objNew *networking_istio_io_v1.DestinationRule) error
- type DestinationRuleEventWatcher
- type DestinationRuleFinalizer
- type DestinationRuleReconcileLoop
- type DestinationRuleReconciler
- type DestinationRuleReconcilerFuncs
- type GatewayDeletionReconciler
- type GatewayEventHandler
- type GatewayEventHandlerFuncs
- func (f *GatewayEventHandlerFuncs) CreateGateway(obj *networking_istio_io_v1.Gateway) error
- func (f *GatewayEventHandlerFuncs) DeleteGateway(obj *networking_istio_io_v1.Gateway) error
- func (f *GatewayEventHandlerFuncs) GenericGateway(obj *networking_istio_io_v1.Gateway) error
- func (f *GatewayEventHandlerFuncs) UpdateGateway(objOld, objNew *networking_istio_io_v1.Gateway) error
- type GatewayEventWatcher
- type GatewayFinalizer
- type GatewayReconcileLoop
- type GatewayReconciler
- type GatewayReconcilerFuncs
- type MulticlusterDestinationRuleDeletionReconciler
- type MulticlusterDestinationRuleReconcileLoop
- type MulticlusterDestinationRuleReconciler
- type MulticlusterDestinationRuleReconcilerFuncs
- func (f *MulticlusterDestinationRuleReconcilerFuncs) ReconcileDestinationRule(clusterName string, obj *networking_istio_io_v1.DestinationRule) (reconcile.Result, error)
- func (f *MulticlusterDestinationRuleReconcilerFuncs) ReconcileDestinationRuleDeletion(clusterName string, req reconcile.Request) error
- type MulticlusterGatewayDeletionReconciler
- type MulticlusterGatewayReconcileLoop
- type MulticlusterGatewayReconciler
- type MulticlusterGatewayReconcilerFuncs
- type MulticlusterServiceEntryDeletionReconciler
- type MulticlusterServiceEntryReconcileLoop
- type MulticlusterServiceEntryReconciler
- type MulticlusterServiceEntryReconcilerFuncs
- type MulticlusterSidecarDeletionReconciler
- type MulticlusterSidecarReconcileLoop
- type MulticlusterSidecarReconciler
- type MulticlusterSidecarReconcilerFuncs
- type MulticlusterVirtualServiceDeletionReconciler
- type MulticlusterVirtualServiceReconcileLoop
- type MulticlusterVirtualServiceReconciler
- type MulticlusterVirtualServiceReconcilerFuncs
- type MulticlusterWorkloadEntryDeletionReconciler
- type MulticlusterWorkloadEntryReconcileLoop
- type MulticlusterWorkloadEntryReconciler
- type MulticlusterWorkloadEntryReconcilerFuncs
- type MulticlusterWorkloadGroupDeletionReconciler
- type MulticlusterWorkloadGroupReconcileLoop
- type MulticlusterWorkloadGroupReconciler
- type MulticlusterWorkloadGroupReconcilerFuncs
- type ServiceEntryDeletionReconciler
- type ServiceEntryEventHandler
- type ServiceEntryEventHandlerFuncs
- func (f *ServiceEntryEventHandlerFuncs) CreateServiceEntry(obj *networking_istio_io_v1.ServiceEntry) error
- func (f *ServiceEntryEventHandlerFuncs) DeleteServiceEntry(obj *networking_istio_io_v1.ServiceEntry) error
- func (f *ServiceEntryEventHandlerFuncs) GenericServiceEntry(obj *networking_istio_io_v1.ServiceEntry) error
- func (f *ServiceEntryEventHandlerFuncs) UpdateServiceEntry(objOld, objNew *networking_istio_io_v1.ServiceEntry) error
- type ServiceEntryEventWatcher
- type ServiceEntryFinalizer
- type ServiceEntryReconcileLoop
- type ServiceEntryReconciler
- type ServiceEntryReconcilerFuncs
- type SidecarDeletionReconciler
- type SidecarEventHandler
- type SidecarEventHandlerFuncs
- func (f *SidecarEventHandlerFuncs) CreateSidecar(obj *networking_istio_io_v1.Sidecar) error
- func (f *SidecarEventHandlerFuncs) DeleteSidecar(obj *networking_istio_io_v1.Sidecar) error
- func (f *SidecarEventHandlerFuncs) GenericSidecar(obj *networking_istio_io_v1.Sidecar) error
- func (f *SidecarEventHandlerFuncs) UpdateSidecar(objOld, objNew *networking_istio_io_v1.Sidecar) error
- type SidecarEventWatcher
- type SidecarFinalizer
- type SidecarReconcileLoop
- type SidecarReconciler
- type SidecarReconcilerFuncs
- type VirtualServiceDeletionReconciler
- type VirtualServiceEventHandler
- type VirtualServiceEventHandlerFuncs
- func (f *VirtualServiceEventHandlerFuncs) CreateVirtualService(obj *networking_istio_io_v1.VirtualService) error
- func (f *VirtualServiceEventHandlerFuncs) DeleteVirtualService(obj *networking_istio_io_v1.VirtualService) error
- func (f *VirtualServiceEventHandlerFuncs) GenericVirtualService(obj *networking_istio_io_v1.VirtualService) error
- func (f *VirtualServiceEventHandlerFuncs) UpdateVirtualService(objOld, objNew *networking_istio_io_v1.VirtualService) error
- type VirtualServiceEventWatcher
- type VirtualServiceFinalizer
- type VirtualServiceReconcileLoop
- type VirtualServiceReconciler
- type VirtualServiceReconcilerFuncs
- type WorkloadEntryDeletionReconciler
- type WorkloadEntryEventHandler
- type WorkloadEntryEventHandlerFuncs
- func (f *WorkloadEntryEventHandlerFuncs) CreateWorkloadEntry(obj *networking_istio_io_v1.WorkloadEntry) error
- func (f *WorkloadEntryEventHandlerFuncs) DeleteWorkloadEntry(obj *networking_istio_io_v1.WorkloadEntry) error
- func (f *WorkloadEntryEventHandlerFuncs) GenericWorkloadEntry(obj *networking_istio_io_v1.WorkloadEntry) error
- func (f *WorkloadEntryEventHandlerFuncs) UpdateWorkloadEntry(objOld, objNew *networking_istio_io_v1.WorkloadEntry) error
- type WorkloadEntryEventWatcher
- type WorkloadEntryFinalizer
- type WorkloadEntryReconcileLoop
- type WorkloadEntryReconciler
- type WorkloadEntryReconcilerFuncs
- type WorkloadGroupDeletionReconciler
- type WorkloadGroupEventHandler
- type WorkloadGroupEventHandlerFuncs
- func (f *WorkloadGroupEventHandlerFuncs) CreateWorkloadGroup(obj *networking_istio_io_v1.WorkloadGroup) error
- func (f *WorkloadGroupEventHandlerFuncs) DeleteWorkloadGroup(obj *networking_istio_io_v1.WorkloadGroup) error
- func (f *WorkloadGroupEventHandlerFuncs) GenericWorkloadGroup(obj *networking_istio_io_v1.WorkloadGroup) error
- func (f *WorkloadGroupEventHandlerFuncs) UpdateWorkloadGroup(objOld, objNew *networking_istio_io_v1.WorkloadGroup) error
- type WorkloadGroupEventWatcher
- type WorkloadGroupFinalizer
- type WorkloadGroupReconcileLoop
- type WorkloadGroupReconciler
- type WorkloadGroupReconcilerFuncs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DestinationRuleDeletionReconciler ¶
type DestinationRuleDeletionReconciler interface {
ReconcileDestinationRuleDeletion(req reconcile.Request) error
}
Reconcile deletion events for the DestinationRule Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type DestinationRuleEventHandler ¶
type DestinationRuleEventHandler interface { CreateDestinationRule(obj *networking_istio_io_v1.DestinationRule) error UpdateDestinationRule(old, new *networking_istio_io_v1.DestinationRule) error DeleteDestinationRule(obj *networking_istio_io_v1.DestinationRule) error GenericDestinationRule(obj *networking_istio_io_v1.DestinationRule) error }
Handle events for the DestinationRule Resource DEPRECATED: Prefer reconciler pattern.
type DestinationRuleEventHandlerFuncs ¶
type DestinationRuleEventHandlerFuncs struct { OnCreate func(obj *networking_istio_io_v1.DestinationRule) error OnUpdate func(old, new *networking_istio_io_v1.DestinationRule) error OnDelete func(obj *networking_istio_io_v1.DestinationRule) error OnGeneric func(obj *networking_istio_io_v1.DestinationRule) error }
func (*DestinationRuleEventHandlerFuncs) CreateDestinationRule ¶
func (f *DestinationRuleEventHandlerFuncs) CreateDestinationRule(obj *networking_istio_io_v1.DestinationRule) error
func (*DestinationRuleEventHandlerFuncs) DeleteDestinationRule ¶
func (f *DestinationRuleEventHandlerFuncs) DeleteDestinationRule(obj *networking_istio_io_v1.DestinationRule) error
func (*DestinationRuleEventHandlerFuncs) GenericDestinationRule ¶
func (f *DestinationRuleEventHandlerFuncs) GenericDestinationRule(obj *networking_istio_io_v1.DestinationRule) error
func (*DestinationRuleEventHandlerFuncs) UpdateDestinationRule ¶
func (f *DestinationRuleEventHandlerFuncs) UpdateDestinationRule(objOld, objNew *networking_istio_io_v1.DestinationRule) error
type DestinationRuleEventWatcher ¶
type DestinationRuleEventWatcher interface {
AddEventHandler(ctx context.Context, h DestinationRuleEventHandler, predicates ...predicate.Predicate) error
}
func NewDestinationRuleEventWatcher ¶
func NewDestinationRuleEventWatcher(name string, mgr manager.Manager) DestinationRuleEventWatcher
type DestinationRuleFinalizer ¶
type DestinationRuleFinalizer interface { DestinationRuleReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task DestinationRuleFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeDestinationRule(obj *networking_istio_io_v1.DestinationRule) error }
Reconcile and finalize the DestinationRule Resource implemented by the user
type DestinationRuleReconcileLoop ¶
type DestinationRuleReconcileLoop interface {
RunDestinationRuleReconciler(ctx context.Context, rec DestinationRuleReconciler, predicates ...predicate.Predicate) error
}
type DestinationRuleReconciler ¶
type DestinationRuleReconciler interface {
ReconcileDestinationRule(obj *networking_istio_io_v1.DestinationRule) (reconcile.Result, error)
}
Reconcile Upsert events for the DestinationRule Resource. implemented by the user
type DestinationRuleReconcilerFuncs ¶
type DestinationRuleReconcilerFuncs struct { OnReconcileDestinationRule func(obj *networking_istio_io_v1.DestinationRule) (reconcile.Result, error) OnReconcileDestinationRuleDeletion func(req reconcile.Request) error }
func (*DestinationRuleReconcilerFuncs) ReconcileDestinationRule ¶
func (f *DestinationRuleReconcilerFuncs) ReconcileDestinationRule(obj *networking_istio_io_v1.DestinationRule) (reconcile.Result, error)
func (*DestinationRuleReconcilerFuncs) ReconcileDestinationRuleDeletion ¶
func (f *DestinationRuleReconcilerFuncs) ReconcileDestinationRuleDeletion(req reconcile.Request) error
type GatewayDeletionReconciler ¶
Reconcile deletion events for the Gateway Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type GatewayEventHandler ¶
type GatewayEventHandler interface { CreateGateway(obj *networking_istio_io_v1.Gateway) error UpdateGateway(old, new *networking_istio_io_v1.Gateway) error DeleteGateway(obj *networking_istio_io_v1.Gateway) error GenericGateway(obj *networking_istio_io_v1.Gateway) error }
Handle events for the Gateway Resource DEPRECATED: Prefer reconciler pattern.
type GatewayEventHandlerFuncs ¶
type GatewayEventHandlerFuncs struct { OnCreate func(obj *networking_istio_io_v1.Gateway) error OnUpdate func(old, new *networking_istio_io_v1.Gateway) error OnDelete func(obj *networking_istio_io_v1.Gateway) error OnGeneric func(obj *networking_istio_io_v1.Gateway) error }
func (*GatewayEventHandlerFuncs) CreateGateway ¶
func (f *GatewayEventHandlerFuncs) CreateGateway(obj *networking_istio_io_v1.Gateway) error
func (*GatewayEventHandlerFuncs) DeleteGateway ¶
func (f *GatewayEventHandlerFuncs) DeleteGateway(obj *networking_istio_io_v1.Gateway) error
func (*GatewayEventHandlerFuncs) GenericGateway ¶
func (f *GatewayEventHandlerFuncs) GenericGateway(obj *networking_istio_io_v1.Gateway) error
func (*GatewayEventHandlerFuncs) UpdateGateway ¶
func (f *GatewayEventHandlerFuncs) UpdateGateway(objOld, objNew *networking_istio_io_v1.Gateway) error
type GatewayEventWatcher ¶
type GatewayEventWatcher interface {
AddEventHandler(ctx context.Context, h GatewayEventHandler, predicates ...predicate.Predicate) error
}
func NewGatewayEventWatcher ¶
func NewGatewayEventWatcher(name string, mgr manager.Manager) GatewayEventWatcher
type GatewayFinalizer ¶
type GatewayFinalizer interface { GatewayReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task GatewayFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeGateway(obj *networking_istio_io_v1.Gateway) error }
Reconcile and finalize the Gateway Resource implemented by the user
type GatewayReconcileLoop ¶
type GatewayReconcileLoop interface {
RunGatewayReconciler(ctx context.Context, rec GatewayReconciler, predicates ...predicate.Predicate) error
}
func NewGatewayReconcileLoop ¶
type GatewayReconciler ¶
type GatewayReconciler interface {
ReconcileGateway(obj *networking_istio_io_v1.Gateway) (reconcile.Result, error)
}
Reconcile Upsert events for the Gateway Resource. implemented by the user
type GatewayReconcilerFuncs ¶
type GatewayReconcilerFuncs struct { OnReconcileGateway func(obj *networking_istio_io_v1.Gateway) (reconcile.Result, error) OnReconcileGatewayDeletion func(req reconcile.Request) error }
func (*GatewayReconcilerFuncs) ReconcileGateway ¶
func (f *GatewayReconcilerFuncs) ReconcileGateway(obj *networking_istio_io_v1.Gateway) (reconcile.Result, error)
func (*GatewayReconcilerFuncs) ReconcileGatewayDeletion ¶
func (f *GatewayReconcilerFuncs) ReconcileGatewayDeletion(req reconcile.Request) error
type MulticlusterDestinationRuleDeletionReconciler ¶
type MulticlusterDestinationRuleDeletionReconciler interface {
ReconcileDestinationRuleDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the DestinationRule Resource across clusters. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type MulticlusterDestinationRuleReconcileLoop ¶
type MulticlusterDestinationRuleReconcileLoop interface { // AddMulticlusterDestinationRuleReconciler adds a MulticlusterDestinationRuleReconciler to the MulticlusterDestinationRuleReconcileLoop. AddMulticlusterDestinationRuleReconciler(ctx context.Context, rec MulticlusterDestinationRuleReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterDestinationRuleReconcileLoop ¶
func NewMulticlusterDestinationRuleReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterDestinationRuleReconcileLoop
type MulticlusterDestinationRuleReconciler ¶
type MulticlusterDestinationRuleReconciler interface {
ReconcileDestinationRule(clusterName string, obj *networking_istio_io_v1.DestinationRule) (reconcile.Result, error)
}
Reconcile Upsert events for the DestinationRule Resource across clusters. implemented by the user
type MulticlusterDestinationRuleReconcilerFuncs ¶
type MulticlusterDestinationRuleReconcilerFuncs struct { OnReconcileDestinationRule func(clusterName string, obj *networking_istio_io_v1.DestinationRule) (reconcile.Result, error) OnReconcileDestinationRuleDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterDestinationRuleReconcilerFuncs) ReconcileDestinationRule ¶
func (f *MulticlusterDestinationRuleReconcilerFuncs) ReconcileDestinationRule(clusterName string, obj *networking_istio_io_v1.DestinationRule) (reconcile.Result, error)
func (*MulticlusterDestinationRuleReconcilerFuncs) ReconcileDestinationRuleDeletion ¶
func (f *MulticlusterDestinationRuleReconcilerFuncs) ReconcileDestinationRuleDeletion(clusterName string, req reconcile.Request) error
type MulticlusterGatewayDeletionReconciler ¶
type MulticlusterGatewayDeletionReconciler interface {
ReconcileGatewayDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the Gateway Resource across clusters. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type MulticlusterGatewayReconcileLoop ¶
type MulticlusterGatewayReconcileLoop interface { // AddMulticlusterGatewayReconciler adds a MulticlusterGatewayReconciler to the MulticlusterGatewayReconcileLoop. AddMulticlusterGatewayReconciler(ctx context.Context, rec MulticlusterGatewayReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterGatewayReconcileLoop ¶
func NewMulticlusterGatewayReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterGatewayReconcileLoop
type MulticlusterGatewayReconciler ¶
type MulticlusterGatewayReconciler interface {
ReconcileGateway(clusterName string, obj *networking_istio_io_v1.Gateway) (reconcile.Result, error)
}
Reconcile Upsert events for the Gateway Resource across clusters. implemented by the user
type MulticlusterGatewayReconcilerFuncs ¶
type MulticlusterGatewayReconcilerFuncs struct { OnReconcileGateway func(clusterName string, obj *networking_istio_io_v1.Gateway) (reconcile.Result, error) OnReconcileGatewayDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterGatewayReconcilerFuncs) ReconcileGateway ¶
func (f *MulticlusterGatewayReconcilerFuncs) ReconcileGateway(clusterName string, obj *networking_istio_io_v1.Gateway) (reconcile.Result, error)
func (*MulticlusterGatewayReconcilerFuncs) ReconcileGatewayDeletion ¶
func (f *MulticlusterGatewayReconcilerFuncs) ReconcileGatewayDeletion(clusterName string, req reconcile.Request) error
type MulticlusterServiceEntryDeletionReconciler ¶
type MulticlusterServiceEntryDeletionReconciler interface {
ReconcileServiceEntryDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the ServiceEntry Resource across clusters. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type MulticlusterServiceEntryReconcileLoop ¶
type MulticlusterServiceEntryReconcileLoop interface { // AddMulticlusterServiceEntryReconciler adds a MulticlusterServiceEntryReconciler to the MulticlusterServiceEntryReconcileLoop. AddMulticlusterServiceEntryReconciler(ctx context.Context, rec MulticlusterServiceEntryReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterServiceEntryReconcileLoop ¶
func NewMulticlusterServiceEntryReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterServiceEntryReconcileLoop
type MulticlusterServiceEntryReconciler ¶
type MulticlusterServiceEntryReconciler interface {
ReconcileServiceEntry(clusterName string, obj *networking_istio_io_v1.ServiceEntry) (reconcile.Result, error)
}
Reconcile Upsert events for the ServiceEntry Resource across clusters. implemented by the user
type MulticlusterServiceEntryReconcilerFuncs ¶
type MulticlusterServiceEntryReconcilerFuncs struct { OnReconcileServiceEntry func(clusterName string, obj *networking_istio_io_v1.ServiceEntry) (reconcile.Result, error) OnReconcileServiceEntryDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterServiceEntryReconcilerFuncs) ReconcileServiceEntry ¶
func (f *MulticlusterServiceEntryReconcilerFuncs) ReconcileServiceEntry(clusterName string, obj *networking_istio_io_v1.ServiceEntry) (reconcile.Result, error)
func (*MulticlusterServiceEntryReconcilerFuncs) ReconcileServiceEntryDeletion ¶
func (f *MulticlusterServiceEntryReconcilerFuncs) ReconcileServiceEntryDeletion(clusterName string, req reconcile.Request) error
type MulticlusterSidecarDeletionReconciler ¶
type MulticlusterSidecarDeletionReconciler interface {
ReconcileSidecarDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the Sidecar Resource across clusters. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type MulticlusterSidecarReconcileLoop ¶
type MulticlusterSidecarReconcileLoop interface { // AddMulticlusterSidecarReconciler adds a MulticlusterSidecarReconciler to the MulticlusterSidecarReconcileLoop. AddMulticlusterSidecarReconciler(ctx context.Context, rec MulticlusterSidecarReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterSidecarReconcileLoop ¶
func NewMulticlusterSidecarReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterSidecarReconcileLoop
type MulticlusterSidecarReconciler ¶
type MulticlusterSidecarReconciler interface {
ReconcileSidecar(clusterName string, obj *networking_istio_io_v1.Sidecar) (reconcile.Result, error)
}
Reconcile Upsert events for the Sidecar Resource across clusters. implemented by the user
type MulticlusterSidecarReconcilerFuncs ¶
type MulticlusterSidecarReconcilerFuncs struct { OnReconcileSidecar func(clusterName string, obj *networking_istio_io_v1.Sidecar) (reconcile.Result, error) OnReconcileSidecarDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterSidecarReconcilerFuncs) ReconcileSidecar ¶
func (f *MulticlusterSidecarReconcilerFuncs) ReconcileSidecar(clusterName string, obj *networking_istio_io_v1.Sidecar) (reconcile.Result, error)
func (*MulticlusterSidecarReconcilerFuncs) ReconcileSidecarDeletion ¶
func (f *MulticlusterSidecarReconcilerFuncs) ReconcileSidecarDeletion(clusterName string, req reconcile.Request) error
type MulticlusterVirtualServiceDeletionReconciler ¶
type MulticlusterVirtualServiceDeletionReconciler interface {
ReconcileVirtualServiceDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the VirtualService Resource across clusters. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type MulticlusterVirtualServiceReconcileLoop ¶
type MulticlusterVirtualServiceReconcileLoop interface { // AddMulticlusterVirtualServiceReconciler adds a MulticlusterVirtualServiceReconciler to the MulticlusterVirtualServiceReconcileLoop. AddMulticlusterVirtualServiceReconciler(ctx context.Context, rec MulticlusterVirtualServiceReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterVirtualServiceReconcileLoop ¶
func NewMulticlusterVirtualServiceReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterVirtualServiceReconcileLoop
type MulticlusterVirtualServiceReconciler ¶
type MulticlusterVirtualServiceReconciler interface {
ReconcileVirtualService(clusterName string, obj *networking_istio_io_v1.VirtualService) (reconcile.Result, error)
}
Reconcile Upsert events for the VirtualService Resource across clusters. implemented by the user
type MulticlusterVirtualServiceReconcilerFuncs ¶
type MulticlusterVirtualServiceReconcilerFuncs struct { OnReconcileVirtualService func(clusterName string, obj *networking_istio_io_v1.VirtualService) (reconcile.Result, error) OnReconcileVirtualServiceDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterVirtualServiceReconcilerFuncs) ReconcileVirtualService ¶
func (f *MulticlusterVirtualServiceReconcilerFuncs) ReconcileVirtualService(clusterName string, obj *networking_istio_io_v1.VirtualService) (reconcile.Result, error)
func (*MulticlusterVirtualServiceReconcilerFuncs) ReconcileVirtualServiceDeletion ¶
func (f *MulticlusterVirtualServiceReconcilerFuncs) ReconcileVirtualServiceDeletion(clusterName string, req reconcile.Request) error
type MulticlusterWorkloadEntryDeletionReconciler ¶
type MulticlusterWorkloadEntryDeletionReconciler interface {
ReconcileWorkloadEntryDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the WorkloadEntry Resource across clusters. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type MulticlusterWorkloadEntryReconcileLoop ¶
type MulticlusterWorkloadEntryReconcileLoop interface { // AddMulticlusterWorkloadEntryReconciler adds a MulticlusterWorkloadEntryReconciler to the MulticlusterWorkloadEntryReconcileLoop. AddMulticlusterWorkloadEntryReconciler(ctx context.Context, rec MulticlusterWorkloadEntryReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterWorkloadEntryReconcileLoop ¶
func NewMulticlusterWorkloadEntryReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterWorkloadEntryReconcileLoop
type MulticlusterWorkloadEntryReconciler ¶
type MulticlusterWorkloadEntryReconciler interface {
ReconcileWorkloadEntry(clusterName string, obj *networking_istio_io_v1.WorkloadEntry) (reconcile.Result, error)
}
Reconcile Upsert events for the WorkloadEntry Resource across clusters. implemented by the user
type MulticlusterWorkloadEntryReconcilerFuncs ¶
type MulticlusterWorkloadEntryReconcilerFuncs struct { OnReconcileWorkloadEntry func(clusterName string, obj *networking_istio_io_v1.WorkloadEntry) (reconcile.Result, error) OnReconcileWorkloadEntryDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterWorkloadEntryReconcilerFuncs) ReconcileWorkloadEntry ¶
func (f *MulticlusterWorkloadEntryReconcilerFuncs) ReconcileWorkloadEntry(clusterName string, obj *networking_istio_io_v1.WorkloadEntry) (reconcile.Result, error)
func (*MulticlusterWorkloadEntryReconcilerFuncs) ReconcileWorkloadEntryDeletion ¶
func (f *MulticlusterWorkloadEntryReconcilerFuncs) ReconcileWorkloadEntryDeletion(clusterName string, req reconcile.Request) error
type MulticlusterWorkloadGroupDeletionReconciler ¶
type MulticlusterWorkloadGroupDeletionReconciler interface {
ReconcileWorkloadGroupDeletion(clusterName string, req reconcile.Request) error
}
Reconcile deletion events for the WorkloadGroup Resource across clusters. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type MulticlusterWorkloadGroupReconcileLoop ¶
type MulticlusterWorkloadGroupReconcileLoop interface { // AddMulticlusterWorkloadGroupReconciler adds a MulticlusterWorkloadGroupReconciler to the MulticlusterWorkloadGroupReconcileLoop. AddMulticlusterWorkloadGroupReconciler(ctx context.Context, rec MulticlusterWorkloadGroupReconciler, predicates ...predicate.Predicate) }
func NewMulticlusterWorkloadGroupReconcileLoop ¶
func NewMulticlusterWorkloadGroupReconcileLoop(name string, cw multicluster.ClusterWatcher, options reconcile.Options) MulticlusterWorkloadGroupReconcileLoop
type MulticlusterWorkloadGroupReconciler ¶
type MulticlusterWorkloadGroupReconciler interface {
ReconcileWorkloadGroup(clusterName string, obj *networking_istio_io_v1.WorkloadGroup) (reconcile.Result, error)
}
Reconcile Upsert events for the WorkloadGroup Resource across clusters. implemented by the user
type MulticlusterWorkloadGroupReconcilerFuncs ¶
type MulticlusterWorkloadGroupReconcilerFuncs struct { OnReconcileWorkloadGroup func(clusterName string, obj *networking_istio_io_v1.WorkloadGroup) (reconcile.Result, error) OnReconcileWorkloadGroupDeletion func(clusterName string, req reconcile.Request) error }
func (*MulticlusterWorkloadGroupReconcilerFuncs) ReconcileWorkloadGroup ¶
func (f *MulticlusterWorkloadGroupReconcilerFuncs) ReconcileWorkloadGroup(clusterName string, obj *networking_istio_io_v1.WorkloadGroup) (reconcile.Result, error)
func (*MulticlusterWorkloadGroupReconcilerFuncs) ReconcileWorkloadGroupDeletion ¶
func (f *MulticlusterWorkloadGroupReconcilerFuncs) ReconcileWorkloadGroupDeletion(clusterName string, req reconcile.Request) error
type ServiceEntryDeletionReconciler ¶
type ServiceEntryDeletionReconciler interface {
ReconcileServiceEntryDeletion(req reconcile.Request) error
}
Reconcile deletion events for the ServiceEntry Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type ServiceEntryEventHandler ¶
type ServiceEntryEventHandler interface { CreateServiceEntry(obj *networking_istio_io_v1.ServiceEntry) error UpdateServiceEntry(old, new *networking_istio_io_v1.ServiceEntry) error DeleteServiceEntry(obj *networking_istio_io_v1.ServiceEntry) error GenericServiceEntry(obj *networking_istio_io_v1.ServiceEntry) error }
Handle events for the ServiceEntry Resource DEPRECATED: Prefer reconciler pattern.
type ServiceEntryEventHandlerFuncs ¶
type ServiceEntryEventHandlerFuncs struct { OnCreate func(obj *networking_istio_io_v1.ServiceEntry) error OnUpdate func(old, new *networking_istio_io_v1.ServiceEntry) error OnDelete func(obj *networking_istio_io_v1.ServiceEntry) error OnGeneric func(obj *networking_istio_io_v1.ServiceEntry) error }
func (*ServiceEntryEventHandlerFuncs) CreateServiceEntry ¶
func (f *ServiceEntryEventHandlerFuncs) CreateServiceEntry(obj *networking_istio_io_v1.ServiceEntry) error
func (*ServiceEntryEventHandlerFuncs) DeleteServiceEntry ¶
func (f *ServiceEntryEventHandlerFuncs) DeleteServiceEntry(obj *networking_istio_io_v1.ServiceEntry) error
func (*ServiceEntryEventHandlerFuncs) GenericServiceEntry ¶
func (f *ServiceEntryEventHandlerFuncs) GenericServiceEntry(obj *networking_istio_io_v1.ServiceEntry) error
func (*ServiceEntryEventHandlerFuncs) UpdateServiceEntry ¶
func (f *ServiceEntryEventHandlerFuncs) UpdateServiceEntry(objOld, objNew *networking_istio_io_v1.ServiceEntry) error
type ServiceEntryEventWatcher ¶
type ServiceEntryEventWatcher interface {
AddEventHandler(ctx context.Context, h ServiceEntryEventHandler, predicates ...predicate.Predicate) error
}
func NewServiceEntryEventWatcher ¶
func NewServiceEntryEventWatcher(name string, mgr manager.Manager) ServiceEntryEventWatcher
type ServiceEntryFinalizer ¶
type ServiceEntryFinalizer interface { ServiceEntryReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task ServiceEntryFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeServiceEntry(obj *networking_istio_io_v1.ServiceEntry) error }
Reconcile and finalize the ServiceEntry Resource implemented by the user
type ServiceEntryReconcileLoop ¶
type ServiceEntryReconcileLoop interface {
RunServiceEntryReconciler(ctx context.Context, rec ServiceEntryReconciler, predicates ...predicate.Predicate) error
}
type ServiceEntryReconciler ¶
type ServiceEntryReconciler interface {
ReconcileServiceEntry(obj *networking_istio_io_v1.ServiceEntry) (reconcile.Result, error)
}
Reconcile Upsert events for the ServiceEntry Resource. implemented by the user
type ServiceEntryReconcilerFuncs ¶
type ServiceEntryReconcilerFuncs struct { OnReconcileServiceEntry func(obj *networking_istio_io_v1.ServiceEntry) (reconcile.Result, error) OnReconcileServiceEntryDeletion func(req reconcile.Request) error }
func (*ServiceEntryReconcilerFuncs) ReconcileServiceEntry ¶
func (f *ServiceEntryReconcilerFuncs) ReconcileServiceEntry(obj *networking_istio_io_v1.ServiceEntry) (reconcile.Result, error)
func (*ServiceEntryReconcilerFuncs) ReconcileServiceEntryDeletion ¶
func (f *ServiceEntryReconcilerFuncs) ReconcileServiceEntryDeletion(req reconcile.Request) error
type SidecarDeletionReconciler ¶
Reconcile deletion events for the Sidecar Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type SidecarEventHandler ¶
type SidecarEventHandler interface { CreateSidecar(obj *networking_istio_io_v1.Sidecar) error UpdateSidecar(old, new *networking_istio_io_v1.Sidecar) error DeleteSidecar(obj *networking_istio_io_v1.Sidecar) error GenericSidecar(obj *networking_istio_io_v1.Sidecar) error }
Handle events for the Sidecar Resource DEPRECATED: Prefer reconciler pattern.
type SidecarEventHandlerFuncs ¶
type SidecarEventHandlerFuncs struct { OnCreate func(obj *networking_istio_io_v1.Sidecar) error OnUpdate func(old, new *networking_istio_io_v1.Sidecar) error OnDelete func(obj *networking_istio_io_v1.Sidecar) error OnGeneric func(obj *networking_istio_io_v1.Sidecar) error }
func (*SidecarEventHandlerFuncs) CreateSidecar ¶
func (f *SidecarEventHandlerFuncs) CreateSidecar(obj *networking_istio_io_v1.Sidecar) error
func (*SidecarEventHandlerFuncs) DeleteSidecar ¶
func (f *SidecarEventHandlerFuncs) DeleteSidecar(obj *networking_istio_io_v1.Sidecar) error
func (*SidecarEventHandlerFuncs) GenericSidecar ¶
func (f *SidecarEventHandlerFuncs) GenericSidecar(obj *networking_istio_io_v1.Sidecar) error
func (*SidecarEventHandlerFuncs) UpdateSidecar ¶
func (f *SidecarEventHandlerFuncs) UpdateSidecar(objOld, objNew *networking_istio_io_v1.Sidecar) error
type SidecarEventWatcher ¶
type SidecarEventWatcher interface {
AddEventHandler(ctx context.Context, h SidecarEventHandler, predicates ...predicate.Predicate) error
}
func NewSidecarEventWatcher ¶
func NewSidecarEventWatcher(name string, mgr manager.Manager) SidecarEventWatcher
type SidecarFinalizer ¶
type SidecarFinalizer interface { SidecarReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task SidecarFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeSidecar(obj *networking_istio_io_v1.Sidecar) error }
Reconcile and finalize the Sidecar Resource implemented by the user
type SidecarReconcileLoop ¶
type SidecarReconcileLoop interface {
RunSidecarReconciler(ctx context.Context, rec SidecarReconciler, predicates ...predicate.Predicate) error
}
func NewSidecarReconcileLoop ¶
type SidecarReconciler ¶
type SidecarReconciler interface {
ReconcileSidecar(obj *networking_istio_io_v1.Sidecar) (reconcile.Result, error)
}
Reconcile Upsert events for the Sidecar Resource. implemented by the user
type SidecarReconcilerFuncs ¶
type SidecarReconcilerFuncs struct { OnReconcileSidecar func(obj *networking_istio_io_v1.Sidecar) (reconcile.Result, error) OnReconcileSidecarDeletion func(req reconcile.Request) error }
func (*SidecarReconcilerFuncs) ReconcileSidecar ¶
func (f *SidecarReconcilerFuncs) ReconcileSidecar(obj *networking_istio_io_v1.Sidecar) (reconcile.Result, error)
func (*SidecarReconcilerFuncs) ReconcileSidecarDeletion ¶
func (f *SidecarReconcilerFuncs) ReconcileSidecarDeletion(req reconcile.Request) error
type VirtualServiceDeletionReconciler ¶
type VirtualServiceDeletionReconciler interface {
ReconcileVirtualServiceDeletion(req reconcile.Request) error
}
Reconcile deletion events for the VirtualService Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type VirtualServiceEventHandler ¶
type VirtualServiceEventHandler interface { CreateVirtualService(obj *networking_istio_io_v1.VirtualService) error UpdateVirtualService(old, new *networking_istio_io_v1.VirtualService) error DeleteVirtualService(obj *networking_istio_io_v1.VirtualService) error GenericVirtualService(obj *networking_istio_io_v1.VirtualService) error }
Handle events for the VirtualService Resource DEPRECATED: Prefer reconciler pattern.
type VirtualServiceEventHandlerFuncs ¶
type VirtualServiceEventHandlerFuncs struct { OnCreate func(obj *networking_istio_io_v1.VirtualService) error OnUpdate func(old, new *networking_istio_io_v1.VirtualService) error OnDelete func(obj *networking_istio_io_v1.VirtualService) error OnGeneric func(obj *networking_istio_io_v1.VirtualService) error }
func (*VirtualServiceEventHandlerFuncs) CreateVirtualService ¶
func (f *VirtualServiceEventHandlerFuncs) CreateVirtualService(obj *networking_istio_io_v1.VirtualService) error
func (*VirtualServiceEventHandlerFuncs) DeleteVirtualService ¶
func (f *VirtualServiceEventHandlerFuncs) DeleteVirtualService(obj *networking_istio_io_v1.VirtualService) error
func (*VirtualServiceEventHandlerFuncs) GenericVirtualService ¶
func (f *VirtualServiceEventHandlerFuncs) GenericVirtualService(obj *networking_istio_io_v1.VirtualService) error
func (*VirtualServiceEventHandlerFuncs) UpdateVirtualService ¶
func (f *VirtualServiceEventHandlerFuncs) UpdateVirtualService(objOld, objNew *networking_istio_io_v1.VirtualService) error
type VirtualServiceEventWatcher ¶
type VirtualServiceEventWatcher interface {
AddEventHandler(ctx context.Context, h VirtualServiceEventHandler, predicates ...predicate.Predicate) error
}
func NewVirtualServiceEventWatcher ¶
func NewVirtualServiceEventWatcher(name string, mgr manager.Manager) VirtualServiceEventWatcher
type VirtualServiceFinalizer ¶
type VirtualServiceFinalizer interface { VirtualServiceReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task VirtualServiceFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeVirtualService(obj *networking_istio_io_v1.VirtualService) error }
Reconcile and finalize the VirtualService Resource implemented by the user
type VirtualServiceReconcileLoop ¶
type VirtualServiceReconcileLoop interface {
RunVirtualServiceReconciler(ctx context.Context, rec VirtualServiceReconciler, predicates ...predicate.Predicate) error
}
type VirtualServiceReconciler ¶
type VirtualServiceReconciler interface {
ReconcileVirtualService(obj *networking_istio_io_v1.VirtualService) (reconcile.Result, error)
}
Reconcile Upsert events for the VirtualService Resource. implemented by the user
type VirtualServiceReconcilerFuncs ¶
type VirtualServiceReconcilerFuncs struct { OnReconcileVirtualService func(obj *networking_istio_io_v1.VirtualService) (reconcile.Result, error) OnReconcileVirtualServiceDeletion func(req reconcile.Request) error }
func (*VirtualServiceReconcilerFuncs) ReconcileVirtualService ¶
func (f *VirtualServiceReconcilerFuncs) ReconcileVirtualService(obj *networking_istio_io_v1.VirtualService) (reconcile.Result, error)
func (*VirtualServiceReconcilerFuncs) ReconcileVirtualServiceDeletion ¶
func (f *VirtualServiceReconcilerFuncs) ReconcileVirtualServiceDeletion(req reconcile.Request) error
type WorkloadEntryDeletionReconciler ¶
type WorkloadEntryDeletionReconciler interface {
ReconcileWorkloadEntryDeletion(req reconcile.Request) error
}
Reconcile deletion events for the WorkloadEntry Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type WorkloadEntryEventHandler ¶
type WorkloadEntryEventHandler interface { CreateWorkloadEntry(obj *networking_istio_io_v1.WorkloadEntry) error UpdateWorkloadEntry(old, new *networking_istio_io_v1.WorkloadEntry) error DeleteWorkloadEntry(obj *networking_istio_io_v1.WorkloadEntry) error GenericWorkloadEntry(obj *networking_istio_io_v1.WorkloadEntry) error }
Handle events for the WorkloadEntry Resource DEPRECATED: Prefer reconciler pattern.
type WorkloadEntryEventHandlerFuncs ¶
type WorkloadEntryEventHandlerFuncs struct { OnCreate func(obj *networking_istio_io_v1.WorkloadEntry) error OnUpdate func(old, new *networking_istio_io_v1.WorkloadEntry) error OnDelete func(obj *networking_istio_io_v1.WorkloadEntry) error OnGeneric func(obj *networking_istio_io_v1.WorkloadEntry) error }
func (*WorkloadEntryEventHandlerFuncs) CreateWorkloadEntry ¶
func (f *WorkloadEntryEventHandlerFuncs) CreateWorkloadEntry(obj *networking_istio_io_v1.WorkloadEntry) error
func (*WorkloadEntryEventHandlerFuncs) DeleteWorkloadEntry ¶
func (f *WorkloadEntryEventHandlerFuncs) DeleteWorkloadEntry(obj *networking_istio_io_v1.WorkloadEntry) error
func (*WorkloadEntryEventHandlerFuncs) GenericWorkloadEntry ¶
func (f *WorkloadEntryEventHandlerFuncs) GenericWorkloadEntry(obj *networking_istio_io_v1.WorkloadEntry) error
func (*WorkloadEntryEventHandlerFuncs) UpdateWorkloadEntry ¶
func (f *WorkloadEntryEventHandlerFuncs) UpdateWorkloadEntry(objOld, objNew *networking_istio_io_v1.WorkloadEntry) error
type WorkloadEntryEventWatcher ¶
type WorkloadEntryEventWatcher interface {
AddEventHandler(ctx context.Context, h WorkloadEntryEventHandler, predicates ...predicate.Predicate) error
}
func NewWorkloadEntryEventWatcher ¶
func NewWorkloadEntryEventWatcher(name string, mgr manager.Manager) WorkloadEntryEventWatcher
type WorkloadEntryFinalizer ¶
type WorkloadEntryFinalizer interface { WorkloadEntryReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task WorkloadEntryFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeWorkloadEntry(obj *networking_istio_io_v1.WorkloadEntry) error }
Reconcile and finalize the WorkloadEntry Resource implemented by the user
type WorkloadEntryReconcileLoop ¶
type WorkloadEntryReconcileLoop interface {
RunWorkloadEntryReconciler(ctx context.Context, rec WorkloadEntryReconciler, predicates ...predicate.Predicate) error
}
type WorkloadEntryReconciler ¶
type WorkloadEntryReconciler interface {
ReconcileWorkloadEntry(obj *networking_istio_io_v1.WorkloadEntry) (reconcile.Result, error)
}
Reconcile Upsert events for the WorkloadEntry Resource. implemented by the user
type WorkloadEntryReconcilerFuncs ¶
type WorkloadEntryReconcilerFuncs struct { OnReconcileWorkloadEntry func(obj *networking_istio_io_v1.WorkloadEntry) (reconcile.Result, error) OnReconcileWorkloadEntryDeletion func(req reconcile.Request) error }
func (*WorkloadEntryReconcilerFuncs) ReconcileWorkloadEntry ¶
func (f *WorkloadEntryReconcilerFuncs) ReconcileWorkloadEntry(obj *networking_istio_io_v1.WorkloadEntry) (reconcile.Result, error)
func (*WorkloadEntryReconcilerFuncs) ReconcileWorkloadEntryDeletion ¶
func (f *WorkloadEntryReconcilerFuncs) ReconcileWorkloadEntryDeletion(req reconcile.Request) error
type WorkloadGroupDeletionReconciler ¶
type WorkloadGroupDeletionReconciler interface {
ReconcileWorkloadGroupDeletion(req reconcile.Request) error
}
Reconcile deletion events for the WorkloadGroup Resource. Deletion receives a reconcile.Request as we cannot guarantee the last state of the object before being deleted. implemented by the user
type WorkloadGroupEventHandler ¶
type WorkloadGroupEventHandler interface { CreateWorkloadGroup(obj *networking_istio_io_v1.WorkloadGroup) error UpdateWorkloadGroup(old, new *networking_istio_io_v1.WorkloadGroup) error DeleteWorkloadGroup(obj *networking_istio_io_v1.WorkloadGroup) error GenericWorkloadGroup(obj *networking_istio_io_v1.WorkloadGroup) error }
Handle events for the WorkloadGroup Resource DEPRECATED: Prefer reconciler pattern.
type WorkloadGroupEventHandlerFuncs ¶
type WorkloadGroupEventHandlerFuncs struct { OnCreate func(obj *networking_istio_io_v1.WorkloadGroup) error OnUpdate func(old, new *networking_istio_io_v1.WorkloadGroup) error OnDelete func(obj *networking_istio_io_v1.WorkloadGroup) error OnGeneric func(obj *networking_istio_io_v1.WorkloadGroup) error }
func (*WorkloadGroupEventHandlerFuncs) CreateWorkloadGroup ¶
func (f *WorkloadGroupEventHandlerFuncs) CreateWorkloadGroup(obj *networking_istio_io_v1.WorkloadGroup) error
func (*WorkloadGroupEventHandlerFuncs) DeleteWorkloadGroup ¶
func (f *WorkloadGroupEventHandlerFuncs) DeleteWorkloadGroup(obj *networking_istio_io_v1.WorkloadGroup) error
func (*WorkloadGroupEventHandlerFuncs) GenericWorkloadGroup ¶
func (f *WorkloadGroupEventHandlerFuncs) GenericWorkloadGroup(obj *networking_istio_io_v1.WorkloadGroup) error
func (*WorkloadGroupEventHandlerFuncs) UpdateWorkloadGroup ¶
func (f *WorkloadGroupEventHandlerFuncs) UpdateWorkloadGroup(objOld, objNew *networking_istio_io_v1.WorkloadGroup) error
type WorkloadGroupEventWatcher ¶
type WorkloadGroupEventWatcher interface {
AddEventHandler(ctx context.Context, h WorkloadGroupEventHandler, predicates ...predicate.Predicate) error
}
func NewWorkloadGroupEventWatcher ¶
func NewWorkloadGroupEventWatcher(name string, mgr manager.Manager) WorkloadGroupEventWatcher
type WorkloadGroupFinalizer ¶
type WorkloadGroupFinalizer interface { WorkloadGroupReconciler // name of the finalizer used by this handler. // finalizer names should be unique for a single task WorkloadGroupFinalizerName() string // finalize the object before it is deleted. // Watchers created with a finalizing handler will a FinalizeWorkloadGroup(obj *networking_istio_io_v1.WorkloadGroup) error }
Reconcile and finalize the WorkloadGroup Resource implemented by the user
type WorkloadGroupReconcileLoop ¶
type WorkloadGroupReconcileLoop interface {
RunWorkloadGroupReconciler(ctx context.Context, rec WorkloadGroupReconciler, predicates ...predicate.Predicate) error
}
type WorkloadGroupReconciler ¶
type WorkloadGroupReconciler interface {
ReconcileWorkloadGroup(obj *networking_istio_io_v1.WorkloadGroup) (reconcile.Result, error)
}
Reconcile Upsert events for the WorkloadGroup Resource. implemented by the user
type WorkloadGroupReconcilerFuncs ¶
type WorkloadGroupReconcilerFuncs struct { OnReconcileWorkloadGroup func(obj *networking_istio_io_v1.WorkloadGroup) (reconcile.Result, error) OnReconcileWorkloadGroupDeletion func(req reconcile.Request) error }
func (*WorkloadGroupReconcilerFuncs) ReconcileWorkloadGroup ¶
func (f *WorkloadGroupReconcilerFuncs) ReconcileWorkloadGroup(obj *networking_istio_io_v1.WorkloadGroup) (reconcile.Result, error)
func (*WorkloadGroupReconcilerFuncs) ReconcileWorkloadGroupDeletion ¶
func (f *WorkloadGroupReconcilerFuncs) ReconcileWorkloadGroupDeletion(req reconcile.Request) error