Documentation ¶
Index ¶
Constants ¶
const ( StandardServiceOrchestrationDataName = "service-orchestration.json" RedHatInfraServiceOrchestrationDataName = "rh-infra-service-orchestration.json" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PagerDutyIntegrationReconciler ¶
type PagerDutyIntegrationReconciler struct { client.Client Scheme *runtime.Scheme // contains filtered or unexported fields }
PagerDutyIntegrationReconciler reconciles a PagerDutyIntegration object
func (*PagerDutyIntegrationReconciler) Reconcile ¶
func (r *PagerDutyIntegrationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.1/pkg/reconcile
func (*PagerDutyIntegrationReconciler) SetupWithManager ¶
func (r *PagerDutyIntegrationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager. Custom event handlers are utilized here such that when a ClusterDeployment event is created, only associated PagerDutyIntegration CRs are reconciled. Likewise, when events for SyncSets, ConfigMaps, or Secrets are created, if they're owned by a ClusterDeployment, then associated PagerDutyIntegration CRs are reconciled.