Documentation ¶
Overview ¶
Copyright (c) 2021 Red Hat, Inc. Copyright Contributors to the Open Cluster Management project.
Copyright (c) 2021 Red Hat, Inc. Copyright Contributors to the Open Cluster Management project.
Copyright (c) 2021 Red Hat, Inc. Copyright Contributors to the Open Cluster Management project.
Copyright (c) 2021 Red Hat, Inc. Copyright Contributors to the Open Cluster Management project.
Copyright (c) 2021 Red Hat, Inc. Copyright Contributors to the Open Cluster Management project.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HubInfo ¶
type HubInfo struct { ClusterName string `yaml:"cluster-name"` Endpoint string `yaml:"endpoint"` AlertmanagerEndpoint string `yaml:"alertmanager-endpoint"` AlertmanagerRouterCA string `yaml:"alertmanager-router-ca"` }
HubInfo is the struct for hub info
type MetricsAllowlist ¶
type ObservabilityAddonReconciler ¶
type ObservabilityAddonReconciler struct { Client client.Client Scheme *runtime.Scheme HubClient client.Client }
ObservabilityAddonReconciler reconciles a ObservabilityAddon object
func (*ObservabilityAddonReconciler) Reconcile ¶
func (r *ObservabilityAddonReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile reads that state of the cluster for a ObservabilityAddon object and makes changes based on the state read and what is in the ObservabilityAddon.Spec The Controller will requeue the Request to be processed again if the returned error is non-nil or Result.Requeue is true, otherwise upon completion it will remove the work from the queue.
func (*ObservabilityAddonReconciler) SetupWithManager ¶
func (r *ObservabilityAddonReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.