Documentation
¶
Index ¶
- type L2ServiceAttachmentReconciler
- func (r *L2ServiceAttachmentReconciler) CheckL2ServicesStatus(ctx context.Context, log logr.Logger, s *enov1alpha1.L2ServiceAttachment) (bool, error)
- func (r *L2ServiceAttachmentReconciler) DefineNetAttachDef(ctx context.Context, log logr.Logger, s *enov1alpha1.L2ServiceAttachment) (*uns.Unstructured, error)
- func (r *L2ServiceAttachmentReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)
- func (r *L2ServiceAttachmentReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *L2ServiceAttachmentReconciler) UpdateStatus(ctx context.Context, req ctrl.Request, log logr.Logger, phase, message string) error
- type L2ServiceReconciler
- func (r *L2ServiceReconciler) DefineBridgeDomain(ctx context.Context, log logr.Logger, s *enov1alpha1.L2Service) (*enov1alpha1.L2BridgeDomain, error)
- func (r *L2ServiceReconciler) DiffDesiredActual(desiredCPs, actualCPs []string) bool
- func (r *L2ServiceReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)
- func (r *L2ServiceReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *L2ServiceReconciler) UpdateStatus(ctx context.Context, log logr.Logger, statusCPs []string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type L2ServiceAttachmentReconciler ¶
type L2ServiceAttachmentReconciler struct { client.Client Log logr.Logger Scheme *runtime.Scheme Config *config.Configuration CniMap map[string]cni.Cnier IpamMap map[string]cni.Ipam }
L2ServiceAttachmentReconciler reconciles a L2ServiceAttachment object
func (*L2ServiceAttachmentReconciler) CheckL2ServicesStatus ¶
func (r *L2ServiceAttachmentReconciler) CheckL2ServicesStatus(ctx context.Context, log logr.Logger, s *enov1alpha1.L2ServiceAttachment) (bool, error)
Check status of the L2Services so we can update the status of L2ServiceAttachment
func (*L2ServiceAttachmentReconciler) DefineNetAttachDef ¶
func (r *L2ServiceAttachmentReconciler) DefineNetAttachDef(ctx context.Context, log logr.Logger, s *enov1alpha1.L2ServiceAttachment) (*uns.Unstructured, error)
DefineNetAttachDef - Create and returns an Unstructured net-attach-def
func (*L2ServiceAttachmentReconciler) SetupWithManager ¶
func (r *L2ServiceAttachmentReconciler) SetupWithManager(mgr ctrl.Manager) error
type L2ServiceReconciler ¶
L2ServiceReconciler reconciles a L2Service object
func (*L2ServiceReconciler) DefineBridgeDomain ¶
func (r *L2ServiceReconciler) DefineBridgeDomain(ctx context.Context, log logr.Logger, s *enov1alpha1.L2Service) (*enov1alpha1.L2BridgeDomain, error)
DefineBridgeDomain - Create and returns a L2BridgeDomain resource
func (*L2ServiceReconciler) DiffDesiredActual ¶
func (r *L2ServiceReconciler) DiffDesiredActual(desiredCPs, actualCPs []string) bool
func (*L2ServiceReconciler) SetupWithManager ¶
func (r *L2ServiceReconciler) SetupWithManager(mgr ctrl.Manager) error
func (*L2ServiceReconciler) UpdateStatus ¶
func (r *L2ServiceReconciler) UpdateStatus(ctx context.Context, log logr.Logger, statusCPs []string, phase, message string, lTwoSvc *enov1alpha1.L2Service) error
UpdateStatus - Update the Status of L2Service instance
Click to show internal directories.
Click to hide internal directories.