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 ¶
type HubManagerOptions struct {
ClusterAutoApprovalUsers []string
}
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, clusterClient clusterv1client.Interface, addOnClient addonclient.Interface, kubeInformers kubeinformers.SharedInformerFactory, clusterInformers clusterv1informers.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 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 csr contains the hub-side reconciler for auto approving the renewal CertificateSigningRequests for an accepted managed cluster
|
package csr contains the hub-side reconciler for auto approving the renewal CertificateSigningRequests for an accepted managed cluster |
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 rbacfinalizerdeletion contains the hub-side reconciler to cleanup finalizer on role/rolebinding in cluster namespace when ManagedCluster is being deleted.
|
package rbacfinalizerdeletion contains the hub-side reconciler to cleanup finalizer on role/rolebinding in cluster namespace when ManagedCluster is being deleted. |
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.