Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentOptions ¶
type AgentOptions struct { Log logr.Logger HubKubeconfigFile string SpokeClusterName string AddonName string AddonNamespace string }
AgentOptions defines the flags for workload agent.
func NewAgentOptions ¶
func NewAgentOptions(addonName string, logger logr.Logger) *AgentOptions
NewAgentOptions returns new instance of AgentOptions.
func (*AgentOptions) AddFlags ¶
func (o *AgentOptions) AddFlags(cmd *cobra.Command)
AddFlags adds the hub kubeconfig location and spoke cluster name as flags.
type CappSyncReconciler ¶
func (*CappSyncReconciler) Reconcile ¶
Reconcile listens to Capp events on the spoke clusters and synchronizes the Capp status from the spoke cluster to the hub cluster.
func (*CappSyncReconciler) SetupWithManager ¶
func (r *CappSyncReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.