provider

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

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.

func (*ProviderReconciler) Reconcile

func (r *ProviderReconciler) Reconcile(ctx context.Context, req ctrl.Request) (res ctrl.Result, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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