Documentation ¶
Overview ¶
Package dscinitialization contains controller logic of CRD DSCInitialization.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ComponentName = "monitoring" NameConsoleLink = "console" NamespaceConsoleLink = "openshift-console" )
View Source
var CMContentChangedPredicate = predicate.Funcs{ UpdateFunc: func(e event.UpdateEvent) bool { oldCM, _ := e.ObjectOld.(*corev1.ConfigMap) newCM, _ := e.ObjectNew.(*corev1.ConfigMap) return !reflect.DeepEqual(oldCM.Data, newCM.Data) }, }
View Source
var DSCDeletionPredicate = predicate.Funcs{ DeleteFunc: func(e event.DeleteEvent) bool { return true }, }
Functions ¶
func CompareNotebookNetworkPolicies ¶
func CompareNotebookNetworkPolicies(np1 netv1.NetworkPolicy, np2 netv1.NetworkPolicy) bool
CompareNotebookNetworkPolicies checks if two services are equal, if not return false.
func GenerateRandomHex ¶
Types ¶
type DSCInitializationReconciler ¶
type DSCInitializationReconciler struct { client.Client Scheme *runtime.Scheme Log logr.Logger Recorder record.EventRecorder ApplicationsNamespace string }
DSCInitializationReconciler reconciles a DSCInitialization object.
func (*DSCInitializationReconciler) Reconcile ¶
func (r *DSCInitializationReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile contains controller logic specific to DSCInitialization instance updates.
func (*DSCInitializationReconciler) SetupWithManager ¶
func (r *DSCInitializationReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.