s3

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureS3Bucket

func ConfigureS3Bucket(_ context.Context, cm resource.Claim, cs resource.Class, mg resource.Managed) error

ConfigureS3Bucket configures the supplied resource (presumed to be a S3Bucket) using the supplied resource claim (presumed to be a Bucket) and resource class.

func SetupBucketClaimBinding added in v0.6.0

func SetupBucketClaimBinding(mgr ctrl.Manager, l logging.Logger) error

SetupBucketClaimBinding adds a controller that reconciles Bucket claims with S3Buckets, dynamically provisioning them if needed.

func SetupBucketClaimDefaulting added in v0.6.0

func SetupBucketClaimDefaulting(mgr ctrl.Manager, l logging.Logger) error

SetupBucketClaimDefaulting sets up the BucketClaimDefaultingController using the supplied manager.

func SetupBucketClaimScheduling added in v0.6.0

func SetupBucketClaimScheduling(mgr ctrl.Manager, l logging.Logger) error

SetupBucketClaimScheduling adds a controller that reconciles Bucket claims that include a class selector but omit their class and resource references by picking a random matching S3BucketClass, if any.

func SetupS3Bucket added in v0.6.0

func SetupS3Bucket(mgr ctrl.Manager, l logging.Logger) error

SetupS3Bucket adds a controller that reconciles S3Buckets.

Types

type Reconciler

type Reconciler struct {
	client.Client

	managed.ReferenceResolver
	managed.ConnectionPublisher
	// contains filtered or unexported fields
}

Reconciler reconciles a S3Bucket object

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(request reconcile.Request) (reconcile.Result, error)

Reconcile reads that state of the bucket for an Instance object and makes changes based on the state read and what is in the Instance.Spec

Jump to

Keyboard shortcuts

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