Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var CreateMonitoring = true
CreateMonitoring controls if the operator will create a monitoring resources.
Functions ¶
Types ¶
type ReconcileLinstorSatelliteSet ¶
type ReconcileLinstorSatelliteSet struct {
// contains filtered or unexported fields
}
ReconcileLinstorSatelliteSet reconciles a LinstorSatelliteSet object
func (*ReconcileLinstorSatelliteSet) Reconcile ¶
func (r *ReconcileLinstorSatelliteSet) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a LinstorSatelliteSet object and makes changes based on the state read and what is in the LinstorSatelliteSet.Spec 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. This function is a mini-main function and has a lot of boilerplate code that doesn't make a lot of sense to put elsewhere, so don't lint it for cyclomatic complexity. nolint:gocyclo