Documentation
¶
Index ¶
Constants ¶
View Source
const ControllerName = "DeploymentController"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentController ¶ added in v0.4.0
type DeploymentController struct {
Reconcilers []*ProviderReconciler
}
DeploymentController is a collection of controllers reconciling ClusterProviders, ServiceProviders, and PlatformServices.
func NewDeploymentController ¶ added in v0.4.0
func NewDeploymentController() *DeploymentController
func (*DeploymentController) SetupWithManager ¶ added in v0.4.0
func (r *DeploymentController) SetupWithManager(mgr ctrl.Manager, providerGKVList []schema.GroupVersionKind, environment string) error
SetupWithManager sets up the controllers with the Manager.
type ProviderReconciler ¶
type ProviderReconciler struct { schema.GroupVersionKind PlatformClient client.Client Environment string }
func (*ProviderReconciler) ControllerName ¶
func (r *ProviderReconciler) ControllerName() string
func (*ProviderReconciler) HandleJob ¶
HandleJob - the ProviderReconciler reconciles the provider resources (ClusterProviders, ServiceProviders, PlatformServices). During a reconcile, the ProviderReconciler creates the init job of the provider and must wait for it to complete. Therefore, the ProviderReconciler watches also jobs. The present method handles the job events and creates a reconcile request.
Click to show internal directories.
Click to hide internal directories.