Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddonManager ¶
type AddonManager interface { // AddAgent register an addon agent to the manager. AddAgent(addon agent.AgentAddon) error // Trigger triggers a reconcile loop in the manager. Currently it // only trigger the deploy controller. Trigger(clusterName, addonName string) // Start starts all registered addon agent. Start(ctx context.Context) error // StartWithInformers starts all registered addon agent with the given informers. StartWithInformers(ctx context.Context, kubeInformers kubeinformers.SharedInformerFactory, workInformers workv1informers.SharedInformerFactory, addonInformers addoninformers.SharedInformerFactory, clusterInformers clusterv1informers.SharedInformerFactory, dynamicInformers dynamicinformer.DynamicSharedInformerFactory) error }
AddonManager is the interface to initialize a manager on hub to manage the addon agents on all managedcluster
Click to show internal directories.
Click to hide internal directories.