controllers

package
v0.0.0-...-1d215ed Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2023 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

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

Check status of the L2Services so we can update the status of L2ServiceAttachment

func (*L2ServiceAttachmentReconciler) DefineNetAttachDef

DefineNetAttachDef - Create and returns an Unstructured net-attach-def

func (*L2ServiceAttachmentReconciler) Reconcile

func (*L2ServiceAttachmentReconciler) SetupWithManager

func (r *L2ServiceAttachmentReconciler) SetupWithManager(mgr ctrl.Manager) error

func (*L2ServiceAttachmentReconciler) UpdateStatus

func (r *L2ServiceAttachmentReconciler) UpdateStatus(ctx context.Context, req ctrl.Request, log logr.Logger, phase, message string) error

UpdateStatus - Update the Status of L2ServiceAttachment instance

type L2ServiceReconciler

type L2ServiceReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
}

L2ServiceReconciler reconciles a L2Service object

func (*L2ServiceReconciler) DefineBridgeDomain

DefineBridgeDomain - Create and returns a L2BridgeDomain resource

func (*L2ServiceReconciler) DiffDesiredActual

func (r *L2ServiceReconciler) DiffDesiredActual(desiredCPs, actualCPs []string) bool

func (*L2ServiceReconciler) Reconcile

func (r *L2ServiceReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL