compute

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2019 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureAKSCluster

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

ConfigureAKSCluster configures the supplied resource (presumed to be a AKSCluster) using the supplied resource claim (presumed to be a KubernetesCluster) and resource class.

Types

type AKSClusterClaimController

type AKSClusterClaimController struct{}

An AKSClusterClaimController reconciles KubernetesCluster claims with AKSCluster resources, provisioning them if necessary.

func (*AKSClusterClaimController) SetupWithManager

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

SetupWithManager sets up the AKSClusterClaimController using the supplied manager.

type AKSClusterClaimDefaultingController

type AKSClusterClaimDefaultingController struct{}

A AKSClusterClaimDefaultingController reconciles KubernetesCluster claims that omit their resource ref, class ref, and class selector by choosing a default Azure AKSCluster resource class if one exists.

func (*AKSClusterClaimDefaultingController) SetupWithManager

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

SetupWithManager sets up the AKSClusterClaimDefaultingController using the supplied manager.

type AKSClusterClaimSchedulingController

type AKSClusterClaimSchedulingController struct{}

A AKSClusterClaimSchedulingController reconciles KubernetesCluster claims that include a class selector but omit their class and resource references by picking a random matching Azure AKSCluster class, if any.

func (*AKSClusterClaimSchedulingController) SetupWithManager

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

SetupWithManager sets up the AKSClusterClaimSchedulingController using the supplied manager.

type AKSClusterController

type AKSClusterController struct {
	Reconciler reconcile.Reconciler
}

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

func (*AKSClusterController) SetupWithManager

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

SetupWithManager creates a new 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
	// contains filtered or unexported fields
}

Reconciler reconciles a AKSCluster object

func NewAKSClusterReconciler

func NewAKSClusterReconciler(mgr manager.Manager, aksSetupAPIFactory compute.AKSSetupAPIFactory) *Reconciler

NewAKSClusterReconciler returns a new reconcile.Reconciler

func (*Reconciler) Reconcile

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

Reconcile reads that state of the cluster for a AKSCluster object and makes changes based on the state read and what is in its spec.

Jump to

Keyboard shortcuts

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