Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
Controller is a simple interface that unifies the way of initializing reconcilers with ctrl.Manager.
type ControllerFactory ¶
type ControllerFactory func(mgr ctrl.Manager, consoleClient client.ConsoleClient, userGroupCache cache.UserGroupCache, credentialsCache credentials.NamespaceCredentialsCache) Controller
type Reconciler ¶
type Reconciler string
Reconciler is a name of reconciler supported by this controller.
const ( GitRepositoryReconciler Reconciler = "gitrepository" HelmRepositoryReconciler Reconciler = "helmrepository" ServiceDeploymentReconciler Reconciler = "servicedeployment" ClusterReconciler Reconciler = "cluster" ClusterRestoreReconciler Reconciler = "clusterrestore" ProviderReconciler Reconciler = "provider" GlobalServiceReconciler Reconciler = "globalservice" PipelineReconciler Reconciler = "pipeline" ScmConnectionReconciler Reconciler = "scmconnection" ServiceAccountReconciler Reconciler = "serviceaccount" PrAutomationReconciler Reconciler = "prautomation" PipelineContextReconciler Reconciler = "pipelinecontext" ClusterRestoreTriggerReconciler Reconciler = "restoretrigger" PrAutomationTriggerReconciler Reconciler = "prautomationtrigger" NotificationSinkReconciler Reconciler = "notificationsink" NotificationRouterReconciler Reconciler = "notificationrouter" ManagedNamespaceReconciler Reconciler = "managednamespace" StackReconciler Reconciler = "stack" StackDefinitionReconciler Reconciler = "stackdefinition" CustomStackRunReconciler Reconciler = "customstackrun" DeploymentSettingsReconciler Reconciler = "deploymentsettings" ProjectReconciler Reconciler = "project" NamespaceCredentialsReconciler Reconciler = "namespacecredentials" ObservabilityProviderReconciler Reconciler = "observabilityprovider" ObserverReconciler Reconciler = "observerprovider" CatalogReconciler Reconciler = "catalogprovider" OIDCProviderReconciler Reconciler = "oidcprovider" GeneratedSecretReconciler Reconciler = "generatedsecret" BootstrapTokenReconciler Reconciler = "bootstraptoken" FlowReconciler Reconciler = "flow" MCPServerReconciler Reconciler = "mcpserver" )
func ToReconciler ¶
func ToReconciler(reconciler string) (Reconciler, error)
ToReconciler maps reconciler string to a Reconciler type.
func (Reconciler) ToController ¶
func (sc Reconciler) ToController(mgr ctrl.Manager, consoleClient client.ConsoleClient, userGroupCache cache.UserGroupCache, credentialsCache credentials.NamespaceCredentialsCache) (Controller, error)
ToController maps a Reconciler to its corresponding Controller.
type ReconcilerList ¶
type ReconcilerList []Reconciler
ReconcilerList is a wrapper around Reconciler array type to allow defining custom functions.
func Reconcilers ¶
func Reconcilers() ReconcilerList
Reconcilers defines a list of reconcilers that will be started by default if '--reconcilers=...' flag is not provided.
func (ReconcilerList) ToControllers ¶
func (rl ReconcilerList) ToControllers(mgr ctrl.Manager, url, token string, userGroupCache cache.UserGroupCache, credentialsCache credentials.NamespaceCredentialsCache) ([]Controller, error)
ToControllers returns a list of Controller instances based on this Reconciler array.
Click to show internal directories.
Click to hide internal directories.