Documentation ¶
Index ¶
- Variables
- func Add(mgr manager.Manager) error
- type ReconcileBarometer
- func (r *ReconcileBarometer) CheckForConfigMap(instance *collectdv1alpha1.Barometer, reqLogger logr.Logger) ReturnValues
- func (r *ReconcileBarometer) Reconcile(request reconcile.Request) (reconcile.Result, error)
- func (r *ReconcileBarometer) ReconcileConfigMap(instance *collectdv1alpha1.Barometer, reqLogger logr.Logger) ReturnValues
- func (r *ReconcileBarometer) ReconcileDeployment(instance *collectdv1alpha1.Barometer, cmVersion string, reqLogger logr.Logger) ReturnValues
- func (r *ReconcileBarometer) ReconcileServiceAccount(instance *collectdv1alpha1.Barometer, reqLogger logr.Logger) ReturnValues
- func (r *ReconcileBarometer) UpdateCondition(instance *collectdv1alpha1.Barometer, reason string, reqLogger logr.Logger) error
- type ReturnValues
Constants ¶
This section is empty.
Variables ¶
var OperatorName = "UNKNOW"
Functions ¶
Types ¶
type ReconcileBarometer ¶
type ReconcileBarometer struct {
// contains filtered or unexported fields
}
ReconcileBarometer reconciles a Barometer object
func (*ReconcileBarometer) CheckForConfigMap ¶
func (r *ReconcileBarometer) CheckForConfigMap(instance *collectdv1alpha1.Barometer, reqLogger logr.Logger) ReturnValues
CheckForConfigMap ..If configmap doesn't exist , do not deploy/
func (*ReconcileBarometer) Reconcile ¶
Reconcile reads that state of the cluster for a Barometer object and makes changes based on the state read and what is in the Barometer.Spec TODO(user): Modify this Reconcile function to implement your Controller logic. This example creates a Pod as an example 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 (*ReconcileBarometer) ReconcileConfigMap ¶
func (r *ReconcileBarometer) ReconcileConfigMap(instance *collectdv1alpha1.Barometer, reqLogger logr.Logger) ReturnValues
ReconcileConfigMap ..DON'T use this function for now... /
func (*ReconcileBarometer) ReconcileDeployment ¶
func (r *ReconcileBarometer) ReconcileDeployment(instance *collectdv1alpha1.Barometer, cmVersion string, reqLogger logr.Logger) ReturnValues
ReconcileDeployment ...
func (*ReconcileBarometer) ReconcileServiceAccount ¶
func (r *ReconcileBarometer) ReconcileServiceAccount(instance *collectdv1alpha1.Barometer, reqLogger logr.Logger) ReturnValues
ReconcileServiceAccount ...
func (*ReconcileBarometer) UpdateCondition ¶
func (r *ReconcileBarometer) UpdateCondition(instance *collectdv1alpha1.Barometer, reason string, reqLogger logr.Logger) error
UpdateCondition ...
type ReturnValues ¶
type ReturnValues struct {
// contains filtered or unexported fields
}
ReturnValues ...