container

package
v0.4.0-rc Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2019 License: Apache-2.0 Imports: 22 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 NodePoolController

type NodePoolController struct{}

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

func (*NodePoolController) SetupWithManager

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