Documentation
¶
Index ¶
- func IsPolicyMatchingWithCustomResource(policyResource *s3v1alpha1.Policy, effectivePolicy *madmin.PolicyInfo) (bool, error)
- type BucketReconciler
- func (r *BucketReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *BucketReconciler) SetBucketStatusConditionAndUpdate(ctx context.Context, bucketResource *s3v1alpha1.Bucket, conditionType string, ...) (ctrl.Result, error)
- func (r *BucketReconciler) SetupWithManager(mgr ctrl.Manager) error
- type PathReconciler
- func (r *PathReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *PathReconciler) SetPathStatusConditionAndUpdate(ctx context.Context, pathResource *s3v1alpha1.Path, conditionType string, ...) (ctrl.Result, error)
- func (r *PathReconciler) SetupWithManager(mgr ctrl.Manager) error
- type PolicyReconciler
- func (r *PolicyReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *PolicyReconciler) SetPolicyStatusConditionAndUpdate(ctx context.Context, policyResource *s3v1alpha1.Policy, conditionType string, ...) (ctrl.Result, error)
- func (r *PolicyReconciler) SetupWithManager(mgr ctrl.Manager) error
- type S3UserReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPolicyMatchingWithCustomResource ¶
func IsPolicyMatchingWithCustomResource(policyResource *s3v1alpha1.Policy, effectivePolicy *madmin.PolicyInfo) (bool, error)
Types ¶
type BucketReconciler ¶
type BucketReconciler struct {
client.Client
Scheme *runtime.Scheme
S3Client factory.S3Client
BucketDeletion bool
}
BucketReconciler reconciles a Bucket object
func (*BucketReconciler) 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/[email protected]/pkg/reconcile
func (*BucketReconciler) SetBucketStatusConditionAndUpdate ¶
func (r *BucketReconciler) SetBucketStatusConditionAndUpdate(ctx context.Context, bucketResource *s3v1alpha1.Bucket, conditionType string, status metav1.ConditionStatus, reason string, message string, srcError error) (ctrl.Result, error)
func (*BucketReconciler) SetupWithManager ¶
func (r *BucketReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.*
type PathReconciler ¶
type PathReconciler struct {
client.Client
Scheme *runtime.Scheme
S3Client factory.S3Client
PathDeletion bool
}
PathReconciler reconciles a Path object
func (*PathReconciler) 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/[email protected]/pkg/reconcile
func (*PathReconciler) SetPathStatusConditionAndUpdate ¶
func (r *PathReconciler) SetPathStatusConditionAndUpdate(ctx context.Context, pathResource *s3v1alpha1.Path, conditionType string, status metav1.ConditionStatus, reason string, message string, srcError error) (ctrl.Result, error)
func (*PathReconciler) SetupWithManager ¶
func (r *PathReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type PolicyReconciler ¶
type PolicyReconciler struct {
client.Client
Scheme *runtime.Scheme
S3Client factory.S3Client
PolicyDeletion bool
}
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/[email protected]/pkg/reconcile
func (*PolicyReconciler) SetPolicyStatusConditionAndUpdate ¶
func (r *PolicyReconciler) SetPolicyStatusConditionAndUpdate(ctx context.Context, policyResource *s3v1alpha1.Policy, conditionType string, status metav1.ConditionStatus, reason string, message string, srcError error) (ctrl.Result, error)
func (*PolicyReconciler) SetupWithManager ¶
func (r *PolicyReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type S3UserReconciler ¶ added in v0.9.0
type S3UserReconciler struct {
client.Client
Scheme *runtime.Scheme
S3Client factory.S3Client
S3UserDeletion bool
OverrideExistingSecret bool
}
S3UserReconciler reconciles a S3User object
func (*S3UserReconciler) Reconcile ¶ added in v0.9.0
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/[email protected]/pkg/reconcile
func (*S3UserReconciler) SetupWithManager ¶ added in v0.9.0
func (r *S3UserReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.*