account

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: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureAccount

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

ConfigureAccount configures the supplied resource (presumed to be an Account) using the supplied resource claim (presumed to be a Bucket) and resource class.

func Setup added in v0.6.0

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

Setup adds a controller that reconciles Accounts.

func SetupClaimBinding added in v0.6.0

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

SetupClaimBinding adds a controller that reconciles Bucket claims with Azure Account resources, dynamically provisioning them if needed.

func SetupClaimDefaulting added in v0.6.0

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

SetupClaimDefaulting adds a controller that reconciles Bucket claims that omit their resource ref, class ref, and class selector by choosing a default Azure Account resource class if one exists.

func SetupClaimScheduling added in v0.6.0

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

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

Types

type Reconciler

type Reconciler struct {
	client.Client

	managed.ReferenceResolver
	// contains filtered or unexported fields
}

Reconciler reconciles an Azure storage account

func (*Reconciler) Reconcile

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

Reconcile reads that state of the cluster for a Provider acct and makes changes based on the state read and what is in the Provider.Spec

Jump to

Keyboard shortcuts

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