bucket

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(mgr ctrl.Manager, o controller.Options, s *backendstore.BackendStore, autoPauseBucket bool, pollInterval, operationTimeout, creationGracePeriod time.Duration) error

Setup adds a controller that reconciles Bucket managed resources.

Types

type BucketValidator added in v0.0.17

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

func NewBucketValidator added in v0.0.17

func NewBucketValidator(b *backendstore.BackendStore) *BucketValidator

func (*BucketValidator) ValidateCreate added in v0.0.17

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

func (*BucketValidator) ValidateDelete added in v0.0.17

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

func (*BucketValidator) ValidateUpdate added in v0.0.17

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

type NoOpService

type NoOpService struct{}

A NoOpService does nothing.

type UpdateRequired added in v0.0.14

type UpdateRequired int
const (
	NeedsStatusUpdate UpdateRequired = iota
	NeedsObjectUpdate
)

Jump to

Keyboard shortcuts

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