pagerdutyintegration

package
v0.0.0-...-957e8c4 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
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

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.

Jump to

Keyboard shortcuts

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