notification

package
v1.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2026 License: Apache-2.0 Imports: 39 Imported by: 1

Documentation

Overview

Package notification to manage a rook bucket notifications.

Package notification to manage a rook bucket notifications.

Package notification to manage a rook bucket notifications.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr manager.Manager, context *clusterd.Context, opManagerContext context.Context, opConfig opcontroller.OperatorConfig) error

Add creates a new CephBucketNotification controller and a new ObjectBucketClaim Controller and adds it to the Manager. The Manager will set fields on the Controller and start it when the Manager is started.

func DeleteBucketNotification

func DeleteBucketNotification(ctx context.Context, client *s3.Client, input *DeleteBucketNotificationRequestInput, notificationId string) error

DeleteBucketNotification sends a Ceph-specific DELETE request to remove a bucket notification configuration. This is not part of the standard AWS S3 API, so we build and sign the HTTP request manually using the v2 client's credentials and endpoint.

Types

type DeleteBucketNotificationRequestInput

type DeleteBucketNotificationRequestInput struct {
	// Bucket is a required field
	Bucket *string

	// The account id of the expected bucket owner. If the bucket is owned by a
	// different account, the request will fail with an HTTP 403 (Access Denied)
	// error.
	ExpectedBucketOwner *string
}

type ReconcileNotifications

type ReconcileNotifications struct {
	// contains filtered or unexported fields
}

ReconcileNotifications reconciles a CephbucketNotification

func (*ReconcileNotifications) Reconcile

func (r *ReconcileNotifications) Reconcile(context context.Context, request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a CephBucketNotification object and makes changes based on the state read 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.

type ReconcileOBCLabels

type ReconcileOBCLabels struct {
	// contains filtered or unexported fields
}

ReconcileOBCLabels reconciles a ObjectBucketClaim labels

func (*ReconcileOBCLabels) Reconcile

func (r *ReconcileOBCLabels) Reconcile(context context.Context, request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the cluster for a ObjectBucketClaim object and makes changes based on the state read and the ObjectBucketClaim labels 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL