Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TokenReconciler ¶
type TokenReconciler struct { cache.Cache HubClient client.Client HubNativeClient kubernetes.Interface SpokeNativeClient kubernetes.Interface SpokeDiscoveryClient discovery.DiscoveryInterface SpokeClientConfig *rest.Config SpokeNamespace string ClusterName string SpokeCache cache.Cache // CreateTokenByDefaultSecret indicates whether to create the service account token by getting the default secret, // if the api server is < 1.22, this should be true, otherwise, it should be false and the token will be requested // by token request api CreateTokenByDefaultSecret bool }
func (*TokenReconciler) SetupWithManager ¶
func (r *TokenReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.