Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3InstanceReconciler ¶
type S3InstanceReconciler struct {
client.Client
Scheme *runtime.Scheme
ReconcilePeriod time.Duration
S3factory s3factory.S3Factory
ControllerHelper *helpers.ControllerHelper
S3Instancehelper *helpers.S3InstanceHelper
}
S3InstanceReconciler reconciles a S3Instance object
func (*S3InstanceReconciler) Reconcile ¶
func (r *S3InstanceReconciler) Reconcile( ctx context.Context, req ctrl.Request, ) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile
func (*S3InstanceReconciler) SetReconciledCondition ¶
func (r *S3InstanceReconciler) SetReconciledCondition( ctx context.Context, req ctrl.Request, s3InstanceResource *s3v1alpha1.S3Instance, reason string, message string, err error, ) (ctrl.Result, error)
func (*S3InstanceReconciler) SetupWithManager ¶
func (r *S3InstanceReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.*
Click to show internal directories.
Click to hide internal directories.