mattermost

package
v1.21.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MattermostReconciler

type MattermostReconciler struct {
	client.Client
	NonCachedAPIReader  client.Reader
	Log                 logr.Logger
	Scheme              *runtime.Scheme
	MaxReconciling      int
	RequeueOnLimitDelay time.Duration
	Resources           *resources.ResourceHelper
	// contains filtered or unexported fields
}

MattermostReconciler reconciles a Mattermost object

func NewMattermostReconciler

func NewMattermostReconciler(mgr ctrl.Manager, maxReconciling int, requeueOnLimitDelay time.Duration) *MattermostReconciler

func (*MattermostReconciler) Reconcile

func (r *MattermostReconciler) Reconcile(ctx context.Context, request ctrl.Request) (ctrl.Result, error)

Reconcile reads the state of the cluster for a Mattermost object and makes changes to obtain the exact state defined in `Mattermost.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 (*MattermostReconciler) SetupWithManager

func (r *MattermostReconciler) SetupWithManager(mgr ctrl.Manager, maxConcurrency int) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL