compute

package
v0.5.0-rc Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2020 License: Apache-2.0 Imports: 34 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.

Types

type GKEClusterClaimController

type GKEClusterClaimController struct{}

A GKEClusterClaimController reconciles KubernetesCluster claims with GKEClusters, dynamically provisioning them if needed.

func (*GKEClusterClaimController) SetupWithManager

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

SetupWithManager adds a controller that reconciles KubernetesCluster resource claims.

type GKEClusterClaimDefaultingController

type GKEClusterClaimDefaultingController struct{}

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

func (*GKEClusterClaimDefaultingController) SetupWithManager

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

SetupWithManager sets up the GKEClusterClaimDefaultingController using the supplied manager.

type GKEClusterClaimSchedulingController

type GKEClusterClaimSchedulingController struct{}

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

func (*GKEClusterClaimSchedulingController) SetupWithManager

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

SetupWithManager sets up the GKEClusterClaimSchedulingController using the supplied manager.

type GKEClusterController

type GKEClusterController struct{}

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

func (*GKEClusterController) SetupWithManager

func (c *GKEClusterController) 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 GKEClusterTargetController added in v0.5.0

type GKEClusterTargetController struct{}

GKEClusterTargetController is responsible for adding the GKECluster target controller and its corresponding reconciler to the manager with any runtime configuration.

func (*GKEClusterTargetController) SetupWithManager added in v0.5.0

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

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

type GlobalAddressController

type GlobalAddressController struct{}

GlobalAddressController is the controller for GlobalAddress CRD.

func (*GlobalAddressController) SetupWithManager

func (c *GlobalAddressController) 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 NetworkController

type NetworkController struct{}

NetworkController is the controller for Network CRD.

func (*NetworkController) SetupWithManager

func (c *NetworkController) 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 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

type SubnetworkController

type SubnetworkController struct{}

SubnetworkController is the controller for Subnetwork CRD.

func (*SubnetworkController) SetupWithManager

func (c *SubnetworkController) 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.

Jump to

Keyboard shortcuts

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