Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Reconciler ¶ added in v1.6.0
type Reconciler struct { client.Client Log *zap.SugaredLogger Scheme *runtime.Scheme AgentChannel chan clusters.StatusUpdateMessage }
Reconciler reconciles one iteration of the Managed cluster agent
func (*Reconciler) SetupWithManager ¶ added in v1.6.0
func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager registers our controller with the manager
type Syncer ¶
type Syncer struct { AdminClient client.Client LocalClient client.Client LocalDiscoveryClient discovery.DiscoveryInterface Log *zap.SugaredLogger ManagedClusterName string Context context.Context // List of namespaces to watch for multi-cluster objects. ProjectNamespaces []string StatusUpdateChannel chan clusters.StatusUpdateMessage }
Syncer contains context for synchronize operations
func (*Syncer) SyncMultiClusterResources ¶
func (s *Syncer) SyncMultiClusterResources()
SyncMultiClusterResources - sync multi-cluster objects
Click to show internal directories.
Click to hide internal directories.