Versions in this module Expand all Collapse all v0 v0.1.0 Aug 30, 2021 v0.0.1 Jun 30, 2021 Changes in this version + func AddProbeToCluster(cluster *kubeprobev1.Cluster, probe *kubeprobev1.Probe) error + func DeleteProbeOfCluster(cluster *kubeprobev1.Cluster, probeName string) error + func GenerateProbeClient(cluster *kubeprobev1.Cluster) (client.Client, error) + func GetProbeOfCluster(cluster *kubeprobev1.Cluster, probeName string) (*kubeprobev1.Probe, error) + func IsContain(items []string, item string) bool + func UpdateProbeOfCluster(cluster *kubeprobev1.Cluster, probe *kubeprobev1.Probe) error + type ClusterPredicate struct + func (rl *ClusterPredicate) Create(e event.CreateEvent) bool + func (rl *ClusterPredicate) Delete(e event.DeleteEvent) bool + func (rl *ClusterPredicate) Generic(e event.GenericEvent) bool + func (rl *ClusterPredicate) Update(e event.UpdateEvent) bool + type ClusterReconciler struct + Log logr.Logger + Scheme *runtime.Scheme + func (r *ClusterReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) + func (r *ClusterReconciler) SetupWithManager(mgr ctrl.Manager) error + type ProbePredicate struct + func (rl *ProbePredicate) Create(e event.CreateEvent) bool + func (rl *ProbePredicate) Delete(e event.DeleteEvent) bool + func (rl *ProbePredicate) Generic(e event.GenericEvent) bool + func (rl *ProbePredicate) Update(e event.UpdateEvent) bool + type ProbeReconciler struct + Log logr.Logger + Scheme *runtime.Scheme + func (r *ProbeReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error) + func (r *ProbeReconciler) SetupWithManager(mgr ctrl.Manager) error