Documentation
¶
Index ¶
- func ConfigureGKECluster(_ context.Context, cm resource.Claim, cs resource.Class, mg resource.Managed) error
- type GKEClusterClaimController
- type GKEClusterClaimDefaultingController
- type GKEClusterClaimSchedulingController
- type GKEClusterController
- type GlobalAddressController
- type NetworkController
- type Reconciler
- type SubnetworkController
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 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 ¶
Reconciler reconciles a Provider object
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.