Documentation
¶
Overview ¶
Package ipmapping contains the logic to connect the network moduler with the offloading one.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfigurationReconciler ¶
type ConfigurationReconciler struct { Client client.Client Scheme *runtime.Scheme EventsRecorder record.EventRecorder }
ConfigurationReconciler creates a mapping for the UnknownSourceIP for each remote cluster. This allows traffic with "external" source IPs to be routed from a leaf cluster to another.
func NewConfigurationReconciler ¶
func NewConfigurationReconciler(cl client.Client, s *runtime.Scheme, er record.EventRecorder) *ConfigurationReconciler
NewConfigurationReconciler returns a new PublicKeysReconciler.
func (*ConfigurationReconciler) Reconcile ¶
func (r *ConfigurationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile manage Configuration resources.
func (*ConfigurationReconciler) SetupWithManager ¶
func (r *ConfigurationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager register the RemappingReconciler to the manager.
type OffloadedPodReconciler ¶
type OffloadedPodReconciler struct { client.Client Scheme *runtime.Scheme EventsRecorder record.EventRecorder }
OffloadedPodReconciler manage offloaded pods lifecycle.
func NewOffloadedPodReconciler ¶
func NewOffloadedPodReconciler(cl client.Client, s *runtime.Scheme, er record.EventRecorder) *OffloadedPodReconciler
NewOffloadedPodReconciler returns a new OffloadedPodReconciler.
func (*OffloadedPodReconciler) Reconcile ¶
func (r *OffloadedPodReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile reconciles on offloaded pods.
func (*OffloadedPodReconciler) SetupWithManager ¶
func (r *OffloadedPodReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager monitors updates on nodes.