compute

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureGKECluster

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

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

func SetupGKECluster added in v0.6.0

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

SetupGKECluster returns a reconciler that reconciles GKECluster managed resources.

func SetupGKEClusterClaimBinding added in v0.6.0

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

SetupGKEClusterClaimBinding adds a controller that reconciles KubernetesCluster claims with GKEClusters, dynamically provisioning them if needed.

func SetupGKEClusterClaimDefaulting added in v0.6.0

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

SetupGKEClusterClaimDefaulting adds a controller that reconciles KubernetesCluster claims that omit their resource ref, class ref, and class selector by choosing a default GKEClusterClass if one exists.

func SetupGKEClusterClaimScheduling added in v0.6.0

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

SetupGKEClusterClaimScheduling adds a controller that reconciles KubernetesCluster claims that include a class selector but omit their class and resource references by picking a random matching GKEClusterClass, if any.

func SetupGKEClusterTarget added in v0.6.0

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

SetupGKEClusterTarget adds a controller that propagates GKECluster connection secrets to the connection secrets of their targets.

func SetupGlobalAddress added in v0.6.0

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

SetupGlobalAddress adds a controller that reconciles GlobalAddress managed resources.

func SetupNetwork added in v0.6.0

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

SetupNetwork adds a controller that reconciles Network managed resources.

func SetupSubnetwork added in v0.6.0

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

SetupSubnetwork adds a controller that reconciles Subnetwork managed resources.

Types

type Reconciler

type Reconciler struct {
	client.Client
	// contains filtered or unexported fields
}

Reconciler reconciles a Provider object

func (*Reconciler) Reconcile

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

Reconcile reads that state of the cluster for a Provider object 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