bucketcontroller

package
v0.5.11 Latest Latest
Warning

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

Go to latest
Published: May 4, 2026 License: BSD-3-Clause Imports: 24 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupController

func SetupController(mgr ctrl.Manager) error

SetupController adds a controller that reconciles cloudscalev1.Bucket managed resources.

func SetupWebhook

func SetupWebhook(mgr ctrl.Manager) error

SetupWebhook adds a webhook for Bucket managed resources.

Types

type BucketValidator

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

BucketValidator validates admission requests.

func (*BucketValidator) ValidateCreate

func (v *BucketValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)

ValidateCreate implements admission.CustomValidator.

func (*BucketValidator) ValidateDelete

func (v *BucketValidator) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)

ValidateDelete implements admission.CustomValidator.

func (*BucketValidator) ValidateUpdate

func (v *BucketValidator) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

ValidateUpdate implements admission.CustomValidator.

type NoopClient

type NoopClient struct{}

NoopClient is a client that does nothing.

func (*NoopClient) Create

Create implement managed.ExternalClient. It returns nil.

func (*NoopClient) Delete

Delete implement managed.ExternalClient. It returns nil.

func (*NoopClient) Disconnect added in v0.5.4

func (n *NoopClient) Disconnect(ctx context.Context) error

func (*NoopClient) Observe

Observe implements managed.ExternalClient. It always returns an observation where the resource doesn't exist and is outdated, together with a nil error.

func (*NoopClient) Update

Update implement managed.ExternalClient. It returns nil.

type ProvisioningPipeline

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

ProvisioningPipeline provisions Buckets using S3 client.

func NewProvisioningPipeline

func NewProvisioningPipeline(kube client.Client, recorder event.Recorder, minio *minio.Client) *ProvisioningPipeline

NewProvisioningPipeline returns a new instance of ProvisioningPipeline.

func (*ProvisioningPipeline) Create

Create implements managed.ExternalClient.

func (*ProvisioningPipeline) Delete

Delete implements managed.ExternalClient.

func (*ProvisioningPipeline) Disconnect added in v0.5.4

func (p *ProvisioningPipeline) Disconnect(ctx context.Context) error

func (*ProvisioningPipeline) Observe

Observe implements managed.ExternalClient.

func (*ProvisioningPipeline) Update

Update implements managed.ExternalClient.

Jump to

Keyboard shortcuts

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