container

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureContainer

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

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

Types

type ClaimController

type ClaimController struct{}

A ClaimController reconciles Bucket claims with Azure Account resources, dynamically provisioning them if needed.

func (*ClaimController) SetupWithManager

func (c *ClaimController) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the ClaimController using the supplied manager.

type ClaimDefaultingController

type ClaimDefaultingController struct{}

A ClaimDefaultingController reconciles Bucket claims that omit their resource ref, class ref, and class selector by choosing a default Azure Container resource class if one exists.

func (*ClaimDefaultingController) SetupWithManager

func (c *ClaimDefaultingController) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the ClaimDefaultingController using the supplied manager.

type ClaimSchedulingController

type ClaimSchedulingController struct{}

A ClaimSchedulingController reconciles Bucket claims that include a class selector but omit their class and resource references by picking a random matching Azure Container class, if any.

func (*ClaimSchedulingController) SetupWithManager

func (c *ClaimSchedulingController) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the ClaimSchedulingController using the supplied manager.

type Controller

type Controller struct{}

Controller is responsible for adding the Container controller and its corresponding reconciler to the manager with any runtime configuration.

func (*Controller) SetupWithManager

func (c *Controller) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager creates a newSyncDeleter Controller and adds it to the Manager with default RBAC. The Manager will set fields on the Controller and Start it when the Manager is Started.

type Reconciler

type Reconciler struct {
	client.Client

	resource.ManagedReferenceResolver
	// contains filtered or unexported fields
}

Reconciler reconciles an Azure storage container

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