Documentation ¶
Index ¶
- type HubManagerOptions
- func (m *HubManagerOptions) AddFlags(fs *pflag.FlagSet)
- func (m *HubManagerOptions) RunControllerManager(ctx context.Context, controllerContext *controllercmd.ControllerContext) error
- func (m *HubManagerOptions) RunControllerManagerWithInformers(ctx context.Context, controllerContext *controllercmd.ControllerContext, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HubManagerOptions ¶
HubManagerOptions holds configuration for hub manager controller
func NewHubManagerOptions ¶
func NewHubManagerOptions() *HubManagerOptions
NewHubManagerOptions returns a HubManagerOptions
func (*HubManagerOptions) AddFlags ¶
func (m *HubManagerOptions) AddFlags(fs *pflag.FlagSet)
AddFlags registers flags for manager
func (*HubManagerOptions) RunControllerManager ¶
func (m *HubManagerOptions) RunControllerManager(ctx context.Context, controllerContext *controllercmd.ControllerContext) error
RunControllerManager starts the controllers on hub to manage spoke cluster registration.
func (*HubManagerOptions) RunControllerManagerWithInformers ¶ added in v0.12.0
func (m *HubManagerOptions) RunControllerManagerWithInformers( ctx context.Context, controllerContext *controllercmd.ControllerContext, kubeClient kubernetes.Interface, metadataClient metadata.Interface, clusterClient clusterv1client.Interface, clusterProfileClient cpclientset.Interface, addOnClient addonclient.Interface, kubeInformers kubeinformers.SharedInformerFactory, clusterInformers clusterv1informers.SharedInformerFactory, clusterProfileInformers cpinformerv1alpha1.SharedInformerFactory, workInformers workv1informers.SharedInformerFactory, addOnInformers addoninformers.SharedInformerFactory, ) error
Directories ¶
Path | Synopsis |
---|---|
package addon contains the hub-side controllers for updating addon status and rotating the addon certificate.
|
package addon contains the hub-side controllers for updating addon status and rotating the addon certificate. |
package clusterprofile contains the hub-side reconciler for the ClusterProfile resource.
|
package clusterprofile contains the hub-side reconciler for the ClusterProfile resource. |
package clusterrole contains the hub-side reconciler for the ManagedCluster necessary clusterrole resource.
|
package clusterrole contains the hub-side reconciler for the ManagedCluster necessary clusterrole resource. |
package gc contains the hub-side reconciler to cleanup finalizer on role/rolebinding in cluster namespace when ManagedCluster is being deleted.
|
package gc contains the hub-side reconciler to cleanup finalizer on role/rolebinding in cluster namespace when ManagedCluster is being deleted. |
package lease contains the hub-side controller for checking an accepted spoke cluster whether is available
|
package lease contains the hub-side controller for checking an accepted spoke cluster whether is available |
package managedcluster contains the hub-side reconciler for the ManagedCluster resource.
|
package managedcluster contains the hub-side reconciler for the ManagedCluster resource. |
Package user contains common definition works for kubernetes certificates
|
Package user contains common definition works for kubernetes certificates |
Click to show internal directories.
Click to hide internal directories.