controllers

package
v0.0.0-...-a14639f Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: Apache-2.0 Imports: 41 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ManagedOCSFinalizer    = "managedocs.ocs.openshift.io"
	EgressFirewallCRD      = "egressfirewalls.k8s.ovn.org"
	EgressNetworkPolicyCRD = "egressnetworkpolicies.network.openshift.io"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ManagedOCSReconciler

type ManagedOCSReconciler struct {
	Client             client.Client
	UnrestrictedClient client.Client
	Log                logr.Logger
	Scheme             *runtime.Scheme

	AddonParamSecretName         string
	AddonConfigMapName           string
	AddonConfigMapDeleteLabelKey string
	PagerdutySecretName          string
	DeadMansSnitchSecretName     string
	SMTPSecretName               string
	SOPEndpoint                  string
	AlertSMTPFrom                string
	CustomerNotificationHTMLPath string
	DeploymentType               string
	RHOBSSecretName              string
	RHOBSEndpoint                string
	RHSSOTokenEndpoint           string
	AvailableCRDs                map[string]bool
	// contains filtered or unexported fields
}

ManagedOCSReconciler reconciles a ManagedOCS object

func (*ManagedOCSReconciler) Reconcile

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

Reconcile changes to all owned resource based on the infromation provided by the ManagedOCS resource

func (*ManagedOCSReconciler) SetupWithManager

func (r *ManagedOCSReconciler) SetupWithManager(mgr ctrl.Manager, ctrlOptions *controller.Options) error

SetupWithManager creates an setup a ManagedOCSReconciler to work with the provided manager

Jump to

Keyboard shortcuts

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