Documentation ¶
Index ¶
Constants ¶
View Source
const ( INIT string = "init" ERROR string = "error" END string = "end" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶
type Reconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme MeshClient client.Client WorkerGWSidecarClient WorkerGWSidecarClientProvider WorkerRouterClient WorkerRouterClientProvider EventRecorder *events.EventRecorder FSM *fsm.FSM }
func (*Reconciler) InjectClient ¶
func (a *Reconciler) InjectClient(c client.Client) error
func (*Reconciler) SetupWithManager ¶
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up reconciler with manager
type WorkerRouterClientProvider ¶
type WorkerRouterClientProvider interface { UpdateEcmpRoutes(ctx context.Context, serverAddr string, ecmpUpdateInfo *router.UpdateEcmpInfo) error GetRouteInKernel(ctx context.Context, serverAddr string, sliceRouterConnCtx *router.GetRouteConfig) (*sidecar.VerifyRouteAddResponse, error) }
Click to show internal directories.
Click to hide internal directories.