Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReloadEvent ¶
func NewReloadEvent() event.GenericEvent
Types ¶
type ConfigReconciler ¶
type ConfigReconciler struct { client.Client Logger log.Logger Scheme *runtime.Scheme Namespace string Handler func(log.Logger, *config.Config) SyncState ValidateConfig config.Validate ForceReload func() BGPType string }
func (*ConfigReconciler) SetupWithManager ¶
func (r *ConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
type NeedEndPoints ¶
type NeedEndPoints int
const ( NoNeed NeedEndPoints = iota Endpoints EndpointSlices )
type NodeReconciler ¶
type NodeReconciler struct { client.Client Logger log.Logger Scheme *runtime.Scheme NodeName string Namespace string Handler func(log.Logger, *v1.Node) SyncState }
func (*NodeReconciler) SetupWithManager ¶
func (r *NodeReconciler) SetupWithManager(mgr ctrl.Manager) error
type PoolReconciler ¶
type PoolReconciler struct { client.Client Logger log.Logger Scheme *runtime.Scheme Namespace string Handler func(log.Logger, map[string]*config.Pool) SyncState ValidateConfig config.Validate ForceReload func() }
func (*PoolReconciler) SetupWithManager ¶
func (r *PoolReconciler) SetupWithManager(mgr ctrl.Manager) error
type ServiceReconciler ¶
type ServiceReconciler struct { client.Client Logger log.Logger Scheme *runtime.Scheme Namespace string Handler func(log.Logger, string, *v1.Service, epslices.EpsOrSlices) SyncState Endpoints NeedEndPoints LoadBalancerClass string Reload chan event.GenericEvent }
func (*ServiceReconciler) SetupWithManager ¶
func (r *ServiceReconciler) SetupWithManager(mgr ctrl.Manager) error
type SyncState ¶
type SyncState int
SyncState is the result of calling synchronization callbacks.
const ( // The update was processed successfully. SyncStateSuccess SyncState = iota // The update caused a transient error, the k8s client should // retry later. SyncStateError // The update was accepted, but requires reprocessing all watched // services. SyncStateReprocessAll // The update caused a non transient error, the k8s client should // just report and giveup. SyncStateErrorNoRetry )
Click to show internal directories.
Click to hide internal directories.