Documentation
¶
Index ¶
- type ClusterInstallationReconciler
- func (r *ClusterInstallationReconciler) ConvertToMM(ci *mattermostv1alpha1.ClusterInstallation) (*mattermostv1beta1.Mattermost, error)
- func (r *ClusterInstallationReconciler) HandleMigration(ci *mattermostv1alpha1.ClusterInstallation, logger logr.Logger) (MigrationResult, error)
- func (r *ClusterInstallationReconciler) IsConvertible(ci *mattermostv1alpha1.ClusterInstallation) error
- func (r *ClusterInstallationReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
- func (r *ClusterInstallationReconciler) SetupWithManager(mgr ctrl.Manager) error
- type MigrationResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterInstallationReconciler ¶
type ClusterInstallationReconciler struct { client.Client NonCachedAPIReader client.Reader Log logr.Logger Scheme *runtime.Scheme MaxReconciling int RequeueOnLimitDelay time.Duration Resources *resources.ResourceHelper }
ClusterInstallationReconciler reconciles a ClusterInstallation object
func (*ClusterInstallationReconciler) ConvertToMM ¶ added in v1.12.0
func (r *ClusterInstallationReconciler) ConvertToMM(ci *mattermostv1alpha1.ClusterInstallation) (*mattermostv1beta1.Mattermost, error)
func (*ClusterInstallationReconciler) HandleMigration ¶ added in v1.12.0
func (r *ClusterInstallationReconciler) HandleMigration(ci *mattermostv1alpha1.ClusterInstallation, logger logr.Logger) (MigrationResult, error)
HandleMigration performs necessary steps to migrate ClusterInstallation to Mattermost.
func (*ClusterInstallationReconciler) IsConvertible ¶ added in v1.12.0
func (r *ClusterInstallationReconciler) IsConvertible(ci *mattermostv1alpha1.ClusterInstallation) error
func (*ClusterInstallationReconciler) Reconcile ¶
func (r *ClusterInstallationReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)
Reconcile reads the state of the cluster for a ClusterInstallation object and makes changes to obtain the exact state defined in `ClusterInstallation.Spec`.
Note: The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
func (*ClusterInstallationReconciler) SetupWithManager ¶
func (r *ClusterInstallationReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.