Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterSDS

func RegisterSDS(rt core_runtime.Runtime, sdsMetrics *sds_metrics.Metrics) error

Types

type DataplaneReconciler

type DataplaneReconciler struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

DataplaneReconciler keeps the state of the Cache for SDS consistent When Dataplane connects to the Control Plane, the Watchdog (separate goroutine) is started which on the defined interval execute DataplaneReconciler#Reconcile. It will then check if certs needs to be regenerated because Mesh CA was changed This follows the same pattern as XDS.

func (*DataplaneReconciler) Cleanup

func (d *DataplaneReconciler) Cleanup(dataplaneId core_model.ResourceKey) error

func (*DataplaneReconciler) Reconcile

func (d *DataplaneReconciler) Reconcile(dataplaneId core_model.ResourceKey) error