Documentation
¶
Index ¶
- type PolicyReconciler
- func (r *PolicyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *PolicyReconciler) SetReconciledCondition(ctx context.Context, req ctrl.Request, policyResource *s3v1alpha1.Policy, ...) (ctrl.Result, error)
- func (r *PolicyReconciler) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyReconciler ¶
type PolicyReconciler struct { client.Client Scheme *runtime.Scheme ReconcilePeriod time.Duration S3factory s3factory.S3Factory ControllerHelper *helpers.ControllerHelper S3Instancehelper *helpers.S3InstanceHelper }
PolicyReconciler reconciles a Policy object
func (*PolicyReconciler) Reconcile ¶
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 (*PolicyReconciler) SetReconciledCondition ¶
func (*PolicyReconciler) SetupWithManager ¶
func (r *PolicyReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.